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,124 +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
|
-
# CreateComponentPricePoint Model.
|
8
|
-
class CreateComponentPricePoint < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [String]
|
14
|
-
attr_accessor :name
|
15
|
-
|
16
|
-
# TODO: Write general description for this method
|
17
|
-
# @return [String]
|
18
|
-
attr_accessor :handle
|
19
|
-
|
20
|
-
# TODO: Write general description for this method
|
21
|
-
# @return [String]
|
22
|
-
attr_accessor :pricing_scheme
|
23
|
-
|
24
|
-
# TODO: Write general description for this method
|
25
|
-
# @return [Array[Price]]
|
26
|
-
attr_accessor :prices
|
27
|
-
|
28
|
-
# Whether to use the site level exchange rate or define your own prices for
|
29
|
-
# each currency if you have multiple currencies defined on the site.
|
30
|
-
# @return [TrueClass | FalseClass]
|
31
|
-
attr_accessor :use_site_exchange_rate
|
32
|
-
|
33
|
-
# A mapping from model property names to API property names.
|
34
|
-
def self.names
|
35
|
-
@_hash = {} if @_hash.nil?
|
36
|
-
@_hash['name'] = 'name'
|
37
|
-
@_hash['handle'] = 'handle'
|
38
|
-
@_hash['pricing_scheme'] = 'pricing_scheme'
|
39
|
-
@_hash['prices'] = 'prices'
|
40
|
-
@_hash['use_site_exchange_rate'] = 'use_site_exchange_rate'
|
41
|
-
@_hash
|
42
|
-
end
|
43
|
-
|
44
|
-
# An array for optional fields
|
45
|
-
def self.optionals
|
46
|
-
%w[
|
47
|
-
handle
|
48
|
-
use_site_exchange_rate
|
49
|
-
]
|
50
|
-
end
|
51
|
-
|
52
|
-
# An array for nullable fields
|
53
|
-
def self.nullables
|
54
|
-
[]
|
55
|
-
end
|
56
|
-
|
57
|
-
def initialize(name = nil,
|
58
|
-
pricing_scheme = nil,
|
59
|
-
prices = nil,
|
60
|
-
handle = SKIP,
|
61
|
-
use_site_exchange_rate = true)
|
62
|
-
@name = name
|
63
|
-
@handle = handle unless handle == SKIP
|
64
|
-
@pricing_scheme = pricing_scheme
|
65
|
-
@prices = prices
|
66
|
-
@use_site_exchange_rate = use_site_exchange_rate unless use_site_exchange_rate == SKIP
|
67
|
-
end
|
68
|
-
|
69
|
-
# Creates an instance of the object from a hash.
|
70
|
-
def self.from_hash(hash)
|
71
|
-
return nil unless hash
|
72
|
-
|
73
|
-
# Extract variables from the hash.
|
74
|
-
name = hash.key?('name') ? hash['name'] : nil
|
75
|
-
pricing_scheme =
|
76
|
-
hash.key?('pricing_scheme') ? hash['pricing_scheme'] : nil
|
77
|
-
# Parameter is an array, so we need to iterate through it
|
78
|
-
prices = nil
|
79
|
-
unless hash['prices'].nil?
|
80
|
-
prices = []
|
81
|
-
hash['prices'].each do |structure|
|
82
|
-
prices << (Price.from_hash(structure) if structure)
|
83
|
-
end
|
84
|
-
end
|
85
|
-
|
86
|
-
prices = nil unless hash.key?('prices')
|
87
|
-
handle = hash.key?('handle') ? hash['handle'] : SKIP
|
88
|
-
use_site_exchange_rate = hash['use_site_exchange_rate'] ||= true
|
89
|
-
|
90
|
-
# Create object from extracted values.
|
91
|
-
CreateComponentPricePoint.new(name,
|
92
|
-
pricing_scheme,
|
93
|
-
prices,
|
94
|
-
handle,
|
95
|
-
use_site_exchange_rate)
|
96
|
-
end
|
97
|
-
|
98
|
-
# Validates an instance of the object from a given value.
|
99
|
-
# @param [CreateComponentPricePoint | Hash] The value against the validation is performed.
|
100
|
-
def self.validate(value)
|
101
|
-
if value.instance_of? self
|
102
|
-
return (
|
103
|
-
APIHelper.valid_type?(value.name,
|
104
|
-
->(val) { val.instance_of? String }) and
|
105
|
-
APIHelper.valid_type?(value.pricing_scheme,
|
106
|
-
->(val) { val.instance_of? String }) and
|
107
|
-
APIHelper.valid_type?(value.prices,
|
108
|
-
->(val) { Price.validate(val) })
|
109
|
-
)
|
110
|
-
end
|
111
|
-
|
112
|
-
return false unless value.instance_of? Hash
|
113
|
-
|
114
|
-
(
|
115
|
-
APIHelper.valid_type?(value['name'],
|
116
|
-
->(val) { val.instance_of? String }) and
|
117
|
-
APIHelper.valid_type?(value['pricing_scheme'],
|
118
|
-
->(val) { val.instance_of? String }) and
|
119
|
-
APIHelper.valid_type?(value['prices'],
|
120
|
-
->(val) { Price.validate(val) })
|
121
|
-
)
|
122
|
-
end
|
123
|
-
end
|
124
|
-
end
|
@@ -1,64 +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
|
-
# CreateComponentPricePointRequest Model.
|
8
|
-
class CreateComponentPricePointRequest < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [PricePoint]
|
14
|
-
attr_accessor :price_point
|
15
|
-
|
16
|
-
# A mapping from model property names to API property names.
|
17
|
-
def self.names
|
18
|
-
@_hash = {} if @_hash.nil?
|
19
|
-
@_hash['price_point'] = 'price_point'
|
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(price_point = nil)
|
34
|
-
@price_point = price_point
|
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
|
-
price_point = hash.key?('price_point') ? APIHelper.deserialize_union_type(
|
43
|
-
UnionTypeLookUp.get(:CreateComponentPricePointRequestPricePoint), hash['price_point']
|
44
|
-
) : nil
|
45
|
-
|
46
|
-
# Create object from extracted values.
|
47
|
-
CreateComponentPricePointRequest.new(price_point)
|
48
|
-
end
|
49
|
-
|
50
|
-
# Validates an instance of the object from a given value.
|
51
|
-
# @param [CreateComponentPricePointRequest | Hash] The value against the validation is performed.
|
52
|
-
def self.validate(value)
|
53
|
-
if value.instance_of? self
|
54
|
-
return UnionTypeLookUp.get(:CreateComponentPricePointRequestPricePoint)
|
55
|
-
.validate(value.price_point)
|
56
|
-
end
|
57
|
-
|
58
|
-
return false unless value.instance_of? Hash
|
59
|
-
|
60
|
-
UnionTypeLookUp.get(:CreateComponentPricePointRequestPricePoint)
|
61
|
-
.validate(value['price_point'])
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|
@@ -1,64 +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
|
-
# CreateComponentPricePointsRequest Model.
|
8
|
-
class CreateComponentPricePointsRequest < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [Array[PricePoint]]
|
14
|
-
attr_accessor :price_points
|
15
|
-
|
16
|
-
# A mapping from model property names to API property names.
|
17
|
-
def self.names
|
18
|
-
@_hash = {} if @_hash.nil?
|
19
|
-
@_hash['price_points'] = 'price_points'
|
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(price_points = nil)
|
34
|
-
@price_points = price_points
|
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
|
-
price_points = hash.key?('price_points') ? APIHelper.deserialize_union_type(
|
43
|
-
UnionTypeLookUp.get(:CreateComponentPricePointsRequestPricePoints), hash['price_points']
|
44
|
-
) : nil
|
45
|
-
|
46
|
-
# Create object from extracted values.
|
47
|
-
CreateComponentPricePointsRequest.new(price_points)
|
48
|
-
end
|
49
|
-
|
50
|
-
# Validates an instance of the object from a given value.
|
51
|
-
# @param [CreateComponentPricePointsRequest | Hash] The value against the validation is performed.
|
52
|
-
def self.validate(value)
|
53
|
-
if value.instance_of? self
|
54
|
-
return UnionTypeLookUp.get(:CreateComponentPricePointsRequestPricePoints)
|
55
|
-
.validate(value.price_points)
|
56
|
-
end
|
57
|
-
|
58
|
-
return false unless value.instance_of? Hash
|
59
|
-
|
60
|
-
UnionTypeLookUp.get(:CreateComponentPricePointsRequestPricePoints)
|
61
|
-
.validate(value['price_points'])
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|
@@ -1,70 +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
|
-
# CreateCurrencyPrice Model.
|
8
|
-
class CreateCurrencyPrice < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# ISO code for a currency defined on the site level
|
13
|
-
# @return [String]
|
14
|
-
attr_accessor :currency
|
15
|
-
|
16
|
-
# Price for the price level in this currency
|
17
|
-
# @return [Integer]
|
18
|
-
attr_accessor :price
|
19
|
-
|
20
|
-
# ID of the price that this corresponds with
|
21
|
-
# @return [Integer]
|
22
|
-
attr_accessor :price_id
|
23
|
-
|
24
|
-
# A mapping from model property names to API property names.
|
25
|
-
def self.names
|
26
|
-
@_hash = {} if @_hash.nil?
|
27
|
-
@_hash['currency'] = 'currency'
|
28
|
-
@_hash['price'] = 'price'
|
29
|
-
@_hash['price_id'] = 'price_id'
|
30
|
-
@_hash
|
31
|
-
end
|
32
|
-
|
33
|
-
# An array for optional fields
|
34
|
-
def self.optionals
|
35
|
-
%w[
|
36
|
-
currency
|
37
|
-
price
|
38
|
-
price_id
|
39
|
-
]
|
40
|
-
end
|
41
|
-
|
42
|
-
# An array for nullable fields
|
43
|
-
def self.nullables
|
44
|
-
[]
|
45
|
-
end
|
46
|
-
|
47
|
-
def initialize(currency = SKIP,
|
48
|
-
price = SKIP,
|
49
|
-
price_id = SKIP)
|
50
|
-
@currency = currency unless currency == SKIP
|
51
|
-
@price = price unless price == SKIP
|
52
|
-
@price_id = price_id unless price_id == SKIP
|
53
|
-
end
|
54
|
-
|
55
|
-
# Creates an instance of the object from a hash.
|
56
|
-
def self.from_hash(hash)
|
57
|
-
return nil unless hash
|
58
|
-
|
59
|
-
# Extract variables from the hash.
|
60
|
-
currency = hash.key?('currency') ? hash['currency'] : SKIP
|
61
|
-
price = hash.key?('price') ? hash['price'] : SKIP
|
62
|
-
price_id = hash.key?('price_id') ? hash['price_id'] : SKIP
|
63
|
-
|
64
|
-
# Create object from extracted values.
|
65
|
-
CreateCurrencyPrice.new(currency,
|
66
|
-
price,
|
67
|
-
price_id)
|
68
|
-
end
|
69
|
-
end
|
70
|
-
end
|
@@ -1,57 +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
|
-
# CreateCurrencyPricesRequest Model.
|
8
|
-
class CreateCurrencyPricesRequest < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [Array[CreateCurrencyPrice]]
|
14
|
-
attr_accessor :currency_prices
|
15
|
-
|
16
|
-
# A mapping from model property names to API property names.
|
17
|
-
def self.names
|
18
|
-
@_hash = {} if @_hash.nil?
|
19
|
-
@_hash['currency_prices'] = 'currency_prices'
|
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(currency_prices = nil)
|
34
|
-
@currency_prices = currency_prices
|
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
|
-
# Parameter is an array, so we need to iterate through it
|
43
|
-
currency_prices = nil
|
44
|
-
unless hash['currency_prices'].nil?
|
45
|
-
currency_prices = []
|
46
|
-
hash['currency_prices'].each do |structure|
|
47
|
-
currency_prices << (CreateCurrencyPrice.from_hash(structure) if structure)
|
48
|
-
end
|
49
|
-
end
|
50
|
-
|
51
|
-
currency_prices = nil unless hash.key?('currency_prices')
|
52
|
-
|
53
|
-
# Create object from extracted values.
|
54
|
-
CreateCurrencyPricesRequest.new(currency_prices)
|
55
|
-
end
|
56
|
-
end
|
57
|
-
end
|
@@ -1,221 +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
|
-
# CreateCustomer Model.
|
8
|
-
class CreateCustomer < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [String]
|
14
|
-
attr_accessor :first_name
|
15
|
-
|
16
|
-
# TODO: Write general description for this method
|
17
|
-
# @return [String]
|
18
|
-
attr_accessor :last_name
|
19
|
-
|
20
|
-
# TODO: Write general description for this method
|
21
|
-
# @return [String]
|
22
|
-
attr_accessor :email
|
23
|
-
|
24
|
-
# TODO: Write general description for this method
|
25
|
-
# @return [String]
|
26
|
-
attr_accessor :cc_emails
|
27
|
-
|
28
|
-
# TODO: Write general description for this method
|
29
|
-
# @return [String]
|
30
|
-
attr_accessor :organization
|
31
|
-
|
32
|
-
# TODO: Write general description for this method
|
33
|
-
# @return [String]
|
34
|
-
attr_accessor :reference
|
35
|
-
|
36
|
-
# TODO: Write general description for this method
|
37
|
-
# @return [String]
|
38
|
-
attr_accessor :address
|
39
|
-
|
40
|
-
# TODO: Write general description for this method
|
41
|
-
# @return [String]
|
42
|
-
attr_accessor :address_2
|
43
|
-
|
44
|
-
# TODO: Write general description for this method
|
45
|
-
# @return [String]
|
46
|
-
attr_accessor :city
|
47
|
-
|
48
|
-
# TODO: Write general description for this method
|
49
|
-
# @return [String]
|
50
|
-
attr_accessor :state
|
51
|
-
|
52
|
-
# TODO: Write general description for this method
|
53
|
-
# @return [String]
|
54
|
-
attr_accessor :zip
|
55
|
-
|
56
|
-
# TODO: Write general description for this method
|
57
|
-
# @return [String]
|
58
|
-
attr_accessor :country
|
59
|
-
|
60
|
-
# TODO: Write general description for this method
|
61
|
-
# @return [String]
|
62
|
-
attr_accessor :phone
|
63
|
-
|
64
|
-
# Set a specific language on a customer record.
|
65
|
-
# @return [String]
|
66
|
-
attr_accessor :locale
|
67
|
-
|
68
|
-
# Set a specific language on a customer record.
|
69
|
-
# @return [String]
|
70
|
-
attr_accessor :vat_number
|
71
|
-
|
72
|
-
# Set a specific language on a customer record.
|
73
|
-
# @return [TrueClass | FalseClass]
|
74
|
-
attr_accessor :tax_exempt
|
75
|
-
|
76
|
-
# Set a specific language on a customer record.
|
77
|
-
# @return [String]
|
78
|
-
attr_accessor :tax_exempt_reason
|
79
|
-
|
80
|
-
# The parent ID in Chargify if applicable. Parent is another Customer
|
81
|
-
# object.
|
82
|
-
# @return [Integer]
|
83
|
-
attr_accessor :parent_id
|
84
|
-
|
85
|
-
# A mapping from model property names to API property names.
|
86
|
-
def self.names
|
87
|
-
@_hash = {} if @_hash.nil?
|
88
|
-
@_hash['first_name'] = 'first_name'
|
89
|
-
@_hash['last_name'] = 'last_name'
|
90
|
-
@_hash['email'] = 'email'
|
91
|
-
@_hash['cc_emails'] = 'cc_emails'
|
92
|
-
@_hash['organization'] = 'organization'
|
93
|
-
@_hash['reference'] = 'reference'
|
94
|
-
@_hash['address'] = 'address'
|
95
|
-
@_hash['address_2'] = 'address_2'
|
96
|
-
@_hash['city'] = 'city'
|
97
|
-
@_hash['state'] = 'state'
|
98
|
-
@_hash['zip'] = 'zip'
|
99
|
-
@_hash['country'] = 'country'
|
100
|
-
@_hash['phone'] = 'phone'
|
101
|
-
@_hash['locale'] = 'locale'
|
102
|
-
@_hash['vat_number'] = 'vat_number'
|
103
|
-
@_hash['tax_exempt'] = 'tax_exempt'
|
104
|
-
@_hash['tax_exempt_reason'] = 'tax_exempt_reason'
|
105
|
-
@_hash['parent_id'] = 'parent_id'
|
106
|
-
@_hash
|
107
|
-
end
|
108
|
-
|
109
|
-
# An array for optional fields
|
110
|
-
def self.optionals
|
111
|
-
%w[
|
112
|
-
cc_emails
|
113
|
-
organization
|
114
|
-
reference
|
115
|
-
address
|
116
|
-
address_2
|
117
|
-
city
|
118
|
-
state
|
119
|
-
zip
|
120
|
-
country
|
121
|
-
phone
|
122
|
-
locale
|
123
|
-
vat_number
|
124
|
-
tax_exempt
|
125
|
-
tax_exempt_reason
|
126
|
-
parent_id
|
127
|
-
]
|
128
|
-
end
|
129
|
-
|
130
|
-
# An array for nullable fields
|
131
|
-
def self.nullables
|
132
|
-
%w[
|
133
|
-
parent_id
|
134
|
-
]
|
135
|
-
end
|
136
|
-
|
137
|
-
def initialize(first_name = nil,
|
138
|
-
last_name = nil,
|
139
|
-
email = nil,
|
140
|
-
cc_emails = SKIP,
|
141
|
-
organization = SKIP,
|
142
|
-
reference = SKIP,
|
143
|
-
address = SKIP,
|
144
|
-
address_2 = SKIP,
|
145
|
-
city = SKIP,
|
146
|
-
state = SKIP,
|
147
|
-
zip = SKIP,
|
148
|
-
country = SKIP,
|
149
|
-
phone = SKIP,
|
150
|
-
locale = SKIP,
|
151
|
-
vat_number = SKIP,
|
152
|
-
tax_exempt = SKIP,
|
153
|
-
tax_exempt_reason = SKIP,
|
154
|
-
parent_id = SKIP)
|
155
|
-
@first_name = first_name
|
156
|
-
@last_name = last_name
|
157
|
-
@email = email
|
158
|
-
@cc_emails = cc_emails unless cc_emails == SKIP
|
159
|
-
@organization = organization unless organization == SKIP
|
160
|
-
@reference = reference unless reference == SKIP
|
161
|
-
@address = address unless address == SKIP
|
162
|
-
@address_2 = address_2 unless address_2 == SKIP
|
163
|
-
@city = city unless city == SKIP
|
164
|
-
@state = state unless state == SKIP
|
165
|
-
@zip = zip unless zip == SKIP
|
166
|
-
@country = country unless country == SKIP
|
167
|
-
@phone = phone unless phone == SKIP
|
168
|
-
@locale = locale unless locale == SKIP
|
169
|
-
@vat_number = vat_number unless vat_number == SKIP
|
170
|
-
@tax_exempt = tax_exempt unless tax_exempt == SKIP
|
171
|
-
@tax_exempt_reason = tax_exempt_reason unless tax_exempt_reason == SKIP
|
172
|
-
@parent_id = parent_id unless parent_id == SKIP
|
173
|
-
end
|
174
|
-
|
175
|
-
# Creates an instance of the object from a hash.
|
176
|
-
def self.from_hash(hash)
|
177
|
-
return nil unless hash
|
178
|
-
|
179
|
-
# Extract variables from the hash.
|
180
|
-
first_name = hash.key?('first_name') ? hash['first_name'] : nil
|
181
|
-
last_name = hash.key?('last_name') ? hash['last_name'] : nil
|
182
|
-
email = hash.key?('email') ? hash['email'] : nil
|
183
|
-
cc_emails = hash.key?('cc_emails') ? hash['cc_emails'] : SKIP
|
184
|
-
organization = hash.key?('organization') ? hash['organization'] : SKIP
|
185
|
-
reference = hash.key?('reference') ? hash['reference'] : SKIP
|
186
|
-
address = hash.key?('address') ? hash['address'] : SKIP
|
187
|
-
address_2 = hash.key?('address_2') ? hash['address_2'] : SKIP
|
188
|
-
city = hash.key?('city') ? hash['city'] : SKIP
|
189
|
-
state = hash.key?('state') ? hash['state'] : SKIP
|
190
|
-
zip = hash.key?('zip') ? hash['zip'] : SKIP
|
191
|
-
country = hash.key?('country') ? hash['country'] : SKIP
|
192
|
-
phone = hash.key?('phone') ? hash['phone'] : SKIP
|
193
|
-
locale = hash.key?('locale') ? hash['locale'] : SKIP
|
194
|
-
vat_number = hash.key?('vat_number') ? hash['vat_number'] : SKIP
|
195
|
-
tax_exempt = hash.key?('tax_exempt') ? hash['tax_exempt'] : SKIP
|
196
|
-
tax_exempt_reason =
|
197
|
-
hash.key?('tax_exempt_reason') ? hash['tax_exempt_reason'] : SKIP
|
198
|
-
parent_id = hash.key?('parent_id') ? hash['parent_id'] : SKIP
|
199
|
-
|
200
|
-
# Create object from extracted values.
|
201
|
-
CreateCustomer.new(first_name,
|
202
|
-
last_name,
|
203
|
-
email,
|
204
|
-
cc_emails,
|
205
|
-
organization,
|
206
|
-
reference,
|
207
|
-
address,
|
208
|
-
address_2,
|
209
|
-
city,
|
210
|
-
state,
|
211
|
-
zip,
|
212
|
-
country,
|
213
|
-
phone,
|
214
|
-
locale,
|
215
|
-
vat_number,
|
216
|
-
tax_exempt,
|
217
|
-
tax_exempt_reason,
|
218
|
-
parent_id)
|
219
|
-
end
|
220
|
-
end
|
221
|
-
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
|
-
# CreateCustomerRequest Model.
|
8
|
-
class CreateCustomerRequest < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [CreateCustomer]
|
14
|
-
attr_accessor :customer
|
15
|
-
|
16
|
-
# A mapping from model property names to API property names.
|
17
|
-
def self.names
|
18
|
-
@_hash = {} if @_hash.nil?
|
19
|
-
@_hash['customer'] = 'customer'
|
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(customer = nil)
|
34
|
-
@customer = customer
|
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
|
-
customer = CreateCustomer.from_hash(hash['customer']) if hash['customer']
|
43
|
-
|
44
|
-
# Create object from extracted values.
|
45
|
-
CreateCustomerRequest.new(customer)
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|