checkbook 1.0.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/Gemfile +9 -0
- data/README.md +324 -0
- data/Rakefile +10 -0
- data/checkbook.gemspec +39 -0
- data/docs/Approval.md +669 -0
- data/docs/Bank.md +645 -0
- data/docs/Card.md +290 -0
- data/docs/Checkbook.md +370 -0
- data/docs/Directory.md +520 -0
- data/docs/Interac.md +290 -0
- data/docs/Invoice.md +452 -0
- data/docs/Mailbox.md +454 -0
- data/docs/Payment.md +1247 -0
- data/docs/Paypal.md +290 -0
- data/docs/Subscription.md +453 -0
- data/docs/User.md +722 -0
- data/docs/Vcc.md +448 -0
- data/docs/Venmo.md +290 -0
- data/docs/Wallet.md +292 -0
- data/docs/Wire.md +290 -0
- data/lib/checkbook/api/approval.rb +662 -0
- data/lib/checkbook/api/bank.rb +613 -0
- data/lib/checkbook/api/card.rb +284 -0
- data/lib/checkbook/api/checkbook.rb +357 -0
- data/lib/checkbook/api/directory.rb +522 -0
- data/lib/checkbook/api/interac.rb +284 -0
- data/lib/checkbook/api/invoice.rb +452 -0
- data/lib/checkbook/api/mailbox.rb +441 -0
- data/lib/checkbook/api/payment.rb +1188 -0
- data/lib/checkbook/api/paypal.rb +284 -0
- data/lib/checkbook/api/subscription.rb +463 -0
- data/lib/checkbook/api/user.rb +687 -0
- data/lib/checkbook/api/vcc.rb +439 -0
- data/lib/checkbook/api/venmo.rb +284 -0
- data/lib/checkbook/api/wallet.rb +284 -0
- data/lib/checkbook/api/wire.rb +284 -0
- data/lib/checkbook/api_client.rb +404 -0
- data/lib/checkbook/api_error.rb +58 -0
- data/lib/checkbook/api_model_base.rb +88 -0
- data/lib/checkbook/configuration.rb +316 -0
- data/lib/checkbook/models/address.rb +266 -0
- data/lib/checkbook/models/address_response.rb +316 -0
- data/lib/checkbook/models/api_key_list_response.rb +241 -0
- data/lib/checkbook/models/api_key_response.rb +315 -0
- data/lib/checkbook/models/approval.rb +445 -0
- data/lib/checkbook/models/approval_number.rb +104 -0
- data/lib/checkbook/models/approval_recipient.rb +105 -0
- data/lib/checkbook/models/attachment.rb +283 -0
- data/lib/checkbook/models/bank.rb +475 -0
- data/lib/checkbook/models/bank_release_request.rb +238 -0
- data/lib/checkbook/models/bank_settings.rb +232 -0
- data/lib/checkbook/models/bank_verify_request.rb +311 -0
- data/lib/checkbook/models/base_checkbook_request.rb +328 -0
- data/lib/checkbook/models/brand.rb +297 -0
- data/lib/checkbook/models/brand_response.rb +255 -0
- data/lib/checkbook/models/button.rb +221 -0
- data/lib/checkbook/models/card.rb +357 -0
- data/lib/checkbook/models/card_address.rb +377 -0
- data/lib/checkbook/models/check.rb +445 -0
- data/lib/checkbook/models/check_address.rb +407 -0
- data/lib/checkbook/models/check_response.rb +238 -0
- data/lib/checkbook/models/check_settings.rb +230 -0
- data/lib/checkbook/models/checkbook_address.rb +442 -0
- data/lib/checkbook/models/color.rb +232 -0
- data/lib/checkbook/models/convert_check_request.rb +264 -0
- data/lib/checkbook/models/counterparty.rb +264 -0
- data/lib/checkbook/models/create_bank_request.rb +342 -0
- data/lib/checkbook/models/create_bank_response.rb +475 -0
- data/lib/checkbook/models/create_card_intent.rb +313 -0
- data/lib/checkbook/models/create_card_intent_response.rb +221 -0
- data/lib/checkbook/models/create_card_request.rb +284 -0
- data/lib/checkbook/models/create_card_response.rb +332 -0
- data/lib/checkbook/models/create_check_subscription_request.rb +476 -0
- data/lib/checkbook/models/create_check_subscription_request_recipient.rb +104 -0
- data/lib/checkbook/models/create_digital_check_request.rb +470 -0
- data/lib/checkbook/models/create_digital_check_request_attachment.rb +104 -0
- data/lib/checkbook/models/create_digital_check_request_number.rb +105 -0
- data/lib/checkbook/models/create_digital_check_request_recipient.rb +104 -0
- data/lib/checkbook/models/create_direct_check_request.rb +554 -0
- data/lib/checkbook/models/create_direct_check_request_number.rb +104 -0
- data/lib/checkbook/models/create_directory_bank_request.rb +342 -0
- data/lib/checkbook/models/create_directory_bank_response.rb +329 -0
- data/lib/checkbook/models/create_directory_card_request.rb +300 -0
- data/lib/checkbook/models/create_directory_card_response.rb +329 -0
- data/lib/checkbook/models/create_directory_request.rb +291 -0
- data/lib/checkbook/models/create_directory_response.rb +314 -0
- data/lib/checkbook/models/create_instant_check_request.rb +487 -0
- data/lib/checkbook/models/create_interac_request.rb +247 -0
- data/lib/checkbook/models/create_invoice_request.rb +393 -0
- data/lib/checkbook/models/create_invoice_request_attachment.rb +104 -0
- data/lib/checkbook/models/create_invoice_response.rb +399 -0
- data/lib/checkbook/models/create_invoice_subscription_request.rb +471 -0
- data/lib/checkbook/models/create_mailbox_response.rb +301 -0
- data/lib/checkbook/models/create_multi_check_request.rb +432 -0
- data/lib/checkbook/models/create_paypal_request.rb +247 -0
- data/lib/checkbook/models/create_physical_check_request.rb +446 -0
- data/lib/checkbook/models/create_physical_check_request_number.rb +105 -0
- data/lib/checkbook/models/create_physical_check_request_remittance_advice.rb +104 -0
- data/lib/checkbook/models/create_subscription_response.rb +454 -0
- data/lib/checkbook/models/create_subscription_response_recipient.rb +104 -0
- data/lib/checkbook/models/create_user_request.rb +302 -0
- data/lib/checkbook/models/create_user_response.rb +304 -0
- data/lib/checkbook/models/create_vcc_request.rb +242 -0
- data/lib/checkbook/models/create_vcc_response.rb +302 -0
- data/lib/checkbook/models/create_venmo_request.rb +247 -0
- data/lib/checkbook/models/create_wallet_request.rb +282 -0
- data/lib/checkbook/models/create_wallet_response.rb +285 -0
- data/lib/checkbook/models/create_wire_request.rb +342 -0
- data/lib/checkbook/models/csv_approval_response.rb +240 -0
- data/lib/checkbook/models/csv_check_request.rb +313 -0
- data/lib/checkbook/models/csv_check_response.rb +240 -0
- data/lib/checkbook/models/csv_invoice_request.rb +268 -0
- data/lib/checkbook/models/csv_invoice_response.rb +240 -0
- data/lib/checkbook/models/csv_multi_check_request.rb +268 -0
- data/lib/checkbook/models/deposit_check_request.rb +238 -0
- data/lib/checkbook/models/developer.rb +238 -0
- data/lib/checkbook/models/digital_recipient.rb +257 -0
- data/lib/checkbook/models/directory_account.rb +329 -0
- data/lib/checkbook/models/directory_address.rb +277 -0
- data/lib/checkbook/models/directory_request_address.rb +392 -0
- data/lib/checkbook/models/endorse_check_request.rb +267 -0
- data/lib/checkbook/models/error.rb +246 -0
- data/lib/checkbook/models/file_row.rb +362 -0
- data/lib/checkbook/models/get_api_key_response.rb +253 -0
- data/lib/checkbook/models/get_approval_response.rb +434 -0
- data/lib/checkbook/models/get_approvals_response.rb +318 -0
- data/lib/checkbook/models/get_banks_response.rb +240 -0
- data/lib/checkbook/models/get_cards_response.rb +240 -0
- data/lib/checkbook/models/get_check_deposited_response.rb +246 -0
- data/lib/checkbook/models/get_check_failed_response.rb +224 -0
- data/lib/checkbook/models/get_check_response.rb +434 -0
- data/lib/checkbook/models/get_check_tracking_response_express.rb +240 -0
- data/lib/checkbook/models/get_check_tracking_response_first_class.rb +240 -0
- data/lib/checkbook/models/get_checkbook_response.rb +325 -0
- data/lib/checkbook/models/get_checkbook_tracking_response_express.rb +240 -0
- data/lib/checkbook/models/get_checkbook_tracking_response_first_class.rb +240 -0
- data/lib/checkbook/models/get_checkbooks_response.rb +318 -0
- data/lib/checkbook/models/get_checks_response.rb +318 -0
- data/lib/checkbook/models/get_directories_response.rb +270 -0
- data/lib/checkbook/models/get_institutions_response.rb +240 -0
- data/lib/checkbook/models/get_interac_response.rb +240 -0
- data/lib/checkbook/models/get_invoice_response.rb +468 -0
- data/lib/checkbook/models/get_invoices_response.rb +318 -0
- data/lib/checkbook/models/get_mail_response.rb +318 -0
- data/lib/checkbook/models/get_mailboxes_response.rb +318 -0
- data/lib/checkbook/models/get_paypal_response.rb +240 -0
- data/lib/checkbook/models/get_subscription_response.rb +522 -0
- data/lib/checkbook/models/get_subscriptions_response.rb +318 -0
- data/lib/checkbook/models/get_user_response.rb +239 -0
- data/lib/checkbook/models/get_vcc_response.rb +393 -0
- data/lib/checkbook/models/get_venmo_response.rb +240 -0
- data/lib/checkbook/models/get_wallets_response.rb +240 -0
- data/lib/checkbook/models/get_wire_response.rb +240 -0
- data/lib/checkbook/models/iav_account.rb +276 -0
- data/lib/checkbook/models/iav_login_response.rb +245 -0
- data/lib/checkbook/models/iav_login_schema.rb +238 -0
- data/lib/checkbook/models/iav_plaid_request.rb +238 -0
- data/lib/checkbook/models/iav_plaid_response.rb +223 -0
- data/lib/checkbook/models/iavmfa_schema.rb +249 -0
- data/lib/checkbook/models/inline_response200.rb +222 -0
- data/lib/checkbook/models/institution.rb +277 -0
- data/lib/checkbook/models/interac_account_response.rb +276 -0
- data/lib/checkbook/models/invoice_attachment.rb +283 -0
- data/lib/checkbook/models/invoice_file_row.rb +374 -0
- data/lib/checkbook/models/login_field.rb +277 -0
- data/lib/checkbook/models/mail_response.rb +367 -0
- data/lib/checkbook/models/mailbox_address.rb +285 -0
- data/lib/checkbook/models/merchant.rb +447 -0
- data/lib/checkbook/models/merchant_response.rb +318 -0
- data/lib/checkbook/models/merchant_response_address.rb +278 -0
- data/lib/checkbook/models/mfa_option.rb +273 -0
- data/lib/checkbook/models/mfa_response_field.rb +298 -0
- data/lib/checkbook/models/mfa_selection_field.rb +231 -0
- data/lib/checkbook/models/multi_file_row.rb +431 -0
- data/lib/checkbook/models/multi_recipient.rb +312 -0
- data/lib/checkbook/models/new_api_key_request.rb +233 -0
- data/lib/checkbook/models/new_api_key_response.rb +263 -0
- data/lib/checkbook/models/number.rb +231 -0
- data/lib/checkbook/models/number140416527981344.rb +231 -0
- data/lib/checkbook/models/numbers.rb +238 -0
- data/lib/checkbook/models/numbers140416527982288.rb +238 -0
- data/lib/checkbook/models/options.rb +256 -0
- data/lib/checkbook/models/parsed_address.rb +271 -0
- data/lib/checkbook/models/parsed_address_address.rb +104 -0
- data/lib/checkbook/models/pay_invoice_request.rb +284 -0
- data/lib/checkbook/models/pay_invoice_response.rb +346 -0
- data/lib/checkbook/models/payment.rb +247 -0
- data/lib/checkbook/models/paypal_account_response.rb +276 -0
- data/lib/checkbook/models/physical_check_recipient.rb +442 -0
- data/lib/checkbook/models/pin.rb +283 -0
- data/lib/checkbook/models/plaid_account.rb +276 -0
- data/lib/checkbook/models/post_bank_iav_request.rb +104 -0
- data/lib/checkbook/models/preview_check_request.rb +337 -0
- data/lib/checkbook/models/preview_check_request_number.rb +104 -0
- data/lib/checkbook/models/preview_check_response.rb +238 -0
- data/lib/checkbook/models/provision_vcc_request.rb +348 -0
- data/lib/checkbook/models/provision_vcc_response.rb +292 -0
- data/lib/checkbook/models/register_user_request.rb +417 -0
- data/lib/checkbook/models/release_check_request.rb +238 -0
- data/lib/checkbook/models/remittance_advice.rb +296 -0
- data/lib/checkbook/models/signature_request.rb +239 -0
- data/lib/checkbook/models/subscription_address.rb +407 -0
- data/lib/checkbook/models/tracking_event.rb +249 -0
- data/lib/checkbook/models/tracking_number.rb +249 -0
- data/lib/checkbook/models/trigger_user_webhook_request.rb +262 -0
- data/lib/checkbook/models/trigger_webhook_request.rb +271 -0
- data/lib/checkbook/models/update_approval_request.rb +329 -0
- data/lib/checkbook/models/update_bank_request.rb +257 -0
- data/lib/checkbook/models/update_card_request.rb +247 -0
- data/lib/checkbook/models/update_check_request.rb +263 -0
- data/lib/checkbook/models/update_directory_address.rb +337 -0
- data/lib/checkbook/models/update_directory_request.rb +281 -0
- data/lib/checkbook/models/update_interac_request.rb +237 -0
- data/lib/checkbook/models/update_merchant_address.rb +377 -0
- data/lib/checkbook/models/update_paypal_request.rb +237 -0
- data/lib/checkbook/models/update_principal_address.rb +377 -0
- data/lib/checkbook/models/update_subscription_request.rb +233 -0
- data/lib/checkbook/models/update_user_request.rb +266 -0
- data/lib/checkbook/models/update_vcc_request.rb +242 -0
- data/lib/checkbook/models/update_venmo_request.rb +237 -0
- data/lib/checkbook/models/update_wallet_request.rb +237 -0
- data/lib/checkbook/models/update_wire_request.rb +237 -0
- data/lib/checkbook/models/user.rb +477 -0
- data/lib/checkbook/models/user_query_response.rb +271 -0
- data/lib/checkbook/models/user_response.rb +355 -0
- data/lib/checkbook/models/user_response_query.rb +320 -0
- data/lib/checkbook/models/validate_address_request.rb +240 -0
- data/lib/checkbook/models/validate_address_response.rb +240 -0
- data/lib/checkbook/models/vcc.rb +404 -0
- data/lib/checkbook/models/vcc_address.rb +266 -0
- data/lib/checkbook/models/vcc_query_response.rb +240 -0
- data/lib/checkbook/models/vcc_transaction.rb +285 -0
- data/lib/checkbook/models/vcc_transactions_response.rb +270 -0
- data/lib/checkbook/models/venmo_account_response.rb +276 -0
- data/lib/checkbook/models/verify_check_request.rb +238 -0
- data/lib/checkbook/models/verify_check_response.rb +221 -0
- data/lib/checkbook/models/verify_user_request.rb +273 -0
- data/lib/checkbook/models/wallet.rb +296 -0
- data/lib/checkbook/models/wire_account_response.rb +330 -0
- data/lib/checkbook/version.rb +15 -0
- data/lib/checkbook.rb +255 -0
- data/spec/api/approval_spec.rb +151 -0
- data/spec/api/bank_spec.rb +142 -0
- data/spec/api/card_spec.rb +83 -0
- data/spec/api/checkbook_spec.rb +97 -0
- data/spec/api/directory_spec.rb +125 -0
- data/spec/api/interac_spec.rb +83 -0
- data/spec/api/invoice_spec.rb +114 -0
- data/spec/api/mailbox_spec.rb +114 -0
- data/spec/api/payment_spec.rb +249 -0
- data/spec/api/paypal_spec.rb +83 -0
- data/spec/api/subscription_spec.rb +115 -0
- data/spec/api/user_spec.rb +156 -0
- data/spec/api/vcc_spec.rb +113 -0
- data/spec/api/venmo_spec.rb +83 -0
- data/spec/api/wallet_spec.rb +83 -0
- data/spec/api/wire_spec.rb +83 -0
- data/spec/models/address_response_spec.rb +54 -0
- data/spec/models/address_spec.rb +66 -0
- data/spec/models/api_key_list_response_spec.rb +36 -0
- data/spec/models/api_key_response_spec.rb +60 -0
- data/spec/models/approval_number_spec.rb +32 -0
- data/spec/models/approval_recipient_spec.rb +32 -0
- data/spec/models/approval_spec.rb +110 -0
- data/spec/models/attachment_spec.rb +42 -0
- data/spec/models/bank_release_request_spec.rb +36 -0
- data/spec/models/bank_settings_spec.rb +42 -0
- data/spec/models/bank_spec.rb +98 -0
- data/spec/models/bank_verify_request_spec.rb +48 -0
- data/spec/models/base_checkbook_request_spec.rb +58 -0
- data/spec/models/brand_response_spec.rb +54 -0
- data/spec/models/brand_spec.rb +66 -0
- data/spec/models/button_spec.rb +36 -0
- data/spec/models/card_address_spec.rb +66 -0
- data/spec/models/card_spec.rb +66 -0
- data/spec/models/check_address_spec.rb +66 -0
- data/spec/models/check_response_spec.rb +36 -0
- data/spec/models/check_settings_spec.rb +42 -0
- data/spec/models/check_spec.rb +110 -0
- data/spec/models/checkbook_address_spec.rb +72 -0
- data/spec/models/color_spec.rb +42 -0
- data/spec/models/convert_check_request_spec.rb +42 -0
- data/spec/models/counterparty_spec.rb +42 -0
- data/spec/models/create_bank_request_spec.rb +58 -0
- data/spec/models/create_bank_response_spec.rb +98 -0
- data/spec/models/create_card_intent_response_spec.rb +36 -0
- data/spec/models/create_card_intent_spec.rb +58 -0
- data/spec/models/create_card_request_spec.rb +54 -0
- data/spec/models/create_card_response_spec.rb +60 -0
- data/spec/models/create_check_subscription_request_recipient_spec.rb +32 -0
- data/spec/models/create_check_subscription_request_spec.rb +88 -0
- data/spec/models/create_digital_check_request_attachment_spec.rb +32 -0
- data/spec/models/create_digital_check_request_number_spec.rb +32 -0
- data/spec/models/create_digital_check_request_recipient_spec.rb +32 -0
- data/spec/models/create_digital_check_request_spec.rb +100 -0
- data/spec/models/create_direct_check_request_number_spec.rb +32 -0
- data/spec/models/create_direct_check_request_spec.rb +116 -0
- data/spec/models/create_directory_bank_request_spec.rb +58 -0
- data/spec/models/create_directory_bank_response_spec.rb +58 -0
- data/spec/models/create_directory_card_request_spec.rb +48 -0
- data/spec/models/create_directory_card_response_spec.rb +58 -0
- data/spec/models/create_directory_request_spec.rb +48 -0
- data/spec/models/create_directory_response_spec.rb +60 -0
- data/spec/models/create_instant_check_request_spec.rb +96 -0
- data/spec/models/create_interac_request_spec.rb +36 -0
- data/spec/models/create_invoice_request_attachment_spec.rb +32 -0
- data/spec/models/create_invoice_request_spec.rb +72 -0
- data/spec/models/create_invoice_response_spec.rb +78 -0
- data/spec/models/create_invoice_subscription_request_spec.rb +82 -0
- data/spec/models/create_mailbox_response_spec.rb +54 -0
- data/spec/models/create_multi_check_request_spec.rb +88 -0
- data/spec/models/create_paypal_request_spec.rb +36 -0
- data/spec/models/create_physical_check_request_number_spec.rb +32 -0
- data/spec/models/create_physical_check_request_remittance_advice_spec.rb +32 -0
- data/spec/models/create_physical_check_request_spec.rb +94 -0
- data/spec/models/create_subscription_response_recipient_spec.rb +32 -0
- data/spec/models/create_subscription_response_spec.rb +104 -0
- data/spec/models/create_user_request_spec.rb +42 -0
- data/spec/models/create_user_response_spec.rb +54 -0
- data/spec/models/create_vcc_request_spec.rb +48 -0
- data/spec/models/create_vcc_response_spec.rb +54 -0
- data/spec/models/create_venmo_request_spec.rb +36 -0
- data/spec/models/create_wallet_request_spec.rb +46 -0
- data/spec/models/create_wallet_response_spec.rb +54 -0
- data/spec/models/create_wire_request_spec.rb +58 -0
- data/spec/models/csv_approval_response_spec.rb +36 -0
- data/spec/models/csv_check_request_spec.rb +52 -0
- data/spec/models/csv_check_response_spec.rb +36 -0
- data/spec/models/csv_invoice_request_spec.rb +42 -0
- data/spec/models/csv_invoice_response_spec.rb +36 -0
- data/spec/models/csv_multi_check_request_spec.rb +42 -0
- data/spec/models/deposit_check_request_spec.rb +36 -0
- data/spec/models/developer_spec.rb +36 -0
- data/spec/models/digital_recipient_spec.rb +42 -0
- data/spec/models/directory_account_spec.rb +58 -0
- data/spec/models/directory_address_spec.rb +66 -0
- data/spec/models/directory_request_address_spec.rb +66 -0
- data/spec/models/endorse_check_request_spec.rb +42 -0
- data/spec/models/error_spec.rb +42 -0
- data/spec/models/file_row_spec.rb +72 -0
- data/spec/models/get_api_key_response_spec.rb +54 -0
- data/spec/models/get_approval_response_spec.rb +100 -0
- data/spec/models/get_approvals_response_spec.rb +54 -0
- data/spec/models/get_banks_response_spec.rb +36 -0
- data/spec/models/get_cards_response_spec.rb +36 -0
- data/spec/models/get_check_deposited_response_spec.rb +48 -0
- data/spec/models/get_check_failed_response_spec.rb +36 -0
- data/spec/models/get_check_response_spec.rb +100 -0
- data/spec/models/get_check_tracking_response_express_spec.rb +36 -0
- data/spec/models/get_check_tracking_response_first_class_spec.rb +36 -0
- data/spec/models/get_checkbook_response_spec.rb +58 -0
- data/spec/models/get_checkbook_tracking_response_express_spec.rb +36 -0
- data/spec/models/get_checkbook_tracking_response_first_class_spec.rb +36 -0
- data/spec/models/get_checkbooks_response_spec.rb +54 -0
- data/spec/models/get_checks_response_spec.rb +54 -0
- data/spec/models/get_directories_response_spec.rb +54 -0
- data/spec/models/get_institutions_response_spec.rb +36 -0
- data/spec/models/get_interac_response_spec.rb +36 -0
- data/spec/models/get_invoice_response_spec.rb +100 -0
- data/spec/models/get_invoices_response_spec.rb +54 -0
- data/spec/models/get_mail_response_spec.rb +54 -0
- data/spec/models/get_mailboxes_response_spec.rb +54 -0
- data/spec/models/get_paypal_response_spec.rb +36 -0
- data/spec/models/get_subscription_response_spec.rb +126 -0
- data/spec/models/get_subscriptions_response_spec.rb +54 -0
- data/spec/models/get_user_response_spec.rb +48 -0
- data/spec/models/get_vcc_response_spec.rb +78 -0
- data/spec/models/get_venmo_response_spec.rb +36 -0
- data/spec/models/get_wallets_response_spec.rb +36 -0
- data/spec/models/get_wire_response_spec.rb +36 -0
- data/spec/models/iav_account_spec.rb +48 -0
- data/spec/models/iav_login_response_spec.rb +48 -0
- data/spec/models/iav_login_schema_spec.rb +36 -0
- data/spec/models/iav_plaid_request_spec.rb +36 -0
- data/spec/models/iav_plaid_response_spec.rb +36 -0
- data/spec/models/iavmfa_schema_spec.rb +42 -0
- data/spec/models/inline_response200_spec.rb +36 -0
- data/spec/models/institution_spec.rb +48 -0
- data/spec/models/interac_account_response_spec.rb +48 -0
- data/spec/models/invoice_attachment_spec.rb +42 -0
- data/spec/models/invoice_file_row_spec.rb +60 -0
- data/spec/models/login_field_spec.rb +52 -0
- data/spec/models/mail_response_spec.rb +72 -0
- data/spec/models/mailbox_address_spec.rb +66 -0
- data/spec/models/merchant_response_address_spec.rb +66 -0
- data/spec/models/merchant_response_spec.rb +90 -0
- data/spec/models/merchant_spec.rb +98 -0
- data/spec/models/mfa_option_spec.rb +52 -0
- data/spec/models/mfa_response_field_spec.rb +64 -0
- data/spec/models/mfa_selection_field_spec.rb +42 -0
- data/spec/models/multi_file_row_spec.rb +72 -0
- data/spec/models/multi_recipient_spec.rb +54 -0
- data/spec/models/new_api_key_request_spec.rb +42 -0
- data/spec/models/new_api_key_response_spec.rb +60 -0
- data/spec/models/number140416527981344_spec.rb +42 -0
- data/spec/models/number_spec.rb +42 -0
- data/spec/models/numbers140416527982288_spec.rb +48 -0
- data/spec/models/numbers_spec.rb +48 -0
- data/spec/models/options_spec.rb +40 -0
- data/spec/models/parsed_address_address_spec.rb +32 -0
- data/spec/models/parsed_address_spec.rb +46 -0
- data/spec/models/pay_invoice_request_spec.rb +48 -0
- data/spec/models/pay_invoice_response_spec.rb +60 -0
- data/spec/models/payment_spec.rb +36 -0
- data/spec/models/paypal_account_response_spec.rb +48 -0
- data/spec/models/physical_check_recipient_spec.rb +72 -0
- data/spec/models/pin_spec.rb +42 -0
- data/spec/models/plaid_account_spec.rb +48 -0
- data/spec/models/post_bank_iav_request_spec.rb +32 -0
- data/spec/models/preview_check_request_number_spec.rb +32 -0
- data/spec/models/preview_check_request_spec.rb +60 -0
- data/spec/models/preview_check_response_spec.rb +36 -0
- data/spec/models/provision_vcc_request_spec.rb +58 -0
- data/spec/models/provision_vcc_response_spec.rb +48 -0
- data/spec/models/register_user_request_spec.rb +66 -0
- data/spec/models/release_check_request_spec.rb +36 -0
- data/spec/models/remittance_advice_spec.rb +54 -0
- data/spec/models/signature_request_spec.rb +36 -0
- data/spec/models/subscription_address_spec.rb +66 -0
- data/spec/models/tracking_event_spec.rb +42 -0
- data/spec/models/tracking_number_spec.rb +42 -0
- data/spec/models/trigger_user_webhook_request_spec.rb +40 -0
- data/spec/models/trigger_webhook_request_spec.rb +46 -0
- data/spec/models/update_approval_request_spec.rb +66 -0
- data/spec/models/update_bank_request_spec.rb +48 -0
- data/spec/models/update_card_request_spec.rb +42 -0
- data/spec/models/update_check_request_spec.rb +42 -0
- data/spec/models/update_directory_address_spec.rb +66 -0
- data/spec/models/update_directory_request_spec.rb +48 -0
- data/spec/models/update_interac_request_spec.rb +36 -0
- data/spec/models/update_merchant_address_spec.rb +66 -0
- data/spec/models/update_paypal_request_spec.rb +36 -0
- data/spec/models/update_principal_address_spec.rb +66 -0
- data/spec/models/update_subscription_request_spec.rb +42 -0
- data/spec/models/update_user_request_spec.rb +66 -0
- data/spec/models/update_vcc_request_spec.rb +48 -0
- data/spec/models/update_venmo_request_spec.rb +36 -0
- data/spec/models/update_wallet_request_spec.rb +36 -0
- data/spec/models/update_wire_request_spec.rb +36 -0
- data/spec/models/user_query_response_spec.rb +54 -0
- data/spec/models/user_response_query_spec.rb +54 -0
- data/spec/models/user_response_spec.rb +94 -0
- data/spec/models/user_spec.rb +84 -0
- data/spec/models/validate_address_request_spec.rb +36 -0
- data/spec/models/validate_address_response_spec.rb +36 -0
- data/spec/models/vcc_address_spec.rb +60 -0
- data/spec/models/vcc_query_response_spec.rb +36 -0
- data/spec/models/vcc_spec.rb +84 -0
- data/spec/models/vcc_transaction_spec.rb +72 -0
- data/spec/models/vcc_transactions_response_spec.rb +54 -0
- data/spec/models/venmo_account_response_spec.rb +48 -0
- data/spec/models/verify_check_request_spec.rb +36 -0
- data/spec/models/verify_check_response_spec.rb +36 -0
- data/spec/models/verify_user_request_spec.rb +46 -0
- data/spec/models/wallet_spec.rb +60 -0
- data/spec/models/wire_account_response_spec.rb +60 -0
- data/spec/spec_helper.rb +111 -0
- metadata +759 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Checkbook API
|
|
3
|
+
|
|
4
|
+
#The Checkbook API enables businesses to programmatically send and receive payments using digital checks and other payment methods. With Checkbook, you can automate payment workflows, disburse funds instantly, and manage transactions securely—all without the delays and costs of traditional paper checks.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
|
7
|
+
Contact: support@checkbook.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Checkbook::Vcc
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Checkbook::Vcc do
|
|
21
|
+
#let(:instance) { Checkbook::Vcc.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Vcc' do
|
|
24
|
+
it 'should create an instance of Vcc' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Checkbook::Vcc)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "address"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "balance"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "card_number"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "date"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "default"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "expiration_date"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "id"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "name"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "ruleset_prefix"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
end
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Checkbook API
|
|
3
|
+
|
|
4
|
+
#The Checkbook API enables businesses to programmatically send and receive payments using digital checks and other payment methods. With Checkbook, you can automate payment workflows, disburse funds instantly, and manage transactions securely—all without the delays and costs of traditional paper checks.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
|
7
|
+
Contact: support@checkbook.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Checkbook::VccTransaction
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Checkbook::VccTransaction do
|
|
21
|
+
#let(:instance) { Checkbook::VccTransaction.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of VccTransaction' do
|
|
24
|
+
it 'should create an instance of VccTransaction' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Checkbook::VccTransaction)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "amount"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "balance"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "created_ts"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "description"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "id"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "status"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "type"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Checkbook API
|
|
3
|
+
|
|
4
|
+
#The Checkbook API enables businesses to programmatically send and receive payments using digital checks and other payment methods. With Checkbook, you can automate payment workflows, disburse funds instantly, and manage transactions securely—all without the delays and costs of traditional paper checks.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
|
7
|
+
Contact: support@checkbook.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Checkbook::VccTransactionsResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Checkbook::VccTransactionsResponse do
|
|
21
|
+
#let(:instance) { Checkbook::VccTransactionsResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of VccTransactionsResponse' do
|
|
24
|
+
it 'should create an instance of VccTransactionsResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Checkbook::VccTransactionsResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "page"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "pages"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "total"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "transactions"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Checkbook API
|
|
3
|
+
|
|
4
|
+
#The Checkbook API enables businesses to programmatically send and receive payments using digital checks and other payment methods. With Checkbook, you can automate payment workflows, disburse funds instantly, and manage transactions securely—all without the delays and costs of traditional paper checks.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
|
7
|
+
Contact: support@checkbook.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Checkbook::VenmoAccountResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Checkbook::VenmoAccountResponse do
|
|
21
|
+
#let(:instance) { Checkbook::VenmoAccountResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of VenmoAccountResponse' do
|
|
24
|
+
it 'should create an instance of VenmoAccountResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Checkbook::VenmoAccountResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "date"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "name"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Checkbook API
|
|
3
|
+
|
|
4
|
+
#The Checkbook API enables businesses to programmatically send and receive payments using digital checks and other payment methods. With Checkbook, you can automate payment workflows, disburse funds instantly, and manage transactions securely—all without the delays and costs of traditional paper checks.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
|
7
|
+
Contact: support@checkbook.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Checkbook::VerifyCheckRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Checkbook::VerifyCheckRequest do
|
|
21
|
+
#let(:instance) { Checkbook::VerifyCheckRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of VerifyCheckRequest' do
|
|
24
|
+
it 'should create an instance of VerifyCheckRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Checkbook::VerifyCheckRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "code"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Checkbook API
|
|
3
|
+
|
|
4
|
+
#The Checkbook API enables businesses to programmatically send and receive payments using digital checks and other payment methods. With Checkbook, you can automate payment workflows, disburse funds instantly, and manage transactions securely—all without the delays and costs of traditional paper checks.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
|
7
|
+
Contact: support@checkbook.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Checkbook::VerifyCheckResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Checkbook::VerifyCheckResponse do
|
|
21
|
+
#let(:instance) { Checkbook::VerifyCheckResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of VerifyCheckResponse' do
|
|
24
|
+
it 'should create an instance of VerifyCheckResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Checkbook::VerifyCheckResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "success"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Checkbook API
|
|
3
|
+
|
|
4
|
+
#The Checkbook API enables businesses to programmatically send and receive payments using digital checks and other payment methods. With Checkbook, you can automate payment workflows, disburse funds instantly, and manage transactions securely—all without the delays and costs of traditional paper checks.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
|
7
|
+
Contact: support@checkbook.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Checkbook::VerifyUserRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Checkbook::VerifyUserRequest do
|
|
21
|
+
#let(:instance) { Checkbook::VerifyUserRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of VerifyUserRequest' do
|
|
24
|
+
it 'should create an instance of VerifyUserRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Checkbook::VerifyUserRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "phone"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "type"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["call", "sms", "email", "tfa"])
|
|
40
|
+
# validator.allowable_values.each do |value|
|
|
41
|
+
# expect { instance.type = value }.not_to raise_error
|
|
42
|
+
# end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Checkbook API
|
|
3
|
+
|
|
4
|
+
#The Checkbook API enables businesses to programmatically send and receive payments using digital checks and other payment methods. With Checkbook, you can automate payment workflows, disburse funds instantly, and manage transactions securely—all without the delays and costs of traditional paper checks.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
|
7
|
+
Contact: support@checkbook.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Checkbook::Wallet
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Checkbook::Wallet do
|
|
21
|
+
#let(:instance) { Checkbook::Wallet.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Wallet' do
|
|
24
|
+
it 'should create an instance of Wallet' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Checkbook::Wallet)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "balance"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "date"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "id"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "name"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "numbers"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Checkbook API
|
|
3
|
+
|
|
4
|
+
#The Checkbook API enables businesses to programmatically send and receive payments using digital checks and other payment methods. With Checkbook, you can automate payment workflows, disburse funds instantly, and manage transactions securely—all without the delays and costs of traditional paper checks.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
|
7
|
+
Contact: support@checkbook.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Checkbook::WireAccountResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Checkbook::WireAccountResponse do
|
|
21
|
+
#let(:instance) { Checkbook::WireAccountResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of WireAccountResponse' do
|
|
24
|
+
it 'should create an instance of WireAccountResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Checkbook::WireAccountResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "account"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "date"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "id"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "name"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "routing"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
data/spec/spec_helper.rb
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Checkbook API
|
|
3
|
+
|
|
4
|
+
#The Checkbook API enables businesses to programmatically send and receive payments using digital checks and other payment methods. With Checkbook, you can automate payment workflows, disburse funds instantly, and manage transactions securely—all without the delays and costs of traditional paper checks.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
|
7
|
+
Contact: support@checkbook.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.16.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
# load the gem
|
|
14
|
+
require 'checkbook'
|
|
15
|
+
|
|
16
|
+
# The following was generated by the `rspec --init` command. Conventionally, all
|
|
17
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
|
18
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
|
19
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
|
20
|
+
# files.
|
|
21
|
+
#
|
|
22
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
|
23
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
|
24
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
|
25
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
|
26
|
+
# a separate helper file that requires the additional dependencies and performs
|
|
27
|
+
# the additional setup, and require it from the spec files that actually need
|
|
28
|
+
# it.
|
|
29
|
+
#
|
|
30
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
|
31
|
+
# users commonly want.
|
|
32
|
+
#
|
|
33
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
|
34
|
+
RSpec.configure do |config|
|
|
35
|
+
# rspec-expectations config goes here. You can use an alternate
|
|
36
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
|
37
|
+
# assertions if you prefer.
|
|
38
|
+
config.expect_with :rspec do |expectations|
|
|
39
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
|
40
|
+
# and `failure_message` of custom matchers include text for helper methods
|
|
41
|
+
# defined using `chain`, e.g.:
|
|
42
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
|
43
|
+
# # => "be bigger than 2 and smaller than 4"
|
|
44
|
+
# ...rather than:
|
|
45
|
+
# # => "be bigger than 2"
|
|
46
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
|
50
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
|
51
|
+
config.mock_with :rspec do |mocks|
|
|
52
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
|
53
|
+
# a real object. This is generally recommended, and will default to
|
|
54
|
+
# `true` in RSpec 4.
|
|
55
|
+
mocks.verify_partial_doubles = true
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# The settings below are suggested to provide a good initial experience
|
|
59
|
+
# with RSpec, but feel free to customize to your heart's content.
|
|
60
|
+
=begin
|
|
61
|
+
# These two settings work together to allow you to limit a spec run
|
|
62
|
+
# to individual examples or groups you care about by tagging them with
|
|
63
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
|
64
|
+
# get run.
|
|
65
|
+
config.filter_run :focus
|
|
66
|
+
config.run_all_when_everything_filtered = true
|
|
67
|
+
|
|
68
|
+
# Allows RSpec to persist some state between runs in order to support
|
|
69
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
|
70
|
+
# you configure your source control system to ignore this file.
|
|
71
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
|
72
|
+
|
|
73
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
|
74
|
+
# recommended. For more details, see:
|
|
75
|
+
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
|
76
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
|
77
|
+
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
|
78
|
+
config.disable_monkey_patching!
|
|
79
|
+
|
|
80
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
|
81
|
+
# be too noisy due to issues in dependencies.
|
|
82
|
+
config.warnings = true
|
|
83
|
+
|
|
84
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
|
85
|
+
# file, and it's useful to allow more verbose output when running an
|
|
86
|
+
# individual spec file.
|
|
87
|
+
if config.files_to_run.one?
|
|
88
|
+
# Use the documentation formatter for detailed output,
|
|
89
|
+
# unless a formatter has already been configured
|
|
90
|
+
# (e.g. via a command-line flag).
|
|
91
|
+
config.default_formatter = 'doc'
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Print the 10 slowest examples and example groups at the
|
|
95
|
+
# end of the spec run, to help surface which specs are running
|
|
96
|
+
# particularly slow.
|
|
97
|
+
config.profile_examples = 10
|
|
98
|
+
|
|
99
|
+
# Run specs in random order to surface order dependencies. If you find an
|
|
100
|
+
# order dependency and want to debug it, you can fix the order by providing
|
|
101
|
+
# the seed, which is printed after each run.
|
|
102
|
+
# --seed 1234
|
|
103
|
+
config.order = :random
|
|
104
|
+
|
|
105
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
|
106
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
|
107
|
+
# test failures related to randomization by passing the same `--seed` value
|
|
108
|
+
# as the one that triggered the failure.
|
|
109
|
+
Kernel.srand config.seed
|
|
110
|
+
=end
|
|
111
|
+
end
|