subtain-apimatic-sdk 4.1.1 → 9.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +28 -0
- data/README.md +377 -0
- data/lib/advanced_billing/api_helper.rb +10 -0
- data/lib/advanced_billing/client.rb +243 -0
- data/lib/advanced_billing/configuration.rb +158 -0
- data/lib/advanced_billing/controllers/advance_invoice_controller.rb +126 -0
- data/lib/advanced_billing/controllers/api_exports_controller.rb +268 -0
- data/lib/advanced_billing/controllers/base_controller.rb +71 -0
- data/lib/advanced_billing/controllers/billing_portal_controller.rb +165 -0
- data/lib/advanced_billing/controllers/components_controller.rb +747 -0
- data/lib/advanced_billing/controllers/coupons_controller.rb +691 -0
- data/lib/advanced_billing/controllers/custom_fields_controller.rb +465 -0
- data/lib/advanced_billing/controllers/customers_controller.rb +255 -0
- data/lib/advanced_billing/controllers/events_based_billing_segments_controller.rb +334 -0
- data/lib/advanced_billing/controllers/events_controller.rb +229 -0
- data/lib/advanced_billing/controllers/insights_controller.rb +168 -0
- data/lib/advanced_billing/controllers/invoices_controller.rb +953 -0
- data/lib/advanced_billing/controllers/offers_controller.rb +132 -0
- data/lib/advanced_billing/controllers/payment_profiles_controller.rb +732 -0
- data/lib/advanced_billing/controllers/product_families_controller.rb +187 -0
- data/lib/advanced_billing/controllers/product_price_points_controller.rb +422 -0
- data/lib/advanced_billing/controllers/products_controller.rb +220 -0
- data/lib/advanced_billing/controllers/proforma_invoices_controller.rb +381 -0
- data/lib/advanced_billing/controllers/reason_codes_controller.rb +158 -0
- data/lib/advanced_billing/controllers/referral_codes_controller.rb +42 -0
- data/lib/advanced_billing/controllers/sales_commissions_controller.rb +192 -0
- data/lib/advanced_billing/controllers/sites_controller.rb +96 -0
- data/lib/advanced_billing/controllers/subscription_components_controller.rb +992 -0
- data/lib/advanced_billing/controllers/subscription_group_invoice_account_controller.rb +163 -0
- data/lib/advanced_billing/controllers/subscription_group_status_controller.rb +157 -0
- data/lib/advanced_billing/controllers/subscription_groups_controller.rb +300 -0
- data/lib/advanced_billing/controllers/subscription_invoice_account_controller.rb +226 -0
- data/lib/advanced_billing/controllers/subscription_notes_controller.rb +159 -0
- data/lib/advanced_billing/controllers/subscription_products_controller.rb +166 -0
- data/lib/advanced_billing/controllers/subscription_status_controller.rb +473 -0
- data/lib/advanced_billing/controllers/subscriptions_controller.rb +1357 -0
- data/lib/advanced_billing/controllers/webhooks_controller.rb +210 -0
- data/lib/advanced_billing/exceptions/api_exception.rb +10 -0
- data/lib/advanced_billing/exceptions/component_allocation_error_exception.rb +41 -0
- data/lib/advanced_billing/exceptions/component_price_point_error_exception.rb +41 -0
- data/lib/advanced_billing/exceptions/customer_error_response_exception.rb +34 -0
- data/lib/advanced_billing/exceptions/error_list_response_exception.rb +32 -0
- data/lib/advanced_billing/exceptions/error_map_response_exception.rb +32 -0
- data/lib/advanced_billing/exceptions/event_based_billing_list_segments_errors_exception.rb +32 -0
- data/lib/advanced_billing/exceptions/event_based_billing_segment_errors_exception.rb +35 -0
- data/lib/advanced_billing/exceptions/event_based_billing_segment_exception.rb +32 -0
- data/lib/advanced_billing/exceptions/nested_error_response_exception.rb +32 -0
- data/lib/advanced_billing/exceptions/proforma_bad_request_error_response_exception.rb +32 -0
- data/lib/advanced_billing/exceptions/refund_prepayment_aggregated_errors_response_exception.rb +33 -0
- data/lib/advanced_billing/exceptions/refund_prepayment_base_errors_response_exception.rb +32 -0
- data/lib/advanced_billing/exceptions/single_error_response_exception.rb +32 -0
- data/lib/advanced_billing/exceptions/single_string_error_response_exception.rb +32 -0
- data/lib/advanced_billing/exceptions/subscription_add_coupon_error_exception.rb +42 -0
- data/lib/advanced_billing/exceptions/subscription_component_allocation_error_exception.rb +41 -0
- data/lib/advanced_billing/exceptions/subscription_group_signup_error_response_exception.rb +32 -0
- data/lib/advanced_billing/exceptions/subscription_group_update_error_response_exception.rb +32 -0
- data/lib/advanced_billing/exceptions/subscription_remove_coupon_errors_exception.rb +32 -0
- data/lib/advanced_billing/exceptions/subscriptions_mrr_error_response_exception.rb +32 -0
- data/lib/advanced_billing/exceptions/too_many_management_link_requests_error_exception.rb +32 -0
- data/lib/advanced_billing/http/auth/basic_auth.rb +50 -0
- data/lib/advanced_billing/http/http_call_back.rb +10 -0
- data/lib/advanced_billing/http/http_method_enum.rb +10 -0
- data/lib/advanced_billing/http/http_request.rb +10 -0
- data/lib/advanced_billing/http/http_response.rb +10 -0
- data/lib/advanced_billing/models/account_balance.rb +51 -0
- data/lib/advanced_billing/models/account_balances.rb +81 -0
- data/lib/advanced_billing/models/ach_agreement.rb +96 -0
- data/lib/advanced_billing/models/activate_subscription_request.rb +57 -0
- data/lib/advanced_billing/models/add_coupons_request.rb +50 -0
- data/lib/advanced_billing/models/add_subscription_to_a_group.rb +62 -0
- data/lib/advanced_billing/models/agreement_acceptance.rb +125 -0
- data/lib/advanced_billing/models/allocate_components.rb +130 -0
- data/lib/advanced_billing/models/allocation.rb +231 -0
- data/lib/advanced_billing/models/allocation_expiration_date.rb +50 -0
- data/lib/advanced_billing/models/allocation_payment.rb +89 -0
- data/lib/advanced_billing/models/allocation_preview.rb +190 -0
- data/lib/advanced_billing/models/allocation_preview_item.rb +187 -0
- data/lib/advanced_billing/models/allocation_preview_line_item.rb +130 -0
- data/lib/advanced_billing/models/allocation_preview_response.rb +49 -0
- data/lib/advanced_billing/models/allocation_response.rb +50 -0
- data/lib/advanced_billing/models/allocation_settings.rb +74 -0
- data/lib/advanced_billing/models/applied_credit_note.rb +69 -0
- data/lib/advanced_billing/models/apply_credit_note_event_data.rb +174 -0
- data/lib/advanced_billing/models/apply_debit_note_event_data.rb +94 -0
- data/lib/advanced_billing/models/apply_payment_event_data.rb +130 -0
- data/lib/advanced_billing/models/attribute_error.rb +48 -0
- data/lib/advanced_billing/models/auto_invite.rb +23 -0
- data/lib/advanced_billing/models/auto_resume.rb +51 -0
- data/lib/advanced_billing/models/bank_account.rb +270 -0
- data/lib/advanced_billing/models/bank_account_attributes.rb +183 -0
- data/lib/advanced_billing/models/bank_account_payment_profile.rb +285 -0
- data/lib/advanced_billing/models/bank_account_response.rb +48 -0
- data/lib/advanced_billing/models/bank_account_type.rb +23 -0
- data/lib/advanced_billing/models/bank_account_vault.rb +32 -0
- data/lib/advanced_billing/models/bank_account_verification.rb +61 -0
- data/lib/advanced_billing/models/bank_account_verification_request.rb +50 -0
- data/lib/advanced_billing/models/base_model.rb +62 -0
- data/lib/advanced_billing/models/base_refund_error.rb +50 -0
- data/lib/advanced_billing/models/base_string_error.rb +50 -0
- data/lib/advanced_billing/models/basic_date_field.rb +23 -0
- data/lib/advanced_billing/models/batch_job.rb +91 -0
- data/lib/advanced_billing/models/batch_job_response.rb +48 -0
- data/lib/advanced_billing/models/billing_address.rb +113 -0
- data/lib/advanced_billing/models/billing_manifest.rb +142 -0
- data/lib/advanced_billing/models/billing_manifest_item.rb +182 -0
- data/lib/advanced_billing/models/breakouts.rb +82 -0
- data/lib/advanced_billing/models/bulk_component_s_price_point_assignment.rb +59 -0
- data/lib/advanced_billing/models/bulk_create_product_price_points_request.rb +57 -0
- data/lib/advanced_billing/models/bulk_create_product_price_points_response.rb +59 -0
- data/lib/advanced_billing/models/bulk_create_segments.rb +59 -0
- data/lib/advanced_billing/models/bulk_update_segments.rb +59 -0
- data/lib/advanced_billing/models/bulk_update_segments_item.rb +80 -0
- data/lib/advanced_billing/models/calendar_billing.rb +78 -0
- data/lib/advanced_billing/models/cancel_grouped_subscriptions_request.rb +51 -0
- data/lib/advanced_billing/models/cancellation_method.rb +30 -0
- data/lib/advanced_billing/models/cancellation_options.rb +62 -0
- data/lib/advanced_billing/models/cancellation_request.rb +48 -0
- data/lib/advanced_billing/models/card_type.rb +56 -0
- data/lib/advanced_billing/models/card_type1.rb +116 -0
- data/lib/advanced_billing/models/change_invoice_collection_method_event_data.rb +71 -0
- data/lib/advanced_billing/models/chargify_ebb.rb +113 -0
- data/lib/advanced_billing/models/cleanup_scope.rb +26 -0
- data/lib/advanced_billing/models/component.rb +405 -0
- data/lib/advanced_billing/models/component_allocation_change.rb +142 -0
- data/lib/advanced_billing/models/component_allocation_error_item.rb +77 -0
- data/lib/advanced_billing/models/component_cost_data.rb +135 -0
- data/lib/advanced_billing/models/component_cost_data_rate_tier.rb +101 -0
- data/lib/advanced_billing/models/component_custom_price.rb +81 -0
- data/lib/advanced_billing/models/component_kind.rb +32 -0
- data/lib/advanced_billing/models/component_kind_path.rb +32 -0
- data/lib/advanced_billing/models/component_price.rb +123 -0
- data/lib/advanced_billing/models/component_price_point.rb +192 -0
- data/lib/advanced_billing/models/component_price_point_error_item.rb +68 -0
- data/lib/advanced_billing/models/component_price_point_item.rb +98 -0
- data/lib/advanced_billing/models/component_price_point_price.rb +123 -0
- data/lib/advanced_billing/models/component_price_point_response.rb +48 -0
- data/lib/advanced_billing/models/component_price_points_response.rb +59 -0
- data/lib/advanced_billing/models/component_response.rb +48 -0
- data/lib/advanced_billing/models/component_s_price_point_assignment.rb +71 -0
- data/lib/advanced_billing/models/compounding_strategy.rb +23 -0
- data/lib/advanced_billing/models/consolidated_invoice.rb +59 -0
- data/lib/advanced_billing/models/count_response.rb +50 -0
- data/lib/advanced_billing/models/coupon.rb +367 -0
- data/lib/advanced_billing/models/coupon_currency.rb +77 -0
- data/lib/advanced_billing/models/coupon_currency_request.rb +57 -0
- data/lib/advanced_billing/models/coupon_response.rb +50 -0
- data/lib/advanced_billing/models/coupon_restriction.rb +99 -0
- data/lib/advanced_billing/models/coupon_subcodes.rb +50 -0
- data/lib/advanced_billing/models/coupon_subcodes_response.rb +70 -0
- data/lib/advanced_billing/models/coupon_usage.rb +114 -0
- data/lib/advanced_billing/models/create_allocation.rb +162 -0
- data/lib/advanced_billing/models/create_allocation_request.rb +48 -0
- data/lib/advanced_billing/models/create_component_price_point.rb +125 -0
- data/lib/advanced_billing/models/create_component_price_point_request.rb +64 -0
- data/lib/advanced_billing/models/create_component_price_points_request.rb +64 -0
- data/lib/advanced_billing/models/create_currency_price.rb +68 -0
- data/lib/advanced_billing/models/create_currency_prices_request.rb +57 -0
- data/lib/advanced_billing/models/create_customer.rb +209 -0
- data/lib/advanced_billing/models/create_customer_request.rb +48 -0
- data/lib/advanced_billing/models/create_ebb_component.rb +65 -0
- data/lib/advanced_billing/models/create_invoice.rb +163 -0
- data/lib/advanced_billing/models/create_invoice_address.rb +124 -0
- data/lib/advanced_billing/models/create_invoice_coupon.rb +115 -0
- data/lib/advanced_billing/models/create_invoice_item.rb +185 -0
- data/lib/advanced_billing/models/create_invoice_payment.rb +90 -0
- data/lib/advanced_billing/models/create_invoice_payment_application.rb +79 -0
- data/lib/advanced_billing/models/create_invoice_payment_request.rb +58 -0
- data/lib/advanced_billing/models/create_invoice_request.rb +48 -0
- data/lib/advanced_billing/models/create_metadata.rb +59 -0
- data/lib/advanced_billing/models/create_metadata_request.rb +57 -0
- data/lib/advanced_billing/models/create_metafield.rb +103 -0
- data/lib/advanced_billing/models/create_metafields_request.rb +64 -0
- data/lib/advanced_billing/models/create_metered_component.rb +65 -0
- data/lib/advanced_billing/models/create_multi_invoice_payment.rb +134 -0
- data/lib/advanced_billing/models/create_multi_invoice_payment_request.rb +48 -0
- data/lib/advanced_billing/models/create_offer.rb +116 -0
- data/lib/advanced_billing/models/create_offer_component.rb +60 -0
- data/lib/advanced_billing/models/create_offer_request.rb +48 -0
- data/lib/advanced_billing/models/create_on_off_component.rb +65 -0
- data/lib/advanced_billing/models/create_or_update_coupon.rb +85 -0
- data/lib/advanced_billing/models/create_or_update_flat_amount_coupon.rb +214 -0
- data/lib/advanced_billing/models/create_or_update_percentage_coupon.rb +215 -0
- data/lib/advanced_billing/models/create_or_update_product.rb +133 -0
- data/lib/advanced_billing/models/create_or_update_product_request.rb +48 -0
- data/lib/advanced_billing/models/create_or_update_segment_price.rb +87 -0
- data/lib/advanced_billing/models/create_payment.rb +75 -0
- data/lib/advanced_billing/models/create_payment_profile.rb +416 -0
- data/lib/advanced_billing/models/create_payment_profile_request.rb +49 -0
- data/lib/advanced_billing/models/create_payment_profile_response.rb +49 -0
- data/lib/advanced_billing/models/create_prepaid_component.rb +65 -0
- data/lib/advanced_billing/models/create_prepaid_usage_component_price_point.rb +194 -0
- data/lib/advanced_billing/models/create_prepayment.rb +90 -0
- data/lib/advanced_billing/models/create_prepayment_request.rb +48 -0
- data/lib/advanced_billing/models/create_prepayment_response.rb +48 -0
- data/lib/advanced_billing/models/create_product_currency_price.rb +64 -0
- data/lib/advanced_billing/models/create_product_currency_prices_request.rb +57 -0
- data/lib/advanced_billing/models/create_product_family.rb +61 -0
- data/lib/advanced_billing/models/create_product_family_request.rb +49 -0
- data/lib/advanced_billing/models/create_product_price_point.rb +182 -0
- data/lib/advanced_billing/models/create_product_price_point_request.rb +48 -0
- data/lib/advanced_billing/models/create_quantity_based_component.rb +66 -0
- data/lib/advanced_billing/models/create_reason_code.rb +66 -0
- data/lib/advanced_billing/models/create_reason_code_request.rb +48 -0
- data/lib/advanced_billing/models/create_segment.rb +143 -0
- data/lib/advanced_billing/models/create_segment_request.rb +48 -0
- data/lib/advanced_billing/models/create_subscription.rb +694 -0
- data/lib/advanced_billing/models/create_subscription_component.rb +122 -0
- data/lib/advanced_billing/models/create_subscription_group.rb +74 -0
- data/lib/advanced_billing/models/create_subscription_group_request.rb +49 -0
- data/lib/advanced_billing/models/create_subscription_request.rb +48 -0
- data/lib/advanced_billing/models/create_usage.rb +72 -0
- data/lib/advanced_billing/models/create_usage_request.rb +48 -0
- data/lib/advanced_billing/models/created_payment_profile.rb +327 -0
- data/lib/advanced_billing/models/created_prepayment.rb +114 -0
- data/lib/advanced_billing/models/credit_account_balance_changed.rb +120 -0
- data/lib/advanced_billing/models/credit_card_attributes.rb +81 -0
- data/lib/advanced_billing/models/credit_card_payment_profile.rb +277 -0
- data/lib/advanced_billing/models/credit_note.rb +403 -0
- data/lib/advanced_billing/models/credit_note1.rb +405 -0
- data/lib/advanced_billing/models/credit_note_application.rb +99 -0
- data/lib/advanced_billing/models/credit_note_line_item.rb +246 -0
- data/lib/advanced_billing/models/credit_scheme.rb +26 -0
- data/lib/advanced_billing/models/credit_scheme_request.rb +48 -0
- data/lib/advanced_billing/models/credit_type.rb +27 -0
- data/lib/advanced_billing/models/credit_type1.rb +28 -0
- data/lib/advanced_billing/models/currency_price.rb +99 -0
- data/lib/advanced_billing/models/currency_price_role.rb +26 -0
- data/lib/advanced_billing/models/current_vault.rb +99 -0
- data/lib/advanced_billing/models/custom_field_value_change.rb +144 -0
- data/lib/advanced_billing/models/custom_price_used_for_subscription_create_update.rb +197 -0
- data/lib/advanced_billing/models/customer.rb +352 -0
- data/lib/advanced_billing/models/customer1.rb +120 -0
- data/lib/advanced_billing/models/customer_attributes.rb +241 -0
- data/lib/advanced_billing/models/customer_billing_address_change.rb +59 -0
- data/lib/advanced_billing/models/customer_change.rb +81 -0
- data/lib/advanced_billing/models/customer_changes_preview_response.rb +48 -0
- data/lib/advanced_billing/models/customer_custom_fields_change.rb +77 -0
- data/lib/advanced_billing/models/customer_error.rb +60 -0
- data/lib/advanced_billing/models/customer_payer_change.rb +59 -0
- data/lib/advanced_billing/models/customer_response.rb +48 -0
- data/lib/advanced_billing/models/customer_shipping_address_change.rb +59 -0
- data/lib/advanced_billing/models/deduct_service_credit.rb +80 -0
- data/lib/advanced_billing/models/deduct_service_credit_request.rb +48 -0
- data/lib/advanced_billing/models/delayed_cancellation_response.rb +50 -0
- data/lib/advanced_billing/models/delete_subscription_group_response.rb +59 -0
- data/lib/advanced_billing/models/direction.rb +23 -0
- data/lib/advanced_billing/models/discount_type.rb +23 -0
- data/lib/advanced_billing/models/dunner_data.rb +131 -0
- data/lib/advanced_billing/models/dunning_step_data.rb +149 -0
- data/lib/advanced_billing/models/dunning_step_reached.rb +96 -0
- data/lib/advanced_billing/models/ebb_component.rb +271 -0
- data/lib/advanced_billing/models/ebb_event.rb +50 -0
- data/lib/advanced_billing/models/enable_webhooks_request.rb +49 -0
- data/lib/advanced_billing/models/enable_webhooks_response.rb +51 -0
- data/lib/advanced_billing/models/endpoint.rb +88 -0
- data/lib/advanced_billing/models/endpoint_response.rb +50 -0
- data/lib/advanced_billing/models/errors.rb +59 -0
- data/lib/advanced_billing/models/event.rb +145 -0
- data/lib/advanced_billing/models/event_based_billing_segment_error.rb +51 -0
- data/lib/advanced_billing/models/event_response.rb +48 -0
- data/lib/advanced_billing/models/event_type.rb +121 -0
- data/lib/advanced_billing/models/extended_interval_unit.rb +26 -0
- data/lib/advanced_billing/models/failed_payment_action.rb +37 -0
- data/lib/advanced_billing/models/first_charge_type.rb +26 -0
- data/lib/advanced_billing/models/full_subscription_group_response.rb +165 -0
- data/lib/advanced_billing/models/get_one_time_token_payment_profile.rb +249 -0
- data/lib/advanced_billing/models/get_one_time_token_request.rb +49 -0
- data/lib/advanced_billing/models/group_billing.rb +85 -0
- data/lib/advanced_billing/models/group_settings.rb +76 -0
- data/lib/advanced_billing/models/group_target.rb +75 -0
- data/lib/advanced_billing/models/group_target_type.rb +32 -0
- data/lib/advanced_billing/models/holder_type.rb +23 -0
- data/lib/advanced_billing/models/include_not_null.rb +20 -0
- data/lib/advanced_billing/models/include_option.rb +23 -0
- data/lib/advanced_billing/models/interval_unit.rb +23 -0
- data/lib/advanced_billing/models/invoice.rb +712 -0
- data/lib/advanced_billing/models/invoice_address.rb +113 -0
- data/lib/advanced_billing/models/invoice_balance_item.rb +79 -0
- data/lib/advanced_billing/models/invoice_consolidation_level.rb +34 -0
- data/lib/advanced_billing/models/invoice_credit.rb +121 -0
- data/lib/advanced_billing/models/invoice_custom_field.rb +88 -0
- data/lib/advanced_billing/models/invoice_customer.rb +121 -0
- data/lib/advanced_billing/models/invoice_date_field.rb +32 -0
- data/lib/advanced_billing/models/invoice_discount.rb +177 -0
- data/lib/advanced_billing/models/invoice_discount_breakout.rb +80 -0
- data/lib/advanced_billing/models/invoice_display_settings.rb +75 -0
- data/lib/advanced_billing/models/invoice_event.rb +102 -0
- data/lib/advanced_billing/models/invoice_event1.rb +374 -0
- data/lib/advanced_billing/models/invoice_event_type.rb +50 -0
- data/lib/advanced_billing/models/invoice_issued.rb +252 -0
- data/lib/advanced_billing/models/invoice_line_item.rb +321 -0
- data/lib/advanced_billing/models/invoice_line_item_component_cost_data.rb +69 -0
- data/lib/advanced_billing/models/invoice_line_item_event_data.rb +262 -0
- data/lib/advanced_billing/models/invoice_line_item_pricing_detail.rb +69 -0
- data/lib/advanced_billing/models/invoice_payer.rb +109 -0
- data/lib/advanced_billing/models/invoice_payment.rb +155 -0
- data/lib/advanced_billing/models/invoice_payment_application.rb +73 -0
- data/lib/advanced_billing/models/invoice_payment_method.rb +129 -0
- data/lib/advanced_billing/models/invoice_payment_method_type.rb +35 -0
- data/lib/advanced_billing/models/invoice_payment_type.rb +29 -0
- data/lib/advanced_billing/models/invoice_previous_balance.rb +78 -0
- data/lib/advanced_billing/models/invoice_refund.rb +113 -0
- data/lib/advanced_billing/models/invoice_response.rb +48 -0
- data/lib/advanced_billing/models/invoice_seller.rb +90 -0
- data/lib/advanced_billing/models/invoice_sort_field.rb +41 -0
- data/lib/advanced_billing/models/invoice_tax.rb +176 -0
- data/lib/advanced_billing/models/invoice_tax_breakout.rb +79 -0
- data/lib/advanced_billing/models/invoice_tax_component_breakout.rb +89 -0
- data/lib/advanced_billing/models/issue_advance_invoice_request.rb +50 -0
- data/lib/advanced_billing/models/issue_invoice_event_data.rb +115 -0
- data/lib/advanced_billing/models/issue_invoice_request.rb +63 -0
- data/lib/advanced_billing/models/issue_service_credit.rb +80 -0
- data/lib/advanced_billing/models/issue_service_credit_request.rb +49 -0
- data/lib/advanced_billing/models/item_category.rb +33 -0
- data/lib/advanced_billing/models/item_price_point_changed.rb +134 -0
- data/lib/advanced_billing/models/item_price_point_data.rb +78 -0
- data/lib/advanced_billing/models/list_components_price_points_include.rb +20 -0
- data/lib/advanced_billing/models/list_components_price_points_response.rb +57 -0
- data/lib/advanced_billing/models/list_credit_notes_response.rb +57 -0
- data/lib/advanced_billing/models/list_events_date_field.rb +20 -0
- data/lib/advanced_billing/models/list_invoice_events_response.rb +87 -0
- data/lib/advanced_billing/models/list_invoices_response.rb +57 -0
- data/lib/advanced_billing/models/list_metafields_response.rb +96 -0
- data/lib/advanced_billing/models/list_mrr_response.rb +48 -0
- data/lib/advanced_billing/models/list_mrr_response_result.rb +116 -0
- data/lib/advanced_billing/models/list_offers_response.rb +59 -0
- data/lib/advanced_billing/models/list_payment_profile_item.rb +274 -0
- data/lib/advanced_billing/models/list_payment_profiles_response.rb +51 -0
- data/lib/advanced_billing/models/list_product_price_points_response.rb +57 -0
- data/lib/advanced_billing/models/list_products_include.rb +20 -0
- data/lib/advanced_billing/models/list_products_price_points_include.rb +20 -0
- data/lib/advanced_billing/models/list_public_keys_meta.rb +78 -0
- data/lib/advanced_billing/models/list_public_keys_response.rb +68 -0
- data/lib/advanced_billing/models/list_sale_rep_item.rb +90 -0
- data/lib/advanced_billing/models/list_segments_response.rb +59 -0
- data/lib/advanced_billing/models/list_subcription_group_prepayment_item.rb +137 -0
- data/lib/advanced_billing/models/list_subscription_components_include.rb +20 -0
- data/lib/advanced_billing/models/list_subscription_components_response.rb +57 -0
- data/lib/advanced_billing/models/list_subscription_components_sort.rb +23 -0
- data/lib/advanced_billing/models/list_subscription_group_prepayment.rb +49 -0
- data/lib/advanced_billing/models/list_subscription_group_prepayment_date_field.rb +23 -0
- data/lib/advanced_billing/models/list_subscription_group_prepayment_response.rb +57 -0
- data/lib/advanced_billing/models/list_subscription_groups_item.rb +141 -0
- data/lib/advanced_billing/models/list_subscription_groups_meta.rb +59 -0
- data/lib/advanced_billing/models/list_subscription_groups_response.rb +68 -0
- data/lib/advanced_billing/models/metadata.rb +98 -0
- data/lib/advanced_billing/models/metafield.rb +112 -0
- data/lib/advanced_billing/models/metafield_input.rb +32 -0
- data/lib/advanced_billing/models/metafield_scope.rb +119 -0
- data/lib/advanced_billing/models/metafields.rb +103 -0
- data/lib/advanced_billing/models/metafields1.rb +103 -0
- data/lib/advanced_billing/models/metered_component.rb +294 -0
- data/lib/advanced_billing/models/metered_usage.rb +132 -0
- data/lib/advanced_billing/models/movement.rb +138 -0
- data/lib/advanced_billing/models/movement_line_item.rb +143 -0
- data/lib/advanced_billing/models/mrr.rb +100 -0
- data/lib/advanced_billing/models/mrr_movement.rb +79 -0
- data/lib/advanced_billing/models/mrr_response.rb +48 -0
- data/lib/advanced_billing/models/multi_invoice_payment.rb +90 -0
- data/lib/advanced_billing/models/multi_invoice_payment_response.rb +48 -0
- data/lib/advanced_billing/models/net_terms.rb +94 -0
- data/lib/advanced_billing/models/offer.rb +254 -0
- data/lib/advanced_billing/models/offer_discount.rb +68 -0
- data/lib/advanced_billing/models/offer_item.rb +130 -0
- data/lib/advanced_billing/models/offer_response.rb +50 -0
- data/lib/advanced_billing/models/offer_signup_page.rb +96 -0
- data/lib/advanced_billing/models/on_off_component.rb +291 -0
- data/lib/advanced_billing/models/organization_address.rb +123 -0
- data/lib/advanced_billing/models/origin_invoice.rb +69 -0
- data/lib/advanced_billing/models/overage_pricing.rb +87 -0
- data/lib/advanced_billing/models/override_subscription.rb +100 -0
- data/lib/advanced_billing/models/override_subscription_request.rb +48 -0
- data/lib/advanced_billing/models/paginated_metadata.rb +96 -0
- data/lib/advanced_billing/models/pause_request.rb +50 -0
- data/lib/advanced_billing/models/payer_attributes.rb +221 -0
- data/lib/advanced_billing/models/payer_error.rb +68 -0
- data/lib/advanced_billing/models/payment.rb +80 -0
- data/lib/advanced_billing/models/payment_collection_method.rb +32 -0
- data/lib/advanced_billing/models/payment_collection_method1.rb +30 -0
- data/lib/advanced_billing/models/payment_collection_method_changed.rb +79 -0
- data/lib/advanced_billing/models/payment_method_apple_pay_type.rb +60 -0
- data/lib/advanced_billing/models/payment_method_bank_account_type.rb +81 -0
- data/lib/advanced_billing/models/payment_method_credit_card_type.rb +101 -0
- data/lib/advanced_billing/models/payment_method_external_type.rb +87 -0
- data/lib/advanced_billing/models/payment_method_nested_data.rb +150 -0
- data/lib/advanced_billing/models/payment_method_paypal_type.rb +69 -0
- data/lib/advanced_billing/models/payment_profile.rb +287 -0
- data/lib/advanced_billing/models/payment_profile_attributes.rb +356 -0
- data/lib/advanced_billing/models/payment_profile_response.rb +49 -0
- data/lib/advanced_billing/models/payment_related_events.rb +79 -0
- data/lib/advanced_billing/models/payment_response.rb +68 -0
- data/lib/advanced_billing/models/payment_type.rb +26 -0
- data/lib/advanced_billing/models/pending_cancellation_change.rb +79 -0
- data/lib/advanced_billing/models/portal_management_link.rb +101 -0
- data/lib/advanced_billing/models/pre_payment.rb +74 -0
- data/lib/advanced_billing/models/prepaid_component_price_point.rb +108 -0
- data/lib/advanced_billing/models/prepaid_configuration.rb +103 -0
- data/lib/advanced_billing/models/prepaid_configuration_response.rb +49 -0
- data/lib/advanced_billing/models/prepaid_subscription_balance_changed.rb +110 -0
- data/lib/advanced_billing/models/prepaid_usage.rb +199 -0
- data/lib/advanced_billing/models/prepaid_usage_allocation_detail.rb +80 -0
- data/lib/advanced_billing/models/prepaid_usage_component.rb +350 -0
- data/lib/advanced_billing/models/prepayment1.rb +131 -0
- data/lib/advanced_billing/models/prepayment_account_balance_changed.rb +108 -0
- data/lib/advanced_billing/models/prepayment_aggregated_error.rb +69 -0
- data/lib/advanced_billing/models/prepayment_method.rb +41 -0
- data/lib/advanced_billing/models/prepayment_response.rb +48 -0
- data/lib/advanced_billing/models/prepayments_response.rb +59 -0
- data/lib/advanced_billing/models/preview_allocations_request.rb +69 -0
- data/lib/advanced_billing/models/price.rb +98 -0
- data/lib/advanced_billing/models/price_point.rb +172 -0
- data/lib/advanced_billing/models/price_point_type.rb +30 -0
- data/lib/advanced_billing/models/pricing_scheme.rb +31 -0
- data/lib/advanced_billing/models/product.rb +506 -0
- data/lib/advanced_billing/models/product_family.rb +120 -0
- data/lib/advanced_billing/models/product_family_response.rb +50 -0
- data/lib/advanced_billing/models/product_price_point.rb +289 -0
- data/lib/advanced_billing/models/product_price_point_currency_price.rb +99 -0
- data/lib/advanced_billing/models/product_price_point_response.rb +48 -0
- data/lib/advanced_billing/models/product_response.rb +48 -0
- data/lib/advanced_billing/models/proforma_custom_field.rb +87 -0
- data/lib/advanced_billing/models/proforma_error.rb +51 -0
- data/lib/advanced_billing/models/proforma_invoice.rb +463 -0
- data/lib/advanced_billing/models/proforma_invoice_credit.rb +80 -0
- data/lib/advanced_billing/models/proforma_invoice_discount.rb +108 -0
- data/lib/advanced_billing/models/proforma_invoice_discount_breakout.rb +61 -0
- data/lib/advanced_billing/models/proforma_invoice_issued.rb +202 -0
- data/lib/advanced_billing/models/proforma_invoice_payment.rb +80 -0
- data/lib/advanced_billing/models/proforma_invoice_preview.rb +463 -0
- data/lib/advanced_billing/models/proforma_invoice_tax.rb +116 -0
- data/lib/advanced_billing/models/proforma_invoice_tax_breakout.rb +60 -0
- data/lib/advanced_billing/models/proration.rb +52 -0
- data/lib/advanced_billing/models/public_key.rb +70 -0
- data/lib/advanced_billing/models/public_signup_page.rb +92 -0
- data/lib/advanced_billing/models/quantity_based_component.rb +303 -0
- data/lib/advanced_billing/models/reactivate_subscription_group_request.rb +60 -0
- data/lib/advanced_billing/models/reactivate_subscription_group_response.rb +130 -0
- data/lib/advanced_billing/models/reactivate_subscription_request.rb +122 -0
- data/lib/advanced_billing/models/reactivation_billing.rb +66 -0
- data/lib/advanced_billing/models/reactivation_charge.rb +30 -0
- data/lib/advanced_billing/models/read_payment_profile_response.rb +64 -0
- data/lib/advanced_billing/models/reason_code.rb +105 -0
- data/lib/advanced_billing/models/reason_code_response.rb +48 -0
- data/lib/advanced_billing/models/reason_codes_json_response.rb +50 -0
- data/lib/advanced_billing/models/record_payment_request.rb +48 -0
- data/lib/advanced_billing/models/recurring_scheme.rb +26 -0
- data/lib/advanced_billing/models/referral_code.rb +79 -0
- data/lib/advanced_billing/models/referral_validation_response.rb +50 -0
- data/lib/advanced_billing/models/refund.rb +124 -0
- data/lib/advanced_billing/models/refund_consolidated_invoice.rb +125 -0
- data/lib/advanced_billing/models/refund_invoice.rb +124 -0
- data/lib/advanced_billing/models/refund_invoice_event_data.rb +171 -0
- data/lib/advanced_billing/models/refund_invoice_request.rb +64 -0
- data/lib/advanced_billing/models/refund_prepayment.rb +106 -0
- data/lib/advanced_billing/models/refund_prepayment_aggregated_error.rb +50 -0
- data/lib/advanced_billing/models/refund_prepayment_base_refund_error.rb +50 -0
- data/lib/advanced_billing/models/refund_prepayment_request.rb +48 -0
- data/lib/advanced_billing/models/refund_success.rb +92 -0
- data/lib/advanced_billing/models/remove_payment_event_data.rb +131 -0
- data/lib/advanced_billing/models/renewal_preview.rb +157 -0
- data/lib/advanced_billing/models/renewal_preview_component.rb +91 -0
- data/lib/advanced_billing/models/renewal_preview_line_item.rb +161 -0
- data/lib/advanced_billing/models/renewal_preview_request.rb +62 -0
- data/lib/advanced_billing/models/renewal_preview_response.rb +49 -0
- data/lib/advanced_billing/models/replay_webhooks_request.rb +48 -0
- data/lib/advanced_billing/models/replay_webhooks_response.rb +50 -0
- data/lib/advanced_billing/models/resent_invitation.rb +81 -0
- data/lib/advanced_billing/models/resource_type.rb +23 -0
- data/lib/advanced_billing/models/restriction_type.rb +23 -0
- data/lib/advanced_billing/models/resume_options.rb +75 -0
- data/lib/advanced_billing/models/resumption_charge.rb +27 -0
- data/lib/advanced_billing/models/revoked_invitation.rb +71 -0
- data/lib/advanced_billing/models/sale_rep.rb +97 -0
- data/lib/advanced_billing/models/sale_rep_item_mrr.rb +68 -0
- data/lib/advanced_billing/models/sale_rep_settings.rb +109 -0
- data/lib/advanced_billing/models/sale_rep_subscription.rb +137 -0
- data/lib/advanced_billing/models/segment.rb +189 -0
- data/lib/advanced_billing/models/segment_price.rb +132 -0
- data/lib/advanced_billing/models/segment_response.rb +50 -0
- data/lib/advanced_billing/models/seller.rb +89 -0
- data/lib/advanced_billing/models/send_invoice_request.rb +72 -0
- data/lib/advanced_billing/models/service_credit.rb +90 -0
- data/lib/advanced_billing/models/service_credit_response.rb +48 -0
- data/lib/advanced_billing/models/service_credit_type.rb +23 -0
- data/lib/advanced_billing/models/shipping_address.rb +113 -0
- data/lib/advanced_billing/models/signup_proforma_preview.rb +62 -0
- data/lib/advanced_billing/models/signup_proforma_preview_response.rb +50 -0
- data/lib/advanced_billing/models/site.rb +212 -0
- data/lib/advanced_billing/models/site_response.rb +48 -0
- data/lib/advanced_billing/models/site_statistics.rb +171 -0
- data/lib/advanced_billing/models/site_summary.rb +87 -0
- data/lib/advanced_billing/models/snap_day.rb +21 -0
- data/lib/advanced_billing/models/sorting_direction.rb +23 -0
- data/lib/advanced_billing/models/status.rb +37 -0
- data/lib/advanced_billing/models/status1.rb +23 -0
- data/lib/advanced_billing/models/subscription.rb +776 -0
- data/lib/advanced_billing/models/subscription_bank_account.rb +281 -0
- data/lib/advanced_billing/models/subscription_component.rb +400 -0
- data/lib/advanced_billing/models/subscription_component_allocation_error_item.rb +59 -0
- data/lib/advanced_billing/models/subscription_component_response.rb +50 -0
- data/lib/advanced_billing/models/subscription_component_subscription.rb +70 -0
- data/lib/advanced_billing/models/subscription_date_field.rb +44 -0
- data/lib/advanced_billing/models/subscription_group.rb +94 -0
- data/lib/advanced_billing/models/subscription_group_balances.rb +80 -0
- data/lib/advanced_billing/models/subscription_group_bank_account.rb +228 -0
- data/lib/advanced_billing/models/subscription_group_component_custom_price.rb +105 -0
- data/lib/advanced_billing/models/subscription_group_credit_card.rb +266 -0
- data/lib/advanced_billing/models/subscription_group_customer.rb +87 -0
- data/lib/advanced_billing/models/subscription_group_inlined.rb +92 -0
- data/lib/advanced_billing/models/subscription_group_item.rb +147 -0
- data/lib/advanced_billing/models/subscription_group_member_error.rb +68 -0
- data/lib/advanced_billing/models/subscription_group_payment_profile.rb +79 -0
- data/lib/advanced_billing/models/subscription_group_prepayment.rb +72 -0
- data/lib/advanced_billing/models/subscription_group_prepayment_method.rb +35 -0
- data/lib/advanced_billing/models/subscription_group_prepayment_request.rb +48 -0
- data/lib/advanced_billing/models/subscription_group_prepayment_response.rb +90 -0
- data/lib/advanced_billing/models/subscription_group_response.rb +49 -0
- data/lib/advanced_billing/models/subscription_group_signup.rb +153 -0
- data/lib/advanced_billing/models/subscription_group_signup_component.rb +108 -0
- data/lib/advanced_billing/models/subscription_group_signup_error.rb +109 -0
- data/lib/advanced_billing/models/subscription_group_signup_failure.rb +84 -0
- data/lib/advanced_billing/models/subscription_group_signup_failure_data.rb +146 -0
- data/lib/advanced_billing/models/subscription_group_signup_item.rb +200 -0
- data/lib/advanced_billing/models/subscription_group_signup_request.rb +49 -0
- data/lib/advanced_billing/models/subscription_group_signup_response.rb +167 -0
- data/lib/advanced_billing/models/subscription_group_signup_success.rb +84 -0
- data/lib/advanced_billing/models/subscription_group_signup_success_data.rb +170 -0
- data/lib/advanced_billing/models/subscription_group_subscription_error.rb +86 -0
- data/lib/advanced_billing/models/subscription_group_update_error.rb +59 -0
- data/lib/advanced_billing/models/subscription_include.rb +23 -0
- data/lib/advanced_billing/models/subscription_included_coupon.rb +121 -0
- data/lib/advanced_billing/models/subscription_list_date_field.rb +20 -0
- data/lib/advanced_billing/models/subscription_migration_preview.rb +88 -0
- data/lib/advanced_billing/models/subscription_migration_preview_options.rb +158 -0
- data/lib/advanced_billing/models/subscription_migration_preview_request.rb +49 -0
- data/lib/advanced_billing/models/subscription_migration_preview_response.rb +48 -0
- data/lib/advanced_billing/models/subscription_mrr.rb +69 -0
- data/lib/advanced_billing/models/subscription_mrr_breakout.rb +58 -0
- data/lib/advanced_billing/models/subscription_mrr_response.rb +57 -0
- data/lib/advanced_billing/models/subscription_note.rb +97 -0
- data/lib/advanced_billing/models/subscription_note_response.rb +48 -0
- data/lib/advanced_billing/models/subscription_preview.rb +62 -0
- data/lib/advanced_billing/models/subscription_preview_response.rb +49 -0
- data/lib/advanced_billing/models/subscription_product_change.rb +80 -0
- data/lib/advanced_billing/models/subscription_product_migration.rb +148 -0
- data/lib/advanced_billing/models/subscription_product_migration_request.rb +48 -0
- data/lib/advanced_billing/models/subscription_purge_type.rb +23 -0
- data/lib/advanced_billing/models/subscription_response.rb +50 -0
- data/lib/advanced_billing/models/subscription_sort.rb +35 -0
- data/lib/advanced_billing/models/subscription_state.rb +53 -0
- data/lib/advanced_billing/models/subscription_state_change.rb +81 -0
- data/lib/advanced_billing/models/tax_configuration.rb +73 -0
- data/lib/advanced_billing/models/tax_configuration_kind.rb +29 -0
- data/lib/advanced_billing/models/tax_destination_address.rb +29 -0
- data/lib/advanced_billing/models/too_many_management_link_requests.rb +63 -0
- data/lib/advanced_billing/models/update_allocation_expiration_date.rb +50 -0
- data/lib/advanced_billing/models/update_component.rb +137 -0
- data/lib/advanced_billing/models/update_component_price_point.rb +68 -0
- data/lib/advanced_billing/models/update_component_price_point_request.rb +51 -0
- data/lib/advanced_billing/models/update_component_request.rb +48 -0
- data/lib/advanced_billing/models/update_coupon_currency.rb +56 -0
- data/lib/advanced_billing/models/update_currency_price.rb +56 -0
- data/lib/advanced_billing/models/update_currency_prices_request.rb +57 -0
- data/lib/advanced_billing/models/update_customer.rb +211 -0
- data/lib/advanced_billing/models/update_customer_request.rb +48 -0
- data/lib/advanced_billing/models/update_endpoint.rb +57 -0
- data/lib/advanced_billing/models/update_endpoint_request.rb +48 -0
- data/lib/advanced_billing/models/update_metadata.rb +68 -0
- data/lib/advanced_billing/models/update_metadata_request.rb +50 -0
- data/lib/advanced_billing/models/update_metafield.rb +103 -0
- data/lib/advanced_billing/models/update_metafields_request.rb +62 -0
- data/lib/advanced_billing/models/update_payment_profile.rb +187 -0
- data/lib/advanced_billing/models/update_payment_profile_request.rb +49 -0
- data/lib/advanced_billing/models/update_payment_profile_response.rb +49 -0
- data/lib/advanced_billing/models/update_price.rb +89 -0
- data/lib/advanced_billing/models/update_product_price_point.rb +60 -0
- data/lib/advanced_billing/models/update_product_price_point_request.rb +48 -0
- data/lib/advanced_billing/models/update_reason_code.rb +68 -0
- data/lib/advanced_billing/models/update_reason_code_request.rb +48 -0
- data/lib/advanced_billing/models/update_segment.rb +74 -0
- data/lib/advanced_billing/models/update_segment_request.rb +48 -0
- data/lib/advanced_billing/models/update_subscription.rb +270 -0
- data/lib/advanced_billing/models/update_subscription_component.rb +70 -0
- data/lib/advanced_billing/models/update_subscription_group.rb +50 -0
- data/lib/advanced_billing/models/update_subscription_group_request.rb +49 -0
- data/lib/advanced_billing/models/update_subscription_note.rb +56 -0
- data/lib/advanced_billing/models/update_subscription_note_request.rb +48 -0
- data/lib/advanced_billing/models/update_subscription_request.rb +48 -0
- data/lib/advanced_billing/models/updated_payment_profile.rb +255 -0
- data/lib/advanced_billing/models/upsert_prepaid_configuration.rb +104 -0
- data/lib/advanced_billing/models/upsert_prepaid_configuration_request.rb +49 -0
- data/lib/advanced_billing/models/usage.rb +141 -0
- data/lib/advanced_billing/models/usage_response.rb +48 -0
- data/lib/advanced_billing/models/void_invoice.rb +48 -0
- data/lib/advanced_billing/models/void_invoice_event_data.rb +111 -0
- data/lib/advanced_billing/models/void_invoice_event_data1.rb +100 -0
- data/lib/advanced_billing/models/void_invoice_request.rb +48 -0
- data/lib/advanced_billing/models/webhook.rb +165 -0
- data/lib/advanced_billing/models/webhook_order.rb +23 -0
- data/lib/advanced_billing/models/webhook_response.rb +50 -0
- data/lib/advanced_billing/models/webhook_status.rb +29 -0
- data/lib/advanced_billing/models/webhook_subscription.rb +124 -0
- data/lib/advanced_billing/utilities/date_time_helper.rb +11 -0
- data/lib/advanced_billing/utilities/file_wrapper.rb +16 -0
- data/lib/advanced_billing/utilities/union_type_lookup.rb +1240 -0
- data/lib/advanced_billing.rb +669 -0
- metadata +614 -111
- data/bin/arch +0 -1
- data/bin/ash +0 -1
- data/bin/base64 +0 -1
- data/bin/bbconfig +0 -1
- data/bin/busybox +0 -0
- data/bin/cat +0 -1
- data/bin/chattr +0 -1
- data/bin/chgrp +0 -1
- data/bin/chmod +0 -1
- data/bin/chown +0 -1
- data/bin/cp +0 -1
- data/bin/date +0 -1
- data/bin/dd +0 -1
- data/bin/df +0 -1
- data/bin/dmesg +0 -1
- data/bin/dnsdomainname +0 -1
- data/bin/dumpkmap +0 -1
- data/bin/echo +0 -1
- data/bin/ed +0 -1
- data/bin/egrep +0 -1
- data/bin/false +0 -1
- data/bin/fatattr +0 -1
- data/bin/fdflush +0 -1
- data/bin/fgrep +0 -1
- data/bin/fsync +0 -1
- data/bin/getopt +0 -1
- data/bin/grep +0 -1
- data/bin/gunzip +0 -1
- data/bin/gzip +0 -1
- data/bin/hostname +0 -1
- data/bin/ionice +0 -1
- data/bin/iostat +0 -1
- data/bin/ipcalc +0 -1
- data/bin/kbd_mode +0 -1
- data/bin/kill +0 -1
- data/bin/link +0 -1
- data/bin/linux32 +0 -1
- data/bin/linux64 +0 -1
- data/bin/ln +0 -1
- data/bin/login +0 -1
- data/bin/ls +0 -1
- data/bin/lsattr +0 -1
- data/bin/lzop +0 -1
- data/bin/makemime +0 -1
- data/bin/mkdir +0 -1
- data/bin/mknod +0 -1
- data/bin/mktemp +0 -1
- data/bin/more +0 -1
- data/bin/mount +0 -1
- data/bin/mountpoint +0 -1
- data/bin/mpstat +0 -1
- data/bin/mv +0 -1
- data/bin/netstat +0 -1
- data/bin/nice +0 -1
- data/bin/pidof +0 -0
- data/bin/ping +0 -1
- data/bin/ping6 +0 -1
- data/bin/pipe_progress +0 -1
- data/bin/printenv +0 -1
- data/bin/ps +0 -0
- data/bin/pwait +0 -0
- data/bin/pwd +0 -1
- data/bin/reformime +0 -1
- data/bin/rev +0 -1
- data/bin/rm +0 -1
- data/bin/rmdir +0 -1
- data/bin/run-parts +0 -1
- data/bin/sed +0 -1
- data/bin/setpriv +0 -1
- data/bin/setserial +0 -1
- data/bin/sh +0 -1
- data/bin/slabtop +0 -0
- data/bin/sleep +0 -1
- data/bin/stat +0 -1
- data/bin/stty +0 -1
- data/bin/su +0 -1
- data/bin/sync +0 -1
- data/bin/tar +0 -1
- data/bin/tload +0 -0
- data/bin/touch +0 -1
- data/bin/true +0 -1
- data/bin/umount +0 -1
- data/bin/uname +0 -1
- data/bin/usleep +0 -1
- data/bin/vmstat +0 -0
- data/bin/w +0 -0
- data/bin/watch +0 -0
- data/bin/zcat +0 -1
- data/lib/apk/db/installed +0 -3582
- data/lib/apk/db/lock +0 -0
- data/lib/apk/db/scripts.tar +0 -0
- data/lib/apk/db/triggers +0 -2
- 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 +0 -1
- data/lib/libcrypto.so.1.1 +0 -0
- data/lib/libprocps.so.8 +0 -1
- data/lib/libprocps.so.8.0.3 +0 -0
- data/lib/libssl.so.1.1 +0 -0
- data/lib/libz.so +0 -1
- data/lib/libz.so.1 +0 -1
- data/lib/libz.so.1.2.12 +0 -0
- data/lib/sysctl.d/00-alpine.conf +0 -40
@@ -0,0 +1,1240 @@
|
|
1
|
+
# advanced_billing
|
2
|
+
#
|
3
|
+
# This file was automatically generated by APIMATIC v2.0
|
4
|
+
# ( https://apimatic.io ).
|
5
|
+
|
6
|
+
module AdvancedBilling
|
7
|
+
# The `UnionTypeLookUp` class serves as a utility class for
|
8
|
+
# storing and managing type combinator templates. It acts as a container for the templates
|
9
|
+
# used in handling various oneof/anyof instances within the sdk.
|
10
|
+
class UnionTypeLookUp
|
11
|
+
include CoreLibrary
|
12
|
+
# rubocop:disable Lint/RedundantCopDisableDirective, Style/HashSyntax, Layout/FirstArgumentIndentation
|
13
|
+
def self.union_types
|
14
|
+
{
|
15
|
+
:UpdateCouponBody => OneOf.new(
|
16
|
+
[
|
17
|
+
LeafType.new(CreateOrUpdateCoupon)
|
18
|
+
],
|
19
|
+
UnionTypeContext.new(
|
20
|
+
is_optional: true
|
21
|
+
)
|
22
|
+
),
|
23
|
+
|
24
|
+
:CreateCouponBody => OneOf.new(
|
25
|
+
[
|
26
|
+
LeafType.new(CreateOrUpdateCoupon)
|
27
|
+
],
|
28
|
+
UnionTypeContext.new(
|
29
|
+
is_optional: true
|
30
|
+
)
|
31
|
+
),
|
32
|
+
|
33
|
+
:CreateComponentBody => OneOf.new(
|
34
|
+
[
|
35
|
+
LeafType.new(CreateMeteredComponent),
|
36
|
+
LeafType.new(CreateQuantityBasedComponent),
|
37
|
+
LeafType.new(CreateOnOffComponent),
|
38
|
+
LeafType.new(CreatePrepaidComponent),
|
39
|
+
LeafType.new(CreateEBBComponent)
|
40
|
+
],
|
41
|
+
UnionTypeContext.new(
|
42
|
+
is_optional: true
|
43
|
+
)
|
44
|
+
),
|
45
|
+
|
46
|
+
:ListAllComponentPricePointsInputDirection => OneOf.new(
|
47
|
+
[
|
48
|
+
LeafType.new(SortingDirection)
|
49
|
+
],
|
50
|
+
UnionTypeContext.new(
|
51
|
+
is_optional: true
|
52
|
+
)
|
53
|
+
),
|
54
|
+
|
55
|
+
:ListCustomersInputDirection => OneOf.new(
|
56
|
+
[
|
57
|
+
LeafType.new(SortingDirection)
|
58
|
+
],
|
59
|
+
UnionTypeContext.new(
|
60
|
+
is_optional: true
|
61
|
+
)
|
62
|
+
),
|
63
|
+
|
64
|
+
:ListMetadataInputDirection => OneOf.new(
|
65
|
+
[
|
66
|
+
LeafType.new(SortingDirection)
|
67
|
+
],
|
68
|
+
UnionTypeContext.new(
|
69
|
+
is_optional: true
|
70
|
+
)
|
71
|
+
),
|
72
|
+
|
73
|
+
:ListMetafieldsInputDirection => OneOf.new(
|
74
|
+
[
|
75
|
+
LeafType.new(SortingDirection)
|
76
|
+
],
|
77
|
+
UnionTypeContext.new(
|
78
|
+
is_optional: true
|
79
|
+
)
|
80
|
+
),
|
81
|
+
|
82
|
+
:ReadMrrMovementsInputDirection => OneOf.new(
|
83
|
+
[
|
84
|
+
LeafType.new(SortingDirection)
|
85
|
+
],
|
86
|
+
UnionTypeContext.new(
|
87
|
+
is_optional: true
|
88
|
+
)
|
89
|
+
),
|
90
|
+
|
91
|
+
:ListAllProductPricePointsInputDirection => OneOf.new(
|
92
|
+
[
|
93
|
+
LeafType.new(SortingDirection)
|
94
|
+
],
|
95
|
+
UnionTypeContext.new(
|
96
|
+
is_optional: true
|
97
|
+
)
|
98
|
+
),
|
99
|
+
|
100
|
+
:ListSubscriptionsInputDirection => OneOf.new(
|
101
|
+
[
|
102
|
+
LeafType.new(SortingDirection)
|
103
|
+
],
|
104
|
+
UnionTypeContext.new(
|
105
|
+
is_optional: true
|
106
|
+
)
|
107
|
+
),
|
108
|
+
|
109
|
+
:ListSubscriptionComponentsInputDirection => OneOf.new(
|
110
|
+
[
|
111
|
+
LeafType.new(SortingDirection)
|
112
|
+
],
|
113
|
+
UnionTypeContext.new(
|
114
|
+
is_optional: true
|
115
|
+
)
|
116
|
+
),
|
117
|
+
|
118
|
+
:ListSubscriptionComponentsForSiteInputDirection => OneOf.new(
|
119
|
+
[
|
120
|
+
LeafType.new(SortingDirection)
|
121
|
+
],
|
122
|
+
UnionTypeContext.new(
|
123
|
+
is_optional: true
|
124
|
+
)
|
125
|
+
),
|
126
|
+
|
127
|
+
:ProductExpirationIntervalUnitCase0 => OneOf.new(
|
128
|
+
[
|
129
|
+
LeafType.new(ExtendedIntervalUnit)
|
130
|
+
]
|
131
|
+
),
|
132
|
+
|
133
|
+
:ProductExpirationIntervalUnit => OneOf.new(
|
134
|
+
[
|
135
|
+
OneOf.new(
|
136
|
+
[
|
137
|
+
LeafType.new(ExtendedIntervalUnit)
|
138
|
+
]
|
139
|
+
)
|
140
|
+
],
|
141
|
+
UnionTypeContext.new(
|
142
|
+
is_optional: true,
|
143
|
+
is_nullable: true
|
144
|
+
)
|
145
|
+
),
|
146
|
+
|
147
|
+
:ProductIntervalUnit => OneOf.new(
|
148
|
+
[
|
149
|
+
LeafType.new(IntervalUnit)
|
150
|
+
],
|
151
|
+
UnionTypeContext.new(
|
152
|
+
is_optional: true
|
153
|
+
)
|
154
|
+
),
|
155
|
+
|
156
|
+
:ProductTrialIntervalUnitCase0 => OneOf.new(
|
157
|
+
[
|
158
|
+
LeafType.new(IntervalUnit)
|
159
|
+
]
|
160
|
+
),
|
161
|
+
|
162
|
+
:ProductTrialIntervalUnit => OneOf.new(
|
163
|
+
[
|
164
|
+
OneOf.new(
|
165
|
+
[
|
166
|
+
LeafType.new(IntervalUnit)
|
167
|
+
]
|
168
|
+
)
|
169
|
+
],
|
170
|
+
UnionTypeContext.new(
|
171
|
+
is_optional: true,
|
172
|
+
is_nullable: true
|
173
|
+
)
|
174
|
+
),
|
175
|
+
|
176
|
+
:SubscriptionCancellationMethod => OneOf.new(
|
177
|
+
[
|
178
|
+
LeafType.new(CancellationMethod)
|
179
|
+
],
|
180
|
+
UnionTypeContext.new(
|
181
|
+
is_optional: true,
|
182
|
+
is_nullable: true
|
183
|
+
)
|
184
|
+
),
|
185
|
+
|
186
|
+
:SubscriptionPaymentCollectionMethod => OneOf.new(
|
187
|
+
[
|
188
|
+
LeafType.new(PaymentCollectionMethod)
|
189
|
+
],
|
190
|
+
UnionTypeContext.new(
|
191
|
+
is_optional: true,
|
192
|
+
is_nullable: true
|
193
|
+
)
|
194
|
+
),
|
195
|
+
|
196
|
+
:SubscriptionGroup2 => OneOf.new(
|
197
|
+
[
|
198
|
+
LeafType.new(SubscriptionGroupInlined)
|
199
|
+
],
|
200
|
+
UnionTypeContext.new(
|
201
|
+
is_optional: true,
|
202
|
+
is_nullable: true
|
203
|
+
)
|
204
|
+
),
|
205
|
+
|
206
|
+
:CustomerErrorResponseErrors => OneOf.new(
|
207
|
+
[
|
208
|
+
LeafType.new(CustomerError),
|
209
|
+
LeafType.new(String, UnionTypeContext.new(
|
210
|
+
is_array: true
|
211
|
+
))
|
212
|
+
],
|
213
|
+
UnionTypeContext.new(
|
214
|
+
is_optional: true
|
215
|
+
)
|
216
|
+
),
|
217
|
+
|
218
|
+
:CreateMetafieldsRequestMetafields => AnyOf.new(
|
219
|
+
[
|
220
|
+
LeafType.new(CreateMetafield),
|
221
|
+
LeafType.new(CreateMetafield, UnionTypeContext.new(
|
222
|
+
is_array: true
|
223
|
+
))
|
224
|
+
]
|
225
|
+
),
|
226
|
+
|
227
|
+
:MetafieldEnum => OneOf.new(
|
228
|
+
[
|
229
|
+
LeafType.new(String, UnionTypeContext.new(
|
230
|
+
is_array: true
|
231
|
+
))
|
232
|
+
],
|
233
|
+
UnionTypeContext.new(
|
234
|
+
is_array: true,
|
235
|
+
is_optional: true,
|
236
|
+
is_nullable: true
|
237
|
+
)
|
238
|
+
),
|
239
|
+
|
240
|
+
:CouponCompoundingStrategyCase0 => OneOf.new(
|
241
|
+
[
|
242
|
+
LeafType.new(CompoundingStrategy)
|
243
|
+
]
|
244
|
+
),
|
245
|
+
|
246
|
+
:CouponCompoundingStrategy => AnyOf.new(
|
247
|
+
[
|
248
|
+
OneOf.new(
|
249
|
+
[
|
250
|
+
LeafType.new(CompoundingStrategy)
|
251
|
+
]
|
252
|
+
)
|
253
|
+
],
|
254
|
+
UnionTypeContext.new(
|
255
|
+
is_optional: true
|
256
|
+
)
|
257
|
+
),
|
258
|
+
|
259
|
+
:CreateOrUpdateCouponCoupon => OneOf.new(
|
260
|
+
[
|
261
|
+
LeafType.new(CreateOrUpdatePercentageCoupon),
|
262
|
+
LeafType.new(CreateOrUpdateFlatAmountCoupon)
|
263
|
+
],
|
264
|
+
UnionTypeContext.new(
|
265
|
+
is_optional: true
|
266
|
+
)
|
267
|
+
),
|
268
|
+
|
269
|
+
:CreateOrUpdatePercentageCouponPercentage => OneOf.new(
|
270
|
+
[
|
271
|
+
LeafType.new(Float),
|
272
|
+
LeafType.new(String)
|
273
|
+
]
|
274
|
+
),
|
275
|
+
|
276
|
+
:CreateOrUpdatePercentageCouponCompoundingStrategy => OneOf.new(
|
277
|
+
[
|
278
|
+
LeafType.new(CompoundingStrategy)
|
279
|
+
],
|
280
|
+
UnionTypeContext.new(
|
281
|
+
is_optional: true
|
282
|
+
)
|
283
|
+
),
|
284
|
+
|
285
|
+
:EventEventSpecificData => OneOf.new(
|
286
|
+
[
|
287
|
+
LeafType.new(SubscriptionProductChange),
|
288
|
+
LeafType.new(SubscriptionStateChange),
|
289
|
+
LeafType.new(PaymentRelatedEvents),
|
290
|
+
LeafType.new(RefundSuccess),
|
291
|
+
LeafType.new(ComponentAllocationChange),
|
292
|
+
LeafType.new(MeteredUsage),
|
293
|
+
LeafType.new(PrepaidUsage),
|
294
|
+
LeafType.new(DunningStepReached),
|
295
|
+
LeafType.new(InvoiceIssued),
|
296
|
+
LeafType.new(PendingCancellationChange),
|
297
|
+
LeafType.new(PrepaidSubscriptionBalanceChanged),
|
298
|
+
LeafType.new(ProformaInvoiceIssued),
|
299
|
+
LeafType.new(SubscriptionGroupSignupSuccess),
|
300
|
+
LeafType.new(SubscriptionGroupSignupFailure),
|
301
|
+
LeafType.new(CreditAccountBalanceChanged),
|
302
|
+
LeafType.new(PrepaymentAccountBalanceChanged),
|
303
|
+
LeafType.new(PaymentCollectionMethodChanged),
|
304
|
+
LeafType.new(ItemPricePointChanged),
|
305
|
+
LeafType.new(CustomFieldValueChange)
|
306
|
+
],
|
307
|
+
UnionTypeContext.new(
|
308
|
+
is_nullable: true
|
309
|
+
)
|
310
|
+
),
|
311
|
+
|
312
|
+
:UpdateMetafieldsRequestMetafields => AnyOf.new(
|
313
|
+
[
|
314
|
+
LeafType.new(UpdateMetafield),
|
315
|
+
LeafType.new(UpdateMetafield, UnionTypeContext.new(
|
316
|
+
is_array: true
|
317
|
+
))
|
318
|
+
],
|
319
|
+
UnionTypeContext.new(
|
320
|
+
is_optional: true
|
321
|
+
)
|
322
|
+
),
|
323
|
+
|
324
|
+
:CreateOrUpdateFlatAmountCouponCompoundingStrategy => OneOf.new(
|
325
|
+
[
|
326
|
+
LeafType.new(CompoundingStrategy)
|
327
|
+
],
|
328
|
+
UnionTypeContext.new(
|
329
|
+
is_optional: true
|
330
|
+
)
|
331
|
+
),
|
332
|
+
|
333
|
+
:PriceStartingQuantity => OneOf.new(
|
334
|
+
[
|
335
|
+
LeafType.new(Integer),
|
336
|
+
LeafType.new(String)
|
337
|
+
]
|
338
|
+
),
|
339
|
+
|
340
|
+
:PriceEndingQuantity => OneOf.new(
|
341
|
+
[
|
342
|
+
LeafType.new(Integer),
|
343
|
+
LeafType.new(String)
|
344
|
+
],
|
345
|
+
UnionTypeContext.new(
|
346
|
+
is_optional: true,
|
347
|
+
is_nullable: true
|
348
|
+
)
|
349
|
+
),
|
350
|
+
|
351
|
+
:PriceUnitPrice => OneOf.new(
|
352
|
+
[
|
353
|
+
LeafType.new(Float),
|
354
|
+
LeafType.new(String)
|
355
|
+
]
|
356
|
+
),
|
357
|
+
|
358
|
+
:ComponentCustomPricePricingScheme => OneOf.new(
|
359
|
+
[
|
360
|
+
LeafType.new(PricingScheme)
|
361
|
+
],
|
362
|
+
UnionTypeContext.new(
|
363
|
+
is_optional: true
|
364
|
+
)
|
365
|
+
),
|
366
|
+
|
367
|
+
:SubscriptionGroupCreditCardFullNumber => OneOf.new(
|
368
|
+
[
|
369
|
+
LeafType.new(String),
|
370
|
+
LeafType.new(Integer)
|
371
|
+
],
|
372
|
+
UnionTypeContext.new(
|
373
|
+
is_optional: true
|
374
|
+
)
|
375
|
+
),
|
376
|
+
|
377
|
+
:SubscriptionGroupCreditCardExpirationMonth => OneOf.new(
|
378
|
+
[
|
379
|
+
LeafType.new(String),
|
380
|
+
LeafType.new(Integer)
|
381
|
+
],
|
382
|
+
UnionTypeContext.new(
|
383
|
+
is_optional: true
|
384
|
+
)
|
385
|
+
),
|
386
|
+
|
387
|
+
:SubscriptionGroupCreditCardExpirationYear => OneOf.new(
|
388
|
+
[
|
389
|
+
LeafType.new(String),
|
390
|
+
LeafType.new(Integer)
|
391
|
+
],
|
392
|
+
UnionTypeContext.new(
|
393
|
+
is_optional: true
|
394
|
+
)
|
395
|
+
),
|
396
|
+
|
397
|
+
:SubscriptionGroupSignupComponentComponentId => OneOf.new(
|
398
|
+
[
|
399
|
+
LeafType.new(String),
|
400
|
+
LeafType.new(Integer)
|
401
|
+
],
|
402
|
+
UnionTypeContext.new(
|
403
|
+
is_optional: true
|
404
|
+
)
|
405
|
+
),
|
406
|
+
|
407
|
+
:SubscriptionGroupSignupComponentAllocatedQuantity => OneOf.new(
|
408
|
+
[
|
409
|
+
LeafType.new(String),
|
410
|
+
LeafType.new(Integer)
|
411
|
+
],
|
412
|
+
UnionTypeContext.new(
|
413
|
+
is_optional: true
|
414
|
+
)
|
415
|
+
),
|
416
|
+
|
417
|
+
:SubscriptionGroupSignupComponentUnitBalance => OneOf.new(
|
418
|
+
[
|
419
|
+
LeafType.new(String),
|
420
|
+
LeafType.new(Integer)
|
421
|
+
],
|
422
|
+
UnionTypeContext.new(
|
423
|
+
is_optional: true
|
424
|
+
)
|
425
|
+
),
|
426
|
+
|
427
|
+
:SubscriptionGroupSignupComponentPricePointId => OneOf.new(
|
428
|
+
[
|
429
|
+
LeafType.new(String),
|
430
|
+
LeafType.new(Integer)
|
431
|
+
],
|
432
|
+
UnionTypeContext.new(
|
433
|
+
is_optional: true
|
434
|
+
)
|
435
|
+
),
|
436
|
+
|
437
|
+
:MeteredComponentPricingScheme => OneOf.new(
|
438
|
+
[
|
439
|
+
LeafType.new(PricingScheme)
|
440
|
+
]
|
441
|
+
),
|
442
|
+
|
443
|
+
:MeteredComponentUnitPrice => OneOf.new(
|
444
|
+
[
|
445
|
+
LeafType.new(String),
|
446
|
+
LeafType.new(Float)
|
447
|
+
],
|
448
|
+
UnionTypeContext.new(
|
449
|
+
is_optional: true
|
450
|
+
)
|
451
|
+
),
|
452
|
+
|
453
|
+
:SubscriptionGroupComponentCustomPricePricingScheme => OneOf.new(
|
454
|
+
[
|
455
|
+
LeafType.new(PricingScheme)
|
456
|
+
],
|
457
|
+
UnionTypeContext.new(
|
458
|
+
is_optional: true
|
459
|
+
)
|
460
|
+
),
|
461
|
+
|
462
|
+
:CustomPriceUsedForSubscriptionCreateUpdatePriceInCents => OneOf.new(
|
463
|
+
[
|
464
|
+
LeafType.new(String),
|
465
|
+
LeafType.new(Integer)
|
466
|
+
],
|
467
|
+
UnionTypeContext.new(
|
468
|
+
is_optional: true
|
469
|
+
)
|
470
|
+
),
|
471
|
+
|
472
|
+
:CustomPriceUsedForSubscriptionCreateUpdateInterval => OneOf.new(
|
473
|
+
[
|
474
|
+
LeafType.new(String),
|
475
|
+
LeafType.new(Integer)
|
476
|
+
],
|
477
|
+
UnionTypeContext.new(
|
478
|
+
is_optional: true
|
479
|
+
)
|
480
|
+
),
|
481
|
+
|
482
|
+
:CustomPriceUsedForSubscriptionCreateUpdateIntervalUnit => OneOf.new(
|
483
|
+
[
|
484
|
+
LeafType.new(IntervalUnit)
|
485
|
+
],
|
486
|
+
UnionTypeContext.new(
|
487
|
+
is_optional: true
|
488
|
+
)
|
489
|
+
),
|
490
|
+
|
491
|
+
:CustomPriceUsedForSubscriptionCreateUpdateTrialPriceInCents => OneOf.new(
|
492
|
+
[
|
493
|
+
LeafType.new(String),
|
494
|
+
LeafType.new(Integer)
|
495
|
+
],
|
496
|
+
UnionTypeContext.new(
|
497
|
+
is_optional: true
|
498
|
+
)
|
499
|
+
),
|
500
|
+
|
501
|
+
:CustomPriceUsedForSubscriptionCreateUpdateTrialInterval => OneOf.new(
|
502
|
+
[
|
503
|
+
LeafType.new(String),
|
504
|
+
LeafType.new(Integer)
|
505
|
+
],
|
506
|
+
UnionTypeContext.new(
|
507
|
+
is_optional: true
|
508
|
+
)
|
509
|
+
),
|
510
|
+
|
511
|
+
:CustomPriceUsedForSubscriptionCreateUpdateTrialIntervalUnit => OneOf.new(
|
512
|
+
[
|
513
|
+
LeafType.new(IntervalUnit)
|
514
|
+
],
|
515
|
+
UnionTypeContext.new(
|
516
|
+
is_optional: true
|
517
|
+
)
|
518
|
+
),
|
519
|
+
|
520
|
+
:CustomPriceUsedForSubscriptionCreateUpdateInitialChargeInCents => OneOf.new(
|
521
|
+
[
|
522
|
+
LeafType.new(String),
|
523
|
+
LeafType.new(Integer)
|
524
|
+
],
|
525
|
+
UnionTypeContext.new(
|
526
|
+
is_optional: true
|
527
|
+
)
|
528
|
+
),
|
529
|
+
|
530
|
+
:CustomPriceUsedForSubscriptionCreateUpdateExpirationInterval => OneOf.new(
|
531
|
+
[
|
532
|
+
LeafType.new(String),
|
533
|
+
LeafType.new(Integer)
|
534
|
+
],
|
535
|
+
UnionTypeContext.new(
|
536
|
+
is_optional: true
|
537
|
+
)
|
538
|
+
),
|
539
|
+
|
540
|
+
:CustomPriceUsedForSubscriptionCreateUpdateExpirationIntervalUnit => OneOf.new(
|
541
|
+
[
|
542
|
+
LeafType.new(IntervalUnit)
|
543
|
+
],
|
544
|
+
UnionTypeContext.new(
|
545
|
+
is_optional: true
|
546
|
+
)
|
547
|
+
),
|
548
|
+
|
549
|
+
:CalendarBillingSnapDay => OneOf.new(
|
550
|
+
[
|
551
|
+
LeafType.new(Integer),
|
552
|
+
LeafType.new(String)
|
553
|
+
],
|
554
|
+
UnionTypeContext.new(
|
555
|
+
is_optional: true
|
556
|
+
)
|
557
|
+
),
|
558
|
+
|
559
|
+
:QuantityBasedComponentPricingScheme => OneOf.new(
|
560
|
+
[
|
561
|
+
LeafType.new(PricingScheme)
|
562
|
+
]
|
563
|
+
),
|
564
|
+
|
565
|
+
:QuantityBasedComponentUnitPrice => OneOf.new(
|
566
|
+
[
|
567
|
+
LeafType.new(String),
|
568
|
+
LeafType.new(Float)
|
569
|
+
],
|
570
|
+
UnionTypeContext.new(
|
571
|
+
is_optional: true
|
572
|
+
)
|
573
|
+
),
|
574
|
+
|
575
|
+
:OnOffComponentPricingScheme => OneOf.new(
|
576
|
+
[
|
577
|
+
LeafType.new(PricingScheme)
|
578
|
+
]
|
579
|
+
),
|
580
|
+
|
581
|
+
:OnOffComponentUnitPrice => OneOf.new(
|
582
|
+
[
|
583
|
+
LeafType.new(String),
|
584
|
+
LeafType.new(Float)
|
585
|
+
],
|
586
|
+
UnionTypeContext.new(
|
587
|
+
is_optional: true
|
588
|
+
)
|
589
|
+
),
|
590
|
+
|
591
|
+
:PricePointExpirationIntervalUnit => OneOf.new(
|
592
|
+
[
|
593
|
+
LeafType.new(IntervalUnit)
|
594
|
+
],
|
595
|
+
UnionTypeContext.new(
|
596
|
+
is_optional: true
|
597
|
+
)
|
598
|
+
),
|
599
|
+
|
600
|
+
:CreateComponentPricePointsRequestPricePoints => AnyOf.new(
|
601
|
+
[
|
602
|
+
LeafType.new(CreateComponentPricePoint),
|
603
|
+
LeafType.new(CreatePrepaidUsageComponentPricePoint)
|
604
|
+
],
|
605
|
+
UnionTypeContext.new(
|
606
|
+
is_array: true
|
607
|
+
)
|
608
|
+
),
|
609
|
+
|
610
|
+
:CreatePaymentProfileExpirationMonth => OneOf.new(
|
611
|
+
[
|
612
|
+
LeafType.new(Integer),
|
613
|
+
LeafType.new(String)
|
614
|
+
],
|
615
|
+
UnionTypeContext.new(
|
616
|
+
is_optional: true
|
617
|
+
)
|
618
|
+
),
|
619
|
+
|
620
|
+
:CreatePaymentProfileExpirationYear => OneOf.new(
|
621
|
+
[
|
622
|
+
LeafType.new(Integer),
|
623
|
+
LeafType.new(String)
|
624
|
+
],
|
625
|
+
UnionTypeContext.new(
|
626
|
+
is_optional: true
|
627
|
+
)
|
628
|
+
),
|
629
|
+
|
630
|
+
:PrepaidUsageComponentPricingScheme => OneOf.new(
|
631
|
+
[
|
632
|
+
LeafType.new(PricingScheme)
|
633
|
+
],
|
634
|
+
UnionTypeContext.new(
|
635
|
+
is_optional: true
|
636
|
+
)
|
637
|
+
),
|
638
|
+
|
639
|
+
:PrepaidUsageComponentUnitPrice => OneOf.new(
|
640
|
+
[
|
641
|
+
LeafType.new(String),
|
642
|
+
LeafType.new(Float)
|
643
|
+
],
|
644
|
+
UnionTypeContext.new(
|
645
|
+
is_optional: true
|
646
|
+
)
|
647
|
+
),
|
648
|
+
|
649
|
+
:PrepaidUsageComponentExpirationIntervalUnit => OneOf.new(
|
650
|
+
[
|
651
|
+
LeafType.new(IntervalUnit)
|
652
|
+
],
|
653
|
+
UnionTypeContext.new(
|
654
|
+
is_optional: true
|
655
|
+
)
|
656
|
+
),
|
657
|
+
|
658
|
+
:OveragePricingPricingScheme => OneOf.new(
|
659
|
+
[
|
660
|
+
LeafType.new(PricingScheme)
|
661
|
+
]
|
662
|
+
),
|
663
|
+
|
664
|
+
:EBBComponentPricingScheme => OneOf.new(
|
665
|
+
[
|
666
|
+
LeafType.new(PricingScheme)
|
667
|
+
]
|
668
|
+
),
|
669
|
+
|
670
|
+
:EBBComponentUnitPrice => OneOf.new(
|
671
|
+
[
|
672
|
+
LeafType.new(String),
|
673
|
+
LeafType.new(Float)
|
674
|
+
],
|
675
|
+
UnionTypeContext.new(
|
676
|
+
is_optional: true
|
677
|
+
)
|
678
|
+
),
|
679
|
+
|
680
|
+
:CreateComponentPricePointRequestPricePoint => AnyOf.new(
|
681
|
+
[
|
682
|
+
LeafType.new(CreateComponentPricePoint),
|
683
|
+
LeafType.new(CreatePrepaidUsageComponentPricePoint)
|
684
|
+
]
|
685
|
+
),
|
686
|
+
|
687
|
+
:CreatePrepaidUsageComponentPricePointExpirationIntervalUnit => OneOf.new(
|
688
|
+
[
|
689
|
+
LeafType.new(IntervalUnit)
|
690
|
+
],
|
691
|
+
UnionTypeContext.new(
|
692
|
+
is_optional: true
|
693
|
+
)
|
694
|
+
),
|
695
|
+
|
696
|
+
:RefundConsolidatedInvoiceSegmentUids => OneOf.new(
|
697
|
+
[
|
698
|
+
LeafType.new(String, UnionTypeContext.new(
|
699
|
+
is_array: true
|
700
|
+
)),
|
701
|
+
LeafType.new(String)
|
702
|
+
]
|
703
|
+
),
|
704
|
+
|
705
|
+
:InvoiceLineItemComponentCostData2 => OneOf.new(
|
706
|
+
[
|
707
|
+
LeafType.new(InvoiceLineItemComponentCostData)
|
708
|
+
],
|
709
|
+
UnionTypeContext.new(
|
710
|
+
is_optional: true,
|
711
|
+
is_nullable: true
|
712
|
+
)
|
713
|
+
),
|
714
|
+
|
715
|
+
:ComponentCostDataPricingScheme => OneOf.new(
|
716
|
+
[
|
717
|
+
LeafType.new(PricingScheme)
|
718
|
+
],
|
719
|
+
UnionTypeContext.new(
|
720
|
+
is_optional: true
|
721
|
+
)
|
722
|
+
),
|
723
|
+
|
724
|
+
:ReadPaymentProfileResponsePaymentProfile => OneOf.new(
|
725
|
+
[
|
726
|
+
LeafType.new(BankAccountPaymentProfile),
|
727
|
+
LeafType.new(CreditCardPaymentProfile)
|
728
|
+
]
|
729
|
+
),
|
730
|
+
|
731
|
+
:RefundSegmentUids => OneOf.new(
|
732
|
+
[
|
733
|
+
LeafType.new(String, UnionTypeContext.new(
|
734
|
+
is_array: true
|
735
|
+
)),
|
736
|
+
LeafType.new(String)
|
737
|
+
],
|
738
|
+
UnionTypeContext.new(
|
739
|
+
is_optional: true
|
740
|
+
)
|
741
|
+
),
|
742
|
+
|
743
|
+
:RefundInvoiceRequestRefund => AnyOf.new(
|
744
|
+
[
|
745
|
+
LeafType.new(RefundInvoice),
|
746
|
+
LeafType.new(RefundConsolidatedInvoice)
|
747
|
+
]
|
748
|
+
),
|
749
|
+
|
750
|
+
:ApplyPaymentEventDataPaymentMethod => OneOf.new(
|
751
|
+
[
|
752
|
+
LeafType.new(PaymentMethodApplePayType),
|
753
|
+
LeafType.new(PaymentMethodBankAccountType),
|
754
|
+
LeafType.new(PaymentMethodCreditCardType),
|
755
|
+
LeafType.new(PaymentMethodExternalType),
|
756
|
+
LeafType.new(PaymentMethodPaypalType)
|
757
|
+
],
|
758
|
+
UnionTypeContext.new(
|
759
|
+
is_optional: true
|
760
|
+
)
|
761
|
+
),
|
762
|
+
|
763
|
+
:CreateMultiInvoicePaymentAmount => OneOf.new(
|
764
|
+
[
|
765
|
+
LeafType.new(String),
|
766
|
+
LeafType.new(Float)
|
767
|
+
]
|
768
|
+
),
|
769
|
+
|
770
|
+
:RemovePaymentEventDataPaymentMethod => OneOf.new(
|
771
|
+
[
|
772
|
+
LeafType.new(PaymentMethodApplePayType),
|
773
|
+
LeafType.new(PaymentMethodBankAccountType),
|
774
|
+
LeafType.new(PaymentMethodCreditCardType),
|
775
|
+
LeafType.new(PaymentMethodExternalType),
|
776
|
+
LeafType.new(PaymentMethodPaypalType)
|
777
|
+
],
|
778
|
+
UnionTypeContext.new(
|
779
|
+
is_optional: true
|
780
|
+
)
|
781
|
+
),
|
782
|
+
|
783
|
+
:CreateInvoicePaymentAmount => OneOf.new(
|
784
|
+
[
|
785
|
+
LeafType.new(String),
|
786
|
+
LeafType.new(Float)
|
787
|
+
],
|
788
|
+
UnionTypeContext.new(
|
789
|
+
is_optional: true
|
790
|
+
)
|
791
|
+
),
|
792
|
+
|
793
|
+
:InvoiceEventEventData => AnyOf.new(
|
794
|
+
[
|
795
|
+
LeafType.new(ApplyCreditNoteEventData),
|
796
|
+
LeafType.new(ApplyDebitNoteEventData),
|
797
|
+
LeafType.new(ApplyPaymentEventData),
|
798
|
+
LeafType.new(ChangeInvoiceCollectionMethodEventData),
|
799
|
+
LeafType.new(IssueInvoiceEventData),
|
800
|
+
LeafType.new(RefundInvoiceEventData),
|
801
|
+
LeafType.new(RemovePaymentEventData),
|
802
|
+
LeafType.new(VoidInvoiceEventData),
|
803
|
+
LeafType.new(VoidInvoiceEventData1)
|
804
|
+
],
|
805
|
+
UnionTypeContext.new(
|
806
|
+
is_optional: true
|
807
|
+
)
|
808
|
+
),
|
809
|
+
|
810
|
+
:InvoiceEvent1PaymentMethod => OneOf.new(
|
811
|
+
[
|
812
|
+
LeafType.new(PaymentMethodApplePayType),
|
813
|
+
LeafType.new(PaymentMethodBankAccountType),
|
814
|
+
LeafType.new(PaymentMethodCreditCardType),
|
815
|
+
LeafType.new(PaymentMethodExternalType),
|
816
|
+
LeafType.new(PaymentMethodPaypalType)
|
817
|
+
],
|
818
|
+
UnionTypeContext.new(
|
819
|
+
is_optional: true
|
820
|
+
)
|
821
|
+
),
|
822
|
+
|
823
|
+
:UsageQuantity => OneOf.new(
|
824
|
+
[
|
825
|
+
LeafType.new(Integer),
|
826
|
+
LeafType.new(String)
|
827
|
+
],
|
828
|
+
UnionTypeContext.new(
|
829
|
+
is_optional: true
|
830
|
+
)
|
831
|
+
),
|
832
|
+
|
833
|
+
:CreateSubscriptionComponentComponentId => OneOf.new(
|
834
|
+
[
|
835
|
+
LeafType.new(Integer),
|
836
|
+
LeafType.new(String)
|
837
|
+
],
|
838
|
+
UnionTypeContext.new(
|
839
|
+
is_optional: true
|
840
|
+
)
|
841
|
+
),
|
842
|
+
|
843
|
+
:CreateSubscriptionComponentPricePointId => OneOf.new(
|
844
|
+
[
|
845
|
+
LeafType.new(Integer),
|
846
|
+
LeafType.new(String)
|
847
|
+
],
|
848
|
+
UnionTypeContext.new(
|
849
|
+
is_optional: true
|
850
|
+
)
|
851
|
+
),
|
852
|
+
|
853
|
+
:SubscriptionComponentPricePointType => OneOf.new(
|
854
|
+
[
|
855
|
+
LeafType.new(PricePointType)
|
856
|
+
],
|
857
|
+
UnionTypeContext.new(
|
858
|
+
is_optional: true
|
859
|
+
)
|
860
|
+
),
|
861
|
+
|
862
|
+
:ComponentSPricePointAssignmentPricePoint => OneOf.new(
|
863
|
+
[
|
864
|
+
LeafType.new(String),
|
865
|
+
LeafType.new(Integer)
|
866
|
+
],
|
867
|
+
UnionTypeContext.new(
|
868
|
+
is_optional: true
|
869
|
+
)
|
870
|
+
),
|
871
|
+
|
872
|
+
:CreateAllocationPricePointId => OneOf.new(
|
873
|
+
[
|
874
|
+
LeafType.new(String),
|
875
|
+
LeafType.new(Integer)
|
876
|
+
],
|
877
|
+
UnionTypeContext.new(
|
878
|
+
is_optional: true,
|
879
|
+
is_nullable: true
|
880
|
+
)
|
881
|
+
),
|
882
|
+
|
883
|
+
:AllocationPayment2 => OneOf.new(
|
884
|
+
[
|
885
|
+
LeafType.new(AllocationPayment)
|
886
|
+
],
|
887
|
+
UnionTypeContext.new(
|
888
|
+
is_optional: true,
|
889
|
+
is_nullable: true
|
890
|
+
)
|
891
|
+
),
|
892
|
+
|
893
|
+
:CreateSubscriptionComponents => OneOf.new(
|
894
|
+
[
|
895
|
+
LeafType.new(CreateSubscriptionComponent)
|
896
|
+
],
|
897
|
+
UnionTypeContext.new(
|
898
|
+
is_array: true,
|
899
|
+
is_optional: true
|
900
|
+
)
|
901
|
+
),
|
902
|
+
|
903
|
+
:CreateSubscriptionGroup2 => OneOf.new(
|
904
|
+
[
|
905
|
+
LeafType.new(GroupSettings),
|
906
|
+
AnyOf.new([LeafType.new(TrueClass), LeafType.new(FalseClass)])
|
907
|
+
],
|
908
|
+
UnionTypeContext.new(
|
909
|
+
is_optional: true
|
910
|
+
)
|
911
|
+
),
|
912
|
+
|
913
|
+
:CreateSubscriptionOfferId => OneOf.new(
|
914
|
+
[
|
915
|
+
LeafType.new(String),
|
916
|
+
LeafType.new(Integer)
|
917
|
+
],
|
918
|
+
UnionTypeContext.new(
|
919
|
+
is_optional: true
|
920
|
+
)
|
921
|
+
),
|
922
|
+
|
923
|
+
:PaymentProfileAttributesExpirationMonth => OneOf.new(
|
924
|
+
[
|
925
|
+
LeafType.new(Integer),
|
926
|
+
LeafType.new(String)
|
927
|
+
],
|
928
|
+
UnionTypeContext.new(
|
929
|
+
is_optional: true
|
930
|
+
)
|
931
|
+
),
|
932
|
+
|
933
|
+
:PaymentProfileAttributesExpirationYear => OneOf.new(
|
934
|
+
[
|
935
|
+
LeafType.new(Integer),
|
936
|
+
LeafType.new(String)
|
937
|
+
],
|
938
|
+
UnionTypeContext.new(
|
939
|
+
is_optional: true
|
940
|
+
)
|
941
|
+
),
|
942
|
+
|
943
|
+
:ReactivateSubscriptionRequestResume => OneOf.new(
|
944
|
+
[
|
945
|
+
AnyOf.new([LeafType.new(TrueClass), LeafType.new(FalseClass)]),
|
946
|
+
LeafType.new(ResumeOptions)
|
947
|
+
],
|
948
|
+
UnionTypeContext.new(
|
949
|
+
is_optional: true
|
950
|
+
)
|
951
|
+
),
|
952
|
+
|
953
|
+
:CreateInvoiceItemQuantity => OneOf.new(
|
954
|
+
[
|
955
|
+
LeafType.new(Float),
|
956
|
+
LeafType.new(String)
|
957
|
+
],
|
958
|
+
UnionTypeContext.new(
|
959
|
+
is_optional: true
|
960
|
+
)
|
961
|
+
),
|
962
|
+
|
963
|
+
:CreateInvoiceItemUnitPrice => OneOf.new(
|
964
|
+
[
|
965
|
+
LeafType.new(Float),
|
966
|
+
LeafType.new(String)
|
967
|
+
],
|
968
|
+
UnionTypeContext.new(
|
969
|
+
is_optional: true
|
970
|
+
)
|
971
|
+
),
|
972
|
+
|
973
|
+
:CreateInvoiceItemProductId => OneOf.new(
|
974
|
+
[
|
975
|
+
LeafType.new(String),
|
976
|
+
LeafType.new(Integer)
|
977
|
+
],
|
978
|
+
UnionTypeContext.new(
|
979
|
+
is_optional: true
|
980
|
+
)
|
981
|
+
),
|
982
|
+
|
983
|
+
:CreateInvoiceItemComponentId => OneOf.new(
|
984
|
+
[
|
985
|
+
LeafType.new(String),
|
986
|
+
LeafType.new(Integer)
|
987
|
+
],
|
988
|
+
UnionTypeContext.new(
|
989
|
+
is_optional: true
|
990
|
+
)
|
991
|
+
),
|
992
|
+
|
993
|
+
:CreateInvoiceItemPricePointId => OneOf.new(
|
994
|
+
[
|
995
|
+
LeafType.new(String),
|
996
|
+
LeafType.new(Integer)
|
997
|
+
],
|
998
|
+
UnionTypeContext.new(
|
999
|
+
is_optional: true
|
1000
|
+
)
|
1001
|
+
),
|
1002
|
+
|
1003
|
+
:CreateInvoiceItemProductPricePointId => OneOf.new(
|
1004
|
+
[
|
1005
|
+
LeafType.new(String),
|
1006
|
+
LeafType.new(Integer)
|
1007
|
+
],
|
1008
|
+
UnionTypeContext.new(
|
1009
|
+
is_optional: true
|
1010
|
+
)
|
1011
|
+
),
|
1012
|
+
|
1013
|
+
:RenewalPreviewComponentComponentId => OneOf.new(
|
1014
|
+
[
|
1015
|
+
LeafType.new(String),
|
1016
|
+
LeafType.new(Integer)
|
1017
|
+
],
|
1018
|
+
UnionTypeContext.new(
|
1019
|
+
is_optional: true
|
1020
|
+
)
|
1021
|
+
),
|
1022
|
+
|
1023
|
+
:RenewalPreviewComponentPricePointId => OneOf.new(
|
1024
|
+
[
|
1025
|
+
LeafType.new(String),
|
1026
|
+
LeafType.new(Integer)
|
1027
|
+
],
|
1028
|
+
UnionTypeContext.new(
|
1029
|
+
is_optional: true
|
1030
|
+
)
|
1031
|
+
),
|
1032
|
+
|
1033
|
+
:CreateInvoiceCouponPercentage => OneOf.new(
|
1034
|
+
[
|
1035
|
+
LeafType.new(String),
|
1036
|
+
LeafType.new(Float)
|
1037
|
+
],
|
1038
|
+
UnionTypeContext.new(
|
1039
|
+
is_optional: true
|
1040
|
+
)
|
1041
|
+
),
|
1042
|
+
|
1043
|
+
:CreateInvoiceCouponAmount => OneOf.new(
|
1044
|
+
[
|
1045
|
+
LeafType.new(String),
|
1046
|
+
LeafType.new(Float)
|
1047
|
+
],
|
1048
|
+
UnionTypeContext.new(
|
1049
|
+
is_optional: true
|
1050
|
+
)
|
1051
|
+
),
|
1052
|
+
|
1053
|
+
:CreateInvoiceCouponProductFamilyId => OneOf.new(
|
1054
|
+
[
|
1055
|
+
LeafType.new(String),
|
1056
|
+
LeafType.new(Integer)
|
1057
|
+
],
|
1058
|
+
UnionTypeContext.new(
|
1059
|
+
is_optional: true
|
1060
|
+
)
|
1061
|
+
),
|
1062
|
+
|
1063
|
+
:CreateInvoiceCouponCompoundingStrategy => OneOf.new(
|
1064
|
+
[
|
1065
|
+
LeafType.new(CompoundingStrategy)
|
1066
|
+
],
|
1067
|
+
UnionTypeContext.new(
|
1068
|
+
is_optional: true
|
1069
|
+
)
|
1070
|
+
),
|
1071
|
+
|
1072
|
+
:DeductServiceCreditAmount => OneOf.new(
|
1073
|
+
[
|
1074
|
+
LeafType.new(String),
|
1075
|
+
LeafType.new(Float)
|
1076
|
+
]
|
1077
|
+
),
|
1078
|
+
|
1079
|
+
:UpdateSubscriptionSnapDay => OneOf.new(
|
1080
|
+
[
|
1081
|
+
LeafType.new(SnapDay),
|
1082
|
+
LeafType.new(Integer)
|
1083
|
+
],
|
1084
|
+
UnionTypeContext.new(
|
1085
|
+
is_optional: true
|
1086
|
+
)
|
1087
|
+
),
|
1088
|
+
|
1089
|
+
:UpdateSubscriptionNetTerms => OneOf.new(
|
1090
|
+
[
|
1091
|
+
LeafType.new(String),
|
1092
|
+
LeafType.new(Integer)
|
1093
|
+
],
|
1094
|
+
UnionTypeContext.new(
|
1095
|
+
is_optional: true
|
1096
|
+
)
|
1097
|
+
),
|
1098
|
+
|
1099
|
+
:IssueServiceCreditAmount => OneOf.new(
|
1100
|
+
[
|
1101
|
+
LeafType.new(Float),
|
1102
|
+
LeafType.new(String)
|
1103
|
+
]
|
1104
|
+
),
|
1105
|
+
|
1106
|
+
:AddSubscriptionToAGroupGroup => OneOf.new(
|
1107
|
+
[
|
1108
|
+
LeafType.new(GroupSettings),
|
1109
|
+
AnyOf.new([LeafType.new(TrueClass), LeafType.new(FalseClass)])
|
1110
|
+
],
|
1111
|
+
UnionTypeContext.new(
|
1112
|
+
is_optional: true
|
1113
|
+
)
|
1114
|
+
),
|
1115
|
+
|
1116
|
+
:CreateSubscriptionGroupSubscriptionId => OneOf.new(
|
1117
|
+
[
|
1118
|
+
LeafType.new(String),
|
1119
|
+
LeafType.new(Integer)
|
1120
|
+
]
|
1121
|
+
),
|
1122
|
+
|
1123
|
+
:CreateOrUpdateSegmentPriceUnitPrice => OneOf.new(
|
1124
|
+
[
|
1125
|
+
LeafType.new(String),
|
1126
|
+
LeafType.new(Float)
|
1127
|
+
]
|
1128
|
+
),
|
1129
|
+
|
1130
|
+
:SegmentSegmentProperty1Value => OneOf.new(
|
1131
|
+
[
|
1132
|
+
LeafType.new(String),
|
1133
|
+
LeafType.new(Float),
|
1134
|
+
LeafType.new(Integer),
|
1135
|
+
AnyOf.new([LeafType.new(TrueClass), LeafType.new(FalseClass)])
|
1136
|
+
],
|
1137
|
+
UnionTypeContext.new(
|
1138
|
+
is_optional: true
|
1139
|
+
)
|
1140
|
+
),
|
1141
|
+
|
1142
|
+
:SegmentSegmentProperty2Value => OneOf.new(
|
1143
|
+
[
|
1144
|
+
LeafType.new(String),
|
1145
|
+
LeafType.new(Float),
|
1146
|
+
LeafType.new(Integer),
|
1147
|
+
AnyOf.new([LeafType.new(TrueClass), LeafType.new(FalseClass)])
|
1148
|
+
],
|
1149
|
+
UnionTypeContext.new(
|
1150
|
+
is_optional: true
|
1151
|
+
)
|
1152
|
+
),
|
1153
|
+
|
1154
|
+
:SegmentSegmentProperty3Value => OneOf.new(
|
1155
|
+
[
|
1156
|
+
LeafType.new(String),
|
1157
|
+
LeafType.new(Float),
|
1158
|
+
LeafType.new(Integer),
|
1159
|
+
AnyOf.new([LeafType.new(TrueClass), LeafType.new(FalseClass)])
|
1160
|
+
],
|
1161
|
+
UnionTypeContext.new(
|
1162
|
+
is_optional: true
|
1163
|
+
)
|
1164
|
+
),
|
1165
|
+
|
1166
|
+
:SegmentSegmentProperty4Value => OneOf.new(
|
1167
|
+
[
|
1168
|
+
LeafType.new(String),
|
1169
|
+
LeafType.new(Float),
|
1170
|
+
LeafType.new(Integer),
|
1171
|
+
AnyOf.new([LeafType.new(TrueClass), LeafType.new(FalseClass)])
|
1172
|
+
],
|
1173
|
+
UnionTypeContext.new(
|
1174
|
+
is_optional: true
|
1175
|
+
)
|
1176
|
+
),
|
1177
|
+
|
1178
|
+
:CreateSegmentSegmentProperty1Value => OneOf.new(
|
1179
|
+
[
|
1180
|
+
LeafType.new(String),
|
1181
|
+
LeafType.new(Float),
|
1182
|
+
LeafType.new(Integer),
|
1183
|
+
AnyOf.new([LeafType.new(TrueClass), LeafType.new(FalseClass)])
|
1184
|
+
],
|
1185
|
+
UnionTypeContext.new(
|
1186
|
+
is_optional: true
|
1187
|
+
)
|
1188
|
+
),
|
1189
|
+
|
1190
|
+
:CreateSegmentSegmentProperty2Value => OneOf.new(
|
1191
|
+
[
|
1192
|
+
LeafType.new(String),
|
1193
|
+
LeafType.new(Float),
|
1194
|
+
LeafType.new(Integer),
|
1195
|
+
AnyOf.new([LeafType.new(TrueClass), LeafType.new(FalseClass)])
|
1196
|
+
],
|
1197
|
+
UnionTypeContext.new(
|
1198
|
+
is_optional: true
|
1199
|
+
)
|
1200
|
+
),
|
1201
|
+
|
1202
|
+
:CreateSegmentSegmentProperty3Value => OneOf.new(
|
1203
|
+
[
|
1204
|
+
LeafType.new(String),
|
1205
|
+
LeafType.new(Float),
|
1206
|
+
LeafType.new(Integer),
|
1207
|
+
AnyOf.new([LeafType.new(TrueClass), LeafType.new(FalseClass)])
|
1208
|
+
],
|
1209
|
+
UnionTypeContext.new(
|
1210
|
+
is_optional: true
|
1211
|
+
)
|
1212
|
+
),
|
1213
|
+
|
1214
|
+
:CreateSegmentSegmentProperty4Value => OneOf.new(
|
1215
|
+
[
|
1216
|
+
LeafType.new(String),
|
1217
|
+
LeafType.new(Float),
|
1218
|
+
LeafType.new(Integer),
|
1219
|
+
AnyOf.new([LeafType.new(TrueClass), LeafType.new(FalseClass)])
|
1220
|
+
],
|
1221
|
+
UnionTypeContext.new(
|
1222
|
+
is_optional: true
|
1223
|
+
)
|
1224
|
+
),
|
1225
|
+
|
1226
|
+
:RefundPrepaymentAmount => OneOf.new(
|
1227
|
+
[
|
1228
|
+
LeafType.new(String),
|
1229
|
+
LeafType.new(Float)
|
1230
|
+
]
|
1231
|
+
)
|
1232
|
+
}
|
1233
|
+
end
|
1234
|
+
# rubocop:enable Lint/RedundantCopDisableDirective, Style/HashSyntax, Layout/FirstArgumentIndentation
|
1235
|
+
|
1236
|
+
def self.get(name)
|
1237
|
+
UnionTypeLookUp.union_types[name]
|
1238
|
+
end
|
1239
|
+
end
|
1240
|
+
end
|