subfi_pay 0.1.0
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 +11 -0
- data/Gemfile.lock +101 -0
- data/README.md +188 -0
- data/Rakefile +10 -0
- data/bin/console +11 -0
- data/docs/AccessKey.md +32 -0
- data/docs/AccessKeysApi.md +228 -0
- data/docs/AccountAttributes.md +20 -0
- data/docs/AccountAttributesAccount.md +20 -0
- data/docs/AccountCreateRequest.md +18 -0
- data/docs/AccountResponse.md +26 -0
- data/docs/AccountsApi.md +227 -0
- data/docs/BalanceTransactionAttributes.md +30 -0
- data/docs/BalanceTransactionResponse.md +38 -0
- data/docs/BalanceTransactionsApi.md +87 -0
- data/docs/BankAccountProfile.md +28 -0
- data/docs/BillingAddress.md +36 -0
- data/docs/CardProfile.md +42 -0
- data/docs/ChargeAttributes.md +26 -0
- data/docs/ChargeResponse.md +42 -0
- data/docs/ChargesApi.md +167 -0
- data/docs/ConnectedAccountAttributes.md +20 -0
- data/docs/ConnectedAccountResponse.md +26 -0
- data/docs/CreateAccountRequest.md +18 -0
- data/docs/CreateAccountRequestAccount.md +20 -0
- data/docs/CreateCustomerRequest.md +24 -0
- data/docs/CreateWebhookEndpointRequest.md +18 -0
- data/docs/CreateWebhookEndpointRequestWebhookEndpoint.md +28 -0
- data/docs/Customer.md +26 -0
- data/docs/CustomerAttributes.md +24 -0
- data/docs/CustomerAttributesCustomer.md +24 -0
- data/docs/CustomerCreateRequest.md +18 -0
- data/docs/CustomerUpdateAttributes.md +20 -0
- data/docs/CustomerUpdateAttributesCustomer.md +20 -0
- data/docs/CustomerUpdateRequest.md +18 -0
- data/docs/CustomersApi.md +307 -0
- data/docs/Event.md +30 -0
- data/docs/EventsApi.md +159 -0
- data/docs/ListAccessKeysResponse.md +20 -0
- data/docs/ListAccountsResponse.md +20 -0
- data/docs/ListBalanceTransactionsResponse.md +20 -0
- data/docs/ListChargesResponse.md +20 -0
- data/docs/ListCustomersResponse.md +20 -0
- data/docs/ListEventsResponse.md +20 -0
- data/docs/ListPaymentIntentsResponse.md +20 -0
- data/docs/ListPaymentMethodsResponse.md +20 -0
- data/docs/ListRefundsResponse.md +20 -0
- data/docs/ListWebhookEndpointsResponse.md +20 -0
- data/docs/ListWebhookRequestsResponse.md +20 -0
- data/docs/Meta.md +28 -0
- data/docs/PaymentIntentAttributes.md +26 -0
- data/docs/PaymentIntentAttributesPaymentIntent.md +26 -0
- data/docs/PaymentIntentCreateRequest.md +18 -0
- data/docs/PaymentIntentResponse.md +30 -0
- data/docs/PaymentIntentUpdateAttributes.md +18 -0
- data/docs/PaymentIntentUpdateAttributesPaymentIntent.md +18 -0
- data/docs/PaymentIntentsApi.md +533 -0
- data/docs/PaymentMethodAttributes.md +24 -0
- data/docs/PaymentMethodResponse.md +36 -0
- data/docs/PaymentMethodsApi.md +239 -0
- data/docs/RefundAttributes.md +20 -0
- data/docs/RefundResponse.md +30 -0
- data/docs/RefundsApi.md +311 -0
- data/docs/RollAccessKeyAttributes.md +18 -0
- data/docs/RollAccessKeyAttributesAccessKey.md +18 -0
- data/docs/RollAccessKeyRequest.md +18 -0
- data/docs/RollAccessKeyRequestAccessKey.md +18 -0
- data/docs/SubscriptionAttributes.md +30 -0
- data/docs/SubscriptionAttributesSubscription.md +30 -0
- data/docs/SubscriptionCreateRequest.md +18 -0
- data/docs/SubscriptionCreateRequestSubscription.md +30 -0
- data/docs/SubscriptionResponse.md +36 -0
- data/docs/SubscriptionsApi.md +155 -0
- data/docs/WebhookEndpoint.md +34 -0
- data/docs/WebhookEndpointsApi.md +380 -0
- data/docs/WebhookRequest.md +38 -0
- data/docs/WebhookRequestsApi.md +85 -0
- data/git_push.sh +57 -0
- data/lib/subfi_pay/api/access_keys_api.rb +235 -0
- data/lib/subfi_pay/api/accounts_api.rb +231 -0
- data/lib/subfi_pay/api/balance_transactions_api.rb +100 -0
- data/lib/subfi_pay/api/charges_api.rb +181 -0
- data/lib/subfi_pay/api/customers_api.rb +331 -0
- data/lib/subfi_pay/api/events_api.rb +172 -0
- data/lib/subfi_pay/api/payment_intents_api.rb +566 -0
- data/lib/subfi_pay/api/payment_methods_api.rb +262 -0
- data/lib/subfi_pay/api/refunds_api.rb +334 -0
- data/lib/subfi_pay/api/subscriptions_api.rb +177 -0
- data/lib/subfi_pay/api/webhook_endpoints_api.rb +404 -0
- data/lib/subfi_pay/api/webhook_requests_api.rb +97 -0
- data/lib/subfi_pay/api_client.rb +394 -0
- data/lib/subfi_pay/api_error.rb +58 -0
- data/lib/subfi_pay/configuration.rb +305 -0
- data/lib/subfi_pay/models/access_key.rb +275 -0
- data/lib/subfi_pay/models/account_attributes.rb +221 -0
- data/lib/subfi_pay/models/account_attributes_account.rb +221 -0
- data/lib/subfi_pay/models/account_create_request.rb +212 -0
- data/lib/subfi_pay/models/account_response.rb +248 -0
- data/lib/subfi_pay/models/balance_transaction_attributes.rb +266 -0
- data/lib/subfi_pay/models/balance_transaction_response.rb +303 -0
- data/lib/subfi_pay/models/bank_account_profile.rb +257 -0
- data/lib/subfi_pay/models/billing_address.rb +294 -0
- data/lib/subfi_pay/models/card_profile.rb +324 -0
- data/lib/subfi_pay/models/charge_attributes.rb +265 -0
- data/lib/subfi_pay/models/charge_response.rb +326 -0
- data/lib/subfi_pay/models/connected_account_attributes.rb +235 -0
- data/lib/subfi_pay/models/connected_account_response.rb +248 -0
- data/lib/subfi_pay/models/create_account_request.rb +219 -0
- data/lib/subfi_pay/models/create_account_request_account.rb +221 -0
- data/lib/subfi_pay/models/create_customer_request.rb +239 -0
- data/lib/subfi_pay/models/create_webhook_endpoint_request.rb +212 -0
- data/lib/subfi_pay/models/create_webhook_endpoint_request_webhook_endpoint.rb +257 -0
- data/lib/subfi_pay/models/customer.rb +248 -0
- data/lib/subfi_pay/models/customer_attributes.rb +239 -0
- data/lib/subfi_pay/models/customer_attributes_customer.rb +239 -0
- data/lib/subfi_pay/models/customer_create_request.rb +212 -0
- data/lib/subfi_pay/models/customer_update_attributes.rb +221 -0
- data/lib/subfi_pay/models/customer_update_attributes_customer.rb +221 -0
- data/lib/subfi_pay/models/customer_update_request.rb +212 -0
- data/lib/subfi_pay/models/event.rb +266 -0
- data/lib/subfi_pay/models/list_access_keys_response.rb +223 -0
- data/lib/subfi_pay/models/list_accounts_response.rb +223 -0
- data/lib/subfi_pay/models/list_balance_transactions_response.rb +223 -0
- data/lib/subfi_pay/models/list_charges_response.rb +223 -0
- data/lib/subfi_pay/models/list_customers_response.rb +223 -0
- data/lib/subfi_pay/models/list_events_response.rb +223 -0
- data/lib/subfi_pay/models/list_payment_intents_response.rb +223 -0
- data/lib/subfi_pay/models/list_payment_methods_response.rb +223 -0
- data/lib/subfi_pay/models/list_refunds_response.rb +223 -0
- data/lib/subfi_pay/models/list_webhook_endpoints_response.rb +223 -0
- data/lib/subfi_pay/models/list_webhook_requests_response.rb +223 -0
- data/lib/subfi_pay/models/meta.rb +259 -0
- data/lib/subfi_pay/models/payment_intent_attributes.rb +257 -0
- data/lib/subfi_pay/models/payment_intent_attributes_payment_intent.rb +257 -0
- data/lib/subfi_pay/models/payment_intent_create_request.rb +212 -0
- data/lib/subfi_pay/models/payment_intent_response.rb +268 -0
- data/lib/subfi_pay/models/payment_intent_update_attributes.rb +212 -0
- data/lib/subfi_pay/models/payment_intent_update_attributes_payment_intent.rb +214 -0
- data/lib/subfi_pay/models/payment_method_attributes.rb +246 -0
- data/lib/subfi_pay/models/payment_method_response.rb +296 -0
- data/lib/subfi_pay/models/refund_attributes.rb +228 -0
- data/lib/subfi_pay/models/refund_response.rb +268 -0
- data/lib/subfi_pay/models/roll_access_key_attributes.rb +212 -0
- data/lib/subfi_pay/models/roll_access_key_attributes_access_key.rb +219 -0
- data/lib/subfi_pay/models/roll_access_key_request.rb +212 -0
- data/lib/subfi_pay/models/roll_access_key_request_access_key.rb +219 -0
- data/lib/subfi_pay/models/subscription_attributes.rb +266 -0
- data/lib/subfi_pay/models/subscription_attributes_subscription.rb +266 -0
- data/lib/subfi_pay/models/subscription_create_request.rb +212 -0
- data/lib/subfi_pay/models/subscription_create_request_subscription.rb +266 -0
- data/lib/subfi_pay/models/subscription_response.rb +293 -0
- data/lib/subfi_pay/models/webhook_endpoint.rb +284 -0
- data/lib/subfi_pay/models/webhook_request.rb +302 -0
- data/lib/subfi_pay/version.rb +15 -0
- data/lib/subfi_pay.rb +99 -0
- data/run_fix_gemfile.sh +11 -0
- data/spec/api/access_keys_api_spec.rb +138 -0
- data/spec/api/accounts_api_spec.rb +145 -0
- data/spec/api/balance_transactions_api_spec.rb +86 -0
- data/spec/api/charges_api_spec.rb +121 -0
- data/spec/api/customers_api_spec.rb +134 -0
- data/spec/api/events_api_spec.rb +105 -0
- data/spec/api/payment_intents_api_spec.rb +250 -0
- data/spec/api/payment_methods_api_spec.rb +226 -0
- data/spec/api/refunds_api_spec.rb +158 -0
- data/spec/api/subscriptions_api_spec.rb +113 -0
- data/spec/api/webhook_endpoints_api_spec.rb +198 -0
- data/spec/api/webhook_requests_api_spec.rb +79 -0
- data/spec/configuration_spec.rb +23 -0
- data/spec/fixtures/access_keys/list_200.json +1 -0
- data/spec/fixtures/access_keys/roll_200.json +1 -0
- data/spec/fixtures/accounts/create_201.json +1 -0
- data/spec/fixtures/accounts/list_200.json +1 -0
- data/spec/fixtures/accounts/show_200.json +1 -0
- data/spec/fixtures/balance_transactions/list_200.json +69 -0
- data/spec/fixtures/charges/create_201.json +39 -0
- data/spec/fixtures/charges/list_200.json +1 -0
- data/spec/fixtures/charges/retrieve_200.json +1 -0
- data/spec/fixtures/customers/create_201.json +1 -0
- data/spec/fixtures/customers/list_200.json +1 -0
- data/spec/fixtures/customers/show_200.json +1 -0
- data/spec/fixtures/events/list_200.json +1 -0
- data/spec/fixtures/events/show_200.json +1 -0
- data/spec/fixtures/payment_intents/cancel_200.json +1 -0
- data/spec/fixtures/payment_intents/capture_200.json +1 -0
- data/spec/fixtures/payment_intents/confirm_200.json +1 -0
- data/spec/fixtures/payment_intents/create_201.json +1 -0
- data/spec/fixtures/payment_intents/fetch_200.json +1 -0
- data/spec/fixtures/payment_intents/list_200.json +1 -0
- data/spec/fixtures/payment_intents/update_200.json +1 -0
- data/spec/fixtures/payment_methods/create_bank_account_201.json +1 -0
- data/spec/fixtures/payment_methods/create_card_201.json +1 -0
- data/spec/fixtures/payment_methods/get_bank_account_200.json +29 -0
- data/spec/fixtures/payment_methods/get_card_200.json +1 -0
- data/spec/fixtures/payment_methods/list_200.json +1 -0
- data/spec/fixtures/refunds/create_201.json +1 -0
- data/spec/fixtures/refunds/list_200.json +1 -0
- data/spec/fixtures/refunds/show_200.json +1 -0
- data/spec/fixtures/subscriptions/create_201.json +1 -0
- data/spec/fixtures/subscriptions/show_200.json +1 -0
- data/spec/fixtures/webhook_endpoints/create_201.json +11 -0
- data/spec/fixtures/webhook_endpoints/list_200.json +1 -0
- data/spec/fixtures/webhook_endpoints/show_200.json +1 -0
- data/spec/fixtures/webhook_endpoints/update_200.json +13 -0
- data/spec/fixtures/webhook_requests/list_200.json +1 -0
- data/spec/models/access_key_spec.rb +39 -0
- data/spec/models/account_attributes_spec.rb +40 -0
- data/spec/models/account_create_request_spec.rb +38 -0
- data/spec/models/account_response_spec.rb +39 -0
- data/spec/models/balance_transaction_response_spec.rb +38 -0
- data/spec/models/bank_account_profile_spec.rb +38 -0
- data/spec/models/billing_address_spec.rb +38 -0
- data/spec/models/card_profile_spec.rb +38 -0
- data/spec/models/charge_attributes_spec.rb +45 -0
- data/spec/models/charge_response_spec.rb +45 -0
- data/spec/models/connected_account_attributes_spec.rb +38 -0
- data/spec/models/connected_account_response_spec.rb +39 -0
- data/spec/models/create_account_request_account_spec.rb +39 -0
- data/spec/models/create_account_request_spec.rb +39 -0
- data/spec/models/create_webhook_endpoint_request_spec.rb +38 -0
- data/spec/models/create_webhook_endpoint_request_webhook_endpoint_spec.rb +38 -0
- data/spec/models/customer_attributes_spec.rb +40 -0
- data/spec/models/customer_create_request_spec.rb +38 -0
- data/spec/models/customer_spec.rb +39 -0
- data/spec/models/customer_update_attributes_spec.rb +39 -0
- data/spec/models/customer_update_request_spec.rb +39 -0
- data/spec/models/event_spec.rb +39 -0
- data/spec/models/list_access_keys_response_spec.rb +38 -0
- data/spec/models/list_accounts_response_spec.rb +38 -0
- data/spec/models/list_balance_transactions_response_spec.rb +38 -0
- data/spec/models/list_charges_response_spec.rb +38 -0
- data/spec/models/list_customers_response_spec.rb +39 -0
- data/spec/models/list_events_response_spec.rb +38 -0
- data/spec/models/list_payment_intents_response_spec.rb +45 -0
- data/spec/models/list_payment_methods_response_spec.rb +39 -0
- data/spec/models/list_refunds_response_spec.rb +38 -0
- data/spec/models/list_webhook_endpoints_response_spec.rb +38 -0
- data/spec/models/list_webhook_requests_response_spec.rb +39 -0
- data/spec/models/meta_spec.rb +38 -0
- data/spec/models/payment_intent_attributes_spec.rb +44 -0
- data/spec/models/payment_intent_create_request_spec.rb +38 -0
- data/spec/models/payment_intent_response_spec.rb +45 -0
- data/spec/models/payment_intent_update_attributes_payment_intent_spec.rb +38 -0
- data/spec/models/payment_intent_update_attributes_spec.rb +37 -0
- data/spec/models/payment_method_attributes_spec.rb +38 -0
- data/spec/models/payment_method_response_spec.rb +38 -0
- data/spec/models/refund_attributes_spec.rb +39 -0
- data/spec/models/refund_response_spec.rb +38 -0
- data/spec/models/roll_access_key_attributes_access_key_spec.rb +39 -0
- data/spec/models/roll_access_key_attributes_spec.rb +40 -0
- data/spec/models/roll_access_key_request_access_key_spec.rb +38 -0
- data/spec/models/roll_access_key_request_spec.rb +37 -0
- data/spec/models/subscription_attributes_spec.rb +38 -0
- data/spec/models/subscription_create_request_spec.rb +40 -0
- data/spec/models/subscription_response_spec.rb +38 -0
- data/spec/models/webhook_endpoint_spec.rb +40 -0
- data/spec/models/webhook_request_spec.rb +40 -0
- data/spec/spec_helper.rb +123 -0
- data/subfi_pay.gemspec +39 -0
- metadata +444 -0
@@ -0,0 +1,29 @@
|
|
1
|
+
{
|
2
|
+
"bank_account_profile": {
|
3
|
+
"account_holder_name": "John Doe",
|
4
|
+
"account_holder_type": "personal",
|
5
|
+
"account_type": "checking",
|
6
|
+
"bank_name": "Chase",
|
7
|
+
"last4": "7764",
|
8
|
+
"routing_number": "091408734",
|
9
|
+
"token": "358207764"
|
10
|
+
},
|
11
|
+
"billing_address": {
|
12
|
+
"address_line1": "18851 Herzog Street",
|
13
|
+
"address_line2": "Suite 482",
|
14
|
+
"city": "Hackettberg",
|
15
|
+
"country": "US",
|
16
|
+
"email": "patsy@jakubowski.test",
|
17
|
+
"first_name": "Heide",
|
18
|
+
"last_name": "Zulauf",
|
19
|
+
"phone": "(750) 401 6367",
|
20
|
+
"postal_code": "78704",
|
21
|
+
"state": "ID"
|
22
|
+
},
|
23
|
+
"created_at": "2024-08-26T18:18:00Z",
|
24
|
+
"id": "ff313d17-76c6-4dce-8909-f0b5fe269a3e",
|
25
|
+
"metadata": null,
|
26
|
+
"partner_id": null,
|
27
|
+
"connected_account_id": null,
|
28
|
+
"updated_at": "2024-08-26T18:18:00Z"
|
29
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"id":"78018f3d-ccdf-45c4-ad3d-cb82d3d7f52f","billing_address":{"address_line1":"5631 Rosenbaum Crossing","address_line2":null,"city":"South Kami","country":"US","email":"genia@mraz.test","first_name":"Christiana","last_name":"Stamm","phone":null,"postal_code":"217121088","state":"TN"},"card_profile":{"avs_check":"00","avs_check_message":null,"brand":"visa","cvc_check":"M","cvc_check_message":null,"exp_month":1,"exp_year":2028,"failure_reason":null,"first6":null,"funding":null,"last4":"9012","state":"active","three_d_secure_supported":null,"token":"4123456789012"},"created_at":"2024-12-30T11:33:47-05:00","customer_id":"21b21f56-8936-47d0-a390-0b5c84ffcd13","metadata":null,"updated_at":"2024-12-30T11:33:47-05:00"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"data":[{"payment_method":{"id":"fd8e10db-cb00-42be-a8dc-135dda64abeb","billing_address":{"address_line1":"945 Sherly Mews","address_line2":null,"city":"Wardbury","country":"US","email":"jeffry.welch@gerlach-mann.example","first_name":"Luis","last_name":"Kutch","phone":null,"postal_code":"71170","state":"SC"},"card_profile":{"avs_check":"00","avs_check_message":null,"brand":"visa","cvc_check":"M","cvc_check_message":null,"exp_month":1,"exp_year":2028,"failure_reason":null,"first6":null,"funding":null,"last4":"9012","state":"active","three_d_secure_supported":null,"token":"4123456789012"},"created_at":"2024-12-30T11:33:47-05:00","customer_id":"3f5f40f6-ae5e-4c73-bee6-6ebbcd393b4a","metadata":null,"updated_at":"2024-12-30T11:33:47-05:00"}}],"meta":{"current_page":1,"next_page":null,"prev_page":null,"first_page":true,"last_page":true,"total_pages":1}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"id":"fe611ffc-bdbe-4b5e-8a76-c551158cca81","amount":72334,"charge_id":"441507f3-479e-4623-81ee-126f5842ad2f","created_at":"2024-12-30T11:33:47-05:00","description":null,"failure_reason":null,"state":"pending","updated_at":"2024-12-30T11:33:47-05:00"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"data":[{"id":"bd8519c2-fe17-4431-bd94-385223b4d87e","amount":45217,"charge_id":"fad174be-e1e5-4a2f-903a-aaa2fb451d21","created_at":"2024-12-30T11:33:47-05:00","description":null,"failure_reason":null,"state":"pending","updated_at":"2024-12-30T11:33:47-05:00"}],"meta":{"current_page":1,"next_page":null,"prev_page":null,"first_page":true,"last_page":true,"total_pages":1}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"id":"8797453d-d331-4235-b2d5-319a895e52ae","amount":93814,"charge_id":"465774f0-a426-4077-8620-d91d827378fb","created_at":"2024-12-30T11:33:47-05:00","description":null,"failure_reason":null,"state":"pending","updated_at":"2024-12-30T11:33:47-05:00"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"id":"e798ebee-22b1-4ca3-8bac-1787b0b5fa2a","amount":1500,"created_at":"2024-12-30T11:33:48-05:00","customer_id":"d626f84f-c0b2-4d82-980d-28083db9c13b","interval":"month","interval_count":1,"next_payment_date":"2025-01-30 11:33:48 -0500","payment_method_id":"9101273d-2695-4b54-8259-7b530b0c70ee","state":"active","updated_at":"2024-12-30T11:33:48-05:00"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"id":"ca76b438-c330-4cf2-bca4-09e4bc29f179","amount":5000,"created_at":"2024-12-30T11:33:48-05:00","customer_id":"584fc51b-578f-4a41-b6fd-20c222544258","interval":"month","interval_count":1,"next_payment_date":"2025-01-30 11:33:48 -0500","payment_method_id":"d9966887-bb50-4ec5-b7b9-1768cc1e0d1a","state":"active","updated_at":"2024-12-30T11:33:48-05:00"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{
|
2
|
+
"id": "2fe1e043-a1c9-402b-84da-fecb9cfbccc7",
|
3
|
+
"created_at": "2024-11-18T12:31:03-05:00",
|
4
|
+
"enabled": true,
|
5
|
+
"event": "charge_succeeded",
|
6
|
+
"merchant_id": "383ef589-55d9-4b7b-ab8a-46222f0f1a92",
|
7
|
+
"metadata": null,
|
8
|
+
"sub_merchant_id": "d63b3f2f-b8e2-4153-b18f-517ed66a8de7",
|
9
|
+
"updated_at": "2024-11-18T12:31:03-05:00",
|
10
|
+
"url": "http://raynor-shanahan.test/fred"
|
11
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"data":[{"id":"6e45970a-bf67-4263-9bbd-f7e17466087f","created_at":"2024-12-30T11:33:48-05:00","enabled":true,"event":"refund.failed","metadata":{"asperiores":"expedita"},"updated_at":"2024-12-30T11:33:48-05:00","url":"http://jenkins-hackett.example/craig_hyatt"},{"id":"c0d0baed-f103-418d-8c55-584e49ed8d7f","created_at":"2024-12-30T11:33:48-05:00","enabled":true,"event":"payment_intent.processing_authorization","metadata":{"commodi":"ea"},"updated_at":"2024-12-30T11:33:48-05:00","url":"http://romaguera-pagac.test/shaunta"}],"meta":{"current_page":1,"next_page":null,"prev_page":null,"first_page":true,"last_page":true,"total_pages":1}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"id":"1419170a-2e45-46cb-ad7d-285d5c1a3105","created_at":"2024-12-30T11:33:48-05:00","enabled":true,"event":"refund.processing","metadata":{"maxime":"est"},"updated_at":"2024-12-30T11:33:48-05:00","url":"http://wintheiser-turcotte.example/parker.raynor"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
"id": "3873ac7f-f543-41eb-9d8f-bc244a570c7d",
|
3
|
+
"created_at": "2024-11-18T12:31:03-05:00",
|
4
|
+
"enabled": true,
|
5
|
+
"event": "charge_succeeded",
|
6
|
+
"merchant_id": "eee2f4fa-ac80-4f1a-9581-d1c7ee746328",
|
7
|
+
"metadata": {
|
8
|
+
"omnis": "et"
|
9
|
+
},
|
10
|
+
"sub_merchant_id": null,
|
11
|
+
"updated_at": "2024-11-18T12:31:03-05:00",
|
12
|
+
"url": "http://adams-spencer.test/jarrod.labadie"
|
13
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"data":[],"meta":{"current_page":6,"next_page":null,"prev_page":null,"first_page":false,"last_page":false,"total_pages":5}}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
=begin
|
2
|
+
#SubFi Pay API
|
3
|
+
|
4
|
+
#API for SubFi Pay services
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.7.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SubFiPay::AccessKey
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe SubFiPay::AccessKey do
|
21
|
+
let(:instance) { SubFiPay::AccessKey.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AccessKey' do
|
24
|
+
it 'should create an instance of AccessKey' do
|
25
|
+
expect(instance).to be_instance_of(SubFiPay::AccessKey)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
|
30
|
+
describe 'test attributes' do
|
31
|
+
let(:attributes) { %w[expires_at key live type can_roll created_at updated_at last_used_at] }
|
32
|
+
|
33
|
+
it "should respond to all attributes" do
|
34
|
+
attributes.each do |attribute|
|
35
|
+
expect(instance).to respond_to(attribute)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#SubFi Pay API
|
3
|
+
|
4
|
+
#API for SubFi Pay services
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.7.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SubFiPay::AccountAttributes
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe SubFiPay::AccountAttributes do
|
21
|
+
let(:instance) { SubFiPay::AccountAttributes.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AccountAttributes' do
|
24
|
+
it 'should create an instance of AccountAttributes' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
expect(instance).to be_instance_of(SubFiPay::AccountAttributes)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
let(:attributes) { %w[name worldpay_merchant_id] }
|
31
|
+
|
32
|
+
describe 'test attributes' do
|
33
|
+
it 'should respond to all attributes' do
|
34
|
+
attributes.each do |attribute|
|
35
|
+
expect(instance).to respond_to(attribute)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
=begin
|
2
|
+
#SubFi Pay API
|
3
|
+
|
4
|
+
#API for SubFi Pay services
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.7.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SubFiPay::AccountCreateRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe SubFiPay::AccountCreateRequest do
|
21
|
+
let(:instance) { SubFiPay::AccountCreateRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AccountCreateRequest' do
|
24
|
+
it 'should create an instance of AccountCreateRequest' do
|
25
|
+
expect(instance).to be_instance_of(SubFiPay::AccountCreateRequest)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
let(:attributes) { %w[account] }
|
30
|
+
|
31
|
+
describe 'test attributes' do
|
32
|
+
it 'should respond to all attributes' do
|
33
|
+
attributes.each do |attribute|
|
34
|
+
expect(instance).to respond_to(attribute)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
=begin
|
2
|
+
#SubFi Pay API
|
3
|
+
|
4
|
+
#API for SubFi Pay services
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.7.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SubFiPay::AccountResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe SubFiPay::AccountResponse do
|
21
|
+
let(:instance) { SubFiPay::AccountResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AccountResponse' do
|
24
|
+
it 'should create an instance of AccountResponse' do
|
25
|
+
expect(instance).to be_instance_of(SubFiPay::AccountResponse)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
let(:attributes) { %w[name active worldpay_merchant_id created_at updated_at] }
|
30
|
+
|
31
|
+
describe 'test attributes' do
|
32
|
+
it 'should respond to all attributes' do
|
33
|
+
attributes.each do |attribute|
|
34
|
+
expect(instance).to respond_to(attribute)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
=begin
|
2
|
+
#SubFi Pay API
|
3
|
+
|
4
|
+
#API for SubFi Pay services
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.7.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SubFiPay::BalanceTransactionResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe SubFiPay::BalanceTransactionResponse do
|
21
|
+
let(:instance) { SubFiPay::BalanceTransactionResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of BalanceTransactionResponse' do
|
24
|
+
it 'should create an instance of BalanceTransactionResponse' do
|
25
|
+
expect(instance).to be_instance_of(SubFiPay::BalanceTransactionResponse)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
let(:attributes) { %w[amount charge_id fee net refund_id state type id created_at updated_at connected_account_id] }
|
30
|
+
|
31
|
+
describe 'test attributes' do
|
32
|
+
it 'should respond to all attributes' do
|
33
|
+
attributes.each do |attribute|
|
34
|
+
expect(instance).to respond_to(attribute)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
=begin
|
2
|
+
#SubFi Pay API
|
3
|
+
|
4
|
+
#API for SubFi Pay services
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.7.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SubFiPay::BankAccountProfile
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe SubFiPay::BankAccountProfile do
|
21
|
+
let(:instance) { SubFiPay::BankAccountProfile.new }
|
22
|
+
|
23
|
+
describe 'test an instance of BankAccountProfile' do
|
24
|
+
it 'should create an instance of BankAccountProfile' do
|
25
|
+
expect(instance).to be_instance_of(SubFiPay::BankAccountProfile)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
let(:attributes) { %w[account_holder_name bank_name account_holder_type account_type encrypted_account_number routing_number] }
|
30
|
+
|
31
|
+
describe 'test attributes' do
|
32
|
+
it 'should respond to all attributes' do
|
33
|
+
attributes.each do |attribute|
|
34
|
+
expect(instance).to respond_to(attribute)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
=begin
|
2
|
+
#SubFi Pay API
|
3
|
+
|
4
|
+
#API for SubFi Pay services
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.7.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SubFiPay::BillingAddress
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe SubFiPay::BillingAddress do
|
21
|
+
let(:instance) { SubFiPay::BillingAddress.new }
|
22
|
+
|
23
|
+
describe 'test an instance of BillingAddress' do
|
24
|
+
it 'should create an instance of BillingAddress' do
|
25
|
+
expect(instance).to be_instance_of(SubFiPay::BillingAddress)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
let(:attributes) { %w[first_name last_name email phone address_line1 address_line2 city state country postal_code] }
|
30
|
+
|
31
|
+
describe 'test attributes' do
|
32
|
+
it 'should respond to all attributes' do
|
33
|
+
attributes.each do |attribute|
|
34
|
+
expect(instance).to respond_to(attribute)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
=begin
|
2
|
+
#SubFi Pay API
|
3
|
+
|
4
|
+
#API for SubFi Pay services
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.7.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SubFiPay::CardProfile
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe SubFiPay::CardProfile do
|
21
|
+
let(:instance) { SubFiPay::CardProfile.new }
|
22
|
+
|
23
|
+
describe 'test an instance of CardProfile' do
|
24
|
+
it 'should create an instance of CardProfile' do
|
25
|
+
expect(instance).to be_instance_of(SubFiPay::CardProfile)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
let(:attributes) { %w[avs_check avs_check_message brand cvc_check cvc_check_message exp_month exp_year funding last4 three_d_secure_supported token] }
|
30
|
+
|
31
|
+
describe 'test attributes' do
|
32
|
+
it 'should respond to all attributes' do
|
33
|
+
attributes.each do |attribute|
|
34
|
+
expect(instance).to respond_to(attribute)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
=begin
|
2
|
+
#SubFi Pay API
|
3
|
+
|
4
|
+
#API for SubFi Pay services
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.7.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SubFiPay::ChargeAttributes
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe SubFiPay::ChargeAttributes do
|
21
|
+
let(:instance) { SubFiPay::ChargeAttributes.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ChargeAttributes' do
|
24
|
+
it 'should create an instance of ChargeAttributes' do
|
25
|
+
expect(instance).to be_instance_of(SubFiPay::ChargeAttributes)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
let(:attributes) { %w[amount description payment_method_id connected_account_id immediate_capture] }
|
30
|
+
|
31
|
+
describe "encoding" do
|
32
|
+
it "should be UTF-8" do
|
33
|
+
instance.description = "foobar"
|
34
|
+
expect(instance.description.encoding.to_s).to eq("UTF-8")
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
describe 'test attributes' do
|
39
|
+
it 'should respond to all attributes' do
|
40
|
+
attributes.each do |attribute|
|
41
|
+
expect(instance).to respond_to(attribute)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
=begin
|
2
|
+
#SubFi Pay API
|
3
|
+
|
4
|
+
#API for SubFi Pay services
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.7.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SubFiPay::ChargeResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe SubFiPay::ChargeResponse do
|
21
|
+
let(:instance) { SubFiPay::ChargeResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ChargeResponse' do
|
24
|
+
it 'should create an instance of ChargeResponse' do
|
25
|
+
expect(instance).to be_instance_of(SubFiPay::ChargeResponse)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
let(:attributes) { %w[amount description payment_method_id connected_account_id immediate_capture id captured_at failure_reason account_id payment_method processor_id state created_at] }
|
30
|
+
|
31
|
+
describe "encoding" do
|
32
|
+
it "should be UTF-8" do
|
33
|
+
instance.processor_id = "foobar"
|
34
|
+
expect(instance.processor_id.encoding.to_s).to eq("UTF-8")
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
describe 'test attributes' do
|
39
|
+
it 'should respond to all attributes' do
|
40
|
+
attributes.each do |attribute|
|
41
|
+
expect(instance).to respond_to(attribute)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
=begin
|
2
|
+
#SubFi Pay API
|
3
|
+
|
4
|
+
#API for SubFi Pay services
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.7.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SubFiPay::ConnectedAccountAttributes
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe SubFiPay::ConnectedAccountAttributes do
|
21
|
+
let(:instance) { SubFiPay::ConnectedAccountAttributes.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ConnectedAccountAttributes' do
|
24
|
+
it 'should create an instance of ConnectedAccountAttributes' do
|
25
|
+
expect(instance).to be_instance_of(SubFiPay::ConnectedAccountAttributes)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
let(:attributes) { %w[name worldpay_merchant_id] }
|
30
|
+
|
31
|
+
describe 'test attributes' do
|
32
|
+
it 'should respond to all attributes' do
|
33
|
+
attributes.each do |attribute|
|
34
|
+
expect(instance).to respond_to(attribute)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
=begin
|
2
|
+
#SubFi Pay API
|
3
|
+
|
4
|
+
#API for SubFi Pay services
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.7.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SubFiPay::ConnectedAccountResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe SubFiPay::ConnectedAccountResponse do
|
21
|
+
let(:instance) { SubFiPay::ConnectedAccountResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ConnectedAccountResponse' do
|
24
|
+
it 'should create an instance of ConnectedAccountResponse' do
|
25
|
+
expect(instance).to be_instance_of(SubFiPay::ConnectedAccountResponse)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
let(:attributes) { %w[id created_at updated_at name worldpay_merchant_id] }
|
30
|
+
|
31
|
+
describe 'test attributes' do
|
32
|
+
it 'should respond to all attributes' do
|
33
|
+
attributes.each do |attribute|
|
34
|
+
expect(instance).to respond_to(attribute)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
=begin
|
2
|
+
#SubFi Pay API
|
3
|
+
|
4
|
+
#API for SubFi Pay services
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.7.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SubFiPay::AccountAttributes
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe SubFiPay::AccountAttributes do
|
21
|
+
let(:instance) { SubFiPay::AccountAttributes.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AccountAttributes' do
|
24
|
+
it 'should create an instance of AccountAttributes' do
|
25
|
+
expect(instance).to be_instance_of(SubFiPay::AccountAttributes)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
let(:attributes) { %w[name worldpay_merchant_id] }
|
30
|
+
|
31
|
+
describe 'test attributes' do
|
32
|
+
it 'should respond to all attributes' do
|
33
|
+
attributes.each do |attribute|
|
34
|
+
expect(instance).to respond_to(attribute)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
=begin
|
2
|
+
#SubFi Pay API
|
3
|
+
|
4
|
+
#API for SubFi Pay services
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.7.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SubFiPay::AccountAttributes
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe SubFiPay::AccountAttributes do
|
21
|
+
let(:instance) { SubFiPay::AccountAttributes.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AccountAttributes' do
|
24
|
+
it 'should create an instance of AccountAttributes' do
|
25
|
+
expect(instance).to be_instance_of(SubFiPay::AccountAttributes)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
let(:attributes) { %w[name worldpay_merchant_id] }
|
30
|
+
|
31
|
+
describe 'test attributes' do
|
32
|
+
it 'should respond to all attributes' do
|
33
|
+
attributes.each do |attribute|
|
34
|
+
expect(instance).to respond_to(attribute)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|