subtain-apimatic-sdk 2.4.69 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/arch +1 -0
- data/bin/ash +1 -0
- data/bin/base64 +1 -0
- data/bin/bbconfig +1 -0
- data/bin/busybox +0 -0
- data/bin/cat +1 -0
- data/bin/chattr +1 -0
- data/bin/chgrp +1 -0
- data/bin/chmod +1 -0
- data/bin/chown +1 -0
- data/bin/cp +1 -0
- data/bin/date +1 -0
- data/bin/dd +1 -0
- data/bin/df +1 -0
- data/bin/dmesg +1 -0
- data/bin/dnsdomainname +1 -0
- data/bin/dumpkmap +1 -0
- data/bin/echo +1 -0
- data/bin/ed +1 -0
- data/bin/egrep +1 -0
- data/bin/false +1 -0
- data/bin/fatattr +1 -0
- data/bin/fdflush +1 -0
- data/bin/fgrep +1 -0
- data/bin/fsync +1 -0
- data/bin/getopt +1 -0
- data/bin/grep +1 -0
- data/bin/gunzip +1 -0
- data/bin/gzip +1 -0
- data/bin/hostname +1 -0
- data/bin/ionice +1 -0
- data/bin/iostat +1 -0
- data/bin/ipcalc +1 -0
- data/bin/kbd_mode +1 -0
- data/bin/kill +1 -0
- data/bin/link +1 -0
- data/bin/linux32 +1 -0
- data/bin/linux64 +1 -0
- data/bin/ln +1 -0
- data/bin/login +1 -0
- data/bin/ls +1 -0
- data/bin/lsattr +1 -0
- data/bin/lzop +1 -0
- data/bin/makemime +1 -0
- data/bin/mkdir +1 -0
- data/bin/mknod +1 -0
- data/bin/mktemp +1 -0
- data/bin/more +1 -0
- data/bin/mount +1 -0
- data/bin/mountpoint +1 -0
- data/bin/mpstat +1 -0
- data/bin/mv +1 -0
- data/bin/netstat +1 -0
- data/bin/nice +1 -0
- data/bin/pidof +0 -0
- data/bin/ping +1 -0
- data/bin/ping6 +1 -0
- data/bin/pipe_progress +1 -0
- data/bin/printenv +1 -0
- data/bin/ps +0 -0
- data/bin/pwait +0 -0
- data/bin/pwd +1 -0
- data/bin/reformime +1 -0
- data/bin/rev +1 -0
- data/bin/rm +1 -0
- data/bin/rmdir +1 -0
- data/bin/run-parts +1 -0
- data/bin/sed +1 -0
- data/bin/setpriv +1 -0
- data/bin/setserial +1 -0
- data/bin/sh +1 -0
- data/bin/slabtop +0 -0
- data/bin/sleep +1 -0
- data/bin/stat +1 -0
- data/bin/stty +1 -0
- data/bin/su +1 -0
- data/bin/sync +1 -0
- data/bin/tar +1 -0
- data/bin/tload +0 -0
- data/bin/touch +1 -0
- data/bin/true +1 -0
- data/bin/umount +1 -0
- data/bin/uname +1 -0
- data/bin/usleep +1 -0
- data/bin/vmstat +0 -0
- data/bin/w +0 -0
- data/bin/watch +0 -0
- data/bin/zcat +1 -0
- data/lib/apk/db/installed +3582 -0
- data/lib/apk/db/lock +0 -0
- data/lib/apk/db/scripts.tar +0 -0
- data/lib/apk/db/triggers +2 -0
- data/lib/ld-musl-x86_64.so.1 +0 -0
- data/lib/libapk.so.3.12.0 +0 -0
- data/lib/libc.musl-x86_64.so.1 +1 -0
- data/lib/libcrypto.so.1.1 +0 -0
- data/lib/libprocps.so.8 +1 -0
- data/lib/libprocps.so.8.0.3 +0 -0
- data/lib/libssl.so.1.1 +0 -0
- data/lib/libz.so +1 -0
- data/lib/libz.so.1 +1 -0
- data/lib/libz.so.1.2.12 +0 -0
- data/lib/sysctl.d/00-alpine.conf +40 -0
- metadata +105 -608
- data/LICENSE +0 -28
- data/README.md +0 -377
- data/lib/advanced_billing/api_helper.rb +0 -10
- data/lib/advanced_billing/client.rb +0 -243
- data/lib/advanced_billing/configuration.rb +0 -158
- data/lib/advanced_billing/controllers/advance_invoice_controller.rb +0 -126
- data/lib/advanced_billing/controllers/api_exports_controller.rb +0 -268
- data/lib/advanced_billing/controllers/base_controller.rb +0 -71
- data/lib/advanced_billing/controllers/billing_portal_controller.rb +0 -165
- data/lib/advanced_billing/controllers/components_controller.rb +0 -747
- data/lib/advanced_billing/controllers/coupons_controller.rb +0 -691
- data/lib/advanced_billing/controllers/custom_fields_controller.rb +0 -465
- data/lib/advanced_billing/controllers/customers_controller.rb +0 -255
- data/lib/advanced_billing/controllers/events_based_billing_segments_controller.rb +0 -334
- data/lib/advanced_billing/controllers/events_controller.rb +0 -229
- data/lib/advanced_billing/controllers/insights_controller.rb +0 -168
- data/lib/advanced_billing/controllers/invoices_controller.rb +0 -953
- data/lib/advanced_billing/controllers/offers_controller.rb +0 -132
- data/lib/advanced_billing/controllers/payment_profiles_controller.rb +0 -732
- data/lib/advanced_billing/controllers/product_families_controller.rb +0 -187
- data/lib/advanced_billing/controllers/product_price_points_controller.rb +0 -422
- data/lib/advanced_billing/controllers/products_controller.rb +0 -220
- data/lib/advanced_billing/controllers/proforma_invoices_controller.rb +0 -381
- data/lib/advanced_billing/controllers/reason_codes_controller.rb +0 -158
- data/lib/advanced_billing/controllers/referral_codes_controller.rb +0 -42
- data/lib/advanced_billing/controllers/sales_commissions_controller.rb +0 -192
- data/lib/advanced_billing/controllers/sites_controller.rb +0 -96
- data/lib/advanced_billing/controllers/subscription_components_controller.rb +0 -992
- data/lib/advanced_billing/controllers/subscription_group_invoice_account_controller.rb +0 -163
- data/lib/advanced_billing/controllers/subscription_group_status_controller.rb +0 -157
- data/lib/advanced_billing/controllers/subscription_groups_controller.rb +0 -300
- data/lib/advanced_billing/controllers/subscription_invoice_account_controller.rb +0 -226
- data/lib/advanced_billing/controllers/subscription_notes_controller.rb +0 -159
- data/lib/advanced_billing/controllers/subscription_products_controller.rb +0 -166
- data/lib/advanced_billing/controllers/subscription_status_controller.rb +0 -473
- data/lib/advanced_billing/controllers/subscriptions_controller.rb +0 -1357
- data/lib/advanced_billing/controllers/webhooks_controller.rb +0 -210
- data/lib/advanced_billing/exceptions/api_exception.rb +0 -10
- data/lib/advanced_billing/exceptions/component_allocation_error_exception.rb +0 -41
- data/lib/advanced_billing/exceptions/component_price_point_error_exception.rb +0 -41
- data/lib/advanced_billing/exceptions/customer_error_response_exception.rb +0 -34
- data/lib/advanced_billing/exceptions/error_list_response_exception.rb +0 -32
- data/lib/advanced_billing/exceptions/error_map_response_exception.rb +0 -32
- data/lib/advanced_billing/exceptions/event_based_billing_list_segments_errors_exception.rb +0 -32
- data/lib/advanced_billing/exceptions/event_based_billing_segment_errors_exception.rb +0 -35
- data/lib/advanced_billing/exceptions/event_based_billing_segment_exception.rb +0 -32
- data/lib/advanced_billing/exceptions/nested_error_response_exception.rb +0 -32
- data/lib/advanced_billing/exceptions/proforma_bad_request_error_response_exception.rb +0 -32
- data/lib/advanced_billing/exceptions/refund_prepayment_aggregated_errors_response_exception.rb +0 -33
- data/lib/advanced_billing/exceptions/refund_prepayment_base_errors_response_exception.rb +0 -32
- data/lib/advanced_billing/exceptions/single_error_response_exception.rb +0 -32
- data/lib/advanced_billing/exceptions/single_string_error_response_exception.rb +0 -32
- data/lib/advanced_billing/exceptions/subscription_add_coupon_error_exception.rb +0 -42
- data/lib/advanced_billing/exceptions/subscription_component_allocation_error_exception.rb +0 -41
- data/lib/advanced_billing/exceptions/subscription_group_signup_error_response_exception.rb +0 -32
- data/lib/advanced_billing/exceptions/subscription_group_update_error_response_exception.rb +0 -32
- data/lib/advanced_billing/exceptions/subscription_remove_coupon_errors_exception.rb +0 -32
- data/lib/advanced_billing/exceptions/subscriptions_mrr_error_response_exception.rb +0 -32
- data/lib/advanced_billing/exceptions/too_many_management_link_requests_error_exception.rb +0 -32
- data/lib/advanced_billing/http/auth/basic_auth.rb +0 -50
- data/lib/advanced_billing/http/http_call_back.rb +0 -10
- data/lib/advanced_billing/http/http_method_enum.rb +0 -10
- data/lib/advanced_billing/http/http_request.rb +0 -10
- data/lib/advanced_billing/http/http_response.rb +0 -10
- data/lib/advanced_billing/models/account_balance.rb +0 -51
- data/lib/advanced_billing/models/account_balances.rb +0 -83
- data/lib/advanced_billing/models/ach_agreement.rb +0 -88
- data/lib/advanced_billing/models/activate_subscription_request.rb +0 -57
- data/lib/advanced_billing/models/add_coupons_request.rb +0 -50
- data/lib/advanced_billing/models/add_subscription_to_a_group.rb +0 -62
- data/lib/advanced_billing/models/agreement_acceptance.rb +0 -117
- data/lib/advanced_billing/models/allocate_components.rb +0 -131
- data/lib/advanced_billing/models/allocation.rb +0 -239
- data/lib/advanced_billing/models/allocation_expiration_date.rb +0 -50
- data/lib/advanced_billing/models/allocation_payment.rb +0 -91
- data/lib/advanced_billing/models/allocation_preview.rb +0 -197
- data/lib/advanced_billing/models/allocation_preview_item.rb +0 -194
- data/lib/advanced_billing/models/allocation_preview_line_item.rb +0 -135
- data/lib/advanced_billing/models/allocation_preview_response.rb +0 -49
- data/lib/advanced_billing/models/allocation_response.rb +0 -50
- data/lib/advanced_billing/models/allocation_settings.rb +0 -75
- data/lib/advanced_billing/models/applied_credit_note.rb +0 -60
- data/lib/advanced_billing/models/apply_credit_note_event_data.rb +0 -179
- data/lib/advanced_billing/models/apply_debit_note_event_data.rb +0 -96
- data/lib/advanced_billing/models/apply_payment_event_data.rb +0 -133
- data/lib/advanced_billing/models/attribute_error.rb +0 -48
- data/lib/advanced_billing/models/auto_invite.rb +0 -23
- data/lib/advanced_billing/models/auto_resume.rb +0 -51
- data/lib/advanced_billing/models/bank_account.rb +0 -281
- data/lib/advanced_billing/models/bank_account_attributes.rb +0 -179
- data/lib/advanced_billing/models/bank_account_payment_profile.rb +0 -296
- data/lib/advanced_billing/models/bank_account_response.rb +0 -48
- data/lib/advanced_billing/models/bank_account_type.rb +0 -23
- data/lib/advanced_billing/models/bank_account_vault.rb +0 -32
- data/lib/advanced_billing/models/bank_account_verification.rb +0 -62
- data/lib/advanced_billing/models/bank_account_verification_request.rb +0 -50
- data/lib/advanced_billing/models/base_model.rb +0 -62
- data/lib/advanced_billing/models/base_refund_error.rb +0 -50
- data/lib/advanced_billing/models/base_string_error.rb +0 -50
- data/lib/advanced_billing/models/basic_date_field.rb +0 -23
- data/lib/advanced_billing/models/batch_job.rb +0 -94
- data/lib/advanced_billing/models/batch_job_response.rb +0 -48
- data/lib/advanced_billing/models/billing_address.rb +0 -107
- data/lib/advanced_billing/models/billing_manifest.rb +0 -147
- data/lib/advanced_billing/models/billing_manifest_item.rb +0 -189
- data/lib/advanced_billing/models/breakouts.rb +0 -84
- data/lib/advanced_billing/models/bulk_component_s_price_point_assignment.rb +0 -59
- data/lib/advanced_billing/models/bulk_create_product_price_points_request.rb +0 -57
- data/lib/advanced_billing/models/bulk_create_product_price_points_response.rb +0 -59
- data/lib/advanced_billing/models/bulk_create_segments.rb +0 -59
- data/lib/advanced_billing/models/bulk_update_segments.rb +0 -59
- data/lib/advanced_billing/models/bulk_update_segments_item.rb +0 -82
- data/lib/advanced_billing/models/calendar_billing.rb +0 -79
- data/lib/advanced_billing/models/cancel_grouped_subscriptions_request.rb +0 -51
- data/lib/advanced_billing/models/cancellation_method.rb +0 -30
- data/lib/advanced_billing/models/cancellation_options.rb +0 -63
- data/lib/advanced_billing/models/cancellation_request.rb +0 -48
- data/lib/advanced_billing/models/card_type.rb +0 -56
- data/lib/advanced_billing/models/card_type1.rb +0 -116
- data/lib/advanced_billing/models/change_invoice_collection_method_event_data.rb +0 -72
- data/lib/advanced_billing/models/chargify_ebb.rb +0 -116
- data/lib/advanced_billing/models/cleanup_scope.rb +0 -26
- data/lib/advanced_billing/models/component.rb +0 -421
- data/lib/advanced_billing/models/component_allocation_change.rb +0 -146
- data/lib/advanced_billing/models/component_allocation_error_item.rb +0 -80
- data/lib/advanced_billing/models/component_cost_data.rb +0 -139
- data/lib/advanced_billing/models/component_cost_data_rate_tier.rb +0 -94
- data/lib/advanced_billing/models/component_custom_price.rb +0 -82
- data/lib/advanced_billing/models/component_kind.rb +0 -32
- data/lib/advanced_billing/models/component_kind_path.rb +0 -32
- data/lib/advanced_billing/models/component_price.rb +0 -127
- data/lib/advanced_billing/models/component_price_point.rb +0 -201
- data/lib/advanced_billing/models/component_price_point_error_item.rb +0 -70
- data/lib/advanced_billing/models/component_price_point_item.rb +0 -90
- data/lib/advanced_billing/models/component_price_point_price.rb +0 -127
- data/lib/advanced_billing/models/component_price_point_response.rb +0 -48
- data/lib/advanced_billing/models/component_price_points_response.rb +0 -59
- data/lib/advanced_billing/models/component_response.rb +0 -48
- data/lib/advanced_billing/models/component_s_price_point_assignment.rb +0 -72
- data/lib/advanced_billing/models/compounding_strategy.rb +0 -23
- data/lib/advanced_billing/models/consolidated_invoice.rb +0 -59
- data/lib/advanced_billing/models/count_response.rb +0 -50
- data/lib/advanced_billing/models/coupon.rb +0 -382
- data/lib/advanced_billing/models/coupon_currency.rb +0 -80
- data/lib/advanced_billing/models/coupon_currency_request.rb +0 -57
- data/lib/advanced_billing/models/coupon_response.rb +0 -50
- data/lib/advanced_billing/models/coupon_restriction.rb +0 -92
- data/lib/advanced_billing/models/coupon_subcodes.rb +0 -50
- data/lib/advanced_billing/models/coupon_subcodes_response.rb +0 -71
- data/lib/advanced_billing/models/coupon_usage.rb +0 -118
- data/lib/advanced_billing/models/create_allocation.rb +0 -166
- data/lib/advanced_billing/models/create_allocation_request.rb +0 -48
- data/lib/advanced_billing/models/create_component_price_point.rb +0 -124
- data/lib/advanced_billing/models/create_component_price_point_request.rb +0 -64
- data/lib/advanced_billing/models/create_component_price_points_request.rb +0 -64
- data/lib/advanced_billing/models/create_currency_price.rb +0 -70
- data/lib/advanced_billing/models/create_currency_prices_request.rb +0 -57
- data/lib/advanced_billing/models/create_customer.rb +0 -221
- data/lib/advanced_billing/models/create_customer_request.rb +0 -48
- data/lib/advanced_billing/models/create_ebb_component.rb +0 -63
- data/lib/advanced_billing/models/create_invoice.rb +0 -168
- data/lib/advanced_billing/models/create_invoice_address.rb +0 -130
- data/lib/advanced_billing/models/create_invoice_coupon.rb +0 -118
- data/lib/advanced_billing/models/create_invoice_item.rb +0 -192
- data/lib/advanced_billing/models/create_invoice_payment.rb +0 -92
- data/lib/advanced_billing/models/create_invoice_payment_application.rb +0 -58
- data/lib/advanced_billing/models/create_invoice_payment_request.rb +0 -59
- data/lib/advanced_billing/models/create_invoice_request.rb +0 -48
- data/lib/advanced_billing/models/create_metadata.rb +0 -60
- data/lib/advanced_billing/models/create_metadata_request.rb +0 -57
- data/lib/advanced_billing/models/create_metafield.rb +0 -106
- data/lib/advanced_billing/models/create_metafields_request.rb +0 -64
- data/lib/advanced_billing/models/create_metered_component.rb +0 -63
- data/lib/advanced_billing/models/create_multi_invoice_payment.rb +0 -133
- data/lib/advanced_billing/models/create_multi_invoice_payment_request.rb +0 -48
- data/lib/advanced_billing/models/create_offer.rb +0 -120
- data/lib/advanced_billing/models/create_offer_component.rb +0 -61
- data/lib/advanced_billing/models/create_offer_request.rb +0 -48
- data/lib/advanced_billing/models/create_on_off_component.rb +0 -63
- data/lib/advanced_billing/models/create_or_update_coupon.rb +0 -86
- data/lib/advanced_billing/models/create_or_update_flat_amount_coupon.rb +0 -220
- data/lib/advanced_billing/models/create_or_update_percentage_coupon.rb +0 -221
- data/lib/advanced_billing/models/create_or_update_product.rb +0 -139
- data/lib/advanced_billing/models/create_or_update_product_request.rb +0 -48
- data/lib/advanced_billing/models/create_or_update_segment_price.rb +0 -88
- data/lib/advanced_billing/models/create_payment.rb +0 -77
- data/lib/advanced_billing/models/create_payment_profile.rb +0 -432
- data/lib/advanced_billing/models/create_payment_profile_request.rb +0 -49
- data/lib/advanced_billing/models/create_payment_profile_response.rb +0 -49
- data/lib/advanced_billing/models/create_prepaid_component.rb +0 -63
- data/lib/advanced_billing/models/create_prepaid_usage_component_price_point.rb +0 -192
- data/lib/advanced_billing/models/create_prepayment.rb +0 -93
- data/lib/advanced_billing/models/create_prepayment_request.rb +0 -48
- data/lib/advanced_billing/models/create_prepayment_response.rb +0 -48
- data/lib/advanced_billing/models/create_product_currency_price.rb +0 -66
- data/lib/advanced_billing/models/create_product_currency_prices_request.rb +0 -57
- data/lib/advanced_billing/models/create_product_family.rb +0 -62
- data/lib/advanced_billing/models/create_product_family_request.rb +0 -49
- data/lib/advanced_billing/models/create_product_price_point.rb +0 -188
- data/lib/advanced_billing/models/create_product_price_point_request.rb +0 -48
- data/lib/advanced_billing/models/create_quantity_based_component.rb +0 -64
- data/lib/advanced_billing/models/create_reason_code.rb +0 -68
- data/lib/advanced_billing/models/create_reason_code_request.rb +0 -48
- data/lib/advanced_billing/models/create_segment.rb +0 -145
- data/lib/advanced_billing/models/create_segment_request.rb +0 -48
- data/lib/advanced_billing/models/create_subscription.rb +0 -718
- data/lib/advanced_billing/models/create_subscription_component.rb +0 -126
- data/lib/advanced_billing/models/create_subscription_group.rb +0 -75
- data/lib/advanced_billing/models/create_subscription_group_request.rb +0 -49
- data/lib/advanced_billing/models/create_subscription_request.rb +0 -48
- data/lib/advanced_billing/models/create_usage.rb +0 -74
- data/lib/advanced_billing/models/create_usage_request.rb +0 -48
- data/lib/advanced_billing/models/created_payment_profile.rb +0 -341
- data/lib/advanced_billing/models/created_prepayment.rb +0 -117
- data/lib/advanced_billing/models/credit_account_balance_changed.rb +0 -122
- data/lib/advanced_billing/models/credit_card_attributes.rb +0 -72
- data/lib/advanced_billing/models/credit_card_payment_profile.rb +0 -288
- data/lib/advanced_billing/models/credit_note.rb +0 -409
- data/lib/advanced_billing/models/credit_note1.rb +0 -411
- data/lib/advanced_billing/models/credit_note_application.rb +0 -92
- data/lib/advanced_billing/models/credit_note_line_item.rb +0 -245
- data/lib/advanced_billing/models/credit_scheme.rb +0 -26
- data/lib/advanced_billing/models/credit_scheme_request.rb +0 -48
- data/lib/advanced_billing/models/credit_type.rb +0 -27
- data/lib/advanced_billing/models/credit_type1.rb +0 -28
- data/lib/advanced_billing/models/currency_price.rb +0 -102
- data/lib/advanced_billing/models/currency_price_role.rb +0 -26
- data/lib/advanced_billing/models/current_vault.rb +0 -99
- data/lib/advanced_billing/models/custom_field_value_change.rb +0 -148
- data/lib/advanced_billing/models/custom_price_used_for_subscription_create_update.rb +0 -203
- data/lib/advanced_billing/models/customer.rb +0 -358
- data/lib/advanced_billing/models/customer1.rb +0 -114
- data/lib/advanced_billing/models/customer_attributes.rb +0 -243
- data/lib/advanced_billing/models/customer_billing_address_change.rb +0 -60
- data/lib/advanced_billing/models/customer_change.rb +0 -83
- data/lib/advanced_billing/models/customer_changes_preview_response.rb +0 -48
- data/lib/advanced_billing/models/customer_custom_fields_change.rb +0 -78
- data/lib/advanced_billing/models/customer_error.rb +0 -60
- data/lib/advanced_billing/models/customer_payer_change.rb +0 -60
- data/lib/advanced_billing/models/customer_response.rb +0 -48
- data/lib/advanced_billing/models/customer_shipping_address_change.rb +0 -60
- data/lib/advanced_billing/models/deduct_service_credit.rb +0 -81
- data/lib/advanced_billing/models/deduct_service_credit_request.rb +0 -48
- data/lib/advanced_billing/models/delayed_cancellation_response.rb +0 -50
- data/lib/advanced_billing/models/delete_subscription_group_response.rb +0 -60
- data/lib/advanced_billing/models/direction.rb +0 -23
- data/lib/advanced_billing/models/discount_type.rb +0 -23
- data/lib/advanced_billing/models/dunner_data.rb +0 -96
- data/lib/advanced_billing/models/dunning_step_data.rb +0 -120
- data/lib/advanced_billing/models/dunning_step_reached.rb +0 -92
- data/lib/advanced_billing/models/ebb_component.rb +0 -280
- data/lib/advanced_billing/models/ebb_event.rb +0 -50
- data/lib/advanced_billing/models/enable_webhooks_request.rb +0 -49
- data/lib/advanced_billing/models/enable_webhooks_response.rb +0 -51
- data/lib/advanced_billing/models/endpoint.rb +0 -91
- data/lib/advanced_billing/models/endpoint_response.rb +0 -50
- data/lib/advanced_billing/models/errors.rb +0 -60
- data/lib/advanced_billing/models/event.rb +0 -149
- data/lib/advanced_billing/models/event_based_billing_segment_error.rb +0 -51
- data/lib/advanced_billing/models/event_response.rb +0 -48
- data/lib/advanced_billing/models/event_type.rb +0 -121
- data/lib/advanced_billing/models/extended_interval_unit.rb +0 -26
- data/lib/advanced_billing/models/failed_payment_action.rb +0 -37
- data/lib/advanced_billing/models/first_charge_type.rb +0 -26
- data/lib/advanced_billing/models/full_subscription_group_response.rb +0 -171
- data/lib/advanced_billing/models/get_one_time_token_payment_profile.rb +0 -261
- data/lib/advanced_billing/models/get_one_time_token_request.rb +0 -49
- data/lib/advanced_billing/models/group_billing.rb +0 -77
- data/lib/advanced_billing/models/group_settings.rb +0 -75
- data/lib/advanced_billing/models/group_target.rb +0 -62
- data/lib/advanced_billing/models/group_target_type.rb +0 -32
- data/lib/advanced_billing/models/holder_type.rb +0 -23
- data/lib/advanced_billing/models/include_not_null.rb +0 -20
- data/lib/advanced_billing/models/include_option.rb +0 -23
- data/lib/advanced_billing/models/interval_unit.rb +0 -23
- data/lib/advanced_billing/models/invoice.rb +0 -733
- data/lib/advanced_billing/models/invoice_address.rb +0 -107
- data/lib/advanced_billing/models/invoice_balance_item.rb +0 -71
- data/lib/advanced_billing/models/invoice_consolidation_level.rb +0 -34
- data/lib/advanced_billing/models/invoice_credit.rb +0 -115
- data/lib/advanced_billing/models/invoice_custom_field.rb +0 -80
- data/lib/advanced_billing/models/invoice_customer.rb +0 -115
- data/lib/advanced_billing/models/invoice_date_field.rb +0 -32
- data/lib/advanced_billing/models/invoice_discount.rb +0 -174
- data/lib/advanced_billing/models/invoice_discount_breakout.rb +0 -72
- data/lib/advanced_billing/models/invoice_display_settings.rb +0 -65
- data/lib/advanced_billing/models/invoice_event.rb +0 -105
- data/lib/advanced_billing/models/invoice_event1.rb +0 -389
- data/lib/advanced_billing/models/invoice_event_type.rb +0 -50
- data/lib/advanced_billing/models/invoice_issued.rb +0 -258
- data/lib/advanced_billing/models/invoice_line_item.rb +0 -332
- data/lib/advanced_billing/models/invoice_line_item_component_cost_data.rb +0 -69
- data/lib/advanced_billing/models/invoice_line_item_event_data.rb +0 -263
- data/lib/advanced_billing/models/invoice_line_item_pricing_detail.rb +0 -60
- data/lib/advanced_billing/models/invoice_payer.rb +0 -103
- data/lib/advanced_billing/models/invoice_payment.rb +0 -150
- data/lib/advanced_billing/models/invoice_payment_application.rb +0 -74
- data/lib/advanced_billing/models/invoice_payment_method.rb +0 -124
- data/lib/advanced_billing/models/invoice_payment_method_type.rb +0 -35
- data/lib/advanced_billing/models/invoice_payment_type.rb +0 -29
- data/lib/advanced_billing/models/invoice_previous_balance.rb +0 -69
- data/lib/advanced_billing/models/invoice_refund.rb +0 -106
- data/lib/advanced_billing/models/invoice_response.rb +0 -48
- data/lib/advanced_billing/models/invoice_seller.rb +0 -83
- data/lib/advanced_billing/models/invoice_sort_field.rb +0 -41
- data/lib/advanced_billing/models/invoice_tax.rb +0 -172
- data/lib/advanced_billing/models/invoice_tax_breakout.rb +0 -71
- data/lib/advanced_billing/models/invoice_tax_component_breakout.rb +0 -81
- data/lib/advanced_billing/models/issue_advance_invoice_request.rb +0 -50
- data/lib/advanced_billing/models/issue_invoice_event_data.rb +0 -118
- data/lib/advanced_billing/models/issue_invoice_request.rb +0 -63
- data/lib/advanced_billing/models/issue_service_credit.rb +0 -81
- data/lib/advanced_billing/models/issue_service_credit_request.rb +0 -49
- data/lib/advanced_billing/models/item_category.rb +0 -33
- data/lib/advanced_billing/models/item_price_point_changed.rb +0 -133
- data/lib/advanced_billing/models/item_price_point_data.rb +0 -70
- data/lib/advanced_billing/models/list_components_price_points_include.rb +0 -20
- data/lib/advanced_billing/models/list_components_price_points_response.rb +0 -57
- data/lib/advanced_billing/models/list_credit_notes_response.rb +0 -57
- data/lib/advanced_billing/models/list_events_date_field.rb +0 -20
- data/lib/advanced_billing/models/list_invoice_events_response.rb +0 -89
- data/lib/advanced_billing/models/list_invoices_response.rb +0 -57
- data/lib/advanced_billing/models/list_metafields_response.rb +0 -99
- data/lib/advanced_billing/models/list_mrr_response.rb +0 -48
- data/lib/advanced_billing/models/list_mrr_response_result.rb +0 -120
- data/lib/advanced_billing/models/list_offers_response.rb +0 -59
- data/lib/advanced_billing/models/list_payment_profile_item.rb +0 -285
- data/lib/advanced_billing/models/list_payment_profiles_response.rb +0 -51
- data/lib/advanced_billing/models/list_product_price_points_response.rb +0 -57
- data/lib/advanced_billing/models/list_products_include.rb +0 -20
- data/lib/advanced_billing/models/list_products_price_points_include.rb +0 -20
- data/lib/advanced_billing/models/list_public_keys_meta.rb +0 -80
- data/lib/advanced_billing/models/list_public_keys_response.rb +0 -69
- data/lib/advanced_billing/models/list_sale_rep_item.rb +0 -93
- data/lib/advanced_billing/models/list_segments_response.rb +0 -59
- data/lib/advanced_billing/models/list_subcription_group_prepayment_item.rb +0 -142
- data/lib/advanced_billing/models/list_subscription_components_include.rb +0 -20
- data/lib/advanced_billing/models/list_subscription_components_response.rb +0 -57
- data/lib/advanced_billing/models/list_subscription_components_sort.rb +0 -23
- data/lib/advanced_billing/models/list_subscription_group_prepayment.rb +0 -49
- data/lib/advanced_billing/models/list_subscription_group_prepayment_date_field.rb +0 -23
- data/lib/advanced_billing/models/list_subscription_group_prepayment_response.rb +0 -57
- data/lib/advanced_billing/models/list_subscription_groups_item.rb +0 -146
- data/lib/advanced_billing/models/list_subscription_groups_meta.rb +0 -60
- data/lib/advanced_billing/models/list_subscription_groups_response.rb +0 -69
- data/lib/advanced_billing/models/metadata.rb +0 -102
- data/lib/advanced_billing/models/metafield.rb +0 -116
- data/lib/advanced_billing/models/metafield_input.rb +0 -32
- data/lib/advanced_billing/models/metafield_scope.rb +0 -113
- data/lib/advanced_billing/models/metafields.rb +0 -106
- data/lib/advanced_billing/models/metafields1.rb +0 -106
- data/lib/advanced_billing/models/metered_component.rb +0 -302
- data/lib/advanced_billing/models/metered_usage.rb +0 -135
- data/lib/advanced_billing/models/movement.rb +0 -143
- data/lib/advanced_billing/models/movement_line_item.rb +0 -148
- data/lib/advanced_billing/models/mrr.rb +0 -103
- data/lib/advanced_billing/models/mrr_movement.rb +0 -81
- data/lib/advanced_billing/models/mrr_response.rb +0 -48
- data/lib/advanced_billing/models/multi_invoice_payment.rb +0 -92
- data/lib/advanced_billing/models/multi_invoice_payment_response.rb +0 -48
- data/lib/advanced_billing/models/net_terms.rb +0 -95
- data/lib/advanced_billing/models/offer.rb +0 -265
- data/lib/advanced_billing/models/offer_discount.rb +0 -70
- data/lib/advanced_billing/models/offer_item.rb +0 -134
- data/lib/advanced_billing/models/offer_response.rb +0 -50
- data/lib/advanced_billing/models/offer_signup_page.rb +0 -100
- data/lib/advanced_billing/models/on_off_component.rb +0 -299
- data/lib/advanced_billing/models/organization_address.rb +0 -129
- data/lib/advanced_billing/models/origin_invoice.rb +0 -60
- data/lib/advanced_billing/models/overage_pricing.rb +0 -88
- data/lib/advanced_billing/models/override_subscription.rb +0 -102
- data/lib/advanced_billing/models/override_subscription_request.rb +0 -48
- data/lib/advanced_billing/models/paginated_metadata.rb +0 -99
- data/lib/advanced_billing/models/pause_request.rb +0 -50
- data/lib/advanced_billing/models/payer_attributes.rb +0 -223
- data/lib/advanced_billing/models/payer_error.rb +0 -70
- data/lib/advanced_billing/models/payment.rb +0 -82
- data/lib/advanced_billing/models/payment_collection_method.rb +0 -32
- data/lib/advanced_billing/models/payment_collection_method1.rb +0 -30
- data/lib/advanced_billing/models/payment_collection_method_changed.rb +0 -80
- data/lib/advanced_billing/models/payment_method_apple_pay_type.rb +0 -60
- data/lib/advanced_billing/models/payment_method_bank_account_type.rb +0 -82
- data/lib/advanced_billing/models/payment_method_credit_card_type.rb +0 -104
- data/lib/advanced_billing/models/payment_method_external_type.rb +0 -90
- data/lib/advanced_billing/models/payment_method_nested_data.rb +0 -156
- data/lib/advanced_billing/models/payment_method_paypal_type.rb +0 -70
- data/lib/advanced_billing/models/payment_profile.rb +0 -288
- data/lib/advanced_billing/models/payment_profile_attributes.rb +0 -370
- data/lib/advanced_billing/models/payment_profile_response.rb +0 -49
- data/lib/advanced_billing/models/payment_related_events.rb +0 -80
- data/lib/advanced_billing/models/payment_response.rb +0 -69
- data/lib/advanced_billing/models/payment_type.rb +0 -26
- data/lib/advanced_billing/models/pending_cancellation_change.rb +0 -80
- data/lib/advanced_billing/models/portal_management_link.rb +0 -104
- data/lib/advanced_billing/models/pre_payment.rb +0 -75
- data/lib/advanced_billing/models/prepaid_component_price_point.rb +0 -101
- data/lib/advanced_billing/models/prepaid_configuration.rb +0 -105
- data/lib/advanced_billing/models/prepaid_configuration_response.rb +0 -49
- data/lib/advanced_billing/models/prepaid_subscription_balance_changed.rb +0 -111
- data/lib/advanced_billing/models/prepaid_usage.rb +0 -200
- data/lib/advanced_billing/models/prepaid_usage_allocation_detail.rb +0 -71
- data/lib/advanced_billing/models/prepaid_usage_component.rb +0 -360
- data/lib/advanced_billing/models/prepayment1.rb +0 -137
- data/lib/advanced_billing/models/prepayment_account_balance_changed.rb +0 -109
- data/lib/advanced_billing/models/prepayment_aggregated_error.rb +0 -71
- data/lib/advanced_billing/models/prepayment_method.rb +0 -41
- data/lib/advanced_billing/models/prepayment_response.rb +0 -48
- data/lib/advanced_billing/models/prepayments_response.rb +0 -59
- data/lib/advanced_billing/models/preview_allocations_request.rb +0 -70
- data/lib/advanced_billing/models/price.rb +0 -99
- data/lib/advanced_billing/models/price_point.rb +0 -177
- data/lib/advanced_billing/models/price_point_type.rb +0 -30
- data/lib/advanced_billing/models/pricing_scheme.rb +0 -31
- data/lib/advanced_billing/models/product.rb +0 -523
- data/lib/advanced_billing/models/product_family.rb +0 -114
- data/lib/advanced_billing/models/product_family_response.rb +0 -50
- data/lib/advanced_billing/models/product_price_point.rb +0 -302
- data/lib/advanced_billing/models/product_price_point_currency_price.rb +0 -102
- data/lib/advanced_billing/models/product_price_point_response.rb +0 -48
- data/lib/advanced_billing/models/product_response.rb +0 -48
- data/lib/advanced_billing/models/proforma_custom_field.rb +0 -90
- data/lib/advanced_billing/models/proforma_error.rb +0 -51
- data/lib/advanced_billing/models/proforma_invoice.rb +0 -484
- data/lib/advanced_billing/models/proforma_invoice_credit.rb +0 -82
- data/lib/advanced_billing/models/proforma_invoice_discount.rb +0 -111
- data/lib/advanced_billing/models/proforma_invoice_discount_breakout.rb +0 -62
- data/lib/advanced_billing/models/proforma_invoice_issued.rb +0 -205
- data/lib/advanced_billing/models/proforma_invoice_payment.rb +0 -82
- data/lib/advanced_billing/models/proforma_invoice_preview.rb +0 -484
- data/lib/advanced_billing/models/proforma_invoice_tax.rb +0 -120
- data/lib/advanced_billing/models/proforma_invoice_tax_breakout.rb +0 -61
- data/lib/advanced_billing/models/proration.rb +0 -52
- data/lib/advanced_billing/models/public_key.rb +0 -71
- data/lib/advanced_billing/models/public_signup_page.rb +0 -84
- data/lib/advanced_billing/models/quantity_based_component.rb +0 -312
- data/lib/advanced_billing/models/reactivate_subscription_group_request.rb +0 -61
- data/lib/advanced_billing/models/reactivate_subscription_group_response.rb +0 -135
- data/lib/advanced_billing/models/reactivate_subscription_request.rb +0 -125
- data/lib/advanced_billing/models/reactivation_billing.rb +0 -56
- data/lib/advanced_billing/models/reactivation_charge.rb +0 -30
- data/lib/advanced_billing/models/read_payment_profile_response.rb +0 -64
- data/lib/advanced_billing/models/reason_code.rb +0 -110
- data/lib/advanced_billing/models/reason_code_response.rb +0 -48
- data/lib/advanced_billing/models/reason_codes_json_response.rb +0 -50
- data/lib/advanced_billing/models/record_payment_request.rb +0 -48
- data/lib/advanced_billing/models/recurring_scheme.rb +0 -26
- data/lib/advanced_billing/models/referral_code.rb +0 -81
- data/lib/advanced_billing/models/referral_validation_response.rb +0 -50
- data/lib/advanced_billing/models/refund.rb +0 -128
- data/lib/advanced_billing/models/refund_consolidated_invoice.rb +0 -129
- data/lib/advanced_billing/models/refund_invoice.rb +0 -128
- data/lib/advanced_billing/models/refund_invoice_event_data.rb +0 -175
- data/lib/advanced_billing/models/refund_invoice_request.rb +0 -64
- data/lib/advanced_billing/models/refund_prepayment.rb +0 -108
- data/lib/advanced_billing/models/refund_prepayment_aggregated_error.rb +0 -50
- data/lib/advanced_billing/models/refund_prepayment_base_refund_error.rb +0 -50
- data/lib/advanced_billing/models/refund_prepayment_request.rb +0 -48
- data/lib/advanced_billing/models/refund_success.rb +0 -93
- data/lib/advanced_billing/models/remove_payment_event_data.rb +0 -135
- data/lib/advanced_billing/models/renewal_preview.rb +0 -161
- data/lib/advanced_billing/models/renewal_preview_component.rb +0 -93
- data/lib/advanced_billing/models/renewal_preview_line_item.rb +0 -167
- data/lib/advanced_billing/models/renewal_preview_request.rb +0 -62
- data/lib/advanced_billing/models/renewal_preview_response.rb +0 -49
- data/lib/advanced_billing/models/replay_webhooks_request.rb +0 -48
- data/lib/advanced_billing/models/replay_webhooks_response.rb +0 -50
- data/lib/advanced_billing/models/resent_invitation.rb +0 -83
- data/lib/advanced_billing/models/resource_type.rb +0 -23
- data/lib/advanced_billing/models/restriction_type.rb +0 -23
- data/lib/advanced_billing/models/resume_options.rb +0 -76
- data/lib/advanced_billing/models/resumption_charge.rb +0 -27
- data/lib/advanced_billing/models/revoked_invitation.rb +0 -72
- data/lib/advanced_billing/models/sale_rep.rb +0 -100
- data/lib/advanced_billing/models/sale_rep_item_mrr.rb +0 -70
- data/lib/advanced_billing/models/sale_rep_settings.rb +0 -113
- data/lib/advanced_billing/models/sale_rep_subscription.rb +0 -143
- data/lib/advanced_billing/models/segment.rb +0 -194
- data/lib/advanced_billing/models/segment_price.rb +0 -126
- data/lib/advanced_billing/models/segment_response.rb +0 -50
- data/lib/advanced_billing/models/seller.rb +0 -82
- data/lib/advanced_billing/models/send_invoice_request.rb +0 -73
- data/lib/advanced_billing/models/service_credit.rb +0 -92
- data/lib/advanced_billing/models/service_credit_response.rb +0 -48
- data/lib/advanced_billing/models/service_credit_type.rb +0 -23
- data/lib/advanced_billing/models/shipping_address.rb +0 -107
- data/lib/advanced_billing/models/signup_proforma_preview.rb +0 -62
- data/lib/advanced_billing/models/signup_proforma_preview_response.rb +0 -50
- data/lib/advanced_billing/models/site.rb +0 -220
- data/lib/advanced_billing/models/site_response.rb +0 -48
- data/lib/advanced_billing/models/site_statistics.rb +0 -174
- data/lib/advanced_billing/models/site_summary.rb +0 -90
- data/lib/advanced_billing/models/snap_day.rb +0 -21
- data/lib/advanced_billing/models/sorting_direction.rb +0 -23
- data/lib/advanced_billing/models/status.rb +0 -37
- data/lib/advanced_billing/models/status1.rb +0 -23
- data/lib/advanced_billing/models/subscription.rb +0 -805
- data/lib/advanced_billing/models/subscription_bank_account.rb +0 -281
- data/lib/advanced_billing/models/subscription_component.rb +0 -416
- data/lib/advanced_billing/models/subscription_component_allocation_error_item.rb +0 -60
- data/lib/advanced_billing/models/subscription_component_response.rb +0 -50
- data/lib/advanced_billing/models/subscription_component_subscription.rb +0 -61
- data/lib/advanced_billing/models/subscription_date_field.rb +0 -44
- data/lib/advanced_billing/models/subscription_group.rb +0 -96
- data/lib/advanced_billing/models/subscription_group_balances.rb +0 -82
- data/lib/advanced_billing/models/subscription_group_bank_account.rb +0 -225
- data/lib/advanced_billing/models/subscription_group_component_custom_price.rb +0 -107
- data/lib/advanced_billing/models/subscription_group_credit_card.rb +0 -277
- data/lib/advanced_billing/models/subscription_group_customer.rb +0 -90
- data/lib/advanced_billing/models/subscription_group_inlined.rb +0 -94
- data/lib/advanced_billing/models/subscription_group_item.rb +0 -152
- data/lib/advanced_billing/models/subscription_group_member_error.rb +0 -70
- data/lib/advanced_billing/models/subscription_group_payment_profile.rb +0 -81
- data/lib/advanced_billing/models/subscription_group_prepayment.rb +0 -75
- data/lib/advanced_billing/models/subscription_group_prepayment_method.rb +0 -35
- data/lib/advanced_billing/models/subscription_group_prepayment_request.rb +0 -48
- data/lib/advanced_billing/models/subscription_group_prepayment_response.rb +0 -92
- data/lib/advanced_billing/models/subscription_group_response.rb +0 -49
- data/lib/advanced_billing/models/subscription_group_signup.rb +0 -154
- data/lib/advanced_billing/models/subscription_group_signup_component.rb +0 -110
- data/lib/advanced_billing/models/subscription_group_signup_error.rb +0 -112
- data/lib/advanced_billing/models/subscription_group_signup_failure.rb +0 -83
- data/lib/advanced_billing/models/subscription_group_signup_failure_data.rb +0 -140
- data/lib/advanced_billing/models/subscription_group_signup_item.rb +0 -197
- data/lib/advanced_billing/models/subscription_group_signup_request.rb +0 -49
- data/lib/advanced_billing/models/subscription_group_signup_response.rb +0 -171
- data/lib/advanced_billing/models/subscription_group_signup_success.rb +0 -81
- data/lib/advanced_billing/models/subscription_group_signup_success_data.rb +0 -125
- data/lib/advanced_billing/models/subscription_group_subscription_error.rb +0 -87
- data/lib/advanced_billing/models/subscription_group_update_error.rb +0 -59
- data/lib/advanced_billing/models/subscription_include.rb +0 -23
- data/lib/advanced_billing/models/subscription_included_coupon.rb +0 -115
- data/lib/advanced_billing/models/subscription_list_date_field.rb +0 -20
- data/lib/advanced_billing/models/subscription_migration_preview.rb +0 -90
- data/lib/advanced_billing/models/subscription_migration_preview_options.rb +0 -163
- data/lib/advanced_billing/models/subscription_migration_preview_request.rb +0 -49
- data/lib/advanced_billing/models/subscription_migration_preview_response.rb +0 -48
- data/lib/advanced_billing/models/subscription_mrr.rb +0 -70
- data/lib/advanced_billing/models/subscription_mrr_breakout.rb +0 -59
- data/lib/advanced_billing/models/subscription_mrr_response.rb +0 -57
- data/lib/advanced_billing/models/subscription_note.rb +0 -101
- data/lib/advanced_billing/models/subscription_note_response.rb +0 -48
- data/lib/advanced_billing/models/subscription_preview.rb +0 -62
- data/lib/advanced_billing/models/subscription_preview_response.rb +0 -49
- data/lib/advanced_billing/models/subscription_product_change.rb +0 -81
- data/lib/advanced_billing/models/subscription_product_migration.rb +0 -152
- data/lib/advanced_billing/models/subscription_product_migration_request.rb +0 -48
- data/lib/advanced_billing/models/subscription_purge_type.rb +0 -23
- data/lib/advanced_billing/models/subscription_response.rb +0 -50
- data/lib/advanced_billing/models/subscription_sort.rb +0 -35
- data/lib/advanced_billing/models/subscription_state.rb +0 -53
- data/lib/advanced_billing/models/subscription_state_change.rb +0 -81
- data/lib/advanced_billing/models/tax_configuration.rb +0 -74
- data/lib/advanced_billing/models/tax_configuration_kind.rb +0 -29
- data/lib/advanced_billing/models/tax_destination_address.rb +0 -29
- data/lib/advanced_billing/models/too_many_management_link_requests.rb +0 -64
- data/lib/advanced_billing/models/update_allocation_expiration_date.rb +0 -50
- data/lib/advanced_billing/models/update_component.rb +0 -142
- data/lib/advanced_billing/models/update_component_price_point.rb +0 -69
- data/lib/advanced_billing/models/update_component_price_point_request.rb +0 -51
- data/lib/advanced_billing/models/update_component_request.rb +0 -48
- data/lib/advanced_billing/models/update_coupon_currency.rb +0 -57
- data/lib/advanced_billing/models/update_currency_price.rb +0 -57
- data/lib/advanced_billing/models/update_currency_prices_request.rb +0 -57
- data/lib/advanced_billing/models/update_customer.rb +0 -223
- data/lib/advanced_billing/models/update_customer_request.rb +0 -48
- data/lib/advanced_billing/models/update_endpoint.rb +0 -58
- data/lib/advanced_billing/models/update_endpoint_request.rb +0 -48
- data/lib/advanced_billing/models/update_metadata.rb +0 -70
- data/lib/advanced_billing/models/update_metadata_request.rb +0 -50
- data/lib/advanced_billing/models/update_metafield.rb +0 -106
- data/lib/advanced_billing/models/update_metafields_request.rb +0 -62
- data/lib/advanced_billing/models/update_payment_profile.rb +0 -194
- data/lib/advanced_billing/models/update_payment_profile_request.rb +0 -49
- data/lib/advanced_billing/models/update_payment_profile_response.rb +0 -49
- data/lib/advanced_billing/models/update_price.rb +0 -92
- data/lib/advanced_billing/models/update_product_price_point.rb +0 -61
- data/lib/advanced_billing/models/update_product_price_point_request.rb +0 -48
- data/lib/advanced_billing/models/update_reason_code.rb +0 -70
- data/lib/advanced_billing/models/update_reason_code_request.rb +0 -48
- data/lib/advanced_billing/models/update_segment.rb +0 -75
- data/lib/advanced_billing/models/update_segment_request.rb +0 -48
- data/lib/advanced_billing/models/update_subscription.rb +0 -277
- data/lib/advanced_billing/models/update_subscription_component.rb +0 -61
- data/lib/advanced_billing/models/update_subscription_group.rb +0 -50
- data/lib/advanced_billing/models/update_subscription_group_request.rb +0 -49
- data/lib/advanced_billing/models/update_subscription_note.rb +0 -57
- data/lib/advanced_billing/models/update_subscription_note_request.rb +0 -48
- data/lib/advanced_billing/models/update_subscription_request.rb +0 -48
- data/lib/advanced_billing/models/updated_payment_profile.rb +0 -265
- data/lib/advanced_billing/models/upsert_prepaid_configuration.rb +0 -95
- data/lib/advanced_billing/models/upsert_prepaid_configuration_request.rb +0 -49
- data/lib/advanced_billing/models/usage.rb +0 -146
- data/lib/advanced_billing/models/usage_response.rb +0 -48
- data/lib/advanced_billing/models/void_invoice.rb +0 -48
- data/lib/advanced_billing/models/void_invoice_event_data.rb +0 -113
- data/lib/advanced_billing/models/void_invoice_event_data1.rb +0 -102
- data/lib/advanced_billing/models/void_invoice_request.rb +0 -48
- data/lib/advanced_billing/models/webhook.rb +0 -173
- data/lib/advanced_billing/models/webhook_order.rb +0 -23
- data/lib/advanced_billing/models/webhook_response.rb +0 -50
- data/lib/advanced_billing/models/webhook_status.rb +0 -29
- data/lib/advanced_billing/models/webhook_subscription.rb +0 -124
- data/lib/advanced_billing/utilities/date_time_helper.rb +0 -11
- data/lib/advanced_billing/utilities/file_wrapper.rb +0 -16
- data/lib/advanced_billing/utilities/union_type_lookup.rb +0 -1240
- data/lib/advanced_billing.rb +0 -666
@@ -1,296 +0,0 @@
|
|
1
|
-
# advanced_billing
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module AdvancedBilling
|
7
|
-
# BankAccountPaymentProfile Model.
|
8
|
-
class BankAccountPaymentProfile < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [Integer]
|
14
|
-
attr_accessor :id
|
15
|
-
|
16
|
-
# TODO: Write general description for this method
|
17
|
-
# @return [String]
|
18
|
-
attr_accessor :first_name
|
19
|
-
|
20
|
-
# TODO: Write general description for this method
|
21
|
-
# @return [String]
|
22
|
-
attr_accessor :last_name
|
23
|
-
|
24
|
-
# TODO: Write general description for this method
|
25
|
-
# @return [Integer]
|
26
|
-
attr_accessor :customer_id
|
27
|
-
|
28
|
-
# The vault that stores the payment profile with the provided vault_token.
|
29
|
-
# @return [BankAccountVault]
|
30
|
-
attr_accessor :current_vault
|
31
|
-
|
32
|
-
# The vault that stores the payment profile with the provided vault_token.
|
33
|
-
# @return [String]
|
34
|
-
attr_accessor :vault_token
|
35
|
-
|
36
|
-
# The vault that stores the payment profile with the provided vault_token.
|
37
|
-
# @return [String]
|
38
|
-
attr_accessor :billing_address
|
39
|
-
|
40
|
-
# The vault that stores the payment profile with the provided vault_token.
|
41
|
-
# @return [String]
|
42
|
-
attr_accessor :billing_city
|
43
|
-
|
44
|
-
# The vault that stores the payment profile with the provided vault_token.
|
45
|
-
# @return [String]
|
46
|
-
attr_accessor :billing_state
|
47
|
-
|
48
|
-
# The vault that stores the payment profile with the provided vault_token.
|
49
|
-
# @return [String]
|
50
|
-
attr_accessor :billing_zip
|
51
|
-
|
52
|
-
# The vault that stores the payment profile with the provided vault_token.
|
53
|
-
# @return [String]
|
54
|
-
attr_accessor :billing_country
|
55
|
-
|
56
|
-
# The vault that stores the payment profile with the provided vault_token.
|
57
|
-
# @return [String]
|
58
|
-
attr_accessor :customer_vault_token
|
59
|
-
|
60
|
-
# The vault that stores the payment profile with the provided vault_token.
|
61
|
-
# @return [String]
|
62
|
-
attr_accessor :billing_address_2
|
63
|
-
|
64
|
-
# The vault that stores the payment profile with the provided vault_token.
|
65
|
-
# @return [String]
|
66
|
-
attr_accessor :bank_name
|
67
|
-
|
68
|
-
# The vault that stores the payment profile with the provided vault_token.
|
69
|
-
# @return [String]
|
70
|
-
attr_accessor :masked_bank_routing_number
|
71
|
-
|
72
|
-
# The vault that stores the payment profile with the provided vault_token.
|
73
|
-
# @return [String]
|
74
|
-
attr_accessor :masked_bank_account_number
|
75
|
-
|
76
|
-
# The vault that stores the payment profile with the provided vault_token.
|
77
|
-
# @return [String]
|
78
|
-
attr_accessor :bank_account_type
|
79
|
-
|
80
|
-
# The vault that stores the payment profile with the provided vault_token.
|
81
|
-
# @return [String]
|
82
|
-
attr_accessor :bank_account_holder_type
|
83
|
-
|
84
|
-
# The vault that stores the payment profile with the provided vault_token.
|
85
|
-
# @return [String]
|
86
|
-
attr_accessor :payment_type
|
87
|
-
|
88
|
-
# denotes whether a bank account has been verified by providing the amounts
|
89
|
-
# of two small deposits made into the account
|
90
|
-
# @return [TrueClass | FalseClass]
|
91
|
-
attr_accessor :verified
|
92
|
-
|
93
|
-
# denotes whether a bank account has been verified by providing the amounts
|
94
|
-
# of two small deposits made into the account
|
95
|
-
# @return [Integer]
|
96
|
-
attr_accessor :site_gateway_setting_id
|
97
|
-
|
98
|
-
# denotes whether a bank account has been verified by providing the amounts
|
99
|
-
# of two small deposits made into the account
|
100
|
-
# @return [String]
|
101
|
-
attr_accessor :gateway_handle
|
102
|
-
|
103
|
-
# A mapping from model property names to API property names.
|
104
|
-
def self.names
|
105
|
-
@_hash = {} if @_hash.nil?
|
106
|
-
@_hash['id'] = 'id'
|
107
|
-
@_hash['first_name'] = 'first_name'
|
108
|
-
@_hash['last_name'] = 'last_name'
|
109
|
-
@_hash['customer_id'] = 'customer_id'
|
110
|
-
@_hash['current_vault'] = 'current_vault'
|
111
|
-
@_hash['vault_token'] = 'vault_token'
|
112
|
-
@_hash['billing_address'] = 'billing_address'
|
113
|
-
@_hash['billing_city'] = 'billing_city'
|
114
|
-
@_hash['billing_state'] = 'billing_state'
|
115
|
-
@_hash['billing_zip'] = 'billing_zip'
|
116
|
-
@_hash['billing_country'] = 'billing_country'
|
117
|
-
@_hash['customer_vault_token'] = 'customer_vault_token'
|
118
|
-
@_hash['billing_address_2'] = 'billing_address_2'
|
119
|
-
@_hash['bank_name'] = 'bank_name'
|
120
|
-
@_hash['masked_bank_routing_number'] = 'masked_bank_routing_number'
|
121
|
-
@_hash['masked_bank_account_number'] = 'masked_bank_account_number'
|
122
|
-
@_hash['bank_account_type'] = 'bank_account_type'
|
123
|
-
@_hash['bank_account_holder_type'] = 'bank_account_holder_type'
|
124
|
-
@_hash['payment_type'] = 'payment_type'
|
125
|
-
@_hash['verified'] = 'verified'
|
126
|
-
@_hash['site_gateway_setting_id'] = 'site_gateway_setting_id'
|
127
|
-
@_hash['gateway_handle'] = 'gateway_handle'
|
128
|
-
@_hash
|
129
|
-
end
|
130
|
-
|
131
|
-
# An array for optional fields
|
132
|
-
def self.optionals
|
133
|
-
%w[
|
134
|
-
id
|
135
|
-
first_name
|
136
|
-
last_name
|
137
|
-
customer_id
|
138
|
-
current_vault
|
139
|
-
vault_token
|
140
|
-
billing_address
|
141
|
-
billing_city
|
142
|
-
billing_state
|
143
|
-
billing_zip
|
144
|
-
billing_country
|
145
|
-
customer_vault_token
|
146
|
-
billing_address_2
|
147
|
-
bank_name
|
148
|
-
bank_account_type
|
149
|
-
bank_account_holder_type
|
150
|
-
payment_type
|
151
|
-
verified
|
152
|
-
site_gateway_setting_id
|
153
|
-
gateway_handle
|
154
|
-
]
|
155
|
-
end
|
156
|
-
|
157
|
-
# An array for nullable fields
|
158
|
-
def self.nullables
|
159
|
-
%w[
|
160
|
-
customer_vault_token
|
161
|
-
gateway_handle
|
162
|
-
]
|
163
|
-
end
|
164
|
-
|
165
|
-
def initialize(masked_bank_routing_number = nil,
|
166
|
-
masked_bank_account_number = nil,
|
167
|
-
id = SKIP,
|
168
|
-
first_name = SKIP,
|
169
|
-
last_name = SKIP,
|
170
|
-
customer_id = SKIP,
|
171
|
-
current_vault = SKIP,
|
172
|
-
vault_token = SKIP,
|
173
|
-
billing_address = SKIP,
|
174
|
-
billing_city = SKIP,
|
175
|
-
billing_state = SKIP,
|
176
|
-
billing_zip = SKIP,
|
177
|
-
billing_country = SKIP,
|
178
|
-
customer_vault_token = SKIP,
|
179
|
-
billing_address_2 = SKIP,
|
180
|
-
bank_name = SKIP,
|
181
|
-
bank_account_type = SKIP,
|
182
|
-
bank_account_holder_type = SKIP,
|
183
|
-
payment_type = SKIP,
|
184
|
-
verified = false,
|
185
|
-
site_gateway_setting_id = SKIP,
|
186
|
-
gateway_handle = SKIP)
|
187
|
-
@id = id unless id == SKIP
|
188
|
-
@first_name = first_name unless first_name == SKIP
|
189
|
-
@last_name = last_name unless last_name == SKIP
|
190
|
-
@customer_id = customer_id unless customer_id == SKIP
|
191
|
-
@current_vault = current_vault unless current_vault == SKIP
|
192
|
-
@vault_token = vault_token unless vault_token == SKIP
|
193
|
-
@billing_address = billing_address unless billing_address == SKIP
|
194
|
-
@billing_city = billing_city unless billing_city == SKIP
|
195
|
-
@billing_state = billing_state unless billing_state == SKIP
|
196
|
-
@billing_zip = billing_zip unless billing_zip == SKIP
|
197
|
-
@billing_country = billing_country unless billing_country == SKIP
|
198
|
-
@customer_vault_token = customer_vault_token unless customer_vault_token == SKIP
|
199
|
-
@billing_address_2 = billing_address_2 unless billing_address_2 == SKIP
|
200
|
-
@bank_name = bank_name unless bank_name == SKIP
|
201
|
-
@masked_bank_routing_number = masked_bank_routing_number
|
202
|
-
@masked_bank_account_number = masked_bank_account_number
|
203
|
-
@bank_account_type = bank_account_type unless bank_account_type == SKIP
|
204
|
-
@bank_account_holder_type = bank_account_holder_type unless bank_account_holder_type == SKIP
|
205
|
-
@payment_type = payment_type unless payment_type == SKIP
|
206
|
-
@verified = verified unless verified == SKIP
|
207
|
-
@site_gateway_setting_id = site_gateway_setting_id unless site_gateway_setting_id == SKIP
|
208
|
-
@gateway_handle = gateway_handle unless gateway_handle == SKIP
|
209
|
-
end
|
210
|
-
|
211
|
-
# Creates an instance of the object from a hash.
|
212
|
-
def self.from_hash(hash)
|
213
|
-
return nil unless hash
|
214
|
-
|
215
|
-
# Extract variables from the hash.
|
216
|
-
masked_bank_routing_number =
|
217
|
-
hash.key?('masked_bank_routing_number') ? hash['masked_bank_routing_number'] : nil
|
218
|
-
masked_bank_account_number =
|
219
|
-
hash.key?('masked_bank_account_number') ? hash['masked_bank_account_number'] : nil
|
220
|
-
id = hash.key?('id') ? hash['id'] : SKIP
|
221
|
-
first_name = hash.key?('first_name') ? hash['first_name'] : SKIP
|
222
|
-
last_name = hash.key?('last_name') ? hash['last_name'] : SKIP
|
223
|
-
customer_id = hash.key?('customer_id') ? hash['customer_id'] : SKIP
|
224
|
-
current_vault = hash.key?('current_vault') ? hash['current_vault'] : SKIP
|
225
|
-
vault_token = hash.key?('vault_token') ? hash['vault_token'] : SKIP
|
226
|
-
billing_address =
|
227
|
-
hash.key?('billing_address') ? hash['billing_address'] : SKIP
|
228
|
-
billing_city = hash.key?('billing_city') ? hash['billing_city'] : SKIP
|
229
|
-
billing_state = hash.key?('billing_state') ? hash['billing_state'] : SKIP
|
230
|
-
billing_zip = hash.key?('billing_zip') ? hash['billing_zip'] : SKIP
|
231
|
-
billing_country =
|
232
|
-
hash.key?('billing_country') ? hash['billing_country'] : SKIP
|
233
|
-
customer_vault_token =
|
234
|
-
hash.key?('customer_vault_token') ? hash['customer_vault_token'] : SKIP
|
235
|
-
billing_address_2 =
|
236
|
-
hash.key?('billing_address_2') ? hash['billing_address_2'] : SKIP
|
237
|
-
bank_name = hash.key?('bank_name') ? hash['bank_name'] : SKIP
|
238
|
-
bank_account_type =
|
239
|
-
hash.key?('bank_account_type') ? hash['bank_account_type'] : SKIP
|
240
|
-
bank_account_holder_type =
|
241
|
-
hash.key?('bank_account_holder_type') ? hash['bank_account_holder_type'] : SKIP
|
242
|
-
payment_type = hash.key?('payment_type') ? hash['payment_type'] : SKIP
|
243
|
-
verified = hash['verified'] ||= false
|
244
|
-
site_gateway_setting_id =
|
245
|
-
hash.key?('site_gateway_setting_id') ? hash['site_gateway_setting_id'] : SKIP
|
246
|
-
gateway_handle =
|
247
|
-
hash.key?('gateway_handle') ? hash['gateway_handle'] : SKIP
|
248
|
-
|
249
|
-
# Create object from extracted values.
|
250
|
-
BankAccountPaymentProfile.new(masked_bank_routing_number,
|
251
|
-
masked_bank_account_number,
|
252
|
-
id,
|
253
|
-
first_name,
|
254
|
-
last_name,
|
255
|
-
customer_id,
|
256
|
-
current_vault,
|
257
|
-
vault_token,
|
258
|
-
billing_address,
|
259
|
-
billing_city,
|
260
|
-
billing_state,
|
261
|
-
billing_zip,
|
262
|
-
billing_country,
|
263
|
-
customer_vault_token,
|
264
|
-
billing_address_2,
|
265
|
-
bank_name,
|
266
|
-
bank_account_type,
|
267
|
-
bank_account_holder_type,
|
268
|
-
payment_type,
|
269
|
-
verified,
|
270
|
-
site_gateway_setting_id,
|
271
|
-
gateway_handle)
|
272
|
-
end
|
273
|
-
|
274
|
-
# Validates an instance of the object from a given value.
|
275
|
-
# @param [BankAccountPaymentProfile | Hash] The value against the validation is performed.
|
276
|
-
def self.validate(value)
|
277
|
-
if value.instance_of? self
|
278
|
-
return (
|
279
|
-
APIHelper.valid_type?(value.masked_bank_routing_number,
|
280
|
-
->(val) { val.instance_of? String }) and
|
281
|
-
APIHelper.valid_type?(value.masked_bank_account_number,
|
282
|
-
->(val) { val.instance_of? String })
|
283
|
-
)
|
284
|
-
end
|
285
|
-
|
286
|
-
return false unless value.instance_of? Hash
|
287
|
-
|
288
|
-
(
|
289
|
-
APIHelper.valid_type?(value['masked_bank_routing_number'],
|
290
|
-
->(val) { val.instance_of? String }) and
|
291
|
-
APIHelper.valid_type?(value['masked_bank_account_number'],
|
292
|
-
->(val) { val.instance_of? String })
|
293
|
-
)
|
294
|
-
end
|
295
|
-
end
|
296
|
-
end
|
@@ -1,48 +0,0 @@
|
|
1
|
-
# advanced_billing
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module AdvancedBilling
|
7
|
-
# BankAccountResponse Model.
|
8
|
-
class BankAccountResponse < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [BankAccount]
|
14
|
-
attr_accessor :payment_profile
|
15
|
-
|
16
|
-
# A mapping from model property names to API property names.
|
17
|
-
def self.names
|
18
|
-
@_hash = {} if @_hash.nil?
|
19
|
-
@_hash['payment_profile'] = 'payment_profile'
|
20
|
-
@_hash
|
21
|
-
end
|
22
|
-
|
23
|
-
# An array for optional fields
|
24
|
-
def self.optionals
|
25
|
-
[]
|
26
|
-
end
|
27
|
-
|
28
|
-
# An array for nullable fields
|
29
|
-
def self.nullables
|
30
|
-
[]
|
31
|
-
end
|
32
|
-
|
33
|
-
def initialize(payment_profile = nil)
|
34
|
-
@payment_profile = payment_profile
|
35
|
-
end
|
36
|
-
|
37
|
-
# Creates an instance of the object from a hash.
|
38
|
-
def self.from_hash(hash)
|
39
|
-
return nil unless hash
|
40
|
-
|
41
|
-
# Extract variables from the hash.
|
42
|
-
payment_profile = BankAccount.from_hash(hash['payment_profile']) if hash['payment_profile']
|
43
|
-
|
44
|
-
# Create object from extracted values.
|
45
|
-
BankAccountResponse.new(payment_profile)
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# advanced_billing
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module AdvancedBilling
|
7
|
-
# Bank Account Type.
|
8
|
-
class BankAccountType
|
9
|
-
BANK_ACCOUNT_TYPE = [
|
10
|
-
# TODO: Write general description for CHECKING
|
11
|
-
CHECKING = 'checking'.freeze,
|
12
|
-
|
13
|
-
# TODO: Write general description for SAVINGS
|
14
|
-
SAVINGS = 'savings'.freeze
|
15
|
-
].freeze
|
16
|
-
|
17
|
-
def self.validate(value)
|
18
|
-
return false if value.nil?
|
19
|
-
|
20
|
-
BANK_ACCOUNT_TYPE.include?(value)
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
@@ -1,32 +0,0 @@
|
|
1
|
-
# advanced_billing
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module AdvancedBilling
|
7
|
-
# The vault that stores the payment profile with the provided vault_token.
|
8
|
-
class BankAccountVault
|
9
|
-
BANK_ACCOUNT_VAULT = [
|
10
|
-
# TODO: Write general description for BOGUS
|
11
|
-
BOGUS = 'bogus'.freeze,
|
12
|
-
|
13
|
-
# TODO: Write general description for AUTHORIZENET
|
14
|
-
AUTHORIZENET = 'authorizenet'.freeze,
|
15
|
-
|
16
|
-
# TODO: Write general description for STRIPE_CONNECT
|
17
|
-
STRIPE_CONNECT = 'stripe_connect'.freeze,
|
18
|
-
|
19
|
-
# TODO: Write general description for BRAINTREE_BLUE
|
20
|
-
BRAINTREE_BLUE = 'braintree_blue'.freeze,
|
21
|
-
|
22
|
-
# TODO: Write general description for GOCARDLESS
|
23
|
-
GOCARDLESS = 'gocardless'.freeze
|
24
|
-
].freeze
|
25
|
-
|
26
|
-
def self.validate(value)
|
27
|
-
return false if value.nil?
|
28
|
-
|
29
|
-
BANK_ACCOUNT_VAULT.include?(value)
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
@@ -1,62 +0,0 @@
|
|
1
|
-
# advanced_billing
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module AdvancedBilling
|
7
|
-
# BankAccountVerification Model.
|
8
|
-
class BankAccountVerification < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [Integer]
|
14
|
-
attr_accessor :deposit_1_in_cents
|
15
|
-
|
16
|
-
# TODO: Write general description for this method
|
17
|
-
# @return [Integer]
|
18
|
-
attr_accessor :deposit_2_in_cents
|
19
|
-
|
20
|
-
# A mapping from model property names to API property names.
|
21
|
-
def self.names
|
22
|
-
@_hash = {} if @_hash.nil?
|
23
|
-
@_hash['deposit_1_in_cents'] = 'deposit_1_in_cents'
|
24
|
-
@_hash['deposit_2_in_cents'] = 'deposit_2_in_cents'
|
25
|
-
@_hash
|
26
|
-
end
|
27
|
-
|
28
|
-
# An array for optional fields
|
29
|
-
def self.optionals
|
30
|
-
%w[
|
31
|
-
deposit_1_in_cents
|
32
|
-
deposit_2_in_cents
|
33
|
-
]
|
34
|
-
end
|
35
|
-
|
36
|
-
# An array for nullable fields
|
37
|
-
def self.nullables
|
38
|
-
[]
|
39
|
-
end
|
40
|
-
|
41
|
-
def initialize(deposit_1_in_cents = SKIP,
|
42
|
-
deposit_2_in_cents = SKIP)
|
43
|
-
@deposit_1_in_cents = deposit_1_in_cents unless deposit_1_in_cents == SKIP
|
44
|
-
@deposit_2_in_cents = deposit_2_in_cents unless deposit_2_in_cents == SKIP
|
45
|
-
end
|
46
|
-
|
47
|
-
# Creates an instance of the object from a hash.
|
48
|
-
def self.from_hash(hash)
|
49
|
-
return nil unless hash
|
50
|
-
|
51
|
-
# Extract variables from the hash.
|
52
|
-
deposit_1_in_cents =
|
53
|
-
hash.key?('deposit_1_in_cents') ? hash['deposit_1_in_cents'] : SKIP
|
54
|
-
deposit_2_in_cents =
|
55
|
-
hash.key?('deposit_2_in_cents') ? hash['deposit_2_in_cents'] : SKIP
|
56
|
-
|
57
|
-
# Create object from extracted values.
|
58
|
-
BankAccountVerification.new(deposit_1_in_cents,
|
59
|
-
deposit_2_in_cents)
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
@@ -1,50 +0,0 @@
|
|
1
|
-
# advanced_billing
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module AdvancedBilling
|
7
|
-
# BankAccountVerificationRequest Model.
|
8
|
-
class BankAccountVerificationRequest < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [BankAccountVerification]
|
14
|
-
attr_accessor :bank_account_verification
|
15
|
-
|
16
|
-
# A mapping from model property names to API property names.
|
17
|
-
def self.names
|
18
|
-
@_hash = {} if @_hash.nil?
|
19
|
-
@_hash['bank_account_verification'] = 'bank_account_verification'
|
20
|
-
@_hash
|
21
|
-
end
|
22
|
-
|
23
|
-
# An array for optional fields
|
24
|
-
def self.optionals
|
25
|
-
[]
|
26
|
-
end
|
27
|
-
|
28
|
-
# An array for nullable fields
|
29
|
-
def self.nullables
|
30
|
-
[]
|
31
|
-
end
|
32
|
-
|
33
|
-
def initialize(bank_account_verification = nil)
|
34
|
-
@bank_account_verification = bank_account_verification
|
35
|
-
end
|
36
|
-
|
37
|
-
# Creates an instance of the object from a hash.
|
38
|
-
def self.from_hash(hash)
|
39
|
-
return nil unless hash
|
40
|
-
|
41
|
-
# Extract variables from the hash.
|
42
|
-
if hash['bank_account_verification']
|
43
|
-
bank_account_verification = BankAccountVerification.from_hash(hash['bank_account_verification'])
|
44
|
-
end
|
45
|
-
|
46
|
-
# Create object from extracted values.
|
47
|
-
BankAccountVerificationRequest.new(bank_account_verification)
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
@@ -1,62 +0,0 @@
|
|
1
|
-
# advanced_billing
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module AdvancedBilling
|
7
|
-
# Base model.
|
8
|
-
class BaseModel < CoreLibrary::BaseModel
|
9
|
-
# Returns a Hash representation of the current object.
|
10
|
-
def to_hash
|
11
|
-
# validating the model being serialized
|
12
|
-
self.class.validate(self) if self.class.respond_to?(:validate)
|
13
|
-
|
14
|
-
hash = {}
|
15
|
-
instance_variables.each do |name|
|
16
|
-
value = instance_variable_get(name)
|
17
|
-
name = name[1..]
|
18
|
-
key = self.class.names.key?(name) ? self.class.names[name] : name
|
19
|
-
optional_fields = self.class.optionals
|
20
|
-
nullable_fields = self.class.nullables
|
21
|
-
if value.nil?
|
22
|
-
next unless nullable_fields.include?(name)
|
23
|
-
|
24
|
-
if !optional_fields.include?(name) && !nullable_fields.include?(name)
|
25
|
-
raise ArgumentError,
|
26
|
-
"`#{name}` cannot be nil in `#{self.class}`. Please specify a valid value."
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
hash[key] = nil
|
31
|
-
unless value.nil?
|
32
|
-
if respond_to?("to_custom_#{name}")
|
33
|
-
if (value.instance_of? Array) || (value.instance_of? Hash)
|
34
|
-
params = [hash, key]
|
35
|
-
hash[key] = send("to_custom_#{name}", *params)
|
36
|
-
else
|
37
|
-
hash[key] = send("to_custom_#{name}")
|
38
|
-
end
|
39
|
-
elsif respond_to?("to_union_type_#{name}")
|
40
|
-
hash[key] = send("to_union_type_#{name}")
|
41
|
-
elsif value.instance_of? Array
|
42
|
-
hash[key] = value.map { |v| v.is_a?(BaseModel) ? v.to_hash : v }
|
43
|
-
elsif value.instance_of? Hash
|
44
|
-
hash[key] = {}
|
45
|
-
value.each do |k, v|
|
46
|
-
hash[key][k] = v.is_a?(BaseModel) ? v.to_hash : v
|
47
|
-
end
|
48
|
-
else
|
49
|
-
hash[key] = value.is_a?(BaseModel) ? value.to_hash : value
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
53
|
-
hash
|
54
|
-
end
|
55
|
-
|
56
|
-
# Returns a JSON representation of the curent object.
|
57
|
-
def to_json(options = {})
|
58
|
-
hash = to_hash
|
59
|
-
hash.to_json(options)
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
@@ -1,50 +0,0 @@
|
|
1
|
-
# advanced_billing
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module AdvancedBilling
|
7
|
-
# BaseRefundError Model.
|
8
|
-
class BaseRefundError < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [Array[Object]]
|
14
|
-
attr_accessor :base
|
15
|
-
|
16
|
-
# A mapping from model property names to API property names.
|
17
|
-
def self.names
|
18
|
-
@_hash = {} if @_hash.nil?
|
19
|
-
@_hash['base'] = 'base'
|
20
|
-
@_hash
|
21
|
-
end
|
22
|
-
|
23
|
-
# An array for optional fields
|
24
|
-
def self.optionals
|
25
|
-
%w[
|
26
|
-
base
|
27
|
-
]
|
28
|
-
end
|
29
|
-
|
30
|
-
# An array for nullable fields
|
31
|
-
def self.nullables
|
32
|
-
[]
|
33
|
-
end
|
34
|
-
|
35
|
-
def initialize(base = SKIP)
|
36
|
-
@base = base unless base == SKIP
|
37
|
-
end
|
38
|
-
|
39
|
-
# Creates an instance of the object from a hash.
|
40
|
-
def self.from_hash(hash)
|
41
|
-
return nil unless hash
|
42
|
-
|
43
|
-
# Extract variables from the hash.
|
44
|
-
base = hash.key?('base') ? hash['base'] : SKIP
|
45
|
-
|
46
|
-
# Create object from extracted values.
|
47
|
-
BaseRefundError.new(base)
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
@@ -1,50 +0,0 @@
|
|
1
|
-
# advanced_billing
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module AdvancedBilling
|
7
|
-
# The error is base if it is not directly associated with a single attribute.
|
8
|
-
class BaseStringError < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [Array[String]]
|
14
|
-
attr_accessor :base
|
15
|
-
|
16
|
-
# A mapping from model property names to API property names.
|
17
|
-
def self.names
|
18
|
-
@_hash = {} if @_hash.nil?
|
19
|
-
@_hash['base'] = 'base'
|
20
|
-
@_hash
|
21
|
-
end
|
22
|
-
|
23
|
-
# An array for optional fields
|
24
|
-
def self.optionals
|
25
|
-
%w[
|
26
|
-
base
|
27
|
-
]
|
28
|
-
end
|
29
|
-
|
30
|
-
# An array for nullable fields
|
31
|
-
def self.nullables
|
32
|
-
[]
|
33
|
-
end
|
34
|
-
|
35
|
-
def initialize(base = SKIP)
|
36
|
-
@base = base unless base == SKIP
|
37
|
-
end
|
38
|
-
|
39
|
-
# Creates an instance of the object from a hash.
|
40
|
-
def self.from_hash(hash)
|
41
|
-
return nil unless hash
|
42
|
-
|
43
|
-
# Extract variables from the hash.
|
44
|
-
base = hash.key?('base') ? hash['base'] : SKIP
|
45
|
-
|
46
|
-
# Create object from extracted values.
|
47
|
-
BaseStringError.new(base)
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|