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,421 +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
|
-
# Component Model.
|
8
|
-
class Component < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# The unique ID assigned to the component by Chargify. This ID can be used
|
13
|
-
# to fetch the component from the API.
|
14
|
-
# @return [Integer]
|
15
|
-
attr_accessor :id
|
16
|
-
|
17
|
-
# The name of the Component, suitable for display on statements. i.e. Text
|
18
|
-
# Messages.
|
19
|
-
# @return [String]
|
20
|
-
attr_accessor :name
|
21
|
-
|
22
|
-
# The component API handle
|
23
|
-
# @return [String]
|
24
|
-
attr_accessor :handle
|
25
|
-
|
26
|
-
# The handle for the pricing scheme. Available options: per_unit, volume,
|
27
|
-
# tiered, stairstep. See [Price Bracket
|
28
|
-
# Rules](https://chargify.zendesk.com/hc/en-us/articles/4407755865883#price-
|
29
|
-
# bracket-rules) for an overview of pricing schemes.
|
30
|
-
# @return [String]
|
31
|
-
attr_accessor :pricing_scheme
|
32
|
-
|
33
|
-
# The name of the unit that the component’s usage is measured in. i.e.
|
34
|
-
# message
|
35
|
-
# @return [String]
|
36
|
-
attr_accessor :unit_name
|
37
|
-
|
38
|
-
# The amount the customer will be charged per unit. This field is only
|
39
|
-
# populated for ‘per_unit’ pricing schemes, otherwise it may be null.
|
40
|
-
# @return [String]
|
41
|
-
attr_accessor :unit_price
|
42
|
-
|
43
|
-
# The id of the Product Family to which the Component belongs
|
44
|
-
# @return [Integer]
|
45
|
-
attr_accessor :product_family_id
|
46
|
-
|
47
|
-
# The name of the Product Family to which the Component belongs
|
48
|
-
# @return [String]
|
49
|
-
attr_accessor :product_family_name
|
50
|
-
|
51
|
-
# deprecated - use unit_price instead
|
52
|
-
# @return [Integer]
|
53
|
-
attr_accessor :price_per_unit_in_cents
|
54
|
-
|
55
|
-
# A handle for the component type
|
56
|
-
# @return [ComponentKind]
|
57
|
-
attr_accessor :kind
|
58
|
-
|
59
|
-
# Boolean flag describing whether a component is archived or not.
|
60
|
-
# @return [TrueClass | FalseClass]
|
61
|
-
attr_accessor :archived
|
62
|
-
|
63
|
-
# Boolean flag describing whether a component is taxable or not.
|
64
|
-
# @return [TrueClass | FalseClass]
|
65
|
-
attr_accessor :taxable
|
66
|
-
|
67
|
-
# The description of the component.
|
68
|
-
# @return [String]
|
69
|
-
attr_accessor :description
|
70
|
-
|
71
|
-
# The description of the component.
|
72
|
-
# @return [Integer]
|
73
|
-
attr_accessor :default_price_point_id
|
74
|
-
|
75
|
-
# An array of price brackets. If the component uses the ‘per_unit’ pricing
|
76
|
-
# scheme, this array will be empty.
|
77
|
-
# @return [Array[ComponentPrice]]
|
78
|
-
attr_accessor :prices
|
79
|
-
|
80
|
-
# Count for the number of price points associated with the component
|
81
|
-
# @return [Integer]
|
82
|
-
attr_accessor :price_point_count
|
83
|
-
|
84
|
-
# URL that points to the location to read the existing price points via GET
|
85
|
-
# request
|
86
|
-
# @return [String]
|
87
|
-
attr_accessor :price_points_url
|
88
|
-
|
89
|
-
# URL that points to the location to read the existing price points via GET
|
90
|
-
# request
|
91
|
-
# @return [String]
|
92
|
-
attr_accessor :default_price_point_name
|
93
|
-
|
94
|
-
# A string representing the tax code related to the component type. This is
|
95
|
-
# especially important when using the Avalara service to tax based on
|
96
|
-
# locale. This attribute has a max length of 10 characters.
|
97
|
-
# @return [String]
|
98
|
-
attr_accessor :tax_code
|
99
|
-
|
100
|
-
# A string representing the tax code related to the component type. This is
|
101
|
-
# especially important when using the Avalara service to tax based on
|
102
|
-
# locale. This attribute has a max length of 10 characters.
|
103
|
-
# @return [TrueClass | FalseClass]
|
104
|
-
attr_accessor :recurring
|
105
|
-
|
106
|
-
# A string representing the tax code related to the component type. This is
|
107
|
-
# especially important when using the Avalara service to tax based on
|
108
|
-
# locale. This attribute has a max length of 10 characters.
|
109
|
-
# @return [String]
|
110
|
-
attr_accessor :upgrade_charge
|
111
|
-
|
112
|
-
# A string representing the tax code related to the component type. This is
|
113
|
-
# especially important when using the Avalara service to tax based on
|
114
|
-
# locale. This attribute has a max length of 10 characters.
|
115
|
-
# @return [String]
|
116
|
-
attr_accessor :downgrade_credit
|
117
|
-
|
118
|
-
# Timestamp indicating when this component was created
|
119
|
-
# @return [String]
|
120
|
-
attr_accessor :created_at
|
121
|
-
|
122
|
-
# Timestamp indicating when this component was updated
|
123
|
-
# @return [String]
|
124
|
-
attr_accessor :updated_at
|
125
|
-
|
126
|
-
# Timestamp indicating when this component was archived
|
127
|
-
# @return [String]
|
128
|
-
attr_accessor :archived_at
|
129
|
-
|
130
|
-
# (Only available on Relationship Invoicing sites) Boolean flag describing
|
131
|
-
# if the service date range should show for the component on generated
|
132
|
-
# invoices.
|
133
|
-
# @return [TrueClass | FalseClass]
|
134
|
-
attr_accessor :hide_date_range_on_invoice
|
135
|
-
|
136
|
-
# (Only available on Relationship Invoicing sites) Boolean flag describing
|
137
|
-
# if the service date range should show for the component on generated
|
138
|
-
# invoices.
|
139
|
-
# @return [TrueClass | FalseClass]
|
140
|
-
attr_accessor :allow_fractional_quantities
|
141
|
-
|
142
|
-
# One of the following: Business Software, Consumer Software, Digital
|
143
|
-
# Services, Physical Goods, Other
|
144
|
-
# @return [ItemCategory]
|
145
|
-
attr_accessor :item_category
|
146
|
-
|
147
|
-
# One of the following: Business Software, Consumer Software, Digital
|
148
|
-
# Services, Physical Goods, Other
|
149
|
-
# @return [TrueClass | FalseClass]
|
150
|
-
attr_accessor :use_site_exchange_rate
|
151
|
-
|
152
|
-
# E.g. Internal ID or SKU Number
|
153
|
-
# @return [String]
|
154
|
-
attr_accessor :accounting_code
|
155
|
-
|
156
|
-
# (Only for Event Based Components) This is an ID of a metric attached to
|
157
|
-
# the component. This metric is used to bill upon collected events.
|
158
|
-
# @return [Integer]
|
159
|
-
attr_accessor :event_based_billing_metric_id
|
160
|
-
|
161
|
-
# A mapping from model property names to API property names.
|
162
|
-
def self.names
|
163
|
-
@_hash = {} if @_hash.nil?
|
164
|
-
@_hash['id'] = 'id'
|
165
|
-
@_hash['name'] = 'name'
|
166
|
-
@_hash['handle'] = 'handle'
|
167
|
-
@_hash['pricing_scheme'] = 'pricing_scheme'
|
168
|
-
@_hash['unit_name'] = 'unit_name'
|
169
|
-
@_hash['unit_price'] = 'unit_price'
|
170
|
-
@_hash['product_family_id'] = 'product_family_id'
|
171
|
-
@_hash['product_family_name'] = 'product_family_name'
|
172
|
-
@_hash['price_per_unit_in_cents'] = 'price_per_unit_in_cents'
|
173
|
-
@_hash['kind'] = 'kind'
|
174
|
-
@_hash['archived'] = 'archived'
|
175
|
-
@_hash['taxable'] = 'taxable'
|
176
|
-
@_hash['description'] = 'description'
|
177
|
-
@_hash['default_price_point_id'] = 'default_price_point_id'
|
178
|
-
@_hash['prices'] = 'prices'
|
179
|
-
@_hash['price_point_count'] = 'price_point_count'
|
180
|
-
@_hash['price_points_url'] = 'price_points_url'
|
181
|
-
@_hash['default_price_point_name'] = 'default_price_point_name'
|
182
|
-
@_hash['tax_code'] = 'tax_code'
|
183
|
-
@_hash['recurring'] = 'recurring'
|
184
|
-
@_hash['upgrade_charge'] = 'upgrade_charge'
|
185
|
-
@_hash['downgrade_credit'] = 'downgrade_credit'
|
186
|
-
@_hash['created_at'] = 'created_at'
|
187
|
-
@_hash['updated_at'] = 'updated_at'
|
188
|
-
@_hash['archived_at'] = 'archived_at'
|
189
|
-
@_hash['hide_date_range_on_invoice'] = 'hide_date_range_on_invoice'
|
190
|
-
@_hash['allow_fractional_quantities'] = 'allow_fractional_quantities'
|
191
|
-
@_hash['item_category'] = 'item_category'
|
192
|
-
@_hash['use_site_exchange_rate'] = 'use_site_exchange_rate'
|
193
|
-
@_hash['accounting_code'] = 'accounting_code'
|
194
|
-
@_hash['event_based_billing_metric_id'] =
|
195
|
-
'event_based_billing_metric_id'
|
196
|
-
@_hash
|
197
|
-
end
|
198
|
-
|
199
|
-
# An array for optional fields
|
200
|
-
def self.optionals
|
201
|
-
%w[
|
202
|
-
id
|
203
|
-
name
|
204
|
-
handle
|
205
|
-
pricing_scheme
|
206
|
-
unit_name
|
207
|
-
unit_price
|
208
|
-
product_family_id
|
209
|
-
product_family_name
|
210
|
-
price_per_unit_in_cents
|
211
|
-
kind
|
212
|
-
archived
|
213
|
-
taxable
|
214
|
-
description
|
215
|
-
default_price_point_id
|
216
|
-
prices
|
217
|
-
price_point_count
|
218
|
-
price_points_url
|
219
|
-
default_price_point_name
|
220
|
-
tax_code
|
221
|
-
recurring
|
222
|
-
upgrade_charge
|
223
|
-
downgrade_credit
|
224
|
-
created_at
|
225
|
-
updated_at
|
226
|
-
archived_at
|
227
|
-
hide_date_range_on_invoice
|
228
|
-
allow_fractional_quantities
|
229
|
-
item_category
|
230
|
-
use_site_exchange_rate
|
231
|
-
accounting_code
|
232
|
-
event_based_billing_metric_id
|
233
|
-
]
|
234
|
-
end
|
235
|
-
|
236
|
-
# An array for nullable fields
|
237
|
-
def self.nullables
|
238
|
-
%w[
|
239
|
-
pricing_scheme
|
240
|
-
unit_price
|
241
|
-
price_per_unit_in_cents
|
242
|
-
description
|
243
|
-
prices
|
244
|
-
tax_code
|
245
|
-
upgrade_charge
|
246
|
-
downgrade_credit
|
247
|
-
archived_at
|
248
|
-
use_site_exchange_rate
|
249
|
-
accounting_code
|
250
|
-
]
|
251
|
-
end
|
252
|
-
|
253
|
-
def initialize(id = SKIP,
|
254
|
-
name = SKIP,
|
255
|
-
handle = SKIP,
|
256
|
-
pricing_scheme = SKIP,
|
257
|
-
unit_name = SKIP,
|
258
|
-
unit_price = SKIP,
|
259
|
-
product_family_id = SKIP,
|
260
|
-
product_family_name = SKIP,
|
261
|
-
price_per_unit_in_cents = SKIP,
|
262
|
-
kind = SKIP,
|
263
|
-
archived = SKIP,
|
264
|
-
taxable = SKIP,
|
265
|
-
description = SKIP,
|
266
|
-
default_price_point_id = SKIP,
|
267
|
-
prices = SKIP,
|
268
|
-
price_point_count = SKIP,
|
269
|
-
price_points_url = SKIP,
|
270
|
-
default_price_point_name = SKIP,
|
271
|
-
tax_code = SKIP,
|
272
|
-
recurring = SKIP,
|
273
|
-
upgrade_charge = SKIP,
|
274
|
-
downgrade_credit = SKIP,
|
275
|
-
created_at = SKIP,
|
276
|
-
updated_at = SKIP,
|
277
|
-
archived_at = SKIP,
|
278
|
-
hide_date_range_on_invoice = SKIP,
|
279
|
-
allow_fractional_quantities = SKIP,
|
280
|
-
item_category = SKIP,
|
281
|
-
use_site_exchange_rate = SKIP,
|
282
|
-
accounting_code = SKIP,
|
283
|
-
event_based_billing_metric_id = SKIP)
|
284
|
-
@id = id unless id == SKIP
|
285
|
-
@name = name unless name == SKIP
|
286
|
-
@handle = handle unless handle == SKIP
|
287
|
-
@pricing_scheme = pricing_scheme unless pricing_scheme == SKIP
|
288
|
-
@unit_name = unit_name unless unit_name == SKIP
|
289
|
-
@unit_price = unit_price unless unit_price == SKIP
|
290
|
-
@product_family_id = product_family_id unless product_family_id == SKIP
|
291
|
-
@product_family_name = product_family_name unless product_family_name == SKIP
|
292
|
-
@price_per_unit_in_cents = price_per_unit_in_cents unless price_per_unit_in_cents == SKIP
|
293
|
-
@kind = kind unless kind == SKIP
|
294
|
-
@archived = archived unless archived == SKIP
|
295
|
-
@taxable = taxable unless taxable == SKIP
|
296
|
-
@description = description unless description == SKIP
|
297
|
-
@default_price_point_id = default_price_point_id unless default_price_point_id == SKIP
|
298
|
-
@prices = prices unless prices == SKIP
|
299
|
-
@price_point_count = price_point_count unless price_point_count == SKIP
|
300
|
-
@price_points_url = price_points_url unless price_points_url == SKIP
|
301
|
-
@default_price_point_name = default_price_point_name unless default_price_point_name == SKIP
|
302
|
-
@tax_code = tax_code unless tax_code == SKIP
|
303
|
-
@recurring = recurring unless recurring == SKIP
|
304
|
-
@upgrade_charge = upgrade_charge unless upgrade_charge == SKIP
|
305
|
-
@downgrade_credit = downgrade_credit unless downgrade_credit == SKIP
|
306
|
-
@created_at = created_at unless created_at == SKIP
|
307
|
-
@updated_at = updated_at unless updated_at == SKIP
|
308
|
-
@archived_at = archived_at unless archived_at == SKIP
|
309
|
-
unless hide_date_range_on_invoice == SKIP
|
310
|
-
@hide_date_range_on_invoice =
|
311
|
-
hide_date_range_on_invoice
|
312
|
-
end
|
313
|
-
unless allow_fractional_quantities == SKIP
|
314
|
-
@allow_fractional_quantities =
|
315
|
-
allow_fractional_quantities
|
316
|
-
end
|
317
|
-
@item_category = item_category unless item_category == SKIP
|
318
|
-
@use_site_exchange_rate = use_site_exchange_rate unless use_site_exchange_rate == SKIP
|
319
|
-
@accounting_code = accounting_code unless accounting_code == SKIP
|
320
|
-
unless event_based_billing_metric_id == SKIP
|
321
|
-
@event_based_billing_metric_id =
|
322
|
-
event_based_billing_metric_id
|
323
|
-
end
|
324
|
-
end
|
325
|
-
|
326
|
-
# Creates an instance of the object from a hash.
|
327
|
-
def self.from_hash(hash)
|
328
|
-
return nil unless hash
|
329
|
-
|
330
|
-
# Extract variables from the hash.
|
331
|
-
id = hash.key?('id') ? hash['id'] : SKIP
|
332
|
-
name = hash.key?('name') ? hash['name'] : SKIP
|
333
|
-
handle = hash.key?('handle') ? hash['handle'] : SKIP
|
334
|
-
pricing_scheme =
|
335
|
-
hash.key?('pricing_scheme') ? hash['pricing_scheme'] : SKIP
|
336
|
-
unit_name = hash.key?('unit_name') ? hash['unit_name'] : SKIP
|
337
|
-
unit_price = hash.key?('unit_price') ? hash['unit_price'] : SKIP
|
338
|
-
product_family_id =
|
339
|
-
hash.key?('product_family_id') ? hash['product_family_id'] : SKIP
|
340
|
-
product_family_name =
|
341
|
-
hash.key?('product_family_name') ? hash['product_family_name'] : SKIP
|
342
|
-
price_per_unit_in_cents =
|
343
|
-
hash.key?('price_per_unit_in_cents') ? hash['price_per_unit_in_cents'] : SKIP
|
344
|
-
kind = hash.key?('kind') ? hash['kind'] : SKIP
|
345
|
-
archived = hash.key?('archived') ? hash['archived'] : SKIP
|
346
|
-
taxable = hash.key?('taxable') ? hash['taxable'] : SKIP
|
347
|
-
description = hash.key?('description') ? hash['description'] : SKIP
|
348
|
-
default_price_point_id =
|
349
|
-
hash.key?('default_price_point_id') ? hash['default_price_point_id'] : SKIP
|
350
|
-
# Parameter is an array, so we need to iterate through it
|
351
|
-
prices = nil
|
352
|
-
unless hash['prices'].nil?
|
353
|
-
prices = []
|
354
|
-
hash['prices'].each do |structure|
|
355
|
-
prices << (ComponentPrice.from_hash(structure) if structure)
|
356
|
-
end
|
357
|
-
end
|
358
|
-
|
359
|
-
prices = SKIP unless hash.key?('prices')
|
360
|
-
price_point_count =
|
361
|
-
hash.key?('price_point_count') ? hash['price_point_count'] : SKIP
|
362
|
-
price_points_url =
|
363
|
-
hash.key?('price_points_url') ? hash['price_points_url'] : SKIP
|
364
|
-
default_price_point_name =
|
365
|
-
hash.key?('default_price_point_name') ? hash['default_price_point_name'] : SKIP
|
366
|
-
tax_code = hash.key?('tax_code') ? hash['tax_code'] : SKIP
|
367
|
-
recurring = hash.key?('recurring') ? hash['recurring'] : SKIP
|
368
|
-
upgrade_charge =
|
369
|
-
hash.key?('upgrade_charge') ? hash['upgrade_charge'] : SKIP
|
370
|
-
downgrade_credit =
|
371
|
-
hash.key?('downgrade_credit') ? hash['downgrade_credit'] : SKIP
|
372
|
-
created_at = hash.key?('created_at') ? hash['created_at'] : SKIP
|
373
|
-
updated_at = hash.key?('updated_at') ? hash['updated_at'] : SKIP
|
374
|
-
archived_at = hash.key?('archived_at') ? hash['archived_at'] : SKIP
|
375
|
-
hide_date_range_on_invoice =
|
376
|
-
hash.key?('hide_date_range_on_invoice') ? hash['hide_date_range_on_invoice'] : SKIP
|
377
|
-
allow_fractional_quantities =
|
378
|
-
hash.key?('allow_fractional_quantities') ? hash['allow_fractional_quantities'] : SKIP
|
379
|
-
item_category = hash.key?('item_category') ? hash['item_category'] : SKIP
|
380
|
-
use_site_exchange_rate =
|
381
|
-
hash.key?('use_site_exchange_rate') ? hash['use_site_exchange_rate'] : SKIP
|
382
|
-
accounting_code =
|
383
|
-
hash.key?('accounting_code') ? hash['accounting_code'] : SKIP
|
384
|
-
event_based_billing_metric_id =
|
385
|
-
hash.key?('event_based_billing_metric_id') ? hash['event_based_billing_metric_id'] : SKIP
|
386
|
-
|
387
|
-
# Create object from extracted values.
|
388
|
-
Component.new(id,
|
389
|
-
name,
|
390
|
-
handle,
|
391
|
-
pricing_scheme,
|
392
|
-
unit_name,
|
393
|
-
unit_price,
|
394
|
-
product_family_id,
|
395
|
-
product_family_name,
|
396
|
-
price_per_unit_in_cents,
|
397
|
-
kind,
|
398
|
-
archived,
|
399
|
-
taxable,
|
400
|
-
description,
|
401
|
-
default_price_point_id,
|
402
|
-
prices,
|
403
|
-
price_point_count,
|
404
|
-
price_points_url,
|
405
|
-
default_price_point_name,
|
406
|
-
tax_code,
|
407
|
-
recurring,
|
408
|
-
upgrade_charge,
|
409
|
-
downgrade_credit,
|
410
|
-
created_at,
|
411
|
-
updated_at,
|
412
|
-
archived_at,
|
413
|
-
hide_date_range_on_invoice,
|
414
|
-
allow_fractional_quantities,
|
415
|
-
item_category,
|
416
|
-
use_site_exchange_rate,
|
417
|
-
accounting_code,
|
418
|
-
event_based_billing_metric_id)
|
419
|
-
end
|
420
|
-
end
|
421
|
-
end
|
@@ -1,146 +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
|
-
# ComponentAllocationChange Model.
|
8
|
-
class ComponentAllocationChange < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [Integer]
|
14
|
-
attr_accessor :previous_allocation
|
15
|
-
|
16
|
-
# TODO: Write general description for this method
|
17
|
-
# @return [Integer]
|
18
|
-
attr_accessor :new_allocation
|
19
|
-
|
20
|
-
# TODO: Write general description for this method
|
21
|
-
# @return [Integer]
|
22
|
-
attr_accessor :component_id
|
23
|
-
|
24
|
-
# TODO: Write general description for this method
|
25
|
-
# @return [String]
|
26
|
-
attr_accessor :component_handle
|
27
|
-
|
28
|
-
# TODO: Write general description for this method
|
29
|
-
# @return [String]
|
30
|
-
attr_accessor :memo
|
31
|
-
|
32
|
-
# TODO: Write general description for this method
|
33
|
-
# @return [Integer]
|
34
|
-
attr_accessor :allocation_id
|
35
|
-
|
36
|
-
# TODO: Write general description for this method
|
37
|
-
# @return [Integer]
|
38
|
-
attr_accessor :allocated_quantity
|
39
|
-
|
40
|
-
# A mapping from model property names to API property names.
|
41
|
-
def self.names
|
42
|
-
@_hash = {} if @_hash.nil?
|
43
|
-
@_hash['previous_allocation'] = 'previous_allocation'
|
44
|
-
@_hash['new_allocation'] = 'new_allocation'
|
45
|
-
@_hash['component_id'] = 'component_id'
|
46
|
-
@_hash['component_handle'] = 'component_handle'
|
47
|
-
@_hash['memo'] = 'memo'
|
48
|
-
@_hash['allocation_id'] = 'allocation_id'
|
49
|
-
@_hash['allocated_quantity'] = 'allocated_quantity'
|
50
|
-
@_hash
|
51
|
-
end
|
52
|
-
|
53
|
-
# An array for optional fields
|
54
|
-
def self.optionals
|
55
|
-
%w[
|
56
|
-
allocated_quantity
|
57
|
-
]
|
58
|
-
end
|
59
|
-
|
60
|
-
# An array for nullable fields
|
61
|
-
def self.nullables
|
62
|
-
[]
|
63
|
-
end
|
64
|
-
|
65
|
-
def initialize(previous_allocation = nil,
|
66
|
-
new_allocation = nil,
|
67
|
-
component_id = nil,
|
68
|
-
component_handle = nil,
|
69
|
-
memo = nil,
|
70
|
-
allocation_id = nil,
|
71
|
-
allocated_quantity = SKIP)
|
72
|
-
@previous_allocation = previous_allocation
|
73
|
-
@new_allocation = new_allocation
|
74
|
-
@component_id = component_id
|
75
|
-
@component_handle = component_handle
|
76
|
-
@memo = memo
|
77
|
-
@allocation_id = allocation_id
|
78
|
-
@allocated_quantity = allocated_quantity unless allocated_quantity == SKIP
|
79
|
-
end
|
80
|
-
|
81
|
-
# Creates an instance of the object from a hash.
|
82
|
-
def self.from_hash(hash)
|
83
|
-
return nil unless hash
|
84
|
-
|
85
|
-
# Extract variables from the hash.
|
86
|
-
previous_allocation =
|
87
|
-
hash.key?('previous_allocation') ? hash['previous_allocation'] : nil
|
88
|
-
new_allocation =
|
89
|
-
hash.key?('new_allocation') ? hash['new_allocation'] : nil
|
90
|
-
component_id = hash.key?('component_id') ? hash['component_id'] : nil
|
91
|
-
component_handle =
|
92
|
-
hash.key?('component_handle') ? hash['component_handle'] : nil
|
93
|
-
memo = hash.key?('memo') ? hash['memo'] : nil
|
94
|
-
allocation_id = hash.key?('allocation_id') ? hash['allocation_id'] : nil
|
95
|
-
allocated_quantity =
|
96
|
-
hash.key?('allocated_quantity') ? hash['allocated_quantity'] : SKIP
|
97
|
-
|
98
|
-
# Create object from extracted values.
|
99
|
-
ComponentAllocationChange.new(previous_allocation,
|
100
|
-
new_allocation,
|
101
|
-
component_id,
|
102
|
-
component_handle,
|
103
|
-
memo,
|
104
|
-
allocation_id,
|
105
|
-
allocated_quantity)
|
106
|
-
end
|
107
|
-
|
108
|
-
# Validates an instance of the object from a given value.
|
109
|
-
# @param [ComponentAllocationChange | Hash] The value against the validation is performed.
|
110
|
-
def self.validate(value)
|
111
|
-
if value.instance_of? self
|
112
|
-
return (
|
113
|
-
APIHelper.valid_type?(value.previous_allocation,
|
114
|
-
->(val) { val.instance_of? Integer }) and
|
115
|
-
APIHelper.valid_type?(value.new_allocation,
|
116
|
-
->(val) { val.instance_of? Integer }) and
|
117
|
-
APIHelper.valid_type?(value.component_id,
|
118
|
-
->(val) { val.instance_of? Integer }) and
|
119
|
-
APIHelper.valid_type?(value.component_handle,
|
120
|
-
->(val) { val.instance_of? String }) and
|
121
|
-
APIHelper.valid_type?(value.memo,
|
122
|
-
->(val) { val.instance_of? String }) and
|
123
|
-
APIHelper.valid_type?(value.allocation_id,
|
124
|
-
->(val) { val.instance_of? Integer })
|
125
|
-
)
|
126
|
-
end
|
127
|
-
|
128
|
-
return false unless value.instance_of? Hash
|
129
|
-
|
130
|
-
(
|
131
|
-
APIHelper.valid_type?(value['previous_allocation'],
|
132
|
-
->(val) { val.instance_of? Integer }) and
|
133
|
-
APIHelper.valid_type?(value['new_allocation'],
|
134
|
-
->(val) { val.instance_of? Integer }) and
|
135
|
-
APIHelper.valid_type?(value['component_id'],
|
136
|
-
->(val) { val.instance_of? Integer }) and
|
137
|
-
APIHelper.valid_type?(value['component_handle'],
|
138
|
-
->(val) { val.instance_of? String }) and
|
139
|
-
APIHelper.valid_type?(value['memo'],
|
140
|
-
->(val) { val.instance_of? String }) and
|
141
|
-
APIHelper.valid_type?(value['allocation_id'],
|
142
|
-
->(val) { val.instance_of? Integer })
|
143
|
-
)
|
144
|
-
end
|
145
|
-
end
|
146
|
-
end
|
@@ -1,80 +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
|
-
# ComponentAllocationErrorItem Model.
|
8
|
-
class ComponentAllocationErrorItem < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# TODO: Write general description for this method
|
13
|
-
# @return [Float]
|
14
|
-
attr_accessor :component_id
|
15
|
-
|
16
|
-
# TODO: Write general description for this method
|
17
|
-
# @return [String]
|
18
|
-
attr_accessor :message
|
19
|
-
|
20
|
-
# TODO: Write general description for this method
|
21
|
-
# @return [String]
|
22
|
-
attr_accessor :kind
|
23
|
-
|
24
|
-
# TODO: Write general description for this method
|
25
|
-
# @return [String]
|
26
|
-
attr_accessor :on
|
27
|
-
|
28
|
-
# A mapping from model property names to API property names.
|
29
|
-
def self.names
|
30
|
-
@_hash = {} if @_hash.nil?
|
31
|
-
@_hash['component_id'] = 'component_id'
|
32
|
-
@_hash['message'] = 'message'
|
33
|
-
@_hash['kind'] = 'kind'
|
34
|
-
@_hash['on'] = 'on'
|
35
|
-
@_hash
|
36
|
-
end
|
37
|
-
|
38
|
-
# An array for optional fields
|
39
|
-
def self.optionals
|
40
|
-
%w[
|
41
|
-
component_id
|
42
|
-
message
|
43
|
-
kind
|
44
|
-
on
|
45
|
-
]
|
46
|
-
end
|
47
|
-
|
48
|
-
# An array for nullable fields
|
49
|
-
def self.nullables
|
50
|
-
[]
|
51
|
-
end
|
52
|
-
|
53
|
-
def initialize(component_id = SKIP,
|
54
|
-
message = SKIP,
|
55
|
-
kind = SKIP,
|
56
|
-
on = SKIP)
|
57
|
-
@component_id = component_id unless component_id == SKIP
|
58
|
-
@message = message unless message == SKIP
|
59
|
-
@kind = kind unless kind == SKIP
|
60
|
-
@on = on unless on == SKIP
|
61
|
-
end
|
62
|
-
|
63
|
-
# Creates an instance of the object from a hash.
|
64
|
-
def self.from_hash(hash)
|
65
|
-
return nil unless hash
|
66
|
-
|
67
|
-
# Extract variables from the hash.
|
68
|
-
component_id = hash.key?('component_id') ? hash['component_id'] : SKIP
|
69
|
-
message = hash.key?('message') ? hash['message'] : SKIP
|
70
|
-
kind = hash.key?('kind') ? hash['kind'] : SKIP
|
71
|
-
on = hash.key?('on') ? hash['on'] : SKIP
|
72
|
-
|
73
|
-
# Create object from extracted values.
|
74
|
-
ComponentAllocationErrorItem.new(component_id,
|
75
|
-
message,
|
76
|
-
kind,
|
77
|
-
on)
|
78
|
-
end
|
79
|
-
end
|
80
|
-
end
|