komoju-sdk 1.0.0.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +78 -0
- data/Gemfile +9 -0
- data/README.md +448 -0
- data/Rakefile +10 -0
- data/docs/APIError.md +18 -0
- data/docs/APIErrorBody.md +24 -0
- data/docs/Address.md +30 -0
- data/docs/Auto.md +15 -0
- data/docs/AvailablePaymentMethod.md +30 -0
- data/docs/Balance.md +20 -0
- data/docs/BalanceSettings.md +22 -0
- data/docs/BalanceShow.md +34 -0
- data/docs/BalanceTransactionList.md +32 -0
- data/docs/BalanceTransferRequest.md +20 -0
- data/docs/BalanceTransferServiceRecord.md +28 -0
- data/docs/BarcodePendingResponse.md +20 -0
- data/docs/BarcodeReadyResponse.md +22 -0
- data/docs/BarcodesApi.md +80 -0
- data/docs/CancelDisbursementRequest.md +18 -0
- data/docs/CapturePaymentRequest.md +22 -0
- data/docs/CapturePaymentRequestTax.md +56 -0
- data/docs/CountryCode.md +15 -0
- data/docs/CreateCustomerRequest.md +24 -0
- data/docs/CreateDisbursementRequest.md +32 -0
- data/docs/CreateFileRequest.md +18 -0
- data/docs/CreateMerchantBalanceTransferRequest.md +24 -0
- data/docs/CreateMerchantRequest.md +20 -0
- data/docs/CreatePaymentRequest.md +56 -0
- data/docs/CreatePaymentRequestWithCustomer.md +46 -0
- data/docs/CreatePaymentRequestWithPaymentDetails.md +46 -0
- data/docs/CreatePaymentRequestWithPaymentDetailsTax.md +56 -0
- data/docs/CreateRefundRequestRequest.md +38 -0
- data/docs/CreateSecureTokenRequest.md +56 -0
- data/docs/CreateSecureTokenRequestWithCustomer.md +26 -0
- data/docs/CreateSecureTokenRequestWithPaymentDetails.md +26 -0
- data/docs/CreateSessionRequest.md +90 -0
- data/docs/CreateSessionRequestWithCustomerMode.md +40 -0
- data/docs/CreateSessionRequestWithCustomerPaymentMode.md +42 -0
- data/docs/CreateSessionRequestWithPaymentMode.md +40 -0
- data/docs/CreateSubscriptionRequest.md +26 -0
- data/docs/CreateTokenRequest.md +22 -0
- data/docs/Currency.md +15 -0
- data/docs/Customer.md +28 -0
- data/docs/CustomerList.md +32 -0
- data/docs/CustomerMetadata.md +18 -0
- data/docs/CustomerSource.md +26 -0
- data/docs/DeleteExternalCustomerResponse.md +18 -0
- data/docs/Disbursement.md +46 -0
- data/docs/DisbursementList.md +32 -0
- data/docs/DisbursementStatus.md +15 -0
- data/docs/DisbursementsApi.md +379 -0
- data/docs/EditMerchantBalanceSettingsRequest.md +24 -0
- data/docs/ErroredField.md +32 -0
- data/docs/Event.md +28 -0
- data/docs/EventList.md +32 -0
- data/docs/EventsApi.md +158 -0
- data/docs/Field.md +28 -0
- data/docs/FieldFieldProperties.md +20 -0
- data/docs/FinalizePaymentRequest.md +26 -0
- data/docs/FraudDetails.md +30 -0
- data/docs/IndustryType.md +15 -0
- data/docs/Installments.md +15 -0
- data/docs/Intent.md +15 -0
- data/docs/LineItem.md +26 -0
- data/docs/LiveApplication.md +30 -0
- data/docs/LiveApplicationRequest.md +208 -0
- data/docs/LiveApplicationStatus.md +15 -0
- data/docs/LiveApplicationWithSubmittedFields.md +32 -0
- data/docs/Locale.md +15 -0
- data/docs/MerchantBalance.md +22 -0
- data/docs/MerchantData.md +18 -0
- data/docs/MerchantFile.md +30 -0
- data/docs/MerchantRole.md +15 -0
- data/docs/MerchantSubmissionStatus.md +20 -0
- data/docs/OneClickApi.md +80 -0
- data/docs/PaySessionRequest.md +22 -0
- data/docs/PaySessionResponse.md +26 -0
- data/docs/Payment.md +68 -0
- data/docs/PaymentData.md +26 -0
- data/docs/PaymentDataRequest.md +40 -0
- data/docs/PaymentDetailsAU.md +46 -0
- data/docs/PaymentDetailsAlipay.md +46 -0
- data/docs/PaymentDetailsAlipayHK.md +46 -0
- data/docs/PaymentDetailsAll.md +322 -0
- data/docs/PaymentDetailsAupay.md +48 -0
- data/docs/PaymentDetailsBancontact.md +46 -0
- data/docs/PaymentDetailsBankTransfer.md +62 -0
- data/docs/PaymentDetailsBitCash.md +50 -0
- data/docs/PaymentDetailsBlik.md +46 -0
- data/docs/PaymentDetailsCVS.md +48 -0
- data/docs/PaymentDetailsCreditCard.md +74 -0
- data/docs/PaymentDetailsCreditCardBrazil.md +62 -0
- data/docs/PaymentDetailsCreditCardKorea.md +60 -0
- data/docs/PaymentDetailsCreditCardKoreaSocialId.md +53 -0
- data/docs/PaymentDetailsCreditCardTerminal.md +62 -0
- data/docs/PaymentDetailsCultureVoucher.md +50 -0
- data/docs/PaymentDetailsDana.md +46 -0
- data/docs/PaymentDetailsDocomo.md +46 -0
- data/docs/PaymentDetailsDokuWallet.md +48 -0
- data/docs/PaymentDetailsDospara.md +50 -0
- data/docs/PaymentDetailsDragonpay.md +50 -0
- data/docs/PaymentDetailsEnets.md +50 -0
- data/docs/PaymentDetailsEpospay.md +46 -0
- data/docs/PaymentDetailsEps.md +46 -0
- data/docs/PaymentDetailsFpx.md +50 -0
- data/docs/PaymentDetailsGCash.md +46 -0
- data/docs/PaymentDetailsGiropay.md +46 -0
- data/docs/PaymentDetailsHappyMoney.md +50 -0
- data/docs/PaymentDetailsIdeal.md +46 -0
- data/docs/PaymentDetailsKakaopay.md +46 -0
- data/docs/PaymentDetailsKonbini.md +58 -0
- data/docs/PaymentDetailsMerpay.md +46 -0
- data/docs/PaymentDetailsMobile.md +48 -0
- data/docs/PaymentDetailsMobileJapan.md +48 -0
- data/docs/PaymentDetailsMultibanco.md +46 -0
- data/docs/PaymentDetailsMybank.md +46 -0
- data/docs/PaymentDetailsNarvesen.md +46 -0
- data/docs/PaymentDetailsNaverpay.md +46 -0
- data/docs/PaymentDetailsNetCash.md +50 -0
- data/docs/PaymentDetailsOnlyCreditCards.md +94 -0
- data/docs/PaymentDetailsOvo.md +48 -0
- data/docs/PaymentDetailsPaidy.md +70 -0
- data/docs/PaymentDetailsPayEasy.md +60 -0
- data/docs/PaymentDetailsPayPay.md +50 -0
- data/docs/PaymentDetailsPayco.md +46 -0
- data/docs/PaymentDetailsPaypost.md +46 -0
- data/docs/PaymentDetailsPaysafeCard.md +48 -0
- data/docs/PaymentDetailsPaysafeCash.md +48 -0
- data/docs/PaymentDetailsPaysera.md +46 -0
- data/docs/PaymentDetailsPayu.md +46 -0
- data/docs/PaymentDetailsPerlas.md +46 -0
- data/docs/PaymentDetailsPix.md +54 -0
- data/docs/PaymentDetailsPoli.md +46 -0
- data/docs/PaymentDetailsPrzelewy24.md +46 -0
- data/docs/PaymentDetailsRakutenpay.md +46 -0
- data/docs/PaymentDetailsSepaTransfer.md +46 -0
- data/docs/PaymentDetailsSofortbanking.md +46 -0
- data/docs/PaymentDetailsSoftbank.md +46 -0
- data/docs/PaymentDetailsTNG.md +46 -0
- data/docs/PaymentDetailsToss.md +50 -0
- data/docs/PaymentDetailsTruemoney.md +46 -0
- data/docs/PaymentDetailsUnionpay.md +46 -0
- data/docs/PaymentDetailsWebMoney.md +50 -0
- data/docs/PaymentDetailsWechatpay.md +46 -0
- data/docs/PaymentList.md +32 -0
- data/docs/PaymentMethod.md +38 -0
- data/docs/PaymentMethodBrands.md +56 -0
- data/docs/PaymentMethodInstallmentsInner.md +20 -0
- data/docs/PaymentMethodStatus.md +20 -0
- data/docs/PaymentMethodsList.md +20 -0
- data/docs/PaymentStatus.md +15 -0
- data/docs/PaymentType.md +15 -0
- data/docs/PaymentsApi.md +738 -0
- data/docs/PlatformDetails.md +20 -0
- data/docs/PlatformMerchantPaymentList.md +28 -0
- data/docs/PlatformModelApi.md +1943 -0
- data/docs/PlatformPayment.md +68 -0
- data/docs/PrepaidCards.md +20 -0
- data/docs/ProcessingMerchant.md +18 -0
- data/docs/Refund.md +36 -0
- data/docs/RefundPaymentRequest.md +22 -0
- data/docs/RefundRequest.md +40 -0
- data/docs/RefundRequestStatus.md +15 -0
- data/docs/ResponsePaymentDetailsAU.md +54 -0
- data/docs/ResponsePaymentDetailsAlipay.md +52 -0
- data/docs/ResponsePaymentDetailsAlipayHK.md +50 -0
- data/docs/ResponsePaymentDetailsAll.md +322 -0
- data/docs/ResponsePaymentDetailsAupay.md +52 -0
- data/docs/ResponsePaymentDetailsBancontact.md +52 -0
- data/docs/ResponsePaymentDetailsBankTransfer.md +64 -0
- data/docs/ResponsePaymentDetailsBitCash.md +48 -0
- data/docs/ResponsePaymentDetailsBlik.md +52 -0
- data/docs/ResponsePaymentDetailsCVS.md +52 -0
- data/docs/ResponsePaymentDetailsCreditCard.md +76 -0
- data/docs/ResponsePaymentDetailsCreditCardBrazil.md +22 -0
- data/docs/ResponsePaymentDetailsCreditCardKorea.md +56 -0
- data/docs/ResponsePaymentDetailsCreditCardTerminal.md +60 -0
- data/docs/ResponsePaymentDetailsCultureVoucher.md +50 -0
- data/docs/ResponsePaymentDetailsDana.md +50 -0
- data/docs/ResponsePaymentDetailsDocomo.md +52 -0
- data/docs/ResponsePaymentDetailsDokuWallet.md +52 -0
- data/docs/ResponsePaymentDetailsDospara.md +50 -0
- data/docs/ResponsePaymentDetailsDragonpay.md +52 -0
- data/docs/ResponsePaymentDetailsEnets.md +52 -0
- data/docs/ResponsePaymentDetailsEpospay.md +68 -0
- data/docs/ResponsePaymentDetailsEps.md +52 -0
- data/docs/ResponsePaymentDetailsFpx.md +52 -0
- data/docs/ResponsePaymentDetailsGCash.md +50 -0
- data/docs/ResponsePaymentDetailsGiropay.md +52 -0
- data/docs/ResponsePaymentDetailsHappyMoney.md +50 -0
- data/docs/ResponsePaymentDetailsIdeal.md +52 -0
- data/docs/ResponsePaymentDetailsKakaopay.md +50 -0
- data/docs/ResponsePaymentDetailsKonbini.md +56 -0
- data/docs/ResponsePaymentDetailsMerpay.md +52 -0
- data/docs/ResponsePaymentDetailsMobile.md +52 -0
- data/docs/ResponsePaymentDetailsMobileJapan.md +52 -0
- data/docs/ResponsePaymentDetailsMultibanco.md +52 -0
- data/docs/ResponsePaymentDetailsMybank.md +52 -0
- data/docs/ResponsePaymentDetailsNarvesen.md +52 -0
- data/docs/ResponsePaymentDetailsNaverpay.md +60 -0
- data/docs/ResponsePaymentDetailsNetCash.md +52 -0
- data/docs/ResponsePaymentDetailsOvo.md +52 -0
- data/docs/ResponsePaymentDetailsPaidy.md +50 -0
- data/docs/ResponsePaymentDetailsPayEasy.md +60 -0
- data/docs/ResponsePaymentDetailsPayPay.md +52 -0
- data/docs/ResponsePaymentDetailsPayco.md +52 -0
- data/docs/ResponsePaymentDetailsPaypost.md +52 -0
- data/docs/ResponsePaymentDetailsPaysafeCard.md +50 -0
- data/docs/ResponsePaymentDetailsPaysafeCash.md +50 -0
- data/docs/ResponsePaymentDetailsPaysera.md +52 -0
- data/docs/ResponsePaymentDetailsPayu.md +52 -0
- data/docs/ResponsePaymentDetailsPerlas.md +52 -0
- data/docs/ResponsePaymentDetailsPix.md +56 -0
- data/docs/ResponsePaymentDetailsPoli.md +52 -0
- data/docs/ResponsePaymentDetailsPrzelewy24.md +52 -0
- data/docs/ResponsePaymentDetailsRakutenpay.md +52 -0
- data/docs/ResponsePaymentDetailsSepaTransfer.md +52 -0
- data/docs/ResponsePaymentDetailsSofortbanking.md +52 -0
- data/docs/ResponsePaymentDetailsSoftbank.md +50 -0
- data/docs/ResponsePaymentDetailsTNG.md +50 -0
- data/docs/ResponsePaymentDetailsToss.md +52 -0
- data/docs/ResponsePaymentDetailsTruemoney.md +50 -0
- data/docs/ResponsePaymentDetailsUnionpay.md +52 -0
- data/docs/ResponsePaymentDetailsWebMoney.md +52 -0
- data/docs/ResponsePaymentDetailsWechatpay.md +56 -0
- data/docs/SecureToken.md +26 -0
- data/docs/SecureTokensApi.md +151 -0
- data/docs/SerializedSubmerchant.md +50 -0
- data/docs/SerializedSubmerchantActivePaymentMethodsInner.md +28 -0
- data/docs/SerializedSubmerchantExpirySettingsInner.md +26 -0
- data/docs/Session.md +62 -0
- data/docs/SessionMode.md +15 -0
- data/docs/SessionStatus.md +15 -0
- data/docs/SessionsApi.md +294 -0
- data/docs/Settlement.md +56 -0
- data/docs/SettlementDownload.md +20 -0
- data/docs/SettlementFrequency.md +15 -0
- data/docs/SettlementList.md +32 -0
- data/docs/SettlementShow.md +70 -0
- data/docs/SettlementsApi.md +437 -0
- data/docs/SharedDetails.md +30 -0
- data/docs/SharedDetailsCorrections.md +18 -0
- data/docs/SharedDetailsDisbursements.md +22 -0
- data/docs/SharedDetailsMisc.md +26 -0
- data/docs/SharedDetailsPayments.md +22 -0
- data/docs/SharedDetailsPlatformModel.md +30 -0
- data/docs/SharedDetailsRefunds.md +24 -0
- data/docs/ShowBarcodeResponse.md +86 -0
- data/docs/SimulateLiveApplicationPaymentMethodStatusRequest.md +18 -0
- data/docs/StatementDescriptor.md +26 -0
- data/docs/Status.md +15 -0
- data/docs/Submerchant.md +22 -0
- data/docs/SubmerchantListItem.md +36 -0
- data/docs/SubmerchantsList.md +28 -0
- data/docs/SubmittedField.md +30 -0
- data/docs/SubmittedFieldAllOfValue.md +59 -0
- data/docs/Subscription.md +48 -0
- data/docs/SubscriptionCustomer.md +30 -0
- data/docs/SubscriptionList.md +32 -0
- data/docs/SubscriptionPaymentDetails.md +24 -0
- data/docs/SubscriptionPeriod.md +15 -0
- data/docs/SubscriptionsApi.md +663 -0
- data/docs/TerminalError.md +18 -0
- data/docs/TerminalErrorBody.md +26 -0
- data/docs/ThreeDsAuthResult.md +38 -0
- data/docs/Token.md +24 -0
- data/docs/TokenPaymentDetails.md +32 -0
- data/docs/TokensApi.md +81 -0
- data/docs/Transaction.md +24 -0
- data/docs/Transfer.md +28 -0
- data/docs/UpdateCustomerRequest.md +24 -0
- data/docs/UpdateMerchantRequest.md +32 -0
- data/docs/UpdateMerchantRequestExpirySettingsInner.md +22 -0
- data/docs/UpdatePaymentMethodRequest.md +134 -0
- data/docs/UpdatePaymentRequest.md +22 -0
- data/komoju-sdk.gemspec +41 -0
- data/lib/komoju-sdk/api/barcodes_api.rb +93 -0
- data/lib/komoju-sdk/api/disbursements_api.rb +400 -0
- data/lib/komoju-sdk/api/events_api.rb +162 -0
- data/lib/komoju-sdk/api/one_click_api.rb +93 -0
- data/lib/komoju-sdk/api/payments_api.rb +793 -0
- data/lib/komoju-sdk/api/platform_model_api.rb +2106 -0
- data/lib/komoju-sdk/api/secure_tokens_api.rb +161 -0
- data/lib/komoju-sdk/api/sessions_api.rb +290 -0
- data/lib/komoju-sdk/api/settlements_api.rb +446 -0
- data/lib/komoju-sdk/api/subscriptions_api.rb +665 -0
- data/lib/komoju-sdk/api/tokens_api.rb +90 -0
- data/lib/komoju-sdk/api_client.rb +441 -0
- data/lib/komoju-sdk/api_error.rb +58 -0
- data/lib/komoju-sdk/configuration.rb +409 -0
- data/lib/komoju-sdk/models/address.rb +281 -0
- data/lib/komoju-sdk/models/api_error.rb +227 -0
- data/lib/komoju-sdk/models/api_error_body.rb +279 -0
- data/lib/komoju-sdk/models/auto.rb +38 -0
- data/lib/komoju-sdk/models/available_payment_method.rb +320 -0
- data/lib/komoju-sdk/models/balance.rb +266 -0
- data/lib/komoju-sdk/models/balance_settings.rb +301 -0
- data/lib/komoju-sdk/models/balance_show.rb +379 -0
- data/lib/komoju-sdk/models/balance_transaction_list.rb +349 -0
- data/lib/komoju-sdk/models/balance_transfer_request.rb +263 -0
- data/lib/komoju-sdk/models/balance_transfer_service_record.rb +353 -0
- data/lib/komoju-sdk/models/barcode_pending_response.rb +279 -0
- data/lib/komoju-sdk/models/barcode_ready_response.rb +296 -0
- data/lib/komoju-sdk/models/cancel_disbursement_request.rb +227 -0
- data/lib/komoju-sdk/models/capture_payment_request.rb +258 -0
- data/lib/komoju-sdk/models/capture_payment_request_tax.rb +105 -0
- data/lib/komoju-sdk/models/country_code.rb +117 -0
- data/lib/komoju-sdk/models/create_customer_request.rb +271 -0
- data/lib/komoju-sdk/models/create_disbursement_request.rb +392 -0
- data/lib/komoju-sdk/models/create_file_request.rb +228 -0
- data/lib/komoju-sdk/models/create_merchant_balance_transfer_request.rb +339 -0
- data/lib/komoju-sdk/models/create_merchant_request.rb +266 -0
- data/lib/komoju-sdk/models/create_payment_request.rb +105 -0
- data/lib/komoju-sdk/models/create_payment_request_with_customer.rb +474 -0
- data/lib/komoju-sdk/models/create_payment_request_with_payment_details.rb +445 -0
- data/lib/komoju-sdk/models/create_payment_request_with_payment_details_tax.rb +106 -0
- data/lib/komoju-sdk/models/create_refund_request_request.rb +422 -0
- data/lib/komoju-sdk/models/create_secure_token_request.rb +105 -0
- data/lib/komoju-sdk/models/create_secure_token_request_with_customer.rb +356 -0
- data/lib/komoju-sdk/models/create_secure_token_request_with_payment_details.rb +327 -0
- data/lib/komoju-sdk/models/create_session_request.rb +57 -0
- data/lib/komoju-sdk/models/create_session_request_with_customer_mode.rb +417 -0
- data/lib/komoju-sdk/models/create_session_request_with_customer_payment_mode.rb +426 -0
- data/lib/komoju-sdk/models/create_session_request_with_payment_mode.rb +388 -0
- data/lib/komoju-sdk/models/create_subscription_request.rb +356 -0
- data/lib/komoju-sdk/models/create_token_request.rb +267 -0
- data/lib/komoju-sdk/models/currency.rb +57 -0
- data/lib/komoju-sdk/models/customer.rb +339 -0
- data/lib/komoju-sdk/models/customer_list.rb +349 -0
- data/lib/komoju-sdk/models/customer_metadata.rb +228 -0
- data/lib/komoju-sdk/models/customer_source.rb +296 -0
- data/lib/komoju-sdk/models/delete_external_customer_response.rb +256 -0
- data/lib/komoju-sdk/models/disbursement.rb +571 -0
- data/lib/komoju-sdk/models/disbursement_list.rb +349 -0
- data/lib/komoju-sdk/models/disbursement_status.rb +41 -0
- data/lib/komoju-sdk/models/edit_merchant_balance_settings_request.rb +339 -0
- data/lib/komoju-sdk/models/errored_field.rb +353 -0
- data/lib/komoju-sdk/models/event.rb +340 -0
- data/lib/komoju-sdk/models/event_list.rb +382 -0
- data/lib/komoju-sdk/models/field.rb +312 -0
- data/lib/komoju-sdk/models/field_field_properties.rb +247 -0
- data/lib/komoju-sdk/models/finalize_payment_request.rb +314 -0
- data/lib/komoju-sdk/models/fraud_details.rb +296 -0
- data/lib/komoju-sdk/models/industry_type.rb +204 -0
- data/lib/komoju-sdk/models/installments.rb +47 -0
- data/lib/komoju-sdk/models/intent.rb +41 -0
- data/lib/komoju-sdk/models/line_item.rb +280 -0
- data/lib/komoju-sdk/models/live_application.rb +385 -0
- data/lib/komoju-sdk/models/live_application_request.rb +1334 -0
- data/lib/komoju-sdk/models/live_application_status.rb +42 -0
- data/lib/komoju-sdk/models/live_application_with_submitted_fields.rb +410 -0
- data/lib/komoju-sdk/models/locale.rb +40 -0
- data/lib/komoju-sdk/models/merchant_balance.rb +301 -0
- data/lib/komoju-sdk/models/merchant_data.rb +228 -0
- data/lib/komoju-sdk/models/merchant_file.rb +330 -0
- data/lib/komoju-sdk/models/merchant_role.rb +39 -0
- data/lib/komoju-sdk/models/merchant_submission_status.rb +245 -0
- data/lib/komoju-sdk/models/pay_session_request.rb +280 -0
- data/lib/komoju-sdk/models/pay_session_response.rb +290 -0
- data/lib/komoju-sdk/models/payment.rb +797 -0
- data/lib/komoju-sdk/models/payment_data.rb +301 -0
- data/lib/komoju-sdk/models/payment_data_request.rb +378 -0
- data/lib/komoju-sdk/models/payment_details_alipay.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_alipay_hk.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_all.rb +174 -0
- data/lib/komoju-sdk/models/payment_details_au.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_aupay.rb +441 -0
- data/lib/komoju-sdk/models/payment_details_bancontact.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_bank_transfer.rb +627 -0
- data/lib/komoju-sdk/models/payment_details_bit_cash.rb +458 -0
- data/lib/komoju-sdk/models/payment_details_blik.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_credit_card.rb +727 -0
- data/lib/komoju-sdk/models/payment_details_credit_card_brazil.rb +642 -0
- data/lib/komoju-sdk/models/payment_details_credit_card_korea.rb +612 -0
- data/lib/komoju-sdk/models/payment_details_credit_card_korea_social_id.rb +105 -0
- data/lib/komoju-sdk/models/payment_details_credit_card_terminal.rb +574 -0
- data/lib/komoju-sdk/models/payment_details_culture_voucher.rb +493 -0
- data/lib/komoju-sdk/models/payment_details_cvs.rb +420 -0
- data/lib/komoju-sdk/models/payment_details_dana.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_docomo.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_doku_wallet.rb +420 -0
- data/lib/komoju-sdk/models/payment_details_dospara.rb +475 -0
- data/lib/komoju-sdk/models/payment_details_dragonpay.rb +458 -0
- data/lib/komoju-sdk/models/payment_details_enets.rb +458 -0
- data/lib/komoju-sdk/models/payment_details_epospay.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_eps.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_fpx.rb +458 -0
- data/lib/komoju-sdk/models/payment_details_g_cash.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_giropay.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_happy_money.rb +493 -0
- data/lib/komoju-sdk/models/payment_details_ideal.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_kakaopay.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_konbini.rb +548 -0
- data/lib/komoju-sdk/models/payment_details_merpay.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_mobile.rb +420 -0
- data/lib/komoju-sdk/models/payment_details_mobile_japan.rb +432 -0
- data/lib/komoju-sdk/models/payment_details_multibanco.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_mybank.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_narvesen.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_naverpay.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_net_cash.rb +458 -0
- data/lib/komoju-sdk/models/payment_details_only_credit_cards.rb +59 -0
- data/lib/komoju-sdk/models/payment_details_ovo.rb +420 -0
- data/lib/komoju-sdk/models/payment_details_paidy.rb +562 -0
- data/lib/komoju-sdk/models/payment_details_pay_easy.rb +612 -0
- data/lib/komoju-sdk/models/payment_details_pay_pay.rb +421 -0
- data/lib/komoju-sdk/models/payment_details_payco.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_paypost.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_paysafe_card.rb +420 -0
- data/lib/komoju-sdk/models/payment_details_paysafe_cash.rb +420 -0
- data/lib/komoju-sdk/models/payment_details_paysera.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_payu.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_perlas.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_pix.rb +511 -0
- data/lib/komoju-sdk/models/payment_details_poli.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_przelewy24.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_rakutenpay.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_sepa_transfer.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_sofortbanking.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_softbank.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_tng.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_toss.rb +486 -0
- data/lib/komoju-sdk/models/payment_details_truemoney.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_unionpay.rb +403 -0
- data/lib/komoju-sdk/models/payment_details_web_money.rb +458 -0
- data/lib/komoju-sdk/models/payment_details_wechatpay.rb +403 -0
- data/lib/komoju-sdk/models/payment_list.rb +349 -0
- data/lib/komoju-sdk/models/payment_method.rb +372 -0
- data/lib/komoju-sdk/models/payment_method_brands.rb +106 -0
- data/lib/komoju-sdk/models/payment_method_installments_inner.rb +245 -0
- data/lib/komoju-sdk/models/payment_method_status.rb +266 -0
- data/lib/komoju-sdk/models/payment_methods_list.rb +249 -0
- data/lib/komoju-sdk/models/payment_status.rb +44 -0
- data/lib/komoju-sdk/models/payment_type.rb +99 -0
- data/lib/komoju-sdk/models/platform_details.rb +268 -0
- data/lib/komoju-sdk/models/platform_merchant_payment_list.rb +391 -0
- data/lib/komoju-sdk/models/platform_payment.rb +826 -0
- data/lib/komoju-sdk/models/prepaid_cards.rb +231 -0
- data/lib/komoju-sdk/models/processing_merchant.rb +249 -0
- data/lib/komoju-sdk/models/refund.rb +472 -0
- data/lib/komoju-sdk/models/refund_payment_request.rb +258 -0
- data/lib/komoju-sdk/models/refund_request.rb +561 -0
- data/lib/komoju-sdk/models/refund_request_status.rb +40 -0
- data/lib/komoju-sdk/models/response_payment_details_alipay.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_alipay_hk.rb +430 -0
- data/lib/komoju-sdk/models/response_payment_details_all.rb +174 -0
- data/lib/komoju-sdk/models/response_payment_details_au.rb +450 -0
- data/lib/komoju-sdk/models/response_payment_details_aupay.rb +441 -0
- data/lib/komoju-sdk/models/response_payment_details_bancontact.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_bank_transfer.rb +500 -0
- data/lib/komoju-sdk/models/response_payment_details_bit_cash.rb +413 -0
- data/lib/komoju-sdk/models/response_payment_details_blik.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_credit_card.rb +742 -0
- data/lib/komoju-sdk/models/response_payment_details_credit_card_brazil.rb +297 -0
- data/lib/komoju-sdk/models/response_payment_details_credit_card_korea.rb +548 -0
- data/lib/komoju-sdk/models/response_payment_details_credit_card_terminal.rb +529 -0
- data/lib/komoju-sdk/models/response_payment_details_culture_voucher.rb +437 -0
- data/lib/komoju-sdk/models/response_payment_details_cvs.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_dana.rb +430 -0
- data/lib/komoju-sdk/models/response_payment_details_docomo.rb +459 -0
- data/lib/komoju-sdk/models/response_payment_details_doku_wallet.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_dospara.rb +437 -0
- data/lib/komoju-sdk/models/response_payment_details_dragonpay.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_enets.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_epospay.rb +520 -0
- data/lib/komoju-sdk/models/response_payment_details_eps.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_fpx.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_g_cash.rb +430 -0
- data/lib/komoju-sdk/models/response_payment_details_giropay.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_happy_money.rb +437 -0
- data/lib/komoju-sdk/models/response_payment_details_ideal.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_kakaopay.rb +430 -0
- data/lib/komoju-sdk/models/response_payment_details_konbini.rb +480 -0
- data/lib/komoju-sdk/models/response_payment_details_merpay.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_mobile.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_mobile_japan.rb +458 -0
- data/lib/komoju-sdk/models/response_payment_details_multibanco.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_mybank.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_narvesen.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_naverpay.rb +492 -0
- data/lib/komoju-sdk/models/response_payment_details_net_cash.rb +435 -0
- data/lib/komoju-sdk/models/response_payment_details_ovo.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_paidy.rb +451 -0
- data/lib/komoju-sdk/models/response_payment_details_pay_easy.rb +481 -0
- data/lib/komoju-sdk/models/response_payment_details_pay_pay.rb +441 -0
- data/lib/komoju-sdk/models/response_payment_details_payco.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_paypost.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_paysafe_card.rb +430 -0
- data/lib/komoju-sdk/models/response_payment_details_paysafe_cash.rb +430 -0
- data/lib/komoju-sdk/models/response_payment_details_paysera.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_payu.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_perlas.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_pix.rb +460 -0
- data/lib/komoju-sdk/models/response_payment_details_poli.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_przelewy24.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_rakutenpay.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_sepa_transfer.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_sofortbanking.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_softbank.rb +430 -0
- data/lib/komoju-sdk/models/response_payment_details_tng.rb +430 -0
- data/lib/komoju-sdk/models/response_payment_details_toss.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_truemoney.rb +430 -0
- data/lib/komoju-sdk/models/response_payment_details_unionpay.rb +440 -0
- data/lib/komoju-sdk/models/response_payment_details_web_money.rb +435 -0
- data/lib/komoju-sdk/models/response_payment_details_wechatpay.rb +472 -0
- data/lib/komoju-sdk/models/secure_token.rb +316 -0
- data/lib/komoju-sdk/models/serialized_submerchant.rb +523 -0
- data/lib/komoju-sdk/models/serialized_submerchant_active_payment_methods_inner.rb +391 -0
- data/lib/komoju-sdk/models/serialized_submerchant_expiry_settings_inner.rb +355 -0
- data/lib/komoju-sdk/models/session.rb +618 -0
- data/lib/komoju-sdk/models/session_mode.rb +40 -0
- data/lib/komoju-sdk/models/session_status.rb +40 -0
- data/lib/komoju-sdk/models/settlement.rb +597 -0
- data/lib/komoju-sdk/models/settlement_download.rb +237 -0
- data/lib/komoju-sdk/models/settlement_frequency.rb +39 -0
- data/lib/komoju-sdk/models/settlement_list.rb +349 -0
- data/lib/komoju-sdk/models/settlement_show.rb +710 -0
- data/lib/komoju-sdk/models/shared_details.rb +316 -0
- data/lib/komoju-sdk/models/shared_details_corrections.rb +228 -0
- data/lib/komoju-sdk/models/shared_details_disbursements.rb +262 -0
- data/lib/komoju-sdk/models/shared_details_misc.rb +296 -0
- data/lib/komoju-sdk/models/shared_details_payments.rb +262 -0
- data/lib/komoju-sdk/models/shared_details_platform_model.rb +281 -0
- data/lib/komoju-sdk/models/shared_details_refunds.rb +279 -0
- data/lib/komoju-sdk/models/show_barcode_response.rb +55 -0
- data/lib/komoju-sdk/models/simulate_live_application_payment_method_status_request.rb +254 -0
- data/lib/komoju-sdk/models/statement_descriptor.rb +262 -0
- data/lib/komoju-sdk/models/status.rb +42 -0
- data/lib/komoju-sdk/models/submerchant.rb +328 -0
- data/lib/komoju-sdk/models/submerchant_list_item.rb +414 -0
- data/lib/komoju-sdk/models/submerchants_list.rb +391 -0
- data/lib/komoju-sdk/models/submitted_field.rb +335 -0
- data/lib/komoju-sdk/models/submitted_field_all_of_value.rb +106 -0
- data/lib/komoju-sdk/models/subscription.rb +550 -0
- data/lib/komoju-sdk/models/subscription_customer.rb +379 -0
- data/lib/komoju-sdk/models/subscription_list.rb +349 -0
- data/lib/komoju-sdk/models/subscription_payment_details.rb +279 -0
- data/lib/komoju-sdk/models/subscription_period.rb +40 -0
- data/lib/komoju-sdk/models/terminal_error.rb +227 -0
- data/lib/komoju-sdk/models/terminal_error_body.rb +296 -0
- data/lib/komoju-sdk/models/three_ds_auth_result.rb +398 -0
- data/lib/komoju-sdk/models/token.rb +306 -0
- data/lib/komoju-sdk/models/token_payment_details.rb +347 -0
- data/lib/komoju-sdk/models/transaction.rb +326 -0
- data/lib/komoju-sdk/models/transfer.rb +353 -0
- data/lib/komoju-sdk/models/update_customer_request.rb +271 -0
- data/lib/komoju-sdk/models/update_merchant_request.rb +285 -0
- data/lib/komoju-sdk/models/update_merchant_request_expiry_settings_inner.rb +279 -0
- data/lib/komoju-sdk/models/update_payment_method_request.rb +826 -0
- data/lib/komoju-sdk/models/update_payment_request.rb +238 -0
- data/lib/komoju-sdk/version.rb +15 -0
- data/lib/komoju-sdk.rb +310 -0
- data/spec/api/barcodes_api_spec.rb +47 -0
- data/spec/api/disbursements_api_spec.rb +103 -0
- data/spec/api/events_api_spec.rb +62 -0
- data/spec/api/one_click_api_spec.rb +47 -0
- data/spec/api/payments_api_spec.rb +166 -0
- data/spec/api/platform_model_api_spec.rb +394 -0
- data/spec/api/secure_tokens_api_spec.rb +59 -0
- data/spec/api/sessions_api_spec.rb +84 -0
- data/spec/api/settlements_api_spec.rb +111 -0
- data/spec/api/subscriptions_api_spec.rb +151 -0
- data/spec/api/tokens_api_spec.rb +47 -0
- data/spec/models/address_spec.rb +72 -0
- data/spec/models/api_error_body_spec.rb +54 -0
- data/spec/models/api_error_spec.rb +36 -0
- data/spec/models/auto_spec.rb +30 -0
- data/spec/models/available_payment_method_spec.rb +72 -0
- data/spec/models/balance_settings_spec.rb +48 -0
- data/spec/models/balance_show_spec.rb +84 -0
- data/spec/models/balance_spec.rb +42 -0
- data/spec/models/balance_transaction_list_spec.rb +78 -0
- data/spec/models/balance_transfer_request_spec.rb +42 -0
- data/spec/models/balance_transfer_service_record_spec.rb +66 -0
- data/spec/models/barcode_pending_response_spec.rb +46 -0
- data/spec/models/barcode_ready_response_spec.rb +52 -0
- data/spec/models/cancel_disbursement_request_spec.rb +36 -0
- data/spec/models/capture_payment_request_spec.rb +48 -0
- data/spec/models/capture_payment_request_tax_spec.rb +32 -0
- data/spec/models/country_code_spec.rb +30 -0
- data/spec/models/create_customer_request_spec.rb +54 -0
- data/spec/models/create_disbursement_request_spec.rb +82 -0
- data/spec/models/create_file_request_spec.rb +36 -0
- data/spec/models/create_merchant_balance_transfer_request_spec.rb +54 -0
- data/spec/models/create_merchant_request_spec.rb +42 -0
- data/spec/models/create_payment_request_spec.rb +32 -0
- data/spec/models/create_payment_request_with_customer_spec.rb +120 -0
- data/spec/models/create_payment_request_with_payment_details_spec.rb +120 -0
- data/spec/models/create_payment_request_with_payment_details_tax_spec.rb +32 -0
- data/spec/models/create_refund_request_request_spec.rb +100 -0
- data/spec/models/create_secure_token_request_spec.rb +32 -0
- data/spec/models/create_secure_token_request_with_customer_spec.rb +60 -0
- data/spec/models/create_secure_token_request_with_payment_details_spec.rb +60 -0
- data/spec/models/create_session_request_spec.rb +44 -0
- data/spec/models/create_session_request_with_customer_mode_spec.rb +106 -0
- data/spec/models/create_session_request_with_customer_payment_mode_spec.rb +112 -0
- data/spec/models/create_session_request_with_payment_mode_spec.rb +106 -0
- data/spec/models/create_subscription_request_spec.rb +60 -0
- data/spec/models/create_token_request_spec.rb +48 -0
- data/spec/models/currency_spec.rb +30 -0
- data/spec/models/customer_list_spec.rb +78 -0
- data/spec/models/customer_metadata_spec.rb +36 -0
- data/spec/models/customer_source_spec.rb +60 -0
- data/spec/models/customer_spec.rb +66 -0
- data/spec/models/delete_external_customer_response_spec.rb +36 -0
- data/spec/models/disbursement_list_spec.rb +78 -0
- data/spec/models/disbursement_spec.rb +120 -0
- data/spec/models/disbursement_status_spec.rb +30 -0
- data/spec/models/edit_merchant_balance_settings_request_spec.rb +54 -0
- data/spec/models/errored_field_spec.rb +78 -0
- data/spec/models/event_list_spec.rb +82 -0
- data/spec/models/event_spec.rb +66 -0
- data/spec/models/field_field_properties_spec.rb +42 -0
- data/spec/models/field_spec.rb +66 -0
- data/spec/models/finalize_payment_request_spec.rb +64 -0
- data/spec/models/fraud_details_spec.rb +72 -0
- data/spec/models/industry_type_spec.rb +30 -0
- data/spec/models/installments_spec.rb +30 -0
- data/spec/models/intent_spec.rb +30 -0
- data/spec/models/line_item_spec.rb +60 -0
- data/spec/models/live_application_request_spec.rb +630 -0
- data/spec/models/live_application_spec.rb +72 -0
- data/spec/models/live_application_status_spec.rb +30 -0
- data/spec/models/live_application_with_submitted_fields_spec.rb +78 -0
- data/spec/models/locale_spec.rb +30 -0
- data/spec/models/merchant_balance_spec.rb +48 -0
- data/spec/models/merchant_data_spec.rb +36 -0
- data/spec/models/merchant_file_spec.rb +72 -0
- data/spec/models/merchant_role_spec.rb +30 -0
- data/spec/models/merchant_submission_status_spec.rb +42 -0
- data/spec/models/pay_session_request_spec.rb +52 -0
- data/spec/models/pay_session_response_spec.rb +60 -0
- data/spec/models/payment_data_request_spec.rb +106 -0
- data/spec/models/payment_data_spec.rb +64 -0
- data/spec/models/payment_details_alipay_hk_spec.rb +124 -0
- data/spec/models/payment_details_alipay_spec.rb +124 -0
- data/spec/models/payment_details_all_spec.rb +44 -0
- data/spec/models/payment_details_au_spec.rb +124 -0
- data/spec/models/payment_details_aupay_spec.rb +130 -0
- data/spec/models/payment_details_bancontact_spec.rb +124 -0
- data/spec/models/payment_details_bank_transfer_spec.rb +172 -0
- data/spec/models/payment_details_bit_cash_spec.rb +136 -0
- data/spec/models/payment_details_blik_spec.rb +124 -0
- data/spec/models/payment_details_credit_card_brazil_spec.rb +172 -0
- data/spec/models/payment_details_credit_card_korea_social_id_spec.rb +32 -0
- data/spec/models/payment_details_credit_card_korea_spec.rb +166 -0
- data/spec/models/payment_details_credit_card_spec.rb +216 -0
- data/spec/models/payment_details_credit_card_terminal_spec.rb +172 -0
- data/spec/models/payment_details_culture_voucher_spec.rb +136 -0
- data/spec/models/payment_details_cvs_spec.rb +130 -0
- data/spec/models/payment_details_dana_spec.rb +124 -0
- data/spec/models/payment_details_docomo_spec.rb +124 -0
- data/spec/models/payment_details_doku_wallet_spec.rb +130 -0
- data/spec/models/payment_details_dospara_spec.rb +136 -0
- data/spec/models/payment_details_dragonpay_spec.rb +136 -0
- data/spec/models/payment_details_enets_spec.rb +136 -0
- data/spec/models/payment_details_epospay_spec.rb +124 -0
- data/spec/models/payment_details_eps_spec.rb +124 -0
- data/spec/models/payment_details_fpx_spec.rb +136 -0
- data/spec/models/payment_details_g_cash_spec.rb +124 -0
- data/spec/models/payment_details_giropay_spec.rb +124 -0
- data/spec/models/payment_details_happy_money_spec.rb +136 -0
- data/spec/models/payment_details_ideal_spec.rb +124 -0
- data/spec/models/payment_details_kakaopay_spec.rb +124 -0
- data/spec/models/payment_details_konbini_spec.rb +164 -0
- data/spec/models/payment_details_merpay_spec.rb +124 -0
- data/spec/models/payment_details_mobile_japan_spec.rb +134 -0
- data/spec/models/payment_details_mobile_spec.rb +130 -0
- data/spec/models/payment_details_multibanco_spec.rb +124 -0
- data/spec/models/payment_details_mybank_spec.rb +124 -0
- data/spec/models/payment_details_narvesen_spec.rb +124 -0
- data/spec/models/payment_details_naverpay_spec.rb +124 -0
- data/spec/models/payment_details_net_cash_spec.rb +136 -0
- data/spec/models/payment_details_only_credit_cards_spec.rb +44 -0
- data/spec/models/payment_details_ovo_spec.rb +130 -0
- data/spec/models/payment_details_paidy_spec.rb +196 -0
- data/spec/models/payment_details_pay_easy_spec.rb +166 -0
- data/spec/models/payment_details_pay_pay_spec.rb +136 -0
- data/spec/models/payment_details_payco_spec.rb +124 -0
- data/spec/models/payment_details_paypost_spec.rb +124 -0
- data/spec/models/payment_details_paysafe_card_spec.rb +130 -0
- data/spec/models/payment_details_paysafe_cash_spec.rb +130 -0
- data/spec/models/payment_details_paysera_spec.rb +124 -0
- data/spec/models/payment_details_payu_spec.rb +124 -0
- data/spec/models/payment_details_perlas_spec.rb +124 -0
- data/spec/models/payment_details_pix_spec.rb +148 -0
- data/spec/models/payment_details_poli_spec.rb +124 -0
- data/spec/models/payment_details_przelewy24_spec.rb +124 -0
- data/spec/models/payment_details_rakutenpay_spec.rb +124 -0
- data/spec/models/payment_details_sepa_transfer_spec.rb +124 -0
- data/spec/models/payment_details_sofortbanking_spec.rb +124 -0
- data/spec/models/payment_details_softbank_spec.rb +124 -0
- data/spec/models/payment_details_tng_spec.rb +124 -0
- data/spec/models/payment_details_toss_spec.rb +136 -0
- data/spec/models/payment_details_truemoney_spec.rb +124 -0
- data/spec/models/payment_details_unionpay_spec.rb +124 -0
- data/spec/models/payment_details_web_money_spec.rb +136 -0
- data/spec/models/payment_details_wechatpay_spec.rb +124 -0
- data/spec/models/payment_list_spec.rb +78 -0
- data/spec/models/payment_method_brands_spec.rb +32 -0
- data/spec/models/payment_method_installments_inner_spec.rb +42 -0
- data/spec/models/payment_method_spec.rb +96 -0
- data/spec/models/payment_method_status_spec.rb +42 -0
- data/spec/models/payment_methods_list_spec.rb +42 -0
- data/spec/models/payment_spec.rb +190 -0
- data/spec/models/payment_status_spec.rb +30 -0
- data/spec/models/payment_type_spec.rb +30 -0
- data/spec/models/platform_details_spec.rb +42 -0
- data/spec/models/platform_merchant_payment_list_spec.rb +66 -0
- data/spec/models/platform_payment_spec.rb +186 -0
- data/spec/models/prepaid_cards_spec.rb +42 -0
- data/spec/models/processing_merchant_spec.rb +36 -0
- data/spec/models/refund_payment_request_spec.rb +48 -0
- data/spec/models/refund_request_spec.rb +102 -0
- data/spec/models/refund_request_status_spec.rb +30 -0
- data/spec/models/refund_spec.rb +94 -0
- data/spec/models/response_payment_details_alipay_hk_spec.rb +136 -0
- data/spec/models/response_payment_details_alipay_spec.rb +142 -0
- data/spec/models/response_payment_details_all_spec.rb +44 -0
- data/spec/models/response_payment_details_au_spec.rb +148 -0
- data/spec/models/response_payment_details_aupay_spec.rb +142 -0
- data/spec/models/response_payment_details_bancontact_spec.rb +142 -0
- data/spec/models/response_payment_details_bank_transfer_spec.rb +178 -0
- data/spec/models/response_payment_details_bit_cash_spec.rb +130 -0
- data/spec/models/response_payment_details_blik_spec.rb +142 -0
- data/spec/models/response_payment_details_credit_card_brazil_spec.rb +52 -0
- data/spec/models/response_payment_details_credit_card_korea_spec.rb +158 -0
- data/spec/models/response_payment_details_credit_card_spec.rb +230 -0
- data/spec/models/response_payment_details_credit_card_terminal_spec.rb +166 -0
- data/spec/models/response_payment_details_culture_voucher_spec.rb +136 -0
- data/spec/models/response_payment_details_cvs_spec.rb +142 -0
- data/spec/models/response_payment_details_dana_spec.rb +136 -0
- data/spec/models/response_payment_details_docomo_spec.rb +142 -0
- data/spec/models/response_payment_details_doku_wallet_spec.rb +142 -0
- data/spec/models/response_payment_details_dospara_spec.rb +136 -0
- data/spec/models/response_payment_details_dragonpay_spec.rb +142 -0
- data/spec/models/response_payment_details_enets_spec.rb +142 -0
- data/spec/models/response_payment_details_epospay_spec.rb +190 -0
- data/spec/models/response_payment_details_eps_spec.rb +142 -0
- data/spec/models/response_payment_details_fpx_spec.rb +142 -0
- data/spec/models/response_payment_details_g_cash_spec.rb +136 -0
- data/spec/models/response_payment_details_giropay_spec.rb +142 -0
- data/spec/models/response_payment_details_happy_money_spec.rb +136 -0
- data/spec/models/response_payment_details_ideal_spec.rb +142 -0
- data/spec/models/response_payment_details_kakaopay_spec.rb +136 -0
- data/spec/models/response_payment_details_konbini_spec.rb +158 -0
- data/spec/models/response_payment_details_merpay_spec.rb +142 -0
- data/spec/models/response_payment_details_mobile_japan_spec.rb +146 -0
- data/spec/models/response_payment_details_mobile_spec.rb +142 -0
- data/spec/models/response_payment_details_multibanco_spec.rb +142 -0
- data/spec/models/response_payment_details_mybank_spec.rb +142 -0
- data/spec/models/response_payment_details_narvesen_spec.rb +142 -0
- data/spec/models/response_payment_details_naverpay_spec.rb +170 -0
- data/spec/models/response_payment_details_net_cash_spec.rb +142 -0
- data/spec/models/response_payment_details_ovo_spec.rb +142 -0
- data/spec/models/response_payment_details_paidy_spec.rb +136 -0
- data/spec/models/response_payment_details_pay_easy_spec.rb +166 -0
- data/spec/models/response_payment_details_pay_pay_spec.rb +142 -0
- data/spec/models/response_payment_details_payco_spec.rb +142 -0
- data/spec/models/response_payment_details_paypost_spec.rb +142 -0
- data/spec/models/response_payment_details_paysafe_card_spec.rb +136 -0
- data/spec/models/response_payment_details_paysafe_cash_spec.rb +136 -0
- data/spec/models/response_payment_details_paysera_spec.rb +142 -0
- data/spec/models/response_payment_details_payu_spec.rb +142 -0
- data/spec/models/response_payment_details_perlas_spec.rb +142 -0
- data/spec/models/response_payment_details_pix_spec.rb +154 -0
- data/spec/models/response_payment_details_poli_spec.rb +142 -0
- data/spec/models/response_payment_details_przelewy24_spec.rb +142 -0
- data/spec/models/response_payment_details_rakutenpay_spec.rb +142 -0
- data/spec/models/response_payment_details_sepa_transfer_spec.rb +142 -0
- data/spec/models/response_payment_details_sofortbanking_spec.rb +142 -0
- data/spec/models/response_payment_details_softbank_spec.rb +136 -0
- data/spec/models/response_payment_details_tng_spec.rb +136 -0
- data/spec/models/response_payment_details_toss_spec.rb +142 -0
- data/spec/models/response_payment_details_truemoney_spec.rb +136 -0
- data/spec/models/response_payment_details_unionpay_spec.rb +142 -0
- data/spec/models/response_payment_details_web_money_spec.rb +142 -0
- data/spec/models/response_payment_details_wechatpay_spec.rb +158 -0
- data/spec/models/secure_token_spec.rb +60 -0
- data/spec/models/serialized_submerchant_active_payment_methods_inner_spec.rb +66 -0
- data/spec/models/serialized_submerchant_expiry_settings_inner_spec.rb +60 -0
- data/spec/models/serialized_submerchant_spec.rb +132 -0
- data/spec/models/session_mode_spec.rb +30 -0
- data/spec/models/session_spec.rb +172 -0
- data/spec/models/session_status_spec.rb +30 -0
- data/spec/models/settlement_download_spec.rb +42 -0
- data/spec/models/settlement_frequency_spec.rb +30 -0
- data/spec/models/settlement_list_spec.rb +78 -0
- data/spec/models/settlement_show_spec.rb +192 -0
- data/spec/models/settlement_spec.rb +150 -0
- data/spec/models/shared_details_corrections_spec.rb +36 -0
- data/spec/models/shared_details_disbursements_spec.rb +48 -0
- data/spec/models/shared_details_misc_spec.rb +60 -0
- data/spec/models/shared_details_payments_spec.rb +48 -0
- data/spec/models/shared_details_platform_model_spec.rb +72 -0
- data/spec/models/shared_details_refunds_spec.rb +54 -0
- data/spec/models/shared_details_spec.rb +72 -0
- data/spec/models/show_barcode_response_spec.rb +44 -0
- data/spec/models/simulate_live_application_payment_method_status_request_spec.rb +40 -0
- data/spec/models/statement_descriptor_spec.rb +60 -0
- data/spec/models/status_spec.rb +30 -0
- data/spec/models/submerchant_list_item_spec.rb +94 -0
- data/spec/models/submerchant_spec.rb +48 -0
- data/spec/models/submerchants_list_spec.rb +66 -0
- data/spec/models/submitted_field_all_of_value_spec.rb +32 -0
- data/spec/models/submitted_field_spec.rb +72 -0
- data/spec/models/subscription_customer_spec.rb +72 -0
- data/spec/models/subscription_list_spec.rb +78 -0
- data/spec/models/subscription_payment_details_spec.rb +54 -0
- data/spec/models/subscription_period_spec.rb +30 -0
- data/spec/models/subscription_spec.rb +126 -0
- data/spec/models/terminal_error_body_spec.rb +60 -0
- data/spec/models/terminal_error_spec.rb +36 -0
- data/spec/models/three_ds_auth_result_spec.rb +96 -0
- data/spec/models/token_payment_details_spec.rb +78 -0
- data/spec/models/token_spec.rb +54 -0
- data/spec/models/transaction_spec.rb +54 -0
- data/spec/models/transfer_spec.rb +66 -0
- data/spec/models/update_customer_request_spec.rb +54 -0
- data/spec/models/update_merchant_request_expiry_settings_inner_spec.rb +52 -0
- data/spec/models/update_merchant_request_spec.rb +78 -0
- data/spec/models/update_payment_method_request_spec.rb +384 -0
- data/spec/models/update_payment_request_spec.rb +48 -0
- data/spec/spec_helper.rb +111 -0
- metadata +1207 -0
data/docs/EventsApi.md
ADDED
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
# Komoju::EventsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://komoju.com/api/v1*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**list_events**](EventsApi.md#list_events) | **GET** /events | Event: List |
|
|
8
|
+
| [**show_event**](EventsApi.md#show_event) | **GET** /events/{id} | Event Show |
|
|
9
|
+
|
|
10
|
+
## Request Models
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## list_events
|
|
15
|
+
|
|
16
|
+
> <EventList> list_events(opts)
|
|
17
|
+
|
|
18
|
+
Event: List
|
|
19
|
+
|
|
20
|
+
Lists out past webhook events from most-recent to least-recent.
|
|
21
|
+
|
|
22
|
+
### Examples
|
|
23
|
+
|
|
24
|
+
```ruby
|
|
25
|
+
require 'time'
|
|
26
|
+
require 'komoju-sdk'
|
|
27
|
+
# setup authorization
|
|
28
|
+
Komoju.configure do |config|
|
|
29
|
+
# Configure your KOMOJU API key
|
|
30
|
+
config.api_key = 'YOUR_API_KEY'
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
api_instance = Komoju::EventsApi.new
|
|
34
|
+
opts = {
|
|
35
|
+
start_time: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Query for records created after this time.
|
|
36
|
+
end_time: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Query for records created before this time.
|
|
37
|
+
per_page: 56, # Integer | How many objects per page.
|
|
38
|
+
page: 56 # Integer | Page number to query for.
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
begin
|
|
42
|
+
# Event: List
|
|
43
|
+
result = api_instance.list_events(opts)
|
|
44
|
+
p result
|
|
45
|
+
rescue Komoju::ApiError => e
|
|
46
|
+
puts "Error when calling EventsApi->list_events: #{e}"
|
|
47
|
+
end
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
#### Using the list_events_with_http_info variant
|
|
51
|
+
|
|
52
|
+
This returns an Array which contains the response data, status code and headers.
|
|
53
|
+
|
|
54
|
+
> <Array(<EventList>, Integer, Hash)> list_events_with_http_info(opts)
|
|
55
|
+
|
|
56
|
+
```ruby
|
|
57
|
+
begin
|
|
58
|
+
# Event: List
|
|
59
|
+
data, status_code, headers = api_instance.list_events_with_http_info(opts)
|
|
60
|
+
p status_code # => 2xx
|
|
61
|
+
p headers # => { ... }
|
|
62
|
+
p data # => <EventList>
|
|
63
|
+
rescue Komoju::ApiError => e
|
|
64
|
+
puts "Error when calling EventsApi->list_events_with_http_info: #{e}"
|
|
65
|
+
end
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Parameters
|
|
69
|
+
|
|
70
|
+
| Name | Type | Description | Notes |
|
|
71
|
+
| ---- | ---- | ----------- | ----- |
|
|
72
|
+
| **start_time** | **Time** | Query for records created after this time. | [optional] |
|
|
73
|
+
| **end_time** | **Time** | Query for records created before this time. | [optional] |
|
|
74
|
+
| **per_page** | **Integer** | How many objects per page. | [optional] |
|
|
75
|
+
| **page** | **Integer** | Page number to query for. | [optional] |
|
|
76
|
+
|
|
77
|
+
### Return type
|
|
78
|
+
|
|
79
|
+
[**EventList**](EventList.md)
|
|
80
|
+
|
|
81
|
+
### Authorization
|
|
82
|
+
|
|
83
|
+
[api_key](../README.md#api_key)
|
|
84
|
+
|
|
85
|
+
### HTTP request headers
|
|
86
|
+
|
|
87
|
+
- **Content-Type**: Not defined
|
|
88
|
+
- **Accept**: application/json
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
## show_event
|
|
92
|
+
|
|
93
|
+
> <Event> show_event(id)
|
|
94
|
+
|
|
95
|
+
Event Show
|
|
96
|
+
|
|
97
|
+
View an event given an `id`. Event `id`s can be saved from a webhook or found by querying all events.
|
|
98
|
+
|
|
99
|
+
### Examples
|
|
100
|
+
|
|
101
|
+
```ruby
|
|
102
|
+
require 'time'
|
|
103
|
+
require 'komoju-sdk'
|
|
104
|
+
# setup authorization
|
|
105
|
+
Komoju.configure do |config|
|
|
106
|
+
# Configure your KOMOJU API key
|
|
107
|
+
config.api_key = 'YOUR_API_KEY'
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
api_instance = Komoju::EventsApi.new
|
|
111
|
+
id = 'id_example' # String | A unique identifier for an event.
|
|
112
|
+
|
|
113
|
+
begin
|
|
114
|
+
# Event Show
|
|
115
|
+
result = api_instance.show_event(id)
|
|
116
|
+
p result
|
|
117
|
+
rescue Komoju::ApiError => e
|
|
118
|
+
puts "Error when calling EventsApi->show_event: #{e}"
|
|
119
|
+
end
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
#### Using the show_event_with_http_info variant
|
|
123
|
+
|
|
124
|
+
This returns an Array which contains the response data, status code and headers.
|
|
125
|
+
|
|
126
|
+
> <Array(<Event>, Integer, Hash)> show_event_with_http_info(id)
|
|
127
|
+
|
|
128
|
+
```ruby
|
|
129
|
+
begin
|
|
130
|
+
# Event Show
|
|
131
|
+
data, status_code, headers = api_instance.show_event_with_http_info(id)
|
|
132
|
+
p status_code # => 2xx
|
|
133
|
+
p headers # => { ... }
|
|
134
|
+
p data # => <Event>
|
|
135
|
+
rescue Komoju::ApiError => e
|
|
136
|
+
puts "Error when calling EventsApi->show_event_with_http_info: #{e}"
|
|
137
|
+
end
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Parameters
|
|
141
|
+
|
|
142
|
+
| Name | Type | Description | Notes |
|
|
143
|
+
| ---- | ---- | ----------- | ----- |
|
|
144
|
+
| **id** | **String** | A unique identifier for an event. | |
|
|
145
|
+
|
|
146
|
+
### Return type
|
|
147
|
+
|
|
148
|
+
[**Event**](Event.md)
|
|
149
|
+
|
|
150
|
+
### Authorization
|
|
151
|
+
|
|
152
|
+
[api_key](../README.md#api_key)
|
|
153
|
+
|
|
154
|
+
### HTTP request headers
|
|
155
|
+
|
|
156
|
+
- **Content-Type**: Not defined
|
|
157
|
+
- **Accept**: application/json
|
|
158
|
+
|
data/docs/Field.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Komoju::Field
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **field_type** | **String** | The input type for this field (e.g. \"text\", \"file\", \"boolean\"). | |
|
|
8
|
+
| **field** | **String** | Machine-readable key name of the field. | |
|
|
9
|
+
| **field_name** | **String** | Human-readable display name of the field. | |
|
|
10
|
+
| **field_properties** | [**FieldFieldProperties**](FieldFieldProperties.md) | | |
|
|
11
|
+
| **position** | **Integer** | Display order position of this field in the application form. | |
|
|
12
|
+
| **optional** | **Boolean** | Whether this field is optional (true) or required (false). | |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'komoju-sdk'
|
|
18
|
+
|
|
19
|
+
instance = Komoju::Field.new(
|
|
20
|
+
field_type: null,
|
|
21
|
+
field: null,
|
|
22
|
+
field_name: null,
|
|
23
|
+
field_properties: null,
|
|
24
|
+
position: null,
|
|
25
|
+
optional: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Komoju::FieldFieldProperties
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **external_links** | **Array<String>** | Array of URLs to external resources relevant to this field. | |
|
|
8
|
+
| **min_length** | **Integer** | Minimum character length for the field value. | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'komoju-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Komoju::FieldFieldProperties.new(
|
|
16
|
+
external_links: null,
|
|
17
|
+
min_length: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Komoju::FinalizePaymentRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **capture** | **Boolean** | | [optional] |
|
|
8
|
+
| **ac_type** | **String** | EMV chip card action code: TC (approved), AAC (declined), or fault. | |
|
|
9
|
+
| **field55** | **String** | EMV tag 55 data from the chip card transaction. | |
|
|
10
|
+
| **track2** | **String** | Track 2 magnetic stripe equivalent data from the chip card. | |
|
|
11
|
+
| **metadata** | **Object** | | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'komoju-sdk'
|
|
17
|
+
|
|
18
|
+
instance = Komoju::FinalizePaymentRequest.new(
|
|
19
|
+
capture: null,
|
|
20
|
+
ac_type: null,
|
|
21
|
+
field55: null,
|
|
22
|
+
track2: null,
|
|
23
|
+
metadata: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Komoju::FraudDetails
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **customer_ip** | **String** | IPv4 or IPv6-formatted IP address of the customer at the time of payment. | |
|
|
8
|
+
| **customer_email** | **String** | Customer's email address. This field can be omitted if `email` is provided in `email` field inside `payment_details` of create payment request, or in the create payment session request. Otherwise, this field is required. | |
|
|
9
|
+
| **customer_id** | **String** | An unique identifier of your customer. If your system has the concept of user accounts, then the ID of the current logged in user would be appropriate. | [optional] |
|
|
10
|
+
| **browser_language** | **String** | Customer's current language setting. | [optional] |
|
|
11
|
+
| **browser_user_agent** | **String** | Browser's [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent) string. | [optional] |
|
|
12
|
+
| **browser_session_id** | **String** | A unique identifier for the current browser session. We expect this to behave similarly to the lifetime of [window.sessionStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage) in a web browsing context. | [optional] |
|
|
13
|
+
| **phone** | **String** | Customer's phone number. | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'komoju-sdk'
|
|
19
|
+
|
|
20
|
+
instance = Komoju::FraudDetails.new(
|
|
21
|
+
customer_ip: ::1,
|
|
22
|
+
customer_email: john@example.com,
|
|
23
|
+
customer_id: 123,
|
|
24
|
+
browser_language: ja-JP,
|
|
25
|
+
browser_user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:42.0) Gecko/20100101 Firefox/42.0,
|
|
26
|
+
browser_session_id: abc1234,
|
|
27
|
+
phone: 07012345678
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
data/docs/Intent.md
ADDED
data/docs/LineItem.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Komoju::LineItem
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **amount** | **Integer** | Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD). | [optional] |
|
|
8
|
+
| **description** | **String** | Display name or description of the product or service. | [optional] |
|
|
9
|
+
| **quantity** | **Integer** | The default value is 1 if none is given. | [optional] |
|
|
10
|
+
| **image** | **String** | URL to an image representing this line item, shown on the session page. | [optional] |
|
|
11
|
+
| **external_product_num** | **String** | Merchant's internal product or SKU identifier. | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'komoju-sdk'
|
|
17
|
+
|
|
18
|
+
instance = Komoju::LineItem.new(
|
|
19
|
+
amount: null,
|
|
20
|
+
description: null,
|
|
21
|
+
quantity: null,
|
|
22
|
+
image: null,
|
|
23
|
+
external_product_num: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Komoju::LiveApplication
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **merchant_id** | **String** | A unique 25-character alphanumeric resource identifier. | |
|
|
8
|
+
| **status** | [**LiveApplicationStatus**](LiveApplicationStatus.md) | | |
|
|
9
|
+
| **payments_enabled** | **Boolean** | Whether payments have been enabled following application review. | |
|
|
10
|
+
| **payouts_enabled** | **Boolean** | Whether payouts have been enabled following application review. | |
|
|
11
|
+
| **requested_fields** | [**Array<Field>**](Field.md) | Fields currently required to be submitted for this application. | |
|
|
12
|
+
| **newly_requested_fields** | [**Array<Field>**](Field.md) | Fields newly added to the required list since last submission. | |
|
|
13
|
+
| **errored_fields** | [**Array<ErroredField>**](ErroredField.md) | Fields that were submitted but failed validation. | |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'komoju-sdk'
|
|
19
|
+
|
|
20
|
+
instance = Komoju::LiveApplication.new(
|
|
21
|
+
merchant_id: null,
|
|
22
|
+
status: null,
|
|
23
|
+
payments_enabled: null,
|
|
24
|
+
payouts_enabled: null,
|
|
25
|
+
requested_fields: null,
|
|
26
|
+
newly_requested_fields: null,
|
|
27
|
+
errored_fields: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
# Komoju::LiveApplicationRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **locale** | [**Locale**](Locale.md) | | [optional] |
|
|
8
|
+
| **service_agreement_agreed_to_tos** | **Boolean** | Whether the merchant has agreed to KOMOJU's terms of service. | [optional] |
|
|
9
|
+
| **company_information_company_name** | **String** | Registered legal name of the company. | [optional] |
|
|
10
|
+
| **company_information_company_phone** | **String** | Company contact phone number. | [optional] |
|
|
11
|
+
| **company_information_company_country** | [**CountryCode**](CountryCode.md) | | [optional] |
|
|
12
|
+
| **company_information_corporation_type** | **String** | Whether the business is a sole proprietorship or corporation. | [optional] |
|
|
13
|
+
| **company_information_company_postal_code** | **String** | Postal code of the company's registered address. | [optional] |
|
|
14
|
+
| **company_information_company_prefecture_state** | **String** | Prefecture or state of the company's registered address. | [optional] |
|
|
15
|
+
| **company_information_company_prefecture_state_kana** | **String** | Prefecture or state in katakana. | [optional] |
|
|
16
|
+
| **company_information_company_city** | **String** | City of the company's registered address. | [optional] |
|
|
17
|
+
| **company_information_company_city_kana** | **String** | City name in katakana. | [optional] |
|
|
18
|
+
| **company_information_company_address** | **String** | Street address of the company. | [optional] |
|
|
19
|
+
| **company_information_industry_description** | **String** | Description of the industry the company operates in. | [optional] |
|
|
20
|
+
| **company_information_business_description** | **String** | Description of the company's business activities and products/services sold. | [optional] |
|
|
21
|
+
| **company_information_employee_number** | **String** | Number of employees at the company. | [optional] |
|
|
22
|
+
| **company_information_establishment_date** | **String** | Date the company was established (YYYY-MM-DD format). | [optional] |
|
|
23
|
+
| **company_information_office_name** | **String** | Name of the specific office or branch. | [optional] |
|
|
24
|
+
| **company_information_contact_email** | **String** | Primary contact email address for the company. | [optional] |
|
|
25
|
+
| **company_information_contact_phone** | **String** | Primary contact phone number for the company. | [optional] |
|
|
26
|
+
| **company_information_incorporation_certificates** | **Array<String>** | File IDs of uploaded incorporation certificate documents. | [optional] |
|
|
27
|
+
| **company_information_registration_number** | **String** | Company registration number. | [optional] |
|
|
28
|
+
| **company_information_share_capital_amount** | **Integer** | Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD). | [optional] |
|
|
29
|
+
| **company_information_share_capital_currency** | [**Currency**](Currency.md) | | [optional] |
|
|
30
|
+
| **company_information_sole_proprietor_proofs** | **Array<String>** | File IDs of uploaded sole proprietorship proof documents. | [optional] |
|
|
31
|
+
| **company_information_company_name_kana** | **String** | Company name in katakana. | [optional] |
|
|
32
|
+
| **company_information_company_name_alphabet** | **String** | Company name in alphanumeric (Roman) characters. | [optional] |
|
|
33
|
+
| **company_information_company_url** | **String** | URL of the company's website. | [optional] |
|
|
34
|
+
| **company_information_company_address_kana** | **String** | Street address in katakana. | [optional] |
|
|
35
|
+
| **company_information_company_address_building_name** | **String** | Building name portion of the company address. | [optional] |
|
|
36
|
+
| **company_information_company_address_building_name_kana** | **String** | Building name in katakana. | [optional] |
|
|
37
|
+
| **representative_director_information_first_name** | **String** | Representative director's first name. | [optional] |
|
|
38
|
+
| **representative_director_information_first_name_kana** | **String** | Representative director's first name in katakana. | [optional] |
|
|
39
|
+
| **representative_director_information_last_name** | **String** | Representative director's last name. | [optional] |
|
|
40
|
+
| **representative_director_information_last_name_kana** | **String** | Representative director's last name in katakana. | [optional] |
|
|
41
|
+
| **representative_director_information_date_of_birth** | **String** | Representative director's date of birth (YYYY-MM-DD format). | [optional] |
|
|
42
|
+
| **representative_director_information_gender** | **String** | Representative director's gender. | [optional] |
|
|
43
|
+
| **representative_director_information_country** | [**CountryCode**](CountryCode.md) | | [optional] |
|
|
44
|
+
| **representative_director_information_postal_code** | **String** | Postal code of the representative director's address. | [optional] |
|
|
45
|
+
| **representative_director_information_prefecture_state** | **String** | Prefecture or state of the representative director's address. | [optional] |
|
|
46
|
+
| **representative_director_information_prefecture_state_kana** | **String** | Prefecture or state in katakana. | [optional] |
|
|
47
|
+
| **representative_director_information_city** | **String** | City of the representative director's address. | [optional] |
|
|
48
|
+
| **representative_director_information_city_kana** | **String** | City name in katakana. | [optional] |
|
|
49
|
+
| **representative_director_information_address** | **String** | Street address of the representative director. | [optional] |
|
|
50
|
+
| **representative_director_information_address_kana** | **String** | Street address in katakana. | [optional] |
|
|
51
|
+
| **representative_director_information_address_building_name** | **String** | Building name portion of the representative director's address. | [optional] |
|
|
52
|
+
| **representative_director_information_address_building_name_kana** | **String** | Building name in katakana. | [optional] |
|
|
53
|
+
| **representative_director_information_phone** | **String** | Representative director's phone number. | [optional] |
|
|
54
|
+
| **applicant_information_first_name** | **String** | Applicant's first name. | [optional] |
|
|
55
|
+
| **applicant_information_first_name_kana** | **String** | Applicant's first name in katakana. | [optional] |
|
|
56
|
+
| **applicant_information_last_name** | **String** | Applicant's last name. | [optional] |
|
|
57
|
+
| **applicant_information_last_name_kana** | **String** | Applicant's last name in katakana. | [optional] |
|
|
58
|
+
| **applicant_information_country** | [**CountryCode**](CountryCode.md) | | [optional] |
|
|
59
|
+
| **applicant_information_gender** | **String** | Applicant's gender. | [optional] |
|
|
60
|
+
| **applicant_information_date_of_birth** | **String** | Applicant's date of birth (YYYY-MM-DD format). | [optional] |
|
|
61
|
+
| **applicant_information_identity_document_type** | **String** | Type of identity document submitted for verification. | [optional] |
|
|
62
|
+
| **applicant_information_identity_front** | **String** | File ID of the front side of the uploaded identity document. | [optional] |
|
|
63
|
+
| **applicant_information_identity_back** | **String** | File ID of the back side of the uploaded identity document. | [optional] |
|
|
64
|
+
| **site_information_site_name** | **String** | Name of the merchant's website or online store. | [optional] |
|
|
65
|
+
| **site_information_site_name_kana** | **String** | Site name in katakana. | [optional] |
|
|
66
|
+
| **site_information_site_name_alphabet** | **String** | Site name in alphanumeric (Roman) characters. | [optional] |
|
|
67
|
+
| **site_information_site_url** | **String** | URL of the merchant's online store. | [optional] |
|
|
68
|
+
| **site_information_establishment_date** | **String** | Date the online store was established (YYYY-MM-DD format). | [optional] |
|
|
69
|
+
| **site_information_store_country** | [**CountryCode**](CountryCode.md) | | [optional] |
|
|
70
|
+
| **site_information_store_postal_code** | **String** | Postal code of the store's physical location. | [optional] |
|
|
71
|
+
| **site_information_store_prefecture_state** | **String** | Prefecture or state of the store's physical location. | [optional] |
|
|
72
|
+
| **site_information_store_prefecture_state_kana** | **String** | Prefecture or state in katakana. | [optional] |
|
|
73
|
+
| **site_information_store_city** | **String** | City of the store's physical location. | [optional] |
|
|
74
|
+
| **site_information_store_city_kana** | **String** | City name in katakana. | [optional] |
|
|
75
|
+
| **site_information_store_address** | **String** | Street address of the store's physical location. | [optional] |
|
|
76
|
+
| **site_information_store_address_kana** | **String** | Store street address in katakana. | [optional] |
|
|
77
|
+
| **site_information_store_building_name** | **String** | Building name for the store's address. | [optional] |
|
|
78
|
+
| **site_information_store_building_name_kana** | **String** | Building name in katakana. | [optional] |
|
|
79
|
+
| **site_information_site_product_description** | **String** | Description of the products or services sold on the site. | [optional] |
|
|
80
|
+
| **site_information_site_annual_sales** | **Integer** | Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD). | [optional] |
|
|
81
|
+
| **site_information_site_annual_sales_currency** | [**Currency**](Currency.md) | | [optional] |
|
|
82
|
+
| **site_information_site_average_transactional_value** | **String** | Average transaction value as a formatted string. | [optional] |
|
|
83
|
+
| **site_information_site_average_transactional_currency** | [**Currency**](Currency.md) | | [optional] |
|
|
84
|
+
| **site_information_site_minimum_product_pricing_cents** | **Integer** | Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD). | [optional] |
|
|
85
|
+
| **site_information_site_minimum_product_pricing_currency** | [**Currency**](Currency.md) | | [optional] |
|
|
86
|
+
| **site_information_site_maximum_product_pricing_cents** | **Integer** | Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD). | [optional] |
|
|
87
|
+
| **site_information_site_maximum_product_pricing_currency** | [**Currency**](Currency.md) | | [optional] |
|
|
88
|
+
| **site_information_sctl_url** | **String** | URL of the merchant's Specified Commercial Transaction Law disclosure page. | [optional] |
|
|
89
|
+
| **site_information_sales_permit_required** | **Boolean** | Whether a sales permit is required for the merchant's business type. | [optional] |
|
|
90
|
+
| **site_information_aup_accepted** | **Boolean** | Whether the merchant has accepted the Acceptable Use Policy. | [optional] |
|
|
91
|
+
| **site_information_industry_type** | [**IndustryType**](IndustryType.md) | | [optional] |
|
|
92
|
+
| **site_information_sales_permits** | **Array<String>** | File IDs of uploaded sales permit documents. | [optional] |
|
|
93
|
+
| **bank_account_information_zengin_bank_name** | **String** | Name of the merchant's bank (Zengin network). | [optional] |
|
|
94
|
+
| **bank_account_information_zengin_bank_code** | **String** | 4-digit bank code in the Zengin network. | [optional] |
|
|
95
|
+
| **bank_account_information_zengin_branch_name** | **String** | Name of the bank branch. | [optional] |
|
|
96
|
+
| **bank_account_information_zengin_branch_code** | **String** | 3-digit branch code. | [optional] |
|
|
97
|
+
| **bank_account_information_zengin_account_type** | **String** | Type of bank account (ordinary or checking). | [optional] |
|
|
98
|
+
| **bank_account_information_zengin_account_number** | **String** | Bank account number. | [optional] |
|
|
99
|
+
| **bank_account_information_zengin_account_holder_kana** | **String** | Account holder name in katakana as registered with the bank. | [optional] |
|
|
100
|
+
| **bank_account_information_transfer_type** | **String** | Type of bank transfer supported (currently only \"domestic\"). | [optional] |
|
|
101
|
+
| **bank_account_information_currency** | [**Currency**](Currency.md) | | [optional] |
|
|
102
|
+
| **bank_account_information_default_frequency** | [**SettlementFrequency**](SettlementFrequency.md) | | [optional] |
|
|
103
|
+
|
|
104
|
+
## Example
|
|
105
|
+
|
|
106
|
+
```ruby
|
|
107
|
+
require 'komoju-sdk'
|
|
108
|
+
|
|
109
|
+
instance = Komoju::LiveApplicationRequest.new(
|
|
110
|
+
locale: null,
|
|
111
|
+
service_agreement_agreed_to_tos: null,
|
|
112
|
+
company_information_company_name: null,
|
|
113
|
+
company_information_company_phone: null,
|
|
114
|
+
company_information_company_country: null,
|
|
115
|
+
company_information_corporation_type: null,
|
|
116
|
+
company_information_company_postal_code: null,
|
|
117
|
+
company_information_company_prefecture_state: null,
|
|
118
|
+
company_information_company_prefecture_state_kana: null,
|
|
119
|
+
company_information_company_city: null,
|
|
120
|
+
company_information_company_city_kana: null,
|
|
121
|
+
company_information_company_address: null,
|
|
122
|
+
company_information_industry_description: null,
|
|
123
|
+
company_information_business_description: null,
|
|
124
|
+
company_information_employee_number: null,
|
|
125
|
+
company_information_establishment_date: null,
|
|
126
|
+
company_information_office_name: null,
|
|
127
|
+
company_information_contact_email: null,
|
|
128
|
+
company_information_contact_phone: null,
|
|
129
|
+
company_information_incorporation_certificates: null,
|
|
130
|
+
company_information_registration_number: null,
|
|
131
|
+
company_information_share_capital_amount: null,
|
|
132
|
+
company_information_share_capital_currency: null,
|
|
133
|
+
company_information_sole_proprietor_proofs: null,
|
|
134
|
+
company_information_company_name_kana: null,
|
|
135
|
+
company_information_company_name_alphabet: null,
|
|
136
|
+
company_information_company_url: null,
|
|
137
|
+
company_information_company_address_kana: null,
|
|
138
|
+
company_information_company_address_building_name: null,
|
|
139
|
+
company_information_company_address_building_name_kana: null,
|
|
140
|
+
representative_director_information_first_name: null,
|
|
141
|
+
representative_director_information_first_name_kana: null,
|
|
142
|
+
representative_director_information_last_name: null,
|
|
143
|
+
representative_director_information_last_name_kana: null,
|
|
144
|
+
representative_director_information_date_of_birth: null,
|
|
145
|
+
representative_director_information_gender: null,
|
|
146
|
+
representative_director_information_country: null,
|
|
147
|
+
representative_director_information_postal_code: null,
|
|
148
|
+
representative_director_information_prefecture_state: null,
|
|
149
|
+
representative_director_information_prefecture_state_kana: null,
|
|
150
|
+
representative_director_information_city: null,
|
|
151
|
+
representative_director_information_city_kana: null,
|
|
152
|
+
representative_director_information_address: null,
|
|
153
|
+
representative_director_information_address_kana: null,
|
|
154
|
+
representative_director_information_address_building_name: null,
|
|
155
|
+
representative_director_information_address_building_name_kana: null,
|
|
156
|
+
representative_director_information_phone: null,
|
|
157
|
+
applicant_information_first_name: null,
|
|
158
|
+
applicant_information_first_name_kana: null,
|
|
159
|
+
applicant_information_last_name: null,
|
|
160
|
+
applicant_information_last_name_kana: null,
|
|
161
|
+
applicant_information_country: null,
|
|
162
|
+
applicant_information_gender: null,
|
|
163
|
+
applicant_information_date_of_birth: null,
|
|
164
|
+
applicant_information_identity_document_type: null,
|
|
165
|
+
applicant_information_identity_front: null,
|
|
166
|
+
applicant_information_identity_back: null,
|
|
167
|
+
site_information_site_name: null,
|
|
168
|
+
site_information_site_name_kana: null,
|
|
169
|
+
site_information_site_name_alphabet: null,
|
|
170
|
+
site_information_site_url: null,
|
|
171
|
+
site_information_establishment_date: null,
|
|
172
|
+
site_information_store_country: null,
|
|
173
|
+
site_information_store_postal_code: null,
|
|
174
|
+
site_information_store_prefecture_state: null,
|
|
175
|
+
site_information_store_prefecture_state_kana: null,
|
|
176
|
+
site_information_store_city: null,
|
|
177
|
+
site_information_store_city_kana: null,
|
|
178
|
+
site_information_store_address: null,
|
|
179
|
+
site_information_store_address_kana: null,
|
|
180
|
+
site_information_store_building_name: null,
|
|
181
|
+
site_information_store_building_name_kana: null,
|
|
182
|
+
site_information_site_product_description: null,
|
|
183
|
+
site_information_site_annual_sales: null,
|
|
184
|
+
site_information_site_annual_sales_currency: null,
|
|
185
|
+
site_information_site_average_transactional_value: null,
|
|
186
|
+
site_information_site_average_transactional_currency: null,
|
|
187
|
+
site_information_site_minimum_product_pricing_cents: null,
|
|
188
|
+
site_information_site_minimum_product_pricing_currency: null,
|
|
189
|
+
site_information_site_maximum_product_pricing_cents: null,
|
|
190
|
+
site_information_site_maximum_product_pricing_currency: null,
|
|
191
|
+
site_information_sctl_url: null,
|
|
192
|
+
site_information_sales_permit_required: null,
|
|
193
|
+
site_information_aup_accepted: null,
|
|
194
|
+
site_information_industry_type: null,
|
|
195
|
+
site_information_sales_permits: null,
|
|
196
|
+
bank_account_information_zengin_bank_name: null,
|
|
197
|
+
bank_account_information_zengin_bank_code: null,
|
|
198
|
+
bank_account_information_zengin_branch_name: null,
|
|
199
|
+
bank_account_information_zengin_branch_code: null,
|
|
200
|
+
bank_account_information_zengin_account_type: null,
|
|
201
|
+
bank_account_information_zengin_account_number: null,
|
|
202
|
+
bank_account_information_zengin_account_holder_kana: null,
|
|
203
|
+
bank_account_information_transfer_type: null,
|
|
204
|
+
bank_account_information_currency: null,
|
|
205
|
+
bank_account_information_default_frequency: null
|
|
206
|
+
)
|
|
207
|
+
```
|
|
208
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Komoju::LiveApplicationWithSubmittedFields
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **merchant_id** | **String** | A unique 25-character alphanumeric resource identifier. | |
|
|
8
|
+
| **status** | [**LiveApplicationStatus**](LiveApplicationStatus.md) | | |
|
|
9
|
+
| **payments_enabled** | **Boolean** | Whether payments have been enabled following application review. | |
|
|
10
|
+
| **payouts_enabled** | **Boolean** | Whether payouts have been enabled following application review. | |
|
|
11
|
+
| **requested_fields** | [**Array<Field>**](Field.md) | Fields currently required to be submitted for this application. | |
|
|
12
|
+
| **newly_requested_fields** | [**Array<Field>**](Field.md) | Fields newly added to the required list since last submission. | |
|
|
13
|
+
| **errored_fields** | [**Array<ErroredField>**](ErroredField.md) | Fields that were submitted but failed validation. | |
|
|
14
|
+
| **submitted_fields** | [**Array<SubmittedField>**](SubmittedField.md) | | |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'komoju-sdk'
|
|
20
|
+
|
|
21
|
+
instance = Komoju::LiveApplicationWithSubmittedFields.new(
|
|
22
|
+
merchant_id: null,
|
|
23
|
+
status: null,
|
|
24
|
+
payments_enabled: null,
|
|
25
|
+
payouts_enabled: null,
|
|
26
|
+
requested_fields: null,
|
|
27
|
+
newly_requested_fields: null,
|
|
28
|
+
errored_fields: null,
|
|
29
|
+
submitted_fields: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
data/docs/Locale.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Komoju::MerchantBalance
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **currency** | [**Currency**](Currency.md) | | |
|
|
8
|
+
| **frequency** | [**SettlementFrequency**](SettlementFrequency.md) | | |
|
|
9
|
+
| **settlement_minimum_amount** | **Integer** | Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD). | |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'komoju-sdk'
|
|
15
|
+
|
|
16
|
+
instance = Komoju::MerchantBalance.new(
|
|
17
|
+
currency: null,
|
|
18
|
+
frequency: null,
|
|
19
|
+
settlement_minimum_amount: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|