metronome-sdk 0.2.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +61 -0
- data/README.md +9 -9
- data/lib/metronome_sdk/internal/body_cursor_page.rb +86 -0
- data/lib/metronome_sdk/internal/cursor_page_without_limit.rb +86 -0
- data/lib/metronome_sdk/internal/transport/base_client.rb +1 -4
- data/lib/metronome_sdk/internal/transport/pooled_net_requester.rb +1 -9
- data/lib/metronome_sdk/internal/type/array_of.rb +1 -0
- data/lib/metronome_sdk/internal/type/base_model.rb +9 -14
- data/lib/metronome_sdk/internal/type/converter.rb +27 -0
- data/lib/metronome_sdk/internal/type/hash_of.rb +1 -0
- data/lib/metronome_sdk/internal/type/union.rb +20 -7
- data/lib/metronome_sdk/internal/util.rb +1 -1
- data/lib/metronome_sdk/models/base_threshold_commit.rb +36 -0
- data/lib/metronome_sdk/models/commit.rb +26 -170
- data/lib/metronome_sdk/models/commit_hierarchy_configuration.rb +98 -0
- data/lib/metronome_sdk/models/commit_rate.rb +48 -0
- data/lib/metronome_sdk/models/commit_specifier.rb +42 -0
- data/lib/metronome_sdk/models/commit_specifier_input.rb +42 -0
- data/lib/metronome_sdk/models/contract.rb +404 -0
- data/lib/metronome_sdk/models/contract_v2.rb +2919 -0
- data/lib/metronome_sdk/models/contract_without_amendments.rb +36 -1126
- data/lib/metronome_sdk/models/credit.rb +9 -156
- data/lib/metronome_sdk/models/discount.rb +2 -1
- data/lib/metronome_sdk/models/hierarchy_configuration.rb +76 -0
- data/lib/metronome_sdk/models/override.rb +6 -101
- data/lib/metronome_sdk/models/override_tier.rb +21 -0
- data/lib/metronome_sdk/models/overwrite_rate.rb +82 -0
- data/lib/metronome_sdk/models/payment_gate_config.rb +149 -0
- data/lib/metronome_sdk/models/payment_gate_config_v2.rb +149 -0
- data/lib/metronome_sdk/models/prepaid_balance_threshold_configuration.rb +100 -0
- data/lib/metronome_sdk/models/prepaid_balance_threshold_configuration_v2.rb +102 -0
- data/lib/metronome_sdk/models/pro_service.rb +2 -1
- data/lib/metronome_sdk/models/recurring_commit_subscription_config.rb +51 -0
- data/lib/metronome_sdk/models/schedule_point_in_time.rb +14 -1
- data/lib/metronome_sdk/models/scheduled_charge.rb +2 -1
- data/lib/metronome_sdk/models/spend_threshold_configuration.rb +44 -0
- data/lib/metronome_sdk/models/spend_threshold_configuration_v2.rb +44 -0
- data/lib/metronome_sdk/models/subscription.rb +227 -0
- data/lib/metronome_sdk/models/update_base_threshold_commit.rb +36 -0
- data/lib/metronome_sdk/models/v1/alert_create_params.rb +4 -6
- data/lib/metronome_sdk/models/v1/billable_metric_create_params.rb +1 -2
- data/lib/metronome_sdk/models/v1/billable_metric_list_response.rb +3 -3
- data/lib/metronome_sdk/models/v1/billable_metric_retrieve_response.rb +4 -7
- data/lib/metronome_sdk/models/v1/contract_amend_params.rb +110 -415
- data/lib/metronome_sdk/models/v1/contract_create_historical_invoices_params.rb +7 -16
- data/lib/metronome_sdk/models/v1/contract_create_params.rb +287 -1480
- data/lib/metronome_sdk/models/v1/contract_list_balances_response.rb +6 -23
- data/lib/metronome_sdk/models/v1/contract_list_response.rb +3 -1153
- data/lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_params.rb +2 -6
- data/lib/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rb +5 -50
- data/lib/metronome_sdk/models/v1/contract_retrieve_response.rb +3 -1154
- data/lib/metronome_sdk/models/v1/contract_schedule_pro_services_invoice_params.rb +1 -3
- data/lib/metronome_sdk/models/v1/contracts/product_create_params.rb +9 -1
- data/lib/metronome_sdk/models/v1/contracts/product_list_response.rb +8 -1
- data/lib/metronome_sdk/models/v1/contracts/product_retrieve_response.rb +8 -1
- data/lib/metronome_sdk/models/v1/contracts/quantity_rounding.rb +1 -4
- data/lib/metronome_sdk/models/v1/contracts/rate_card_create_params.rb +4 -7
- data/lib/metronome_sdk/models/v1/contracts/rate_card_list_response.rb +10 -1
- data/lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_rate_schedule_params.rb +2 -6
- data/lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_rate_schedule_response.rb +5 -50
- data/lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_response.rb +10 -1
- data/lib/metronome_sdk/models/v1/contracts/rate_card_update_params.rb +1 -3
- data/lib/metronome_sdk/models/v1/contracts/rate_cards/product_order_update_params.rb +1 -3
- data/lib/metronome_sdk/models/v1/contracts/rate_cards/rate_add_many_params.rb +6 -61
- data/lib/metronome_sdk/models/v1/contracts/rate_cards/rate_add_params.rb +3 -49
- data/lib/metronome_sdk/models/v1/contracts/rate_cards/rate_add_response.rb +4 -51
- data/lib/metronome_sdk/models/v1/contracts/rate_cards/rate_list_params.rb +2 -6
- data/lib/metronome_sdk/models/v1/contracts/rate_cards/rate_list_response.rb +5 -49
- data/lib/metronome_sdk/models/v1/credit_grant_list_entries_response.rb +103 -123
- data/lib/metronome_sdk/models/v1/credit_grant_list_response.rb +3 -5
- data/lib/metronome_sdk/models/v1/custom_field_list_keys_params.rb +1 -3
- data/lib/metronome_sdk/models/v1/custom_field_list_keys_response.rb +41 -58
- data/lib/metronome_sdk/models/v1/custom_field_set_values_params.rb +5 -1
- data/lib/metronome_sdk/models/v1/customer.rb +2 -1
- data/lib/metronome_sdk/models/v1/customer_create_params.rb +37 -11
- data/lib/metronome_sdk/models/v1/customer_detail.rb +2 -1
- data/lib/metronome_sdk/models/v1/customer_list_billable_metrics_response.rb +3 -3
- data/lib/metronome_sdk/models/v1/customer_preview_events_params.rb +1 -3
- data/lib/metronome_sdk/models/v1/customer_retrieve_billing_configurations_params.rb +28 -0
- data/lib/metronome_sdk/models/v1/customer_retrieve_billing_configurations_response.rb +128 -0
- data/lib/metronome_sdk/models/v1/customer_set_billing_configurations_params.rb +143 -0
- data/lib/metronome_sdk/models/v1/customers/alert_list_params.rb +1 -3
- data/lib/metronome_sdk/models/v1/customers/alert_retrieve_params.rb +30 -1
- data/lib/metronome_sdk/models/v1/customers/billing_config_create_params.rb +2 -0
- data/lib/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rb +2 -0
- data/lib/metronome_sdk/models/v1/customers/commit_create_params.rb +20 -61
- data/lib/metronome_sdk/models/v1/customers/credit_create_params.rb +6 -48
- data/lib/metronome_sdk/models/v1/customers/customer_alert.rb +8 -16
- data/lib/metronome_sdk/models/v1/customers/invoice.rb +68 -43
- data/lib/metronome_sdk/models/v1/customers/invoice_list_breakdowns_params.rb +1 -4
- data/lib/metronome_sdk/models/v1/customers/plan_add_params.rb +2 -6
- data/lib/metronome_sdk/models/v1/customers/plan_list_response.rb +2 -1
- data/lib/metronome_sdk/models/v1/dashboard_get_embeddable_url_params.rb +4 -11
- data/lib/metronome_sdk/models/v1/plan_detail.rb +9 -5
- data/lib/metronome_sdk/models/v1/plan_list_charges_response.rb +2 -1
- data/lib/metronome_sdk/models/v1/plan_list_customers_response.rb +2 -1
- data/lib/metronome_sdk/models/v1/plan_list_response.rb +5 -1
- data/lib/metronome_sdk/models/v1/usage_ingest_params.rb +1 -4
- data/lib/metronome_sdk/models/v1/usage_list_params.rb +1 -3
- data/lib/metronome_sdk/models/v1/usage_list_response.rb +45 -62
- data/lib/metronome_sdk/models/v1/usage_search_response.rb +4 -7
- data/lib/metronome_sdk/models/v2/contract_edit_commit_params.rb +38 -58
- data/lib/metronome_sdk/models/v2/contract_edit_credit_params.rb +35 -49
- data/lib/metronome_sdk/models/v2/contract_edit_params.rb +469 -2302
- data/lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb +358 -2414
- data/lib/metronome_sdk/models/v2/contract_list_response.rb +3 -4520
- data/lib/metronome_sdk/models/v2/contract_retrieve_response.rb +3 -4528
- data/lib/metronome_sdk/models.rb +38 -0
- data/lib/metronome_sdk/resources/v1/alerts.rb +72 -2
- data/lib/metronome_sdk/resources/v1/audit_logs.rb +39 -4
- data/lib/metronome_sdk/resources/v1/billable_metrics.rb +54 -4
- data/lib/metronome_sdk/resources/v1/contracts/products.rb +27 -6
- data/lib/metronome_sdk/resources/v1/contracts/rate_cards/product_orders.rb +7 -2
- data/lib/metronome_sdk/resources/v1/contracts/rate_cards/rates.rb +10 -2
- data/lib/metronome_sdk/resources/v1/contracts/rate_cards.rb +109 -10
- data/lib/metronome_sdk/resources/v1/contracts.rb +254 -18
- data/lib/metronome_sdk/resources/v1/credit_grants.rb +2 -1
- data/lib/metronome_sdk/resources/v1/custom_fields.rb +51 -14
- data/lib/metronome_sdk/resources/v1/customers/alerts.rb +103 -8
- data/lib/metronome_sdk/resources/v1/customers/commits.rb +119 -9
- data/lib/metronome_sdk/resources/v1/customers/credits.rb +104 -8
- data/lib/metronome_sdk/resources/v1/customers/invoices.rb +124 -8
- data/lib/metronome_sdk/resources/v1/customers.rb +169 -12
- data/lib/metronome_sdk/resources/v1/dashboards.rb +29 -3
- data/lib/metronome_sdk/resources/v1/invoices.rb +23 -2
- data/lib/metronome_sdk/resources/v1/pricing_units.rb +6 -1
- data/lib/metronome_sdk/resources/v1/services.rb +6 -4
- data/lib/metronome_sdk/resources/v1/usage.rb +185 -12
- data/lib/metronome_sdk/resources/v2/contracts.rb +118 -18
- data/lib/metronome_sdk/version.rb +1 -1
- data/lib/metronome_sdk.rb +24 -3
- data/rbi/metronome_sdk/errors.rbi +2 -2
- data/rbi/metronome_sdk/internal/body_cursor_page.rbi +22 -0
- data/rbi/metronome_sdk/internal/cursor_page_without_limit.rbi +22 -0
- data/rbi/metronome_sdk/internal/type/converter.rbi +58 -0
- data/rbi/metronome_sdk/internal/type/union.rbi +9 -2
- data/rbi/metronome_sdk/models/base_threshold_commit.rbi +58 -0
- data/rbi/metronome_sdk/models/commit.rbi +26 -348
- data/rbi/metronome_sdk/models/commit_hierarchy_configuration.rbi +280 -0
- data/rbi/metronome_sdk/models/commit_rate.rbi +85 -0
- data/rbi/metronome_sdk/models/commit_specifier.rbi +71 -0
- data/rbi/metronome_sdk/models/commit_specifier_input.rbi +74 -0
- data/rbi/metronome_sdk/models/contract.rbi +768 -0
- data/rbi/metronome_sdk/models/contract_v2.rbi +5822 -0
- data/rbi/metronome_sdk/models/contract_without_amendments.rbi +184 -2507
- data/rbi/metronome_sdk/models/credit.rbi +10 -348
- data/rbi/metronome_sdk/models/discount.rbi +2 -0
- data/rbi/metronome_sdk/models/hierarchy_configuration.rbi +180 -0
- data/rbi/metronome_sdk/models/override.rbi +8 -193
- data/rbi/metronome_sdk/models/override_tier.rbi +29 -0
- data/rbi/metronome_sdk/models/overwrite_rate.rbi +137 -0
- data/rbi/metronome_sdk/models/payment_gate_config.rbi +312 -0
- data/rbi/metronome_sdk/models/payment_gate_config_v2.rbi +321 -0
- data/rbi/metronome_sdk/models/prepaid_balance_threshold_configuration.rbi +183 -0
- data/rbi/metronome_sdk/models/prepaid_balance_threshold_configuration_v2.rbi +188 -0
- data/rbi/metronome_sdk/models/pro_service.rbi +2 -0
- data/rbi/metronome_sdk/models/recurring_commit_subscription_config.rbi +125 -0
- data/rbi/metronome_sdk/models/schedule_point_in_time.rbi +17 -1
- data/rbi/metronome_sdk/models/scheduled_charge.rbi +2 -0
- data/rbi/metronome_sdk/models/spend_threshold_configuration.rbi +76 -0
- data/rbi/metronome_sdk/models/spend_threshold_configuration_v2.rbi +78 -0
- data/rbi/metronome_sdk/models/subscription.rbi +460 -0
- data/rbi/metronome_sdk/models/update_base_threshold_commit.rbi +61 -0
- data/rbi/metronome_sdk/models/v1/alert_create_params.rbi +6 -3
- data/rbi/metronome_sdk/models/v1/billable_metric_list_response.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/billable_metric_retrieve_response.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/contract_amend_params.rbi +120 -771
- data/rbi/metronome_sdk/models/v1/contract_create_historical_invoices_params.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/contract_create_params.rbi +1613 -4069
- data/rbi/metronome_sdk/models/v1/contract_list_balances_response.rbi +8 -59
- data/rbi/metronome_sdk/models/v1/contract_list_response.rbi +5 -2420
- data/rbi/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rbi +6 -129
- data/rbi/metronome_sdk/models/v1/contract_retrieve_response.rbi +4 -2419
- data/rbi/metronome_sdk/models/v1/contracts/product_create_params.rbi +11 -0
- data/rbi/metronome_sdk/models/v1/contracts/product_list_response.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/contracts/product_retrieve_response.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/contracts/rate_card_create_params.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/contracts/rate_card_list_response.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/contracts/rate_card_retrieve_rate_schedule_response.rbi +6 -129
- data/rbi/metronome_sdk/models/v1/contracts/rate_card_retrieve_response.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/contracts/rate_cards/rate_add_many_params.rbi +4 -129
- data/rbi/metronome_sdk/models/v1/contracts/rate_cards/rate_add_params.rbi +4 -129
- data/rbi/metronome_sdk/models/v1/contracts/rate_cards/rate_add_response.rbi +4 -129
- data/rbi/metronome_sdk/models/v1/contracts/rate_cards/rate_list_response.rbi +6 -129
- data/rbi/metronome_sdk/models/v1/credit_grant_list_entries_response.rbi +147 -198
- data/rbi/metronome_sdk/models/v1/credit_grant_list_response.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/custom_field_list_keys_response.rbi +117 -165
- data/rbi/metronome_sdk/models/v1/custom_field_set_values_params.rbi +8 -1
- data/rbi/metronome_sdk/models/v1/customer.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/customer_create_params.rbi +88 -3
- data/rbi/metronome_sdk/models/v1/customer_detail.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/customer_list_billable_metrics_response.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/customer_retrieve_billing_configurations_params.rbi +51 -0
- data/rbi/metronome_sdk/models/v1/customer_retrieve_billing_configurations_response.rbi +265 -0
- data/rbi/metronome_sdk/models/v1/customer_set_billing_configurations_params.rbi +348 -0
- data/rbi/metronome_sdk/models/v1/customers/alert_retrieve_params.rbi +60 -0
- data/rbi/metronome_sdk/models/v1/customers/billing_config_create_params.rbi +10 -0
- data/rbi/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rbi +10 -0
- data/rbi/metronome_sdk/models/v1/customers/commit_create_params.rbi +19 -90
- data/rbi/metronome_sdk/models/v1/customers/credit_create_params.rbi +6 -90
- data/rbi/metronome_sdk/models/v1/customers/customer_alert.rbi +6 -3
- data/rbi/metronome_sdk/models/v1/customers/invoice.rbi +76 -0
- data/rbi/metronome_sdk/models/v1/customers/plan_list_response.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/plan_detail.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/plan_list_charges_response.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/plan_list_customers_response.rbi +2 -0
- data/rbi/metronome_sdk/models/v1/plan_list_response.rbi +8 -1
- data/rbi/metronome_sdk/models/v1/usage_list_response.rbi +45 -86
- data/rbi/metronome_sdk/models/v1/usage_search_response.rbi +2 -0
- data/rbi/metronome_sdk/models/v2/contract_edit_commit_params.rbi +66 -76
- data/rbi/metronome_sdk/models/v2/contract_edit_credit_params.rbi +66 -76
- data/rbi/metronome_sdk/models/v2/contract_edit_params.rbi +3563 -7329
- data/rbi/metronome_sdk/models/v2/contract_get_edit_history_response.rbi +1181 -6070
- data/rbi/metronome_sdk/models/v2/contract_list_response.rbi +5 -9867
- data/rbi/metronome_sdk/models/v2/contract_retrieve_response.rbi +6 -9866
- data/rbi/metronome_sdk/models.rbi +44 -0
- data/rbi/metronome_sdk/resources/v1/alerts.rbi +72 -2
- data/rbi/metronome_sdk/resources/v1/audit_logs.rbi +39 -4
- data/rbi/metronome_sdk/resources/v1/billable_metrics.rbi +54 -4
- data/rbi/metronome_sdk/resources/v1/contracts/products.rbi +27 -5
- data/rbi/metronome_sdk/resources/v1/contracts/rate_cards/product_orders.rbi +7 -2
- data/rbi/metronome_sdk/resources/v1/contracts/rate_cards/rates.rbi +10 -3
- data/rbi/metronome_sdk/resources/v1/contracts/rate_cards.rbi +109 -9
- data/rbi/metronome_sdk/resources/v1/contracts.rbi +257 -16
- data/rbi/metronome_sdk/resources/v1/credit_grants.rbi +5 -1
- data/rbi/metronome_sdk/resources/v1/custom_fields.rbi +57 -14
- data/rbi/metronome_sdk/resources/v1/customers/alerts.rbi +108 -5
- data/rbi/metronome_sdk/resources/v1/customers/commits.rbi +119 -10
- data/rbi/metronome_sdk/resources/v1/customers/credits.rbi +104 -9
- data/rbi/metronome_sdk/resources/v1/customers/invoices.rbi +123 -7
- data/rbi/metronome_sdk/resources/v1/customers.rbi +156 -11
- data/rbi/metronome_sdk/resources/v1/dashboards.rbi +29 -3
- data/rbi/metronome_sdk/resources/v1/invoices.rbi +23 -2
- data/rbi/metronome_sdk/resources/v1/pricing_units.rbi +6 -1
- data/rbi/metronome_sdk/resources/v1/services.rbi +6 -4
- data/rbi/metronome_sdk/resources/v1/usage.rbi +188 -12
- data/rbi/metronome_sdk/resources/v2/contracts.rbi +128 -23
- data/sig/metronome_sdk/internal/body_cursor_page.rbs +13 -0
- data/sig/metronome_sdk/internal/cursor_page_without_limit.rbs +13 -0
- data/sig/metronome_sdk/internal/type/converter.rbs +17 -0
- data/sig/metronome_sdk/internal/type/union.rbs +2 -2
- data/sig/metronome_sdk/models/base_threshold_commit.rbs +26 -0
- data/sig/metronome_sdk/models/commit.rbs +17 -170
- data/sig/metronome_sdk/models/commit_hierarchy_configuration.rbs +117 -0
- data/sig/metronome_sdk/models/commit_rate.rbs +48 -0
- data/sig/metronome_sdk/models/commit_specifier.rbs +47 -0
- data/sig/metronome_sdk/models/commit_specifier_input.rbs +47 -0
- data/sig/metronome_sdk/models/contract.rbs +398 -0
- data/sig/metronome_sdk/models/contract_v2.rbs +2881 -0
- data/sig/metronome_sdk/models/contract_without_amendments.rbs +54 -976
- data/sig/metronome_sdk/models/credit.rbs +12 -170
- data/sig/metronome_sdk/models/hierarchy_configuration.rbs +71 -0
- data/sig/metronome_sdk/models/override.rbs +12 -101
- data/sig/metronome_sdk/models/override_tier.rbs +17 -0
- data/sig/metronome_sdk/models/overwrite_rate.rbs +78 -0
- data/sig/metronome_sdk/models/payment_gate_config.rbs +123 -0
- data/sig/metronome_sdk/models/payment_gate_config_v2.rbs +123 -0
- data/sig/metronome_sdk/models/prepaid_balance_threshold_configuration.rbs +82 -0
- data/sig/metronome_sdk/models/prepaid_balance_threshold_configuration_v2.rbs +82 -0
- data/sig/metronome_sdk/models/recurring_commit_subscription_config.rbs +51 -0
- data/sig/metronome_sdk/models/schedule_point_in_time.rbs +7 -0
- data/sig/metronome_sdk/models/spend_threshold_configuration.rbs +35 -0
- data/sig/metronome_sdk/models/spend_threshold_configuration_v2.rbs +35 -0
- data/sig/metronome_sdk/models/subscription.rbs +215 -0
- data/sig/metronome_sdk/models/update_base_threshold_commit.rbs +28 -0
- data/sig/metronome_sdk/models/v1/alert_create_params.rbs +4 -2
- data/sig/metronome_sdk/models/v1/contract_amend_params.rbs +62 -343
- data/sig/metronome_sdk/models/v1/contract_create_params.rbs +218 -1234
- data/sig/metronome_sdk/models/v1/contract_list_balances_response.rbs +4 -25
- data/sig/metronome_sdk/models/v1/contract_list_response.rbs +4 -1041
- data/sig/metronome_sdk/models/v1/contract_retrieve_rate_schedule_response.rbs +6 -54
- data/sig/metronome_sdk/models/v1/contract_retrieve_response.rbs +4 -1041
- data/sig/metronome_sdk/models/v1/contracts/product_create_params.rbs +7 -0
- data/sig/metronome_sdk/models/v1/contracts/rate_card_retrieve_rate_schedule_response.rbs +6 -54
- data/sig/metronome_sdk/models/v1/contracts/rate_cards/rate_add_many_params.rbs +6 -54
- data/sig/metronome_sdk/models/v1/contracts/rate_cards/rate_add_params.rbs +6 -54
- data/sig/metronome_sdk/models/v1/contracts/rate_cards/rate_add_response.rbs +6 -54
- data/sig/metronome_sdk/models/v1/contracts/rate_cards/rate_list_response.rbs +6 -54
- data/sig/metronome_sdk/models/v1/credit_grant_list_entries_response.rbs +72 -94
- data/sig/metronome_sdk/models/v1/custom_field_list_keys_response.rbs +53 -75
- data/sig/metronome_sdk/models/v1/customer_create_params.rbs +31 -4
- data/sig/metronome_sdk/models/v1/customer_retrieve_billing_configurations_params.rbs +32 -0
- data/sig/metronome_sdk/models/v1/customer_retrieve_billing_configurations_response.rbs +113 -0
- data/sig/metronome_sdk/models/v1/customer_set_billing_configurations_params.rbs +133 -0
- data/sig/metronome_sdk/models/v1/customers/alert_retrieve_params.rbs +21 -0
- data/sig/metronome_sdk/models/v1/customers/billing_config_create_params.rbs +7 -1
- data/sig/metronome_sdk/models/v1/customers/billing_config_retrieve_response.rbs +6 -1
- data/sig/metronome_sdk/models/v1/customers/commit_create_params.rbs +13 -50
- data/sig/metronome_sdk/models/v1/customers/credit_create_params.rbs +6 -50
- data/sig/metronome_sdk/models/v1/customers/customer_alert.rbs +4 -2
- data/sig/metronome_sdk/models/v1/customers/invoice.rbs +5 -0
- data/sig/metronome_sdk/models/v1/usage_list_response.rbs +33 -55
- data/sig/metronome_sdk/models/v2/contract_edit_commit_params.rbs +24 -43
- data/sig/metronome_sdk/models/v2/contract_edit_credit_params.rbs +24 -43
- data/sig/metronome_sdk/models/v2/contract_edit_params.rbs +400 -1911
- data/sig/metronome_sdk/models/v2/contract_get_edit_history_response.rbs +256 -2249
- data/sig/metronome_sdk/models/v2/contract_list_response.rbs +4 -4426
- data/sig/metronome_sdk/models/v2/contract_retrieve_response.rbs +4 -4426
- data/sig/metronome_sdk/models.rbs +38 -0
- data/sig/metronome_sdk/resources/v1/contracts/products.rbs +1 -0
- data/sig/metronome_sdk/resources/v1/contracts/rate_cards/rates.rbs +1 -1
- data/sig/metronome_sdk/resources/v1/contracts.rbs +3 -3
- data/sig/metronome_sdk/resources/v1/credit_grants.rbs +1 -1
- data/sig/metronome_sdk/resources/v1/custom_fields.rbs +1 -1
- data/sig/metronome_sdk/resources/v1/customers/alerts.rbs +2 -1
- data/sig/metronome_sdk/resources/v1/customers/commits.rbs +2 -2
- data/sig/metronome_sdk/resources/v1/customers/credits.rbs +2 -2
- data/sig/metronome_sdk/resources/v1/customers.rbs +11 -0
- data/sig/metronome_sdk/resources/v1/usage.rbs +1 -1
- data/sig/metronome_sdk/resources/v2/contracts.rbs +9 -4
- metadata +74 -11
- data/lib/metronome_sdk/models/v1/customers/alert_list_response.rb +0 -29
- data/lib/metronome_sdk/models/v1/customers/commit_list_response.rb +0 -26
- data/lib/metronome_sdk/models/v1/customers/credit_list_response.rb +0 -26
- data/rbi/metronome_sdk/models/v1/customers/alert_list_response.rbi +0 -46
- data/rbi/metronome_sdk/models/v1/customers/commit_list_response.rbi +0 -45
- data/rbi/metronome_sdk/models/v1/customers/credit_list_response.rbi +0 -45
- data/sig/metronome_sdk/models/v1/customers/alert_list_response.rbs +0 -29
- data/sig/metronome_sdk/models/v1/customers/commit_list_response.rbs +0 -26
- data/sig/metronome_sdk/models/v1/customers/credit_list_response.rbs +0 -26
@@ -9,19 +9,20 @@ module MetronomeSDK
|
|
9
9
|
add_credits: ::Array[MetronomeSDK::V2::ContractEditParams::AddCredit],
|
10
10
|
add_discounts: ::Array[MetronomeSDK::V2::ContractEditParams::AddDiscount],
|
11
11
|
add_overrides: ::Array[MetronomeSDK::V2::ContractEditParams::AddOverride],
|
12
|
-
add_prepaid_balance_threshold_configuration: MetronomeSDK::
|
12
|
+
add_prepaid_balance_threshold_configuration: MetronomeSDK::PrepaidBalanceThresholdConfigurationV2,
|
13
13
|
add_professional_services: ::Array[MetronomeSDK::V2::ContractEditParams::AddProfessionalService],
|
14
14
|
add_recurring_commits: ::Array[MetronomeSDK::V2::ContractEditParams::AddRecurringCommit],
|
15
15
|
add_recurring_credits: ::Array[MetronomeSDK::V2::ContractEditParams::AddRecurringCredit],
|
16
16
|
add_reseller_royalties: ::Array[MetronomeSDK::V2::ContractEditParams::AddResellerRoyalty],
|
17
17
|
add_scheduled_charges: ::Array[MetronomeSDK::V2::ContractEditParams::AddScheduledCharge],
|
18
|
-
add_spend_threshold_configuration: MetronomeSDK::
|
18
|
+
add_spend_threshold_configuration: MetronomeSDK::SpendThresholdConfigurationV2,
|
19
19
|
add_subscriptions: ::Array[MetronomeSDK::V2::ContractEditParams::AddSubscription],
|
20
20
|
allow_contract_ending_before_finalized_invoice: bool,
|
21
21
|
archive_commits: ::Array[MetronomeSDK::V2::ContractEditParams::ArchiveCommit],
|
22
22
|
archive_credits: ::Array[MetronomeSDK::V2::ContractEditParams::ArchiveCredit],
|
23
23
|
archive_scheduled_charges: ::Array[MetronomeSDK::V2::ContractEditParams::ArchiveScheduledCharge],
|
24
24
|
remove_overrides: ::Array[MetronomeSDK::V2::ContractEditParams::RemoveOverride],
|
25
|
+
uniqueness_key: String,
|
25
26
|
update_commits: ::Array[MetronomeSDK::V2::ContractEditParams::UpdateCommit],
|
26
27
|
update_contract_end_date: Time?,
|
27
28
|
update_contract_name: String?,
|
@@ -67,11 +68,11 @@ module MetronomeSDK
|
|
67
68
|
::Array[MetronomeSDK::V2::ContractEditParams::AddOverride]
|
68
69
|
) -> ::Array[MetronomeSDK::V2::ContractEditParams::AddOverride]
|
69
70
|
|
70
|
-
attr_reader add_prepaid_balance_threshold_configuration: MetronomeSDK::
|
71
|
+
attr_reader add_prepaid_balance_threshold_configuration: MetronomeSDK::PrepaidBalanceThresholdConfigurationV2?
|
71
72
|
|
72
73
|
def add_prepaid_balance_threshold_configuration=: (
|
73
|
-
MetronomeSDK::
|
74
|
-
) -> MetronomeSDK::
|
74
|
+
MetronomeSDK::PrepaidBalanceThresholdConfigurationV2
|
75
|
+
) -> MetronomeSDK::PrepaidBalanceThresholdConfigurationV2
|
75
76
|
|
76
77
|
attr_reader add_professional_services: ::Array[MetronomeSDK::V2::ContractEditParams::AddProfessionalService]?
|
77
78
|
|
@@ -103,11 +104,11 @@ module MetronomeSDK
|
|
103
104
|
::Array[MetronomeSDK::V2::ContractEditParams::AddScheduledCharge]
|
104
105
|
) -> ::Array[MetronomeSDK::V2::ContractEditParams::AddScheduledCharge]
|
105
106
|
|
106
|
-
attr_reader add_spend_threshold_configuration: MetronomeSDK::
|
107
|
+
attr_reader add_spend_threshold_configuration: MetronomeSDK::SpendThresholdConfigurationV2?
|
107
108
|
|
108
109
|
def add_spend_threshold_configuration=: (
|
109
|
-
MetronomeSDK::
|
110
|
-
) -> MetronomeSDK::
|
110
|
+
MetronomeSDK::SpendThresholdConfigurationV2
|
111
|
+
) -> MetronomeSDK::SpendThresholdConfigurationV2
|
111
112
|
|
112
113
|
attr_reader add_subscriptions: ::Array[MetronomeSDK::V2::ContractEditParams::AddSubscription]?
|
113
114
|
|
@@ -143,6 +144,10 @@ module MetronomeSDK
|
|
143
144
|
::Array[MetronomeSDK::V2::ContractEditParams::RemoveOverride]
|
144
145
|
) -> ::Array[MetronomeSDK::V2::ContractEditParams::RemoveOverride]
|
145
146
|
|
147
|
+
attr_reader uniqueness_key: String?
|
148
|
+
|
149
|
+
def uniqueness_key=: (String) -> String
|
150
|
+
|
146
151
|
attr_reader update_commits: ::Array[MetronomeSDK::V2::ContractEditParams::UpdateCommit]?
|
147
152
|
|
148
153
|
def update_commits=: (
|
@@ -202,19 +207,20 @@ module MetronomeSDK
|
|
202
207
|
?add_credits: ::Array[MetronomeSDK::V2::ContractEditParams::AddCredit],
|
203
208
|
?add_discounts: ::Array[MetronomeSDK::V2::ContractEditParams::AddDiscount],
|
204
209
|
?add_overrides: ::Array[MetronomeSDK::V2::ContractEditParams::AddOverride],
|
205
|
-
?add_prepaid_balance_threshold_configuration: MetronomeSDK::
|
210
|
+
?add_prepaid_balance_threshold_configuration: MetronomeSDK::PrepaidBalanceThresholdConfigurationV2,
|
206
211
|
?add_professional_services: ::Array[MetronomeSDK::V2::ContractEditParams::AddProfessionalService],
|
207
212
|
?add_recurring_commits: ::Array[MetronomeSDK::V2::ContractEditParams::AddRecurringCommit],
|
208
213
|
?add_recurring_credits: ::Array[MetronomeSDK::V2::ContractEditParams::AddRecurringCredit],
|
209
214
|
?add_reseller_royalties: ::Array[MetronomeSDK::V2::ContractEditParams::AddResellerRoyalty],
|
210
215
|
?add_scheduled_charges: ::Array[MetronomeSDK::V2::ContractEditParams::AddScheduledCharge],
|
211
|
-
?add_spend_threshold_configuration: MetronomeSDK::
|
216
|
+
?add_spend_threshold_configuration: MetronomeSDK::SpendThresholdConfigurationV2,
|
212
217
|
?add_subscriptions: ::Array[MetronomeSDK::V2::ContractEditParams::AddSubscription],
|
213
218
|
?allow_contract_ending_before_finalized_invoice: bool,
|
214
219
|
?archive_commits: ::Array[MetronomeSDK::V2::ContractEditParams::ArchiveCommit],
|
215
220
|
?archive_credits: ::Array[MetronomeSDK::V2::ContractEditParams::ArchiveCredit],
|
216
221
|
?archive_scheduled_charges: ::Array[MetronomeSDK::V2::ContractEditParams::ArchiveScheduledCharge],
|
217
222
|
?remove_overrides: ::Array[MetronomeSDK::V2::ContractEditParams::RemoveOverride],
|
223
|
+
?uniqueness_key: String,
|
218
224
|
?update_commits: ::Array[MetronomeSDK::V2::ContractEditParams::UpdateCommit],
|
219
225
|
?update_contract_end_date: Time?,
|
220
226
|
?update_contract_name: String?,
|
@@ -235,19 +241,20 @@ module MetronomeSDK
|
|
235
241
|
add_credits: ::Array[MetronomeSDK::V2::ContractEditParams::AddCredit],
|
236
242
|
add_discounts: ::Array[MetronomeSDK::V2::ContractEditParams::AddDiscount],
|
237
243
|
add_overrides: ::Array[MetronomeSDK::V2::ContractEditParams::AddOverride],
|
238
|
-
add_prepaid_balance_threshold_configuration: MetronomeSDK::
|
244
|
+
add_prepaid_balance_threshold_configuration: MetronomeSDK::PrepaidBalanceThresholdConfigurationV2,
|
239
245
|
add_professional_services: ::Array[MetronomeSDK::V2::ContractEditParams::AddProfessionalService],
|
240
246
|
add_recurring_commits: ::Array[MetronomeSDK::V2::ContractEditParams::AddRecurringCommit],
|
241
247
|
add_recurring_credits: ::Array[MetronomeSDK::V2::ContractEditParams::AddRecurringCredit],
|
242
248
|
add_reseller_royalties: ::Array[MetronomeSDK::V2::ContractEditParams::AddResellerRoyalty],
|
243
249
|
add_scheduled_charges: ::Array[MetronomeSDK::V2::ContractEditParams::AddScheduledCharge],
|
244
|
-
add_spend_threshold_configuration: MetronomeSDK::
|
250
|
+
add_spend_threshold_configuration: MetronomeSDK::SpendThresholdConfigurationV2,
|
245
251
|
add_subscriptions: ::Array[MetronomeSDK::V2::ContractEditParams::AddSubscription],
|
246
252
|
allow_contract_ending_before_finalized_invoice: bool,
|
247
253
|
archive_commits: ::Array[MetronomeSDK::V2::ContractEditParams::ArchiveCommit],
|
248
254
|
archive_credits: ::Array[MetronomeSDK::V2::ContractEditParams::ArchiveCredit],
|
249
255
|
archive_scheduled_charges: ::Array[MetronomeSDK::V2::ContractEditParams::ArchiveScheduledCharge],
|
250
256
|
remove_overrides: ::Array[MetronomeSDK::V2::ContractEditParams::RemoveOverride],
|
257
|
+
uniqueness_key: String,
|
251
258
|
update_commits: ::Array[MetronomeSDK::V2::ContractEditParams::UpdateCommit],
|
252
259
|
update_contract_end_date: Time?,
|
253
260
|
update_contract_name: String?,
|
@@ -271,7 +278,7 @@ module MetronomeSDK
|
|
271
278
|
applicable_product_tags: ::Array[String],
|
272
279
|
custom_fields: ::Hash[Symbol, String],
|
273
280
|
description: String,
|
274
|
-
hierarchy_configuration: MetronomeSDK::
|
281
|
+
hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
275
282
|
invoice_schedule: MetronomeSDK::V2::ContractEditParams::AddCommit::InvoiceSchedule,
|
276
283
|
name: String,
|
277
284
|
netsuite_sales_order_id: String,
|
@@ -279,7 +286,7 @@ module MetronomeSDK
|
|
279
286
|
priority: Float,
|
280
287
|
rate_type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::rate_type,
|
281
288
|
rollover_fraction: Float,
|
282
|
-
specifiers: ::Array[MetronomeSDK::
|
289
|
+
specifiers: ::Array[MetronomeSDK::CommitSpecifierInput],
|
283
290
|
temporary_id: String
|
284
291
|
}
|
285
292
|
|
@@ -314,11 +321,11 @@ module MetronomeSDK
|
|
314
321
|
|
315
322
|
def description=: (String) -> String
|
316
323
|
|
317
|
-
attr_reader hierarchy_configuration: MetronomeSDK::
|
324
|
+
attr_reader hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration?
|
318
325
|
|
319
326
|
def hierarchy_configuration=: (
|
320
|
-
MetronomeSDK::
|
321
|
-
) -> MetronomeSDK::
|
327
|
+
MetronomeSDK::CommitHierarchyConfiguration
|
328
|
+
) -> MetronomeSDK::CommitHierarchyConfiguration
|
322
329
|
|
323
330
|
attr_reader invoice_schedule: MetronomeSDK::V2::ContractEditParams::AddCommit::InvoiceSchedule?
|
324
331
|
|
@@ -354,11 +361,11 @@ module MetronomeSDK
|
|
354
361
|
|
355
362
|
def rollover_fraction=: (Float) -> Float
|
356
363
|
|
357
|
-
attr_reader specifiers: ::Array[MetronomeSDK::
|
364
|
+
attr_reader specifiers: ::Array[MetronomeSDK::CommitSpecifierInput]?
|
358
365
|
|
359
366
|
def specifiers=: (
|
360
|
-
::Array[MetronomeSDK::
|
361
|
-
) -> ::Array[MetronomeSDK::
|
367
|
+
::Array[MetronomeSDK::CommitSpecifierInput]
|
368
|
+
) -> ::Array[MetronomeSDK::CommitSpecifierInput]
|
362
369
|
|
363
370
|
attr_reader temporary_id: String?
|
364
371
|
|
@@ -373,7 +380,7 @@ module MetronomeSDK
|
|
373
380
|
?applicable_product_tags: ::Array[String],
|
374
381
|
?custom_fields: ::Hash[Symbol, String],
|
375
382
|
?description: String,
|
376
|
-
?hierarchy_configuration: MetronomeSDK::
|
383
|
+
?hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
377
384
|
?invoice_schedule: MetronomeSDK::V2::ContractEditParams::AddCommit::InvoiceSchedule,
|
378
385
|
?name: String,
|
379
386
|
?netsuite_sales_order_id: String,
|
@@ -381,7 +388,7 @@ module MetronomeSDK
|
|
381
388
|
?priority: Float,
|
382
389
|
?rate_type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::rate_type,
|
383
390
|
?rollover_fraction: Float,
|
384
|
-
?specifiers: ::Array[MetronomeSDK::
|
391
|
+
?specifiers: ::Array[MetronomeSDK::CommitSpecifierInput],
|
385
392
|
?temporary_id: String
|
386
393
|
) -> void
|
387
394
|
|
@@ -394,7 +401,7 @@ module MetronomeSDK
|
|
394
401
|
applicable_product_tags: ::Array[String],
|
395
402
|
custom_fields: ::Hash[Symbol, String],
|
396
403
|
description: String,
|
397
|
-
hierarchy_configuration: MetronomeSDK::
|
404
|
+
hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
398
405
|
invoice_schedule: MetronomeSDK::V2::ContractEditParams::AddCommit::InvoiceSchedule,
|
399
406
|
name: String,
|
400
407
|
netsuite_sales_order_id: String,
|
@@ -402,7 +409,7 @@ module MetronomeSDK
|
|
402
409
|
priority: Float,
|
403
410
|
rate_type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::rate_type,
|
404
411
|
rollover_fraction: Float,
|
405
|
-
specifiers: ::Array[MetronomeSDK::
|
412
|
+
specifiers: ::Array[MetronomeSDK::CommitSpecifierInput],
|
406
413
|
temporary_id: String
|
407
414
|
}
|
408
415
|
|
@@ -464,123 +471,10 @@ module MetronomeSDK
|
|
464
471
|
end
|
465
472
|
end
|
466
473
|
|
467
|
-
type hierarchy_configuration =
|
468
|
-
{
|
469
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::child_access
|
470
|
-
}
|
471
|
-
|
472
|
-
class HierarchyConfiguration < MetronomeSDK::Internal::Type::BaseModel
|
473
|
-
attr_accessor child_access: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::child_access
|
474
|
-
|
475
|
-
def initialize: (
|
476
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::child_access
|
477
|
-
) -> void
|
478
|
-
|
479
|
-
def to_hash: -> {
|
480
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::child_access
|
481
|
-
}
|
482
|
-
|
483
|
-
type child_access =
|
484
|
-
MetronomeSDK::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll
|
485
|
-
| MetronomeSDK::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone
|
486
|
-
| MetronomeSDK::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs
|
487
|
-
|
488
|
-
module ChildAccess
|
489
|
-
extend MetronomeSDK::Internal::Type::Union
|
490
|
-
|
491
|
-
type commit_hierarchy_child_access_all =
|
492
|
-
{
|
493
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
494
|
-
}
|
495
|
-
|
496
|
-
class CommitHierarchyChildAccessAll < MetronomeSDK::Internal::Type::BaseModel
|
497
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
498
|
-
|
499
|
-
def initialize: (
|
500
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
501
|
-
) -> void
|
502
|
-
|
503
|
-
def to_hash: -> {
|
504
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
505
|
-
}
|
506
|
-
|
507
|
-
type type_ = :ALL
|
508
|
-
|
509
|
-
module Type
|
510
|
-
extend MetronomeSDK::Internal::Type::Enum
|
511
|
-
|
512
|
-
ALL: :ALL
|
513
|
-
|
514
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_]
|
515
|
-
end
|
516
|
-
end
|
517
|
-
|
518
|
-
type commit_hierarchy_child_access_none =
|
519
|
-
{
|
520
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
521
|
-
}
|
522
|
-
|
523
|
-
class CommitHierarchyChildAccessNone < MetronomeSDK::Internal::Type::BaseModel
|
524
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
525
|
-
|
526
|
-
def initialize: (
|
527
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
528
|
-
) -> void
|
529
|
-
|
530
|
-
def to_hash: -> {
|
531
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
532
|
-
}
|
533
|
-
|
534
|
-
type type_ = :NONE
|
535
|
-
|
536
|
-
module Type
|
537
|
-
extend MetronomeSDK::Internal::Type::Enum
|
538
|
-
|
539
|
-
NONE: :NONE
|
540
|
-
|
541
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_]
|
542
|
-
end
|
543
|
-
end
|
544
|
-
|
545
|
-
type commit_hierarchy_child_access_contract_ids =
|
546
|
-
{
|
547
|
-
contract_ids: ::Array[String],
|
548
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
549
|
-
}
|
550
|
-
|
551
|
-
class CommitHierarchyChildAccessContractIDs < MetronomeSDK::Internal::Type::BaseModel
|
552
|
-
attr_accessor contract_ids: ::Array[String]
|
553
|
-
|
554
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
555
|
-
|
556
|
-
def initialize: (
|
557
|
-
contract_ids: ::Array[String],
|
558
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
559
|
-
) -> void
|
560
|
-
|
561
|
-
def to_hash: -> {
|
562
|
-
contract_ids: ::Array[String],
|
563
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
564
|
-
}
|
565
|
-
|
566
|
-
type type_ = :CONTRACT_IDS
|
567
|
-
|
568
|
-
module Type
|
569
|
-
extend MetronomeSDK::Internal::Type::Enum
|
570
|
-
|
571
|
-
CONTRACT_IDS: :CONTRACT_IDS
|
572
|
-
|
573
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_]
|
574
|
-
end
|
575
|
-
end
|
576
|
-
|
577
|
-
def self?.variants: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddCommit::HierarchyConfiguration::child_access]
|
578
|
-
end
|
579
|
-
end
|
580
|
-
|
581
474
|
type invoice_schedule =
|
582
475
|
{
|
583
476
|
credit_type_id: String,
|
477
|
+
do_not_invoice: bool,
|
584
478
|
recurring_schedule: MetronomeSDK::V2::ContractEditParams::AddCommit::InvoiceSchedule::RecurringSchedule,
|
585
479
|
schedule_items: ::Array[MetronomeSDK::V2::ContractEditParams::AddCommit::InvoiceSchedule::ScheduleItem]
|
586
480
|
}
|
@@ -590,6 +484,10 @@ module MetronomeSDK
|
|
590
484
|
|
591
485
|
def credit_type_id=: (String) -> String
|
592
486
|
|
487
|
+
attr_reader do_not_invoice: bool?
|
488
|
+
|
489
|
+
def do_not_invoice=: (bool) -> bool
|
490
|
+
|
593
491
|
attr_reader recurring_schedule: MetronomeSDK::V2::ContractEditParams::AddCommit::InvoiceSchedule::RecurringSchedule?
|
594
492
|
|
595
493
|
def recurring_schedule=: (
|
@@ -604,12 +502,14 @@ module MetronomeSDK
|
|
604
502
|
|
605
503
|
def initialize: (
|
606
504
|
?credit_type_id: String,
|
505
|
+
?do_not_invoice: bool,
|
607
506
|
?recurring_schedule: MetronomeSDK::V2::ContractEditParams::AddCommit::InvoiceSchedule::RecurringSchedule,
|
608
507
|
?schedule_items: ::Array[MetronomeSDK::V2::ContractEditParams::AddCommit::InvoiceSchedule::ScheduleItem]
|
609
508
|
) -> void
|
610
509
|
|
611
510
|
def to_hash: -> {
|
612
511
|
credit_type_id: String,
|
512
|
+
do_not_invoice: bool,
|
613
513
|
recurring_schedule: MetronomeSDK::V2::ContractEditParams::AddCommit::InvoiceSchedule::RecurringSchedule,
|
614
514
|
schedule_items: ::Array[MetronomeSDK::V2::ContractEditParams::AddCommit::InvoiceSchedule::ScheduleItem]
|
615
515
|
}
|
@@ -806,7 +706,8 @@ module MetronomeSDK
|
|
806
706
|
type stripe_config =
|
807
707
|
{
|
808
708
|
payment_type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::PaymentGateConfig::StripeConfig::payment_type,
|
809
|
-
invoice_metadata: ::Hash[Symbol, String]
|
709
|
+
invoice_metadata: ::Hash[Symbol, String],
|
710
|
+
on_session_payment: bool
|
810
711
|
}
|
811
712
|
|
812
713
|
class StripeConfig < MetronomeSDK::Internal::Type::BaseModel
|
@@ -818,14 +719,20 @@ module MetronomeSDK
|
|
818
719
|
::Hash[Symbol, String]
|
819
720
|
) -> ::Hash[Symbol, String]
|
820
721
|
|
722
|
+
attr_reader on_session_payment: bool?
|
723
|
+
|
724
|
+
def on_session_payment=: (bool) -> bool
|
725
|
+
|
821
726
|
def initialize: (
|
822
727
|
payment_type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::PaymentGateConfig::StripeConfig::payment_type,
|
823
|
-
?invoice_metadata: ::Hash[Symbol, String]
|
728
|
+
?invoice_metadata: ::Hash[Symbol, String],
|
729
|
+
?on_session_payment: bool
|
824
730
|
) -> void
|
825
731
|
|
826
732
|
def to_hash: -> {
|
827
733
|
payment_type: MetronomeSDK::Models::V2::ContractEditParams::AddCommit::PaymentGateConfig::StripeConfig::payment_type,
|
828
|
-
invoice_metadata: ::Hash[Symbol, String]
|
734
|
+
invoice_metadata: ::Hash[Symbol, String],
|
735
|
+
on_session_payment: bool
|
829
736
|
}
|
830
737
|
|
831
738
|
type payment_type = :INVOICE | :PAYMENT_INTENT
|
@@ -864,50 +771,6 @@ module MetronomeSDK
|
|
864
771
|
|
865
772
|
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddCommit::rate_type]
|
866
773
|
end
|
867
|
-
|
868
|
-
type specifier =
|
869
|
-
{
|
870
|
-
presentation_group_values: ::Hash[Symbol, String],
|
871
|
-
pricing_group_values: ::Hash[Symbol, String],
|
872
|
-
product_id: String,
|
873
|
-
product_tags: ::Array[String]
|
874
|
-
}
|
875
|
-
|
876
|
-
class Specifier < MetronomeSDK::Internal::Type::BaseModel
|
877
|
-
attr_reader presentation_group_values: ::Hash[Symbol, String]?
|
878
|
-
|
879
|
-
def presentation_group_values=: (
|
880
|
-
::Hash[Symbol, String]
|
881
|
-
) -> ::Hash[Symbol, String]
|
882
|
-
|
883
|
-
attr_reader pricing_group_values: ::Hash[Symbol, String]?
|
884
|
-
|
885
|
-
def pricing_group_values=: (
|
886
|
-
::Hash[Symbol, String]
|
887
|
-
) -> ::Hash[Symbol, String]
|
888
|
-
|
889
|
-
attr_reader product_id: String?
|
890
|
-
|
891
|
-
def product_id=: (String) -> String
|
892
|
-
|
893
|
-
attr_reader product_tags: ::Array[String]?
|
894
|
-
|
895
|
-
def product_tags=: (::Array[String]) -> ::Array[String]
|
896
|
-
|
897
|
-
def initialize: (
|
898
|
-
?presentation_group_values: ::Hash[Symbol, String],
|
899
|
-
?pricing_group_values: ::Hash[Symbol, String],
|
900
|
-
?product_id: String,
|
901
|
-
?product_tags: ::Array[String]
|
902
|
-
) -> void
|
903
|
-
|
904
|
-
def to_hash: -> {
|
905
|
-
presentation_group_values: ::Hash[Symbol, String],
|
906
|
-
pricing_group_values: ::Hash[Symbol, String],
|
907
|
-
product_id: String,
|
908
|
-
product_tags: ::Array[String]
|
909
|
-
}
|
910
|
-
end
|
911
774
|
end
|
912
775
|
|
913
776
|
type add_credit =
|
@@ -918,12 +781,12 @@ module MetronomeSDK
|
|
918
781
|
applicable_product_tags: ::Array[String],
|
919
782
|
custom_fields: ::Hash[Symbol, String],
|
920
783
|
description: String,
|
921
|
-
hierarchy_configuration: MetronomeSDK::
|
784
|
+
hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
922
785
|
name: String,
|
923
786
|
netsuite_sales_order_id: String,
|
924
787
|
priority: Float,
|
925
788
|
rate_type: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::rate_type,
|
926
|
-
specifiers: ::Array[MetronomeSDK::
|
789
|
+
specifiers: ::Array[MetronomeSDK::CommitSpecifierInput]
|
927
790
|
}
|
928
791
|
|
929
792
|
class AddCredit < MetronomeSDK::Internal::Type::BaseModel
|
@@ -947,11 +810,11 @@ module MetronomeSDK
|
|
947
810
|
|
948
811
|
def description=: (String) -> String
|
949
812
|
|
950
|
-
attr_reader hierarchy_configuration: MetronomeSDK::
|
813
|
+
attr_reader hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration?
|
951
814
|
|
952
815
|
def hierarchy_configuration=: (
|
953
|
-
MetronomeSDK::
|
954
|
-
) -> MetronomeSDK::
|
816
|
+
MetronomeSDK::CommitHierarchyConfiguration
|
817
|
+
) -> MetronomeSDK::CommitHierarchyConfiguration
|
955
818
|
|
956
819
|
attr_reader name: String?
|
957
820
|
|
@@ -971,11 +834,11 @@ module MetronomeSDK
|
|
971
834
|
MetronomeSDK::Models::V2::ContractEditParams::AddCredit::rate_type
|
972
835
|
) -> MetronomeSDK::Models::V2::ContractEditParams::AddCredit::rate_type
|
973
836
|
|
974
|
-
attr_reader specifiers: ::Array[MetronomeSDK::
|
837
|
+
attr_reader specifiers: ::Array[MetronomeSDK::CommitSpecifierInput]?
|
975
838
|
|
976
839
|
def specifiers=: (
|
977
|
-
::Array[MetronomeSDK::
|
978
|
-
) -> ::Array[MetronomeSDK::
|
840
|
+
::Array[MetronomeSDK::CommitSpecifierInput]
|
841
|
+
) -> ::Array[MetronomeSDK::CommitSpecifierInput]
|
979
842
|
|
980
843
|
def initialize: (
|
981
844
|
access_schedule: MetronomeSDK::V2::ContractEditParams::AddCredit::AccessSchedule,
|
@@ -984,12 +847,12 @@ module MetronomeSDK
|
|
984
847
|
?applicable_product_tags: ::Array[String],
|
985
848
|
?custom_fields: ::Hash[Symbol, String],
|
986
849
|
?description: String,
|
987
|
-
?hierarchy_configuration: MetronomeSDK::
|
850
|
+
?hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
988
851
|
?name: String,
|
989
852
|
?netsuite_sales_order_id: String,
|
990
853
|
?priority: Float,
|
991
854
|
?rate_type: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::rate_type,
|
992
|
-
?specifiers: ::Array[MetronomeSDK::
|
855
|
+
?specifiers: ::Array[MetronomeSDK::CommitSpecifierInput]
|
993
856
|
) -> void
|
994
857
|
|
995
858
|
def to_hash: -> {
|
@@ -999,12 +862,12 @@ module MetronomeSDK
|
|
999
862
|
applicable_product_tags: ::Array[String],
|
1000
863
|
custom_fields: ::Hash[Symbol, String],
|
1001
864
|
description: String,
|
1002
|
-
hierarchy_configuration: MetronomeSDK::
|
865
|
+
hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
1003
866
|
name: String,
|
1004
867
|
netsuite_sales_order_id: String,
|
1005
868
|
priority: Float,
|
1006
869
|
rate_type: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::rate_type,
|
1007
|
-
specifiers: ::Array[MetronomeSDK::
|
870
|
+
specifiers: ::Array[MetronomeSDK::CommitSpecifierInput]
|
1008
871
|
}
|
1009
872
|
|
1010
873
|
type access_schedule =
|
@@ -1054,120 +917,6 @@ module MetronomeSDK
|
|
1054
917
|
end
|
1055
918
|
end
|
1056
919
|
|
1057
|
-
type hierarchy_configuration =
|
1058
|
-
{
|
1059
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::child_access
|
1060
|
-
}
|
1061
|
-
|
1062
|
-
class HierarchyConfiguration < MetronomeSDK::Internal::Type::BaseModel
|
1063
|
-
attr_accessor child_access: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::child_access
|
1064
|
-
|
1065
|
-
def initialize: (
|
1066
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::child_access
|
1067
|
-
) -> void
|
1068
|
-
|
1069
|
-
def to_hash: -> {
|
1070
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::child_access
|
1071
|
-
}
|
1072
|
-
|
1073
|
-
type child_access =
|
1074
|
-
MetronomeSDK::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll
|
1075
|
-
| MetronomeSDK::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone
|
1076
|
-
| MetronomeSDK::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs
|
1077
|
-
|
1078
|
-
module ChildAccess
|
1079
|
-
extend MetronomeSDK::Internal::Type::Union
|
1080
|
-
|
1081
|
-
type commit_hierarchy_child_access_all =
|
1082
|
-
{
|
1083
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
1084
|
-
}
|
1085
|
-
|
1086
|
-
class CommitHierarchyChildAccessAll < MetronomeSDK::Internal::Type::BaseModel
|
1087
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
1088
|
-
|
1089
|
-
def initialize: (
|
1090
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
1091
|
-
) -> void
|
1092
|
-
|
1093
|
-
def to_hash: -> {
|
1094
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
1095
|
-
}
|
1096
|
-
|
1097
|
-
type type_ = :ALL
|
1098
|
-
|
1099
|
-
module Type
|
1100
|
-
extend MetronomeSDK::Internal::Type::Enum
|
1101
|
-
|
1102
|
-
ALL: :ALL
|
1103
|
-
|
1104
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_]
|
1105
|
-
end
|
1106
|
-
end
|
1107
|
-
|
1108
|
-
type commit_hierarchy_child_access_none =
|
1109
|
-
{
|
1110
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
1111
|
-
}
|
1112
|
-
|
1113
|
-
class CommitHierarchyChildAccessNone < MetronomeSDK::Internal::Type::BaseModel
|
1114
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
1115
|
-
|
1116
|
-
def initialize: (
|
1117
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
1118
|
-
) -> void
|
1119
|
-
|
1120
|
-
def to_hash: -> {
|
1121
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
1122
|
-
}
|
1123
|
-
|
1124
|
-
type type_ = :NONE
|
1125
|
-
|
1126
|
-
module Type
|
1127
|
-
extend MetronomeSDK::Internal::Type::Enum
|
1128
|
-
|
1129
|
-
NONE: :NONE
|
1130
|
-
|
1131
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_]
|
1132
|
-
end
|
1133
|
-
end
|
1134
|
-
|
1135
|
-
type commit_hierarchy_child_access_contract_ids =
|
1136
|
-
{
|
1137
|
-
contract_ids: ::Array[String],
|
1138
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
1139
|
-
}
|
1140
|
-
|
1141
|
-
class CommitHierarchyChildAccessContractIDs < MetronomeSDK::Internal::Type::BaseModel
|
1142
|
-
attr_accessor contract_ids: ::Array[String]
|
1143
|
-
|
1144
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
1145
|
-
|
1146
|
-
def initialize: (
|
1147
|
-
contract_ids: ::Array[String],
|
1148
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
1149
|
-
) -> void
|
1150
|
-
|
1151
|
-
def to_hash: -> {
|
1152
|
-
contract_ids: ::Array[String],
|
1153
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
1154
|
-
}
|
1155
|
-
|
1156
|
-
type type_ = :CONTRACT_IDS
|
1157
|
-
|
1158
|
-
module Type
|
1159
|
-
extend MetronomeSDK::Internal::Type::Enum
|
1160
|
-
|
1161
|
-
CONTRACT_IDS: :CONTRACT_IDS
|
1162
|
-
|
1163
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_]
|
1164
|
-
end
|
1165
|
-
end
|
1166
|
-
|
1167
|
-
def self?.variants: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddCredit::HierarchyConfiguration::child_access]
|
1168
|
-
end
|
1169
|
-
end
|
1170
|
-
|
1171
920
|
type rate_type = :COMMIT_RATE | :LIST_RATE
|
1172
921
|
|
1173
922
|
module RateType
|
@@ -1178,50 +927,6 @@ module MetronomeSDK
|
|
1178
927
|
|
1179
928
|
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddCredit::rate_type]
|
1180
929
|
end
|
1181
|
-
|
1182
|
-
type specifier =
|
1183
|
-
{
|
1184
|
-
presentation_group_values: ::Hash[Symbol, String],
|
1185
|
-
pricing_group_values: ::Hash[Symbol, String],
|
1186
|
-
product_id: String,
|
1187
|
-
product_tags: ::Array[String]
|
1188
|
-
}
|
1189
|
-
|
1190
|
-
class Specifier < MetronomeSDK::Internal::Type::BaseModel
|
1191
|
-
attr_reader presentation_group_values: ::Hash[Symbol, String]?
|
1192
|
-
|
1193
|
-
def presentation_group_values=: (
|
1194
|
-
::Hash[Symbol, String]
|
1195
|
-
) -> ::Hash[Symbol, String]
|
1196
|
-
|
1197
|
-
attr_reader pricing_group_values: ::Hash[Symbol, String]?
|
1198
|
-
|
1199
|
-
def pricing_group_values=: (
|
1200
|
-
::Hash[Symbol, String]
|
1201
|
-
) -> ::Hash[Symbol, String]
|
1202
|
-
|
1203
|
-
attr_reader product_id: String?
|
1204
|
-
|
1205
|
-
def product_id=: (String) -> String
|
1206
|
-
|
1207
|
-
attr_reader product_tags: ::Array[String]?
|
1208
|
-
|
1209
|
-
def product_tags=: (::Array[String]) -> ::Array[String]
|
1210
|
-
|
1211
|
-
def initialize: (
|
1212
|
-
?presentation_group_values: ::Hash[Symbol, String],
|
1213
|
-
?pricing_group_values: ::Hash[Symbol, String],
|
1214
|
-
?product_id: String,
|
1215
|
-
?product_tags: ::Array[String]
|
1216
|
-
) -> void
|
1217
|
-
|
1218
|
-
def to_hash: -> {
|
1219
|
-
presentation_group_values: ::Hash[Symbol, String],
|
1220
|
-
pricing_group_values: ::Hash[Symbol, String],
|
1221
|
-
product_id: String,
|
1222
|
-
product_tags: ::Array[String]
|
1223
|
-
}
|
1224
|
-
end
|
1225
930
|
end
|
1226
931
|
|
1227
932
|
type add_discount =
|
@@ -1269,6 +974,7 @@ module MetronomeSDK
|
|
1269
974
|
type schedule =
|
1270
975
|
{
|
1271
976
|
credit_type_id: String,
|
977
|
+
do_not_invoice: bool,
|
1272
978
|
recurring_schedule: MetronomeSDK::V2::ContractEditParams::AddDiscount::Schedule::RecurringSchedule,
|
1273
979
|
schedule_items: ::Array[MetronomeSDK::V2::ContractEditParams::AddDiscount::Schedule::ScheduleItem]
|
1274
980
|
}
|
@@ -1278,6 +984,10 @@ module MetronomeSDK
|
|
1278
984
|
|
1279
985
|
def credit_type_id=: (String) -> String
|
1280
986
|
|
987
|
+
attr_reader do_not_invoice: bool?
|
988
|
+
|
989
|
+
def do_not_invoice=: (bool) -> bool
|
990
|
+
|
1281
991
|
attr_reader recurring_schedule: MetronomeSDK::V2::ContractEditParams::AddDiscount::Schedule::RecurringSchedule?
|
1282
992
|
|
1283
993
|
def recurring_schedule=: (
|
@@ -1292,12 +1002,14 @@ module MetronomeSDK
|
|
1292
1002
|
|
1293
1003
|
def initialize: (
|
1294
1004
|
?credit_type_id: String,
|
1005
|
+
?do_not_invoice: bool,
|
1295
1006
|
?recurring_schedule: MetronomeSDK::V2::ContractEditParams::AddDiscount::Schedule::RecurringSchedule,
|
1296
1007
|
?schedule_items: ::Array[MetronomeSDK::V2::ContractEditParams::AddDiscount::Schedule::ScheduleItem]
|
1297
1008
|
) -> void
|
1298
1009
|
|
1299
1010
|
def to_hash: -> {
|
1300
1011
|
credit_type_id: String,
|
1012
|
+
do_not_invoice: bool,
|
1301
1013
|
recurring_schedule: MetronomeSDK::V2::ContractEditParams::AddDiscount::Schedule::RecurringSchedule,
|
1302
1014
|
schedule_items: ::Array[MetronomeSDK::V2::ContractEditParams::AddDiscount::Schedule::ScheduleItem]
|
1303
1015
|
}
|
@@ -1733,378 +1445,115 @@ module MetronomeSDK
|
|
1733
1445
|
end
|
1734
1446
|
end
|
1735
1447
|
|
1736
|
-
type
|
1448
|
+
type add_professional_service =
|
1737
1449
|
{
|
1738
|
-
|
1739
|
-
|
1740
|
-
|
1741
|
-
|
1742
|
-
|
1743
|
-
|
1450
|
+
max_amount: Float,
|
1451
|
+
product_id: String,
|
1452
|
+
quantity: Float,
|
1453
|
+
unit_price: Float,
|
1454
|
+
custom_fields: ::Hash[Symbol, String],
|
1455
|
+
description: String,
|
1456
|
+
netsuite_sales_order_id: String
|
1744
1457
|
}
|
1745
1458
|
|
1746
|
-
class
|
1747
|
-
attr_accessor
|
1459
|
+
class AddProfessionalService < MetronomeSDK::Internal::Type::BaseModel
|
1460
|
+
attr_accessor max_amount: Float
|
1461
|
+
|
1462
|
+
attr_accessor product_id: String
|
1463
|
+
|
1464
|
+
attr_accessor quantity: Float
|
1465
|
+
|
1466
|
+
attr_accessor unit_price: Float
|
1748
1467
|
|
1749
|
-
|
1468
|
+
attr_reader custom_fields: ::Hash[Symbol, String]?
|
1750
1469
|
|
1751
|
-
|
1470
|
+
def custom_fields=: (::Hash[Symbol, String]) -> ::Hash[Symbol, String]
|
1752
1471
|
|
1753
|
-
|
1472
|
+
attr_reader description: String?
|
1754
1473
|
|
1755
|
-
|
1474
|
+
def description=: (String) -> String
|
1756
1475
|
|
1757
|
-
attr_reader
|
1476
|
+
attr_reader netsuite_sales_order_id: String?
|
1758
1477
|
|
1759
|
-
def
|
1478
|
+
def netsuite_sales_order_id=: (String) -> String
|
1760
1479
|
|
1761
1480
|
def initialize: (
|
1762
|
-
|
1763
|
-
|
1764
|
-
|
1765
|
-
|
1766
|
-
|
1767
|
-
?
|
1481
|
+
max_amount: Float,
|
1482
|
+
product_id: String,
|
1483
|
+
quantity: Float,
|
1484
|
+
unit_price: Float,
|
1485
|
+
?custom_fields: ::Hash[Symbol, String],
|
1486
|
+
?description: String,
|
1487
|
+
?netsuite_sales_order_id: String
|
1768
1488
|
) -> void
|
1769
1489
|
|
1770
1490
|
def to_hash: -> {
|
1771
|
-
|
1772
|
-
|
1773
|
-
|
1774
|
-
|
1775
|
-
|
1776
|
-
|
1491
|
+
max_amount: Float,
|
1492
|
+
product_id: String,
|
1493
|
+
quantity: Float,
|
1494
|
+
unit_price: Float,
|
1495
|
+
custom_fields: ::Hash[Symbol, String],
|
1496
|
+
description: String,
|
1497
|
+
netsuite_sales_order_id: String
|
1777
1498
|
}
|
1499
|
+
end
|
1778
1500
|
|
1779
|
-
|
1780
|
-
|
1781
|
-
|
1782
|
-
|
1783
|
-
|
1784
|
-
|
1785
|
-
|
1786
|
-
|
1787
|
-
|
1501
|
+
type add_recurring_commit =
|
1502
|
+
{
|
1503
|
+
access_amount: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::AccessAmount,
|
1504
|
+
commit_duration: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::CommitDuration,
|
1505
|
+
priority: Float,
|
1506
|
+
product_id: String,
|
1507
|
+
starting_at: Time,
|
1508
|
+
applicable_product_ids: ::Array[String],
|
1509
|
+
applicable_product_tags: ::Array[String],
|
1510
|
+
description: String,
|
1511
|
+
ending_before: Time,
|
1512
|
+
hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
1513
|
+
invoice_amount: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::InvoiceAmount,
|
1514
|
+
name: String,
|
1515
|
+
netsuite_sales_order_id: String,
|
1516
|
+
proration: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::proration,
|
1517
|
+
rate_type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::rate_type,
|
1518
|
+
recurrence_frequency: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::recurrence_frequency,
|
1519
|
+
rollover_fraction: Float,
|
1520
|
+
specifiers: ::Array[MetronomeSDK::CommitSpecifierInput],
|
1521
|
+
subscription_config: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::SubscriptionConfig,
|
1522
|
+
temporary_id: String
|
1523
|
+
}
|
1788
1524
|
|
1789
|
-
|
1790
|
-
|
1525
|
+
class AddRecurringCommit < MetronomeSDK::Internal::Type::BaseModel
|
1526
|
+
attr_accessor access_amount: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::AccessAmount
|
1791
1527
|
|
1792
|
-
|
1528
|
+
attr_accessor commit_duration: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::CommitDuration
|
1793
1529
|
|
1794
|
-
|
1530
|
+
attr_accessor priority: Float
|
1795
1531
|
|
1796
|
-
|
1532
|
+
attr_accessor product_id: String
|
1797
1533
|
|
1798
|
-
|
1534
|
+
attr_accessor starting_at: Time
|
1799
1535
|
|
1800
|
-
|
1536
|
+
attr_reader applicable_product_ids: ::Array[String]?
|
1801
1537
|
|
1802
|
-
|
1538
|
+
def applicable_product_ids=: (::Array[String]) -> ::Array[String]
|
1803
1539
|
|
1804
|
-
|
1540
|
+
attr_reader applicable_product_tags: ::Array[String]?
|
1805
1541
|
|
1806
|
-
|
1542
|
+
def applicable_product_tags=: (::Array[String]) -> ::Array[String]
|
1807
1543
|
|
1808
|
-
|
1544
|
+
attr_reader description: String?
|
1809
1545
|
|
1810
|
-
|
1811
|
-
::Array[MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::Commit::Specifier]
|
1812
|
-
) -> ::Array[MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::Commit::Specifier]
|
1813
|
-
|
1814
|
-
def initialize: (
|
1815
|
-
product_id: String,
|
1816
|
-
?applicable_product_ids: ::Array[String],
|
1817
|
-
?applicable_product_tags: ::Array[String],
|
1818
|
-
?description: String,
|
1819
|
-
?name: String,
|
1820
|
-
?specifiers: ::Array[MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::Commit::Specifier]
|
1821
|
-
) -> void
|
1822
|
-
|
1823
|
-
def to_hash: -> {
|
1824
|
-
product_id: String,
|
1825
|
-
applicable_product_ids: ::Array[String],
|
1826
|
-
applicable_product_tags: ::Array[String],
|
1827
|
-
description: String,
|
1828
|
-
name: String,
|
1829
|
-
specifiers: ::Array[MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::Commit::Specifier]
|
1830
|
-
}
|
1831
|
-
|
1832
|
-
type specifier =
|
1833
|
-
{
|
1834
|
-
presentation_group_values: ::Hash[Symbol, String],
|
1835
|
-
pricing_group_values: ::Hash[Symbol, String],
|
1836
|
-
product_id: String,
|
1837
|
-
product_tags: ::Array[String]
|
1838
|
-
}
|
1839
|
-
|
1840
|
-
class Specifier < MetronomeSDK::Internal::Type::BaseModel
|
1841
|
-
attr_reader presentation_group_values: ::Hash[Symbol, String]?
|
1842
|
-
|
1843
|
-
def presentation_group_values=: (
|
1844
|
-
::Hash[Symbol, String]
|
1845
|
-
) -> ::Hash[Symbol, String]
|
1846
|
-
|
1847
|
-
attr_reader pricing_group_values: ::Hash[Symbol, String]?
|
1848
|
-
|
1849
|
-
def pricing_group_values=: (
|
1850
|
-
::Hash[Symbol, String]
|
1851
|
-
) -> ::Hash[Symbol, String]
|
1852
|
-
|
1853
|
-
attr_reader product_id: String?
|
1854
|
-
|
1855
|
-
def product_id=: (String) -> String
|
1856
|
-
|
1857
|
-
attr_reader product_tags: ::Array[String]?
|
1858
|
-
|
1859
|
-
def product_tags=: (::Array[String]) -> ::Array[String]
|
1860
|
-
|
1861
|
-
def initialize: (
|
1862
|
-
?presentation_group_values: ::Hash[Symbol, String],
|
1863
|
-
?pricing_group_values: ::Hash[Symbol, String],
|
1864
|
-
?product_id: String,
|
1865
|
-
?product_tags: ::Array[String]
|
1866
|
-
) -> void
|
1867
|
-
|
1868
|
-
def to_hash: -> {
|
1869
|
-
presentation_group_values: ::Hash[Symbol, String],
|
1870
|
-
pricing_group_values: ::Hash[Symbol, String],
|
1871
|
-
product_id: String,
|
1872
|
-
product_tags: ::Array[String]
|
1873
|
-
}
|
1874
|
-
end
|
1875
|
-
end
|
1876
|
-
|
1877
|
-
type payment_gate_config =
|
1878
|
-
{
|
1879
|
-
payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::payment_gate_type,
|
1880
|
-
precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig,
|
1881
|
-
stripe_config: MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig,
|
1882
|
-
tax_type: MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::tax_type
|
1883
|
-
}
|
1884
|
-
|
1885
|
-
class PaymentGateConfig < MetronomeSDK::Internal::Type::BaseModel
|
1886
|
-
attr_accessor payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::payment_gate_type
|
1887
|
-
|
1888
|
-
attr_reader precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig?
|
1889
|
-
|
1890
|
-
def precalculated_tax_config=: (
|
1891
|
-
MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig
|
1892
|
-
) -> MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig
|
1893
|
-
|
1894
|
-
attr_reader stripe_config: MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig?
|
1895
|
-
|
1896
|
-
def stripe_config=: (
|
1897
|
-
MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig
|
1898
|
-
) -> MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig
|
1899
|
-
|
1900
|
-
attr_reader tax_type: MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::tax_type?
|
1901
|
-
|
1902
|
-
def tax_type=: (
|
1903
|
-
MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::tax_type
|
1904
|
-
) -> MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::tax_type
|
1905
|
-
|
1906
|
-
def initialize: (
|
1907
|
-
payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::payment_gate_type,
|
1908
|
-
?precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig,
|
1909
|
-
?stripe_config: MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig,
|
1910
|
-
?tax_type: MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::tax_type
|
1911
|
-
) -> void
|
1912
|
-
|
1913
|
-
def to_hash: -> {
|
1914
|
-
payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::payment_gate_type,
|
1915
|
-
precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig,
|
1916
|
-
stripe_config: MetronomeSDK::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig,
|
1917
|
-
tax_type: MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::tax_type
|
1918
|
-
}
|
1919
|
-
|
1920
|
-
type payment_gate_type = :NONE | :STRIPE | :EXTERNAL
|
1921
|
-
|
1922
|
-
module PaymentGateType
|
1923
|
-
extend MetronomeSDK::Internal::Type::Enum
|
1924
|
-
|
1925
|
-
NONE: :NONE
|
1926
|
-
STRIPE: :STRIPE
|
1927
|
-
EXTERNAL: :EXTERNAL
|
1928
|
-
|
1929
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::payment_gate_type]
|
1930
|
-
end
|
1931
|
-
|
1932
|
-
type precalculated_tax_config =
|
1933
|
-
{ tax_amount: Float, tax_name: String }
|
1934
|
-
|
1935
|
-
class PrecalculatedTaxConfig < MetronomeSDK::Internal::Type::BaseModel
|
1936
|
-
attr_accessor tax_amount: Float
|
1937
|
-
|
1938
|
-
attr_reader tax_name: String?
|
1939
|
-
|
1940
|
-
def tax_name=: (String) -> String
|
1941
|
-
|
1942
|
-
def initialize: (tax_amount: Float, ?tax_name: String) -> void
|
1943
|
-
|
1944
|
-
def to_hash: -> { tax_amount: Float, tax_name: String }
|
1945
|
-
end
|
1946
|
-
|
1947
|
-
type stripe_config =
|
1948
|
-
{
|
1949
|
-
payment_type: MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type,
|
1950
|
-
invoice_metadata: ::Hash[Symbol, String]
|
1951
|
-
}
|
1952
|
-
|
1953
|
-
class StripeConfig < MetronomeSDK::Internal::Type::BaseModel
|
1954
|
-
attr_accessor payment_type: MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type
|
1955
|
-
|
1956
|
-
attr_reader invoice_metadata: ::Hash[Symbol, String]?
|
1957
|
-
|
1958
|
-
def invoice_metadata=: (
|
1959
|
-
::Hash[Symbol, String]
|
1960
|
-
) -> ::Hash[Symbol, String]
|
1961
|
-
|
1962
|
-
def initialize: (
|
1963
|
-
payment_type: MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type,
|
1964
|
-
?invoice_metadata: ::Hash[Symbol, String]
|
1965
|
-
) -> void
|
1966
|
-
|
1967
|
-
def to_hash: -> {
|
1968
|
-
payment_type: MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type,
|
1969
|
-
invoice_metadata: ::Hash[Symbol, String]
|
1970
|
-
}
|
1971
|
-
|
1972
|
-
type payment_type = :INVOICE | :PAYMENT_INTENT
|
1973
|
-
|
1974
|
-
module PaymentType
|
1975
|
-
extend MetronomeSDK::Internal::Type::Enum
|
1976
|
-
|
1977
|
-
INVOICE: :INVOICE
|
1978
|
-
PAYMENT_INTENT: :PAYMENT_INTENT
|
1979
|
-
|
1980
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type]
|
1981
|
-
end
|
1982
|
-
end
|
1983
|
-
|
1984
|
-
type tax_type = :NONE | :STRIPE | :ANROK | :PRECALCULATED
|
1985
|
-
|
1986
|
-
module TaxType
|
1987
|
-
extend MetronomeSDK::Internal::Type::Enum
|
1988
|
-
|
1989
|
-
NONE: :NONE
|
1990
|
-
STRIPE: :STRIPE
|
1991
|
-
ANROK: :ANROK
|
1992
|
-
PRECALCULATED: :PRECALCULATED
|
1993
|
-
|
1994
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddPrepaidBalanceThresholdConfiguration::PaymentGateConfig::tax_type]
|
1995
|
-
end
|
1996
|
-
end
|
1997
|
-
end
|
1998
|
-
|
1999
|
-
type add_professional_service =
|
2000
|
-
{
|
2001
|
-
max_amount: Float,
|
2002
|
-
product_id: String,
|
2003
|
-
quantity: Float,
|
2004
|
-
unit_price: Float,
|
2005
|
-
custom_fields: ::Hash[Symbol, String],
|
2006
|
-
description: String,
|
2007
|
-
netsuite_sales_order_id: String
|
2008
|
-
}
|
2009
|
-
|
2010
|
-
class AddProfessionalService < MetronomeSDK::Internal::Type::BaseModel
|
2011
|
-
attr_accessor max_amount: Float
|
2012
|
-
|
2013
|
-
attr_accessor product_id: String
|
2014
|
-
|
2015
|
-
attr_accessor quantity: Float
|
2016
|
-
|
2017
|
-
attr_accessor unit_price: Float
|
2018
|
-
|
2019
|
-
attr_reader custom_fields: ::Hash[Symbol, String]?
|
2020
|
-
|
2021
|
-
def custom_fields=: (::Hash[Symbol, String]) -> ::Hash[Symbol, String]
|
2022
|
-
|
2023
|
-
attr_reader description: String?
|
2024
|
-
|
2025
|
-
def description=: (String) -> String
|
2026
|
-
|
2027
|
-
attr_reader netsuite_sales_order_id: String?
|
2028
|
-
|
2029
|
-
def netsuite_sales_order_id=: (String) -> String
|
2030
|
-
|
2031
|
-
def initialize: (
|
2032
|
-
max_amount: Float,
|
2033
|
-
product_id: String,
|
2034
|
-
quantity: Float,
|
2035
|
-
unit_price: Float,
|
2036
|
-
?custom_fields: ::Hash[Symbol, String],
|
2037
|
-
?description: String,
|
2038
|
-
?netsuite_sales_order_id: String
|
2039
|
-
) -> void
|
2040
|
-
|
2041
|
-
def to_hash: -> {
|
2042
|
-
max_amount: Float,
|
2043
|
-
product_id: String,
|
2044
|
-
quantity: Float,
|
2045
|
-
unit_price: Float,
|
2046
|
-
custom_fields: ::Hash[Symbol, String],
|
2047
|
-
description: String,
|
2048
|
-
netsuite_sales_order_id: String
|
2049
|
-
}
|
2050
|
-
end
|
2051
|
-
|
2052
|
-
type add_recurring_commit =
|
2053
|
-
{
|
2054
|
-
access_amount: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::AccessAmount,
|
2055
|
-
commit_duration: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::CommitDuration,
|
2056
|
-
priority: Float,
|
2057
|
-
product_id: String,
|
2058
|
-
starting_at: Time,
|
2059
|
-
applicable_product_ids: ::Array[String],
|
2060
|
-
applicable_product_tags: ::Array[String],
|
2061
|
-
description: String,
|
2062
|
-
ending_before: Time,
|
2063
|
-
hierarchy_configuration: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration,
|
2064
|
-
invoice_amount: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::InvoiceAmount,
|
2065
|
-
name: String,
|
2066
|
-
netsuite_sales_order_id: String,
|
2067
|
-
proration: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::proration,
|
2068
|
-
rate_type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::rate_type,
|
2069
|
-
recurrence_frequency: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::recurrence_frequency,
|
2070
|
-
rollover_fraction: Float,
|
2071
|
-
specifiers: ::Array[MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::Specifier],
|
2072
|
-
subscription_config: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::SubscriptionConfig,
|
2073
|
-
temporary_id: String
|
2074
|
-
}
|
2075
|
-
|
2076
|
-
class AddRecurringCommit < MetronomeSDK::Internal::Type::BaseModel
|
2077
|
-
attr_accessor access_amount: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::AccessAmount
|
2078
|
-
|
2079
|
-
attr_accessor commit_duration: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::CommitDuration
|
2080
|
-
|
2081
|
-
attr_accessor priority: Float
|
2082
|
-
|
2083
|
-
attr_accessor product_id: String
|
2084
|
-
|
2085
|
-
attr_accessor starting_at: Time
|
2086
|
-
|
2087
|
-
attr_reader applicable_product_ids: ::Array[String]?
|
2088
|
-
|
2089
|
-
def applicable_product_ids=: (::Array[String]) -> ::Array[String]
|
2090
|
-
|
2091
|
-
attr_reader applicable_product_tags: ::Array[String]?
|
2092
|
-
|
2093
|
-
def applicable_product_tags=: (::Array[String]) -> ::Array[String]
|
2094
|
-
|
2095
|
-
attr_reader description: String?
|
2096
|
-
|
2097
|
-
def description=: (String) -> String
|
1546
|
+
def description=: (String) -> String
|
2098
1547
|
|
2099
1548
|
attr_reader ending_before: Time?
|
2100
1549
|
|
2101
1550
|
def ending_before=: (Time) -> Time
|
2102
1551
|
|
2103
|
-
attr_reader hierarchy_configuration: MetronomeSDK::
|
1552
|
+
attr_reader hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration?
|
2104
1553
|
|
2105
1554
|
def hierarchy_configuration=: (
|
2106
|
-
MetronomeSDK::
|
2107
|
-
) -> MetronomeSDK::
|
1555
|
+
MetronomeSDK::CommitHierarchyConfiguration
|
1556
|
+
) -> MetronomeSDK::CommitHierarchyConfiguration
|
2108
1557
|
|
2109
1558
|
attr_reader invoice_amount: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::InvoiceAmount?
|
2110
1559
|
|
@@ -2142,11 +1591,11 @@ module MetronomeSDK
|
|
2142
1591
|
|
2143
1592
|
def rollover_fraction=: (Float) -> Float
|
2144
1593
|
|
2145
|
-
attr_reader specifiers: ::Array[MetronomeSDK::
|
1594
|
+
attr_reader specifiers: ::Array[MetronomeSDK::CommitSpecifierInput]?
|
2146
1595
|
|
2147
1596
|
def specifiers=: (
|
2148
|
-
::Array[MetronomeSDK::
|
2149
|
-
) -> ::Array[MetronomeSDK::
|
1597
|
+
::Array[MetronomeSDK::CommitSpecifierInput]
|
1598
|
+
) -> ::Array[MetronomeSDK::CommitSpecifierInput]
|
2150
1599
|
|
2151
1600
|
attr_reader subscription_config: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::SubscriptionConfig?
|
2152
1601
|
|
@@ -2168,7 +1617,7 @@ module MetronomeSDK
|
|
2168
1617
|
?applicable_product_tags: ::Array[String],
|
2169
1618
|
?description: String,
|
2170
1619
|
?ending_before: Time,
|
2171
|
-
?hierarchy_configuration: MetronomeSDK::
|
1620
|
+
?hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
2172
1621
|
?invoice_amount: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::InvoiceAmount,
|
2173
1622
|
?name: String,
|
2174
1623
|
?netsuite_sales_order_id: String,
|
@@ -2176,7 +1625,7 @@ module MetronomeSDK
|
|
2176
1625
|
?rate_type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::rate_type,
|
2177
1626
|
?recurrence_frequency: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::recurrence_frequency,
|
2178
1627
|
?rollover_fraction: Float,
|
2179
|
-
?specifiers: ::Array[MetronomeSDK::
|
1628
|
+
?specifiers: ::Array[MetronomeSDK::CommitSpecifierInput],
|
2180
1629
|
?subscription_config: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::SubscriptionConfig,
|
2181
1630
|
?temporary_id: String
|
2182
1631
|
) -> void
|
@@ -2191,7 +1640,7 @@ module MetronomeSDK
|
|
2191
1640
|
applicable_product_tags: ::Array[String],
|
2192
1641
|
description: String,
|
2193
1642
|
ending_before: Time,
|
2194
|
-
hierarchy_configuration: MetronomeSDK::
|
1643
|
+
hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
2195
1644
|
invoice_amount: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::InvoiceAmount,
|
2196
1645
|
name: String,
|
2197
1646
|
netsuite_sales_order_id: String,
|
@@ -2199,7 +1648,7 @@ module MetronomeSDK
|
|
2199
1648
|
rate_type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::rate_type,
|
2200
1649
|
recurrence_frequency: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::recurrence_frequency,
|
2201
1650
|
rollover_fraction: Float,
|
2202
|
-
specifiers: ::Array[MetronomeSDK::
|
1651
|
+
specifiers: ::Array[MetronomeSDK::CommitSpecifierInput],
|
2203
1652
|
subscription_config: MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::SubscriptionConfig,
|
2204
1653
|
temporary_id: String
|
2205
1654
|
}
|
@@ -2265,120 +1714,6 @@ module MetronomeSDK
|
|
2265
1714
|
end
|
2266
1715
|
end
|
2267
1716
|
|
2268
|
-
type hierarchy_configuration =
|
2269
|
-
{
|
2270
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::child_access
|
2271
|
-
}
|
2272
|
-
|
2273
|
-
class HierarchyConfiguration < MetronomeSDK::Internal::Type::BaseModel
|
2274
|
-
attr_accessor child_access: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::child_access
|
2275
|
-
|
2276
|
-
def initialize: (
|
2277
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::child_access
|
2278
|
-
) -> void
|
2279
|
-
|
2280
|
-
def to_hash: -> {
|
2281
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::child_access
|
2282
|
-
}
|
2283
|
-
|
2284
|
-
type child_access =
|
2285
|
-
MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll
|
2286
|
-
| MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone
|
2287
|
-
| MetronomeSDK::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs
|
2288
|
-
|
2289
|
-
module ChildAccess
|
2290
|
-
extend MetronomeSDK::Internal::Type::Union
|
2291
|
-
|
2292
|
-
type commit_hierarchy_child_access_all =
|
2293
|
-
{
|
2294
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
2295
|
-
}
|
2296
|
-
|
2297
|
-
class CommitHierarchyChildAccessAll < MetronomeSDK::Internal::Type::BaseModel
|
2298
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
2299
|
-
|
2300
|
-
def initialize: (
|
2301
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
2302
|
-
) -> void
|
2303
|
-
|
2304
|
-
def to_hash: -> {
|
2305
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
2306
|
-
}
|
2307
|
-
|
2308
|
-
type type_ = :ALL
|
2309
|
-
|
2310
|
-
module Type
|
2311
|
-
extend MetronomeSDK::Internal::Type::Enum
|
2312
|
-
|
2313
|
-
ALL: :ALL
|
2314
|
-
|
2315
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_]
|
2316
|
-
end
|
2317
|
-
end
|
2318
|
-
|
2319
|
-
type commit_hierarchy_child_access_none =
|
2320
|
-
{
|
2321
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
2322
|
-
}
|
2323
|
-
|
2324
|
-
class CommitHierarchyChildAccessNone < MetronomeSDK::Internal::Type::BaseModel
|
2325
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
2326
|
-
|
2327
|
-
def initialize: (
|
2328
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
2329
|
-
) -> void
|
2330
|
-
|
2331
|
-
def to_hash: -> {
|
2332
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
2333
|
-
}
|
2334
|
-
|
2335
|
-
type type_ = :NONE
|
2336
|
-
|
2337
|
-
module Type
|
2338
|
-
extend MetronomeSDK::Internal::Type::Enum
|
2339
|
-
|
2340
|
-
NONE: :NONE
|
2341
|
-
|
2342
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_]
|
2343
|
-
end
|
2344
|
-
end
|
2345
|
-
|
2346
|
-
type commit_hierarchy_child_access_contract_ids =
|
2347
|
-
{
|
2348
|
-
contract_ids: ::Array[String],
|
2349
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
2350
|
-
}
|
2351
|
-
|
2352
|
-
class CommitHierarchyChildAccessContractIDs < MetronomeSDK::Internal::Type::BaseModel
|
2353
|
-
attr_accessor contract_ids: ::Array[String]
|
2354
|
-
|
2355
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
2356
|
-
|
2357
|
-
def initialize: (
|
2358
|
-
contract_ids: ::Array[String],
|
2359
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
2360
|
-
) -> void
|
2361
|
-
|
2362
|
-
def to_hash: -> {
|
2363
|
-
contract_ids: ::Array[String],
|
2364
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
2365
|
-
}
|
2366
|
-
|
2367
|
-
type type_ = :CONTRACT_IDS
|
2368
|
-
|
2369
|
-
module Type
|
2370
|
-
extend MetronomeSDK::Internal::Type::Enum
|
2371
|
-
|
2372
|
-
CONTRACT_IDS: :CONTRACT_IDS
|
2373
|
-
|
2374
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_]
|
2375
|
-
end
|
2376
|
-
end
|
2377
|
-
|
2378
|
-
def self?.variants: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::HierarchyConfiguration::child_access]
|
2379
|
-
end
|
2380
|
-
end
|
2381
|
-
|
2382
1717
|
type invoice_amount =
|
2383
1718
|
{ credit_type_id: String, quantity: Float, unit_price: Float }
|
2384
1719
|
|
@@ -2426,61 +1761,17 @@ module MetronomeSDK
|
|
2426
1761
|
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::rate_type]
|
2427
1762
|
end
|
2428
1763
|
|
2429
|
-
type recurrence_frequency = :MONTHLY | :QUARTERLY | :ANNUAL | :WEEKLY
|
2430
|
-
|
2431
|
-
module RecurrenceFrequency
|
2432
|
-
extend MetronomeSDK::Internal::Type::Enum
|
2433
|
-
|
2434
|
-
MONTHLY: :MONTHLY
|
2435
|
-
QUARTERLY: :QUARTERLY
|
2436
|
-
ANNUAL: :ANNUAL
|
2437
|
-
WEEKLY: :WEEKLY
|
2438
|
-
|
2439
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::recurrence_frequency]
|
2440
|
-
end
|
2441
|
-
|
2442
|
-
type specifier =
|
2443
|
-
{
|
2444
|
-
presentation_group_values: ::Hash[Symbol, String],
|
2445
|
-
pricing_group_values: ::Hash[Symbol, String],
|
2446
|
-
product_id: String,
|
2447
|
-
product_tags: ::Array[String]
|
2448
|
-
}
|
2449
|
-
|
2450
|
-
class Specifier < MetronomeSDK::Internal::Type::BaseModel
|
2451
|
-
attr_reader presentation_group_values: ::Hash[Symbol, String]?
|
2452
|
-
|
2453
|
-
def presentation_group_values=: (
|
2454
|
-
::Hash[Symbol, String]
|
2455
|
-
) -> ::Hash[Symbol, String]
|
2456
|
-
|
2457
|
-
attr_reader pricing_group_values: ::Hash[Symbol, String]?
|
2458
|
-
|
2459
|
-
def pricing_group_values=: (
|
2460
|
-
::Hash[Symbol, String]
|
2461
|
-
) -> ::Hash[Symbol, String]
|
2462
|
-
|
2463
|
-
attr_reader product_id: String?
|
2464
|
-
|
2465
|
-
def product_id=: (String) -> String
|
2466
|
-
|
2467
|
-
attr_reader product_tags: ::Array[String]?
|
1764
|
+
type recurrence_frequency = :MONTHLY | :QUARTERLY | :ANNUAL | :WEEKLY
|
2468
1765
|
|
2469
|
-
|
1766
|
+
module RecurrenceFrequency
|
1767
|
+
extend MetronomeSDK::Internal::Type::Enum
|
2470
1768
|
|
2471
|
-
|
2472
|
-
|
2473
|
-
|
2474
|
-
|
2475
|
-
?product_tags: ::Array[String]
|
2476
|
-
) -> void
|
1769
|
+
MONTHLY: :MONTHLY
|
1770
|
+
QUARTERLY: :QUARTERLY
|
1771
|
+
ANNUAL: :ANNUAL
|
1772
|
+
WEEKLY: :WEEKLY
|
2477
1773
|
|
2478
|
-
def
|
2479
|
-
presentation_group_values: ::Hash[Symbol, String],
|
2480
|
-
pricing_group_values: ::Hash[Symbol, String],
|
2481
|
-
product_id: String,
|
2482
|
-
product_tags: ::Array[String]
|
2483
|
-
}
|
1774
|
+
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::recurrence_frequency]
|
2484
1775
|
end
|
2485
1776
|
|
2486
1777
|
type subscription_config =
|
@@ -2523,12 +1814,13 @@ module MetronomeSDK
|
|
2523
1814
|
def to_hash: -> { is_prorated: bool }
|
2524
1815
|
end
|
2525
1816
|
|
2526
|
-
type allocation = :POOLED
|
1817
|
+
type allocation = :POOLED | :INDIVIDUAL
|
2527
1818
|
|
2528
1819
|
module Allocation
|
2529
1820
|
extend MetronomeSDK::Internal::Type::Enum
|
2530
1821
|
|
2531
1822
|
POOLED: :POOLED
|
1823
|
+
INDIVIDUAL: :INDIVIDUAL
|
2532
1824
|
|
2533
1825
|
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCommit::SubscriptionConfig::allocation]
|
2534
1826
|
end
|
@@ -2546,14 +1838,14 @@ module MetronomeSDK
|
|
2546
1838
|
applicable_product_tags: ::Array[String],
|
2547
1839
|
description: String,
|
2548
1840
|
ending_before: Time,
|
2549
|
-
hierarchy_configuration: MetronomeSDK::
|
1841
|
+
hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
2550
1842
|
name: String,
|
2551
1843
|
netsuite_sales_order_id: String,
|
2552
1844
|
proration: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::proration,
|
2553
1845
|
rate_type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::rate_type,
|
2554
1846
|
recurrence_frequency: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::recurrence_frequency,
|
2555
1847
|
rollover_fraction: Float,
|
2556
|
-
specifiers: ::Array[MetronomeSDK::
|
1848
|
+
specifiers: ::Array[MetronomeSDK::CommitSpecifierInput],
|
2557
1849
|
subscription_config: MetronomeSDK::V2::ContractEditParams::AddRecurringCredit::SubscriptionConfig,
|
2558
1850
|
temporary_id: String
|
2559
1851
|
}
|
@@ -2585,11 +1877,11 @@ module MetronomeSDK
|
|
2585
1877
|
|
2586
1878
|
def ending_before=: (Time) -> Time
|
2587
1879
|
|
2588
|
-
attr_reader hierarchy_configuration: MetronomeSDK::
|
1880
|
+
attr_reader hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration?
|
2589
1881
|
|
2590
1882
|
def hierarchy_configuration=: (
|
2591
|
-
MetronomeSDK::
|
2592
|
-
) -> MetronomeSDK::
|
1883
|
+
MetronomeSDK::CommitHierarchyConfiguration
|
1884
|
+
) -> MetronomeSDK::CommitHierarchyConfiguration
|
2593
1885
|
|
2594
1886
|
attr_reader name: String?
|
2595
1887
|
|
@@ -2621,11 +1913,11 @@ module MetronomeSDK
|
|
2621
1913
|
|
2622
1914
|
def rollover_fraction=: (Float) -> Float
|
2623
1915
|
|
2624
|
-
attr_reader specifiers: ::Array[MetronomeSDK::
|
1916
|
+
attr_reader specifiers: ::Array[MetronomeSDK::CommitSpecifierInput]?
|
2625
1917
|
|
2626
1918
|
def specifiers=: (
|
2627
|
-
::Array[MetronomeSDK::
|
2628
|
-
) -> ::Array[MetronomeSDK::
|
1919
|
+
::Array[MetronomeSDK::CommitSpecifierInput]
|
1920
|
+
) -> ::Array[MetronomeSDK::CommitSpecifierInput]
|
2629
1921
|
|
2630
1922
|
attr_reader subscription_config: MetronomeSDK::V2::ContractEditParams::AddRecurringCredit::SubscriptionConfig?
|
2631
1923
|
|
@@ -2647,14 +1939,14 @@ module MetronomeSDK
|
|
2647
1939
|
?applicable_product_tags: ::Array[String],
|
2648
1940
|
?description: String,
|
2649
1941
|
?ending_before: Time,
|
2650
|
-
?hierarchy_configuration: MetronomeSDK::
|
1942
|
+
?hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
2651
1943
|
?name: String,
|
2652
1944
|
?netsuite_sales_order_id: String,
|
2653
1945
|
?proration: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::proration,
|
2654
1946
|
?rate_type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::rate_type,
|
2655
1947
|
?recurrence_frequency: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::recurrence_frequency,
|
2656
1948
|
?rollover_fraction: Float,
|
2657
|
-
?specifiers: ::Array[MetronomeSDK::
|
1949
|
+
?specifiers: ::Array[MetronomeSDK::CommitSpecifierInput],
|
2658
1950
|
?subscription_config: MetronomeSDK::V2::ContractEditParams::AddRecurringCredit::SubscriptionConfig,
|
2659
1951
|
?temporary_id: String
|
2660
1952
|
) -> void
|
@@ -2669,14 +1961,14 @@ module MetronomeSDK
|
|
2669
1961
|
applicable_product_tags: ::Array[String],
|
2670
1962
|
description: String,
|
2671
1963
|
ending_before: Time,
|
2672
|
-
hierarchy_configuration: MetronomeSDK::
|
1964
|
+
hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
2673
1965
|
name: String,
|
2674
1966
|
netsuite_sales_order_id: String,
|
2675
1967
|
proration: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::proration,
|
2676
1968
|
rate_type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::rate_type,
|
2677
1969
|
recurrence_frequency: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::recurrence_frequency,
|
2678
1970
|
rollover_fraction: Float,
|
2679
|
-
specifiers: ::Array[MetronomeSDK::
|
1971
|
+
specifiers: ::Array[MetronomeSDK::CommitSpecifierInput],
|
2680
1972
|
subscription_config: MetronomeSDK::V2::ContractEditParams::AddRecurringCredit::SubscriptionConfig,
|
2681
1973
|
temporary_id: String
|
2682
1974
|
}
|
@@ -2742,120 +2034,6 @@ module MetronomeSDK
|
|
2742
2034
|
end
|
2743
2035
|
end
|
2744
2036
|
|
2745
|
-
type hierarchy_configuration =
|
2746
|
-
{
|
2747
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::child_access
|
2748
|
-
}
|
2749
|
-
|
2750
|
-
class HierarchyConfiguration < MetronomeSDK::Internal::Type::BaseModel
|
2751
|
-
attr_accessor child_access: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::child_access
|
2752
|
-
|
2753
|
-
def initialize: (
|
2754
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::child_access
|
2755
|
-
) -> void
|
2756
|
-
|
2757
|
-
def to_hash: -> {
|
2758
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::child_access
|
2759
|
-
}
|
2760
|
-
|
2761
|
-
type child_access =
|
2762
|
-
MetronomeSDK::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll
|
2763
|
-
| MetronomeSDK::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone
|
2764
|
-
| MetronomeSDK::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs
|
2765
|
-
|
2766
|
-
module ChildAccess
|
2767
|
-
extend MetronomeSDK::Internal::Type::Union
|
2768
|
-
|
2769
|
-
type commit_hierarchy_child_access_all =
|
2770
|
-
{
|
2771
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
2772
|
-
}
|
2773
|
-
|
2774
|
-
class CommitHierarchyChildAccessAll < MetronomeSDK::Internal::Type::BaseModel
|
2775
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
2776
|
-
|
2777
|
-
def initialize: (
|
2778
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
2779
|
-
) -> void
|
2780
|
-
|
2781
|
-
def to_hash: -> {
|
2782
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
2783
|
-
}
|
2784
|
-
|
2785
|
-
type type_ = :ALL
|
2786
|
-
|
2787
|
-
module Type
|
2788
|
-
extend MetronomeSDK::Internal::Type::Enum
|
2789
|
-
|
2790
|
-
ALL: :ALL
|
2791
|
-
|
2792
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_]
|
2793
|
-
end
|
2794
|
-
end
|
2795
|
-
|
2796
|
-
type commit_hierarchy_child_access_none =
|
2797
|
-
{
|
2798
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
2799
|
-
}
|
2800
|
-
|
2801
|
-
class CommitHierarchyChildAccessNone < MetronomeSDK::Internal::Type::BaseModel
|
2802
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
2803
|
-
|
2804
|
-
def initialize: (
|
2805
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
2806
|
-
) -> void
|
2807
|
-
|
2808
|
-
def to_hash: -> {
|
2809
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
2810
|
-
}
|
2811
|
-
|
2812
|
-
type type_ = :NONE
|
2813
|
-
|
2814
|
-
module Type
|
2815
|
-
extend MetronomeSDK::Internal::Type::Enum
|
2816
|
-
|
2817
|
-
NONE: :NONE
|
2818
|
-
|
2819
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_]
|
2820
|
-
end
|
2821
|
-
end
|
2822
|
-
|
2823
|
-
type commit_hierarchy_child_access_contract_ids =
|
2824
|
-
{
|
2825
|
-
contract_ids: ::Array[String],
|
2826
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
2827
|
-
}
|
2828
|
-
|
2829
|
-
class CommitHierarchyChildAccessContractIDs < MetronomeSDK::Internal::Type::BaseModel
|
2830
|
-
attr_accessor contract_ids: ::Array[String]
|
2831
|
-
|
2832
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
2833
|
-
|
2834
|
-
def initialize: (
|
2835
|
-
contract_ids: ::Array[String],
|
2836
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
2837
|
-
) -> void
|
2838
|
-
|
2839
|
-
def to_hash: -> {
|
2840
|
-
contract_ids: ::Array[String],
|
2841
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
2842
|
-
}
|
2843
|
-
|
2844
|
-
type type_ = :CONTRACT_IDS
|
2845
|
-
|
2846
|
-
module Type
|
2847
|
-
extend MetronomeSDK::Internal::Type::Enum
|
2848
|
-
|
2849
|
-
CONTRACT_IDS: :CONTRACT_IDS
|
2850
|
-
|
2851
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_]
|
2852
|
-
end
|
2853
|
-
end
|
2854
|
-
|
2855
|
-
def self?.variants: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::HierarchyConfiguration::child_access]
|
2856
|
-
end
|
2857
|
-
end
|
2858
|
-
|
2859
2037
|
type proration = :NONE | :FIRST | :LAST | :FIRST_AND_LAST
|
2860
2038
|
|
2861
2039
|
module Proration
|
@@ -2893,50 +2071,6 @@ module MetronomeSDK
|
|
2893
2071
|
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::recurrence_frequency]
|
2894
2072
|
end
|
2895
2073
|
|
2896
|
-
type specifier =
|
2897
|
-
{
|
2898
|
-
presentation_group_values: ::Hash[Symbol, String],
|
2899
|
-
pricing_group_values: ::Hash[Symbol, String],
|
2900
|
-
product_id: String,
|
2901
|
-
product_tags: ::Array[String]
|
2902
|
-
}
|
2903
|
-
|
2904
|
-
class Specifier < MetronomeSDK::Internal::Type::BaseModel
|
2905
|
-
attr_reader presentation_group_values: ::Hash[Symbol, String]?
|
2906
|
-
|
2907
|
-
def presentation_group_values=: (
|
2908
|
-
::Hash[Symbol, String]
|
2909
|
-
) -> ::Hash[Symbol, String]
|
2910
|
-
|
2911
|
-
attr_reader pricing_group_values: ::Hash[Symbol, String]?
|
2912
|
-
|
2913
|
-
def pricing_group_values=: (
|
2914
|
-
::Hash[Symbol, String]
|
2915
|
-
) -> ::Hash[Symbol, String]
|
2916
|
-
|
2917
|
-
attr_reader product_id: String?
|
2918
|
-
|
2919
|
-
def product_id=: (String) -> String
|
2920
|
-
|
2921
|
-
attr_reader product_tags: ::Array[String]?
|
2922
|
-
|
2923
|
-
def product_tags=: (::Array[String]) -> ::Array[String]
|
2924
|
-
|
2925
|
-
def initialize: (
|
2926
|
-
?presentation_group_values: ::Hash[Symbol, String],
|
2927
|
-
?pricing_group_values: ::Hash[Symbol, String],
|
2928
|
-
?product_id: String,
|
2929
|
-
?product_tags: ::Array[String]
|
2930
|
-
) -> void
|
2931
|
-
|
2932
|
-
def to_hash: -> {
|
2933
|
-
presentation_group_values: ::Hash[Symbol, String],
|
2934
|
-
pricing_group_values: ::Hash[Symbol, String],
|
2935
|
-
product_id: String,
|
2936
|
-
product_tags: ::Array[String]
|
2937
|
-
}
|
2938
|
-
end
|
2939
|
-
|
2940
2074
|
type subscription_config =
|
2941
2075
|
{
|
2942
2076
|
apply_seat_increase_config: MetronomeSDK::V2::ContractEditParams::AddRecurringCredit::SubscriptionConfig::ApplySeatIncreaseConfig,
|
@@ -2977,12 +2111,13 @@ module MetronomeSDK
|
|
2977
2111
|
def to_hash: -> { is_prorated: bool }
|
2978
2112
|
end
|
2979
2113
|
|
2980
|
-
type allocation = :POOLED
|
2114
|
+
type allocation = :POOLED | :INDIVIDUAL
|
2981
2115
|
|
2982
2116
|
module Allocation
|
2983
2117
|
extend MetronomeSDK::Internal::Type::Enum
|
2984
2118
|
|
2985
2119
|
POOLED: :POOLED
|
2120
|
+
INDIVIDUAL: :INDIVIDUAL
|
2986
2121
|
|
2987
2122
|
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddRecurringCredit::SubscriptionConfig::allocation]
|
2988
2123
|
end
|
@@ -3140,6 +2275,7 @@ module MetronomeSDK
|
|
3140
2275
|
{
|
3141
2276
|
product_id: String,
|
3142
2277
|
schedule: MetronomeSDK::V2::ContractEditParams::AddScheduledCharge::Schedule,
|
2278
|
+
custom_fields: ::Hash[Symbol, String],
|
3143
2279
|
name: String,
|
3144
2280
|
netsuite_sales_order_id: String
|
3145
2281
|
}
|
@@ -3149,6 +2285,10 @@ module MetronomeSDK
|
|
3149
2285
|
|
3150
2286
|
attr_accessor schedule: MetronomeSDK::V2::ContractEditParams::AddScheduledCharge::Schedule
|
3151
2287
|
|
2288
|
+
attr_reader custom_fields: ::Hash[Symbol, String]?
|
2289
|
+
|
2290
|
+
def custom_fields=: (::Hash[Symbol, String]) -> ::Hash[Symbol, String]
|
2291
|
+
|
3152
2292
|
attr_reader name: String?
|
3153
2293
|
|
3154
2294
|
def name=: (String) -> String
|
@@ -3160,6 +2300,7 @@ module MetronomeSDK
|
|
3160
2300
|
def initialize: (
|
3161
2301
|
product_id: String,
|
3162
2302
|
schedule: MetronomeSDK::V2::ContractEditParams::AddScheduledCharge::Schedule,
|
2303
|
+
?custom_fields: ::Hash[Symbol, String],
|
3163
2304
|
?name: String,
|
3164
2305
|
?netsuite_sales_order_id: String
|
3165
2306
|
) -> void
|
@@ -3167,6 +2308,7 @@ module MetronomeSDK
|
|
3167
2308
|
def to_hash: -> {
|
3168
2309
|
product_id: String,
|
3169
2310
|
schedule: MetronomeSDK::V2::ContractEditParams::AddScheduledCharge::Schedule,
|
2311
|
+
custom_fields: ::Hash[Symbol, String],
|
3170
2312
|
name: String,
|
3171
2313
|
netsuite_sales_order_id: String
|
3172
2314
|
}
|
@@ -3174,6 +2316,7 @@ module MetronomeSDK
|
|
3174
2316
|
type schedule =
|
3175
2317
|
{
|
3176
2318
|
credit_type_id: String,
|
2319
|
+
do_not_invoice: bool,
|
3177
2320
|
recurring_schedule: MetronomeSDK::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule,
|
3178
2321
|
schedule_items: ::Array[MetronomeSDK::V2::ContractEditParams::AddScheduledCharge::Schedule::ScheduleItem]
|
3179
2322
|
}
|
@@ -3183,6 +2326,10 @@ module MetronomeSDK
|
|
3183
2326
|
|
3184
2327
|
def credit_type_id=: (String) -> String
|
3185
2328
|
|
2329
|
+
attr_reader do_not_invoice: bool?
|
2330
|
+
|
2331
|
+
def do_not_invoice=: (bool) -> bool
|
2332
|
+
|
3186
2333
|
attr_reader recurring_schedule: MetronomeSDK::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule?
|
3187
2334
|
|
3188
2335
|
def recurring_schedule=: (
|
@@ -3197,12 +2344,14 @@ module MetronomeSDK
|
|
3197
2344
|
|
3198
2345
|
def initialize: (
|
3199
2346
|
?credit_type_id: String,
|
2347
|
+
?do_not_invoice: bool,
|
3200
2348
|
?recurring_schedule: MetronomeSDK::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule,
|
3201
2349
|
?schedule_items: ::Array[MetronomeSDK::V2::ContractEditParams::AddScheduledCharge::Schedule::ScheduleItem]
|
3202
2350
|
) -> void
|
3203
2351
|
|
3204
2352
|
def to_hash: -> {
|
3205
2353
|
credit_type_id: String,
|
2354
|
+
do_not_invoice: bool,
|
3206
2355
|
recurring_schedule: MetronomeSDK::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule,
|
3207
2356
|
schedule_items: ::Array[MetronomeSDK::V2::ContractEditParams::AddScheduledCharge::Schedule::ScheduleItem]
|
3208
2357
|
}
|
@@ -3223,286 +2372,106 @@ module MetronomeSDK
|
|
3223
2372
|
|
3224
2373
|
attr_accessor ending_before: Time
|
3225
2374
|
|
3226
|
-
attr_accessor frequency: MetronomeSDK::Models::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule::frequency
|
3227
|
-
|
3228
|
-
attr_accessor starting_at: Time
|
3229
|
-
|
3230
|
-
attr_reader amount: Float?
|
3231
|
-
|
3232
|
-
def amount=: (Float) -> Float
|
3233
|
-
|
3234
|
-
attr_reader quantity: Float?
|
3235
|
-
|
3236
|
-
def quantity=: (Float) -> Float
|
3237
|
-
|
3238
|
-
attr_reader unit_price: Float?
|
3239
|
-
|
3240
|
-
def unit_price=: (Float) -> Float
|
3241
|
-
|
3242
|
-
def initialize: (
|
3243
|
-
amount_distribution: MetronomeSDK::Models::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule::amount_distribution,
|
3244
|
-
ending_before: Time,
|
3245
|
-
frequency: MetronomeSDK::Models::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule::frequency,
|
3246
|
-
starting_at: Time,
|
3247
|
-
?amount: Float,
|
3248
|
-
?quantity: Float,
|
3249
|
-
?unit_price: Float
|
3250
|
-
) -> void
|
3251
|
-
|
3252
|
-
def to_hash: -> {
|
3253
|
-
amount_distribution: MetronomeSDK::Models::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule::amount_distribution,
|
3254
|
-
ending_before: Time,
|
3255
|
-
frequency: MetronomeSDK::Models::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule::frequency,
|
3256
|
-
starting_at: Time,
|
3257
|
-
amount: Float,
|
3258
|
-
quantity: Float,
|
3259
|
-
unit_price: Float
|
3260
|
-
}
|
3261
|
-
|
3262
|
-
type amount_distribution = :DIVIDED | :DIVIDED_ROUNDED | :EACH
|
3263
|
-
|
3264
|
-
module AmountDistribution
|
3265
|
-
extend MetronomeSDK::Internal::Type::Enum
|
3266
|
-
|
3267
|
-
DIVIDED: :DIVIDED
|
3268
|
-
DIVIDED_ROUNDED: :DIVIDED_ROUNDED
|
3269
|
-
EACH: :EACH
|
3270
|
-
|
3271
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule::amount_distribution]
|
3272
|
-
end
|
3273
|
-
|
3274
|
-
type frequency =
|
3275
|
-
:MONTHLY | :QUARTERLY | :SEMI_ANNUAL | :ANNUAL | :WEEKLY
|
3276
|
-
|
3277
|
-
module Frequency
|
3278
|
-
extend MetronomeSDK::Internal::Type::Enum
|
3279
|
-
|
3280
|
-
MONTHLY: :MONTHLY
|
3281
|
-
QUARTERLY: :QUARTERLY
|
3282
|
-
SEMI_ANNUAL: :SEMI_ANNUAL
|
3283
|
-
ANNUAL: :ANNUAL
|
3284
|
-
WEEKLY: :WEEKLY
|
3285
|
-
|
3286
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule::frequency]
|
3287
|
-
end
|
3288
|
-
end
|
3289
|
-
|
3290
|
-
type schedule_item =
|
3291
|
-
{
|
3292
|
-
timestamp: Time,
|
3293
|
-
amount: Float,
|
3294
|
-
quantity: Float,
|
3295
|
-
unit_price: Float
|
3296
|
-
}
|
3297
|
-
|
3298
|
-
class ScheduleItem < MetronomeSDK::Internal::Type::BaseModel
|
3299
|
-
attr_accessor timestamp: Time
|
3300
|
-
|
3301
|
-
attr_reader amount: Float?
|
3302
|
-
|
3303
|
-
def amount=: (Float) -> Float
|
3304
|
-
|
3305
|
-
attr_reader quantity: Float?
|
3306
|
-
|
3307
|
-
def quantity=: (Float) -> Float
|
3308
|
-
|
3309
|
-
attr_reader unit_price: Float?
|
3310
|
-
|
3311
|
-
def unit_price=: (Float) -> Float
|
3312
|
-
|
3313
|
-
def initialize: (
|
3314
|
-
timestamp: Time,
|
3315
|
-
?amount: Float,
|
3316
|
-
?quantity: Float,
|
3317
|
-
?unit_price: Float
|
3318
|
-
) -> void
|
3319
|
-
|
3320
|
-
def to_hash: -> {
|
3321
|
-
timestamp: Time,
|
3322
|
-
amount: Float,
|
3323
|
-
quantity: Float,
|
3324
|
-
unit_price: Float
|
3325
|
-
}
|
3326
|
-
end
|
3327
|
-
end
|
3328
|
-
end
|
3329
|
-
|
3330
|
-
type add_spend_threshold_configuration =
|
3331
|
-
{
|
3332
|
-
commit: MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::Commit,
|
3333
|
-
is_enabled: bool,
|
3334
|
-
payment_gate_config: MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig,
|
3335
|
-
threshold_amount: Float
|
3336
|
-
}
|
3337
|
-
|
3338
|
-
class AddSpendThresholdConfiguration < MetronomeSDK::Internal::Type::BaseModel
|
3339
|
-
attr_accessor commit: MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::Commit
|
3340
|
-
|
3341
|
-
attr_accessor is_enabled: bool
|
3342
|
-
|
3343
|
-
attr_accessor payment_gate_config: MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig
|
3344
|
-
|
3345
|
-
attr_accessor threshold_amount: Float
|
3346
|
-
|
3347
|
-
def initialize: (
|
3348
|
-
commit: MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::Commit,
|
3349
|
-
is_enabled: bool,
|
3350
|
-
payment_gate_config: MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig,
|
3351
|
-
threshold_amount: Float
|
3352
|
-
) -> void
|
3353
|
-
|
3354
|
-
def to_hash: -> {
|
3355
|
-
commit: MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::Commit,
|
3356
|
-
is_enabled: bool,
|
3357
|
-
payment_gate_config: MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig,
|
3358
|
-
threshold_amount: Float
|
3359
|
-
}
|
3360
|
-
|
3361
|
-
type commit =
|
3362
|
-
{ product_id: String, description: String, name: String }
|
3363
|
-
|
3364
|
-
class Commit < MetronomeSDK::Internal::Type::BaseModel
|
3365
|
-
attr_accessor product_id: String
|
3366
|
-
|
3367
|
-
attr_reader description: String?
|
3368
|
-
|
3369
|
-
def description=: (String) -> String
|
3370
|
-
|
3371
|
-
attr_reader name: String?
|
3372
|
-
|
3373
|
-
def name=: (String) -> String
|
3374
|
-
|
3375
|
-
def initialize: (
|
3376
|
-
product_id: String,
|
3377
|
-
?description: String,
|
3378
|
-
?name: String
|
3379
|
-
) -> void
|
3380
|
-
|
3381
|
-
def to_hash: -> {
|
3382
|
-
product_id: String,
|
3383
|
-
description: String,
|
3384
|
-
name: String
|
3385
|
-
}
|
3386
|
-
end
|
3387
|
-
|
3388
|
-
type payment_gate_config =
|
3389
|
-
{
|
3390
|
-
payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::payment_gate_type,
|
3391
|
-
precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig,
|
3392
|
-
stripe_config: MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::StripeConfig,
|
3393
|
-
tax_type: MetronomeSDK::Models::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::tax_type
|
3394
|
-
}
|
3395
|
-
|
3396
|
-
class PaymentGateConfig < MetronomeSDK::Internal::Type::BaseModel
|
3397
|
-
attr_accessor payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::payment_gate_type
|
3398
|
-
|
3399
|
-
attr_reader precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig?
|
2375
|
+
attr_accessor frequency: MetronomeSDK::Models::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule::frequency
|
3400
2376
|
|
3401
|
-
|
3402
|
-
MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig
|
3403
|
-
) -> MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig
|
2377
|
+
attr_accessor starting_at: Time
|
3404
2378
|
|
3405
|
-
|
2379
|
+
attr_reader amount: Float?
|
3406
2380
|
|
3407
|
-
|
3408
|
-
MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::StripeConfig
|
3409
|
-
) -> MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::StripeConfig
|
2381
|
+
def amount=: (Float) -> Float
|
3410
2382
|
|
3411
|
-
|
2383
|
+
attr_reader quantity: Float?
|
3412
2384
|
|
3413
|
-
|
3414
|
-
MetronomeSDK::Models::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::tax_type
|
3415
|
-
) -> MetronomeSDK::Models::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::tax_type
|
2385
|
+
def quantity=: (Float) -> Float
|
3416
2386
|
|
3417
|
-
|
3418
|
-
payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::payment_gate_type,
|
3419
|
-
?precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig,
|
3420
|
-
?stripe_config: MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::StripeConfig,
|
3421
|
-
?tax_type: MetronomeSDK::Models::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::tax_type
|
3422
|
-
) -> void
|
2387
|
+
attr_reader unit_price: Float?
|
3423
2388
|
|
3424
|
-
|
3425
|
-
payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::payment_gate_type,
|
3426
|
-
precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig,
|
3427
|
-
stripe_config: MetronomeSDK::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::StripeConfig,
|
3428
|
-
tax_type: MetronomeSDK::Models::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::tax_type
|
3429
|
-
}
|
2389
|
+
def unit_price=: (Float) -> Float
|
3430
2390
|
|
3431
|
-
|
2391
|
+
def initialize: (
|
2392
|
+
amount_distribution: MetronomeSDK::Models::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule::amount_distribution,
|
2393
|
+
ending_before: Time,
|
2394
|
+
frequency: MetronomeSDK::Models::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule::frequency,
|
2395
|
+
starting_at: Time,
|
2396
|
+
?amount: Float,
|
2397
|
+
?quantity: Float,
|
2398
|
+
?unit_price: Float
|
2399
|
+
) -> void
|
3432
2400
|
|
3433
|
-
|
3434
|
-
|
2401
|
+
def to_hash: -> {
|
2402
|
+
amount_distribution: MetronomeSDK::Models::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule::amount_distribution,
|
2403
|
+
ending_before: Time,
|
2404
|
+
frequency: MetronomeSDK::Models::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule::frequency,
|
2405
|
+
starting_at: Time,
|
2406
|
+
amount: Float,
|
2407
|
+
quantity: Float,
|
2408
|
+
unit_price: Float
|
2409
|
+
}
|
3435
2410
|
|
3436
|
-
|
3437
|
-
STRIPE: :STRIPE
|
3438
|
-
EXTERNAL: :EXTERNAL
|
2411
|
+
type amount_distribution = :DIVIDED | :DIVIDED_ROUNDED | :EACH
|
3439
2412
|
|
3440
|
-
|
3441
|
-
|
2413
|
+
module AmountDistribution
|
2414
|
+
extend MetronomeSDK::Internal::Type::Enum
|
3442
2415
|
|
3443
|
-
|
3444
|
-
|
2416
|
+
DIVIDED: :DIVIDED
|
2417
|
+
DIVIDED_ROUNDED: :DIVIDED_ROUNDED
|
2418
|
+
EACH: :EACH
|
3445
2419
|
|
3446
|
-
|
3447
|
-
|
2420
|
+
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule::amount_distribution]
|
2421
|
+
end
|
3448
2422
|
|
3449
|
-
|
2423
|
+
type frequency =
|
2424
|
+
:MONTHLY | :QUARTERLY | :SEMI_ANNUAL | :ANNUAL | :WEEKLY
|
3450
2425
|
|
3451
|
-
|
2426
|
+
module Frequency
|
2427
|
+
extend MetronomeSDK::Internal::Type::Enum
|
3452
2428
|
|
3453
|
-
|
2429
|
+
MONTHLY: :MONTHLY
|
2430
|
+
QUARTERLY: :QUARTERLY
|
2431
|
+
SEMI_ANNUAL: :SEMI_ANNUAL
|
2432
|
+
ANNUAL: :ANNUAL
|
2433
|
+
WEEKLY: :WEEKLY
|
3454
2434
|
|
3455
|
-
|
2435
|
+
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddScheduledCharge::Schedule::RecurringSchedule::frequency]
|
2436
|
+
end
|
3456
2437
|
end
|
3457
2438
|
|
3458
|
-
type
|
2439
|
+
type schedule_item =
|
3459
2440
|
{
|
3460
|
-
|
3461
|
-
|
2441
|
+
timestamp: Time,
|
2442
|
+
amount: Float,
|
2443
|
+
quantity: Float,
|
2444
|
+
unit_price: Float
|
3462
2445
|
}
|
3463
2446
|
|
3464
|
-
class
|
3465
|
-
attr_accessor
|
3466
|
-
|
3467
|
-
attr_reader invoice_metadata: ::Hash[Symbol, String]?
|
3468
|
-
|
3469
|
-
def invoice_metadata=: (
|
3470
|
-
::Hash[Symbol, String]
|
3471
|
-
) -> ::Hash[Symbol, String]
|
3472
|
-
|
3473
|
-
def initialize: (
|
3474
|
-
payment_type: MetronomeSDK::Models::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type,
|
3475
|
-
?invoice_metadata: ::Hash[Symbol, String]
|
3476
|
-
) -> void
|
3477
|
-
|
3478
|
-
def to_hash: -> {
|
3479
|
-
payment_type: MetronomeSDK::Models::V2::ContractEditParams::AddSpendThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type,
|
3480
|
-
invoice_metadata: ::Hash[Symbol, String]
|
3481
|
-
}
|
2447
|
+
class ScheduleItem < MetronomeSDK::Internal::Type::BaseModel
|
2448
|
+
attr_accessor timestamp: Time
|
3482
2449
|
|
3483
|
-
|
2450
|
+
attr_reader amount: Float?
|
3484
2451
|
|
3485
|
-
|
3486
|
-
extend MetronomeSDK::Internal::Type::Enum
|
2452
|
+
def amount=: (Float) -> Float
|
3487
2453
|
|
3488
|
-
|
3489
|
-
PAYMENT_INTENT: :PAYMENT_INTENT
|
2454
|
+
attr_reader quantity: Float?
|
3490
2455
|
|
3491
|
-
|
3492
|
-
end
|
3493
|
-
end
|
2456
|
+
def quantity=: (Float) -> Float
|
3494
2457
|
|
3495
|
-
|
2458
|
+
attr_reader unit_price: Float?
|
3496
2459
|
|
3497
|
-
|
3498
|
-
extend MetronomeSDK::Internal::Type::Enum
|
2460
|
+
def unit_price=: (Float) -> Float
|
3499
2461
|
|
3500
|
-
|
3501
|
-
|
3502
|
-
|
3503
|
-
|
2462
|
+
def initialize: (
|
2463
|
+
timestamp: Time,
|
2464
|
+
?amount: Float,
|
2465
|
+
?quantity: Float,
|
2466
|
+
?unit_price: Float
|
2467
|
+
) -> void
|
3504
2468
|
|
3505
|
-
def
|
2469
|
+
def to_hash: -> {
|
2470
|
+
timestamp: Time,
|
2471
|
+
amount: Float,
|
2472
|
+
quantity: Float,
|
2473
|
+
unit_price: Float
|
2474
|
+
}
|
3506
2475
|
end
|
3507
2476
|
end
|
3508
2477
|
end
|
@@ -3510,13 +2479,14 @@ module MetronomeSDK
|
|
3510
2479
|
type add_subscription =
|
3511
2480
|
{
|
3512
2481
|
collection_schedule: MetronomeSDK::Models::V2::ContractEditParams::AddSubscription::collection_schedule,
|
3513
|
-
initial_quantity: Float,
|
3514
2482
|
proration: MetronomeSDK::V2::ContractEditParams::AddSubscription::Proration,
|
3515
2483
|
subscription_rate: MetronomeSDK::V2::ContractEditParams::AddSubscription::SubscriptionRate,
|
3516
2484
|
custom_fields: ::Hash[Symbol, String],
|
3517
2485
|
description: String,
|
3518
2486
|
ending_before: Time,
|
2487
|
+
initial_quantity: Float,
|
3519
2488
|
name: String,
|
2489
|
+
quantity_management_mode: MetronomeSDK::Models::V2::ContractEditParams::AddSubscription::quantity_management_mode,
|
3520
2490
|
starting_at: Time,
|
3521
2491
|
temporary_id: String
|
3522
2492
|
}
|
@@ -3524,8 +2494,6 @@ module MetronomeSDK
|
|
3524
2494
|
class AddSubscription < MetronomeSDK::Internal::Type::BaseModel
|
3525
2495
|
attr_accessor collection_schedule: MetronomeSDK::Models::V2::ContractEditParams::AddSubscription::collection_schedule
|
3526
2496
|
|
3527
|
-
attr_accessor initial_quantity: Float
|
3528
|
-
|
3529
2497
|
attr_accessor proration: MetronomeSDK::V2::ContractEditParams::AddSubscription::Proration
|
3530
2498
|
|
3531
2499
|
attr_accessor subscription_rate: MetronomeSDK::V2::ContractEditParams::AddSubscription::SubscriptionRate
|
@@ -3542,10 +2510,20 @@ module MetronomeSDK
|
|
3542
2510
|
|
3543
2511
|
def ending_before=: (Time) -> Time
|
3544
2512
|
|
2513
|
+
attr_reader initial_quantity: Float?
|
2514
|
+
|
2515
|
+
def initial_quantity=: (Float) -> Float
|
2516
|
+
|
3545
2517
|
attr_reader name: String?
|
3546
2518
|
|
3547
2519
|
def name=: (String) -> String
|
3548
2520
|
|
2521
|
+
attr_reader quantity_management_mode: MetronomeSDK::Models::V2::ContractEditParams::AddSubscription::quantity_management_mode?
|
2522
|
+
|
2523
|
+
def quantity_management_mode=: (
|
2524
|
+
MetronomeSDK::Models::V2::ContractEditParams::AddSubscription::quantity_management_mode
|
2525
|
+
) -> MetronomeSDK::Models::V2::ContractEditParams::AddSubscription::quantity_management_mode
|
2526
|
+
|
3549
2527
|
attr_reader starting_at: Time?
|
3550
2528
|
|
3551
2529
|
def starting_at=: (Time) -> Time
|
@@ -3556,26 +2534,28 @@ module MetronomeSDK
|
|
3556
2534
|
|
3557
2535
|
def initialize: (
|
3558
2536
|
collection_schedule: MetronomeSDK::Models::V2::ContractEditParams::AddSubscription::collection_schedule,
|
3559
|
-
initial_quantity: Float,
|
3560
2537
|
proration: MetronomeSDK::V2::ContractEditParams::AddSubscription::Proration,
|
3561
2538
|
subscription_rate: MetronomeSDK::V2::ContractEditParams::AddSubscription::SubscriptionRate,
|
3562
2539
|
?custom_fields: ::Hash[Symbol, String],
|
3563
2540
|
?description: String,
|
3564
2541
|
?ending_before: Time,
|
2542
|
+
?initial_quantity: Float,
|
3565
2543
|
?name: String,
|
2544
|
+
?quantity_management_mode: MetronomeSDK::Models::V2::ContractEditParams::AddSubscription::quantity_management_mode,
|
3566
2545
|
?starting_at: Time,
|
3567
2546
|
?temporary_id: String
|
3568
2547
|
) -> void
|
3569
2548
|
|
3570
2549
|
def to_hash: -> {
|
3571
2550
|
collection_schedule: MetronomeSDK::Models::V2::ContractEditParams::AddSubscription::collection_schedule,
|
3572
|
-
initial_quantity: Float,
|
3573
2551
|
proration: MetronomeSDK::V2::ContractEditParams::AddSubscription::Proration,
|
3574
2552
|
subscription_rate: MetronomeSDK::V2::ContractEditParams::AddSubscription::SubscriptionRate,
|
3575
2553
|
custom_fields: ::Hash[Symbol, String],
|
3576
2554
|
description: String,
|
3577
2555
|
ending_before: Time,
|
2556
|
+
initial_quantity: Float,
|
3578
2557
|
name: String,
|
2558
|
+
quantity_management_mode: MetronomeSDK::Models::V2::ContractEditParams::AddSubscription::quantity_management_mode,
|
3579
2559
|
starting_at: Time,
|
3580
2560
|
temporary_id: String
|
3581
2561
|
}
|
@@ -3665,6 +2645,17 @@ module MetronomeSDK
|
|
3665
2645
|
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddSubscription::SubscriptionRate::billing_frequency]
|
3666
2646
|
end
|
3667
2647
|
end
|
2648
|
+
|
2649
|
+
type quantity_management_mode = :SEAT_BASED | :QUANTITY_ONLY
|
2650
|
+
|
2651
|
+
module QuantityManagementMode
|
2652
|
+
extend MetronomeSDK::Internal::Type::Enum
|
2653
|
+
|
2654
|
+
SEAT_BASED: :SEAT_BASED
|
2655
|
+
QUANTITY_ONLY: :QUANTITY_ONLY
|
2656
|
+
|
2657
|
+
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::AddSubscription::quantity_management_mode]
|
2658
|
+
end
|
3668
2659
|
end
|
3669
2660
|
|
3670
2661
|
type archive_commit = { id: String }
|
@@ -3713,10 +2704,12 @@ module MetronomeSDK
|
|
3713
2704
|
access_schedule: MetronomeSDK::V2::ContractEditParams::UpdateCommit::AccessSchedule,
|
3714
2705
|
applicable_product_ids: ::Array[String]?,
|
3715
2706
|
applicable_product_tags: ::Array[String]?,
|
3716
|
-
hierarchy_configuration: MetronomeSDK::
|
2707
|
+
hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
3717
2708
|
invoice_schedule: MetronomeSDK::V2::ContractEditParams::UpdateCommit::InvoiceSchedule,
|
3718
2709
|
netsuite_sales_order_id: String?,
|
2710
|
+
priority: Float?,
|
3719
2711
|
product_id: String,
|
2712
|
+
rate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::rate_type,
|
3720
2713
|
rollover_fraction: Float?
|
3721
2714
|
}
|
3722
2715
|
|
@@ -3733,11 +2726,11 @@ module MetronomeSDK
|
|
3733
2726
|
|
3734
2727
|
attr_accessor applicable_product_tags: ::Array[String]?
|
3735
2728
|
|
3736
|
-
attr_reader hierarchy_configuration: MetronomeSDK::
|
2729
|
+
attr_reader hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration?
|
3737
2730
|
|
3738
2731
|
def hierarchy_configuration=: (
|
3739
|
-
MetronomeSDK::
|
3740
|
-
) -> MetronomeSDK::
|
2732
|
+
MetronomeSDK::CommitHierarchyConfiguration
|
2733
|
+
) -> MetronomeSDK::CommitHierarchyConfiguration
|
3741
2734
|
|
3742
2735
|
attr_reader invoice_schedule: MetronomeSDK::V2::ContractEditParams::UpdateCommit::InvoiceSchedule?
|
3743
2736
|
|
@@ -3747,10 +2740,18 @@ module MetronomeSDK
|
|
3747
2740
|
|
3748
2741
|
attr_accessor netsuite_sales_order_id: String?
|
3749
2742
|
|
2743
|
+
attr_accessor priority: Float?
|
2744
|
+
|
3750
2745
|
attr_reader product_id: String?
|
3751
2746
|
|
3752
2747
|
def product_id=: (String) -> String
|
3753
2748
|
|
2749
|
+
attr_reader rate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::rate_type?
|
2750
|
+
|
2751
|
+
def rate_type=: (
|
2752
|
+
MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::rate_type
|
2753
|
+
) -> MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::rate_type
|
2754
|
+
|
3754
2755
|
attr_accessor rollover_fraction: Float?
|
3755
2756
|
|
3756
2757
|
def initialize: (
|
@@ -3758,10 +2759,12 @@ module MetronomeSDK
|
|
3758
2759
|
?access_schedule: MetronomeSDK::V2::ContractEditParams::UpdateCommit::AccessSchedule,
|
3759
2760
|
?applicable_product_ids: ::Array[String]?,
|
3760
2761
|
?applicable_product_tags: ::Array[String]?,
|
3761
|
-
?hierarchy_configuration: MetronomeSDK::
|
2762
|
+
?hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
3762
2763
|
?invoice_schedule: MetronomeSDK::V2::ContractEditParams::UpdateCommit::InvoiceSchedule,
|
3763
2764
|
?netsuite_sales_order_id: String?,
|
2765
|
+
?priority: Float?,
|
3764
2766
|
?product_id: String,
|
2767
|
+
?rate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::rate_type,
|
3765
2768
|
?rollover_fraction: Float?
|
3766
2769
|
) -> void
|
3767
2770
|
|
@@ -3770,10 +2773,12 @@ module MetronomeSDK
|
|
3770
2773
|
access_schedule: MetronomeSDK::V2::ContractEditParams::UpdateCommit::AccessSchedule,
|
3771
2774
|
applicable_product_ids: ::Array[String]?,
|
3772
2775
|
applicable_product_tags: ::Array[String]?,
|
3773
|
-
hierarchy_configuration: MetronomeSDK::
|
2776
|
+
hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
3774
2777
|
invoice_schedule: MetronomeSDK::V2::ContractEditParams::UpdateCommit::InvoiceSchedule,
|
3775
2778
|
netsuite_sales_order_id: String?,
|
2779
|
+
priority: Float?,
|
3776
2780
|
product_id: String,
|
2781
|
+
rate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::rate_type,
|
3777
2782
|
rollover_fraction: Float?
|
3778
2783
|
}
|
3779
2784
|
|
@@ -3887,120 +2892,6 @@ module MetronomeSDK
|
|
3887
2892
|
end
|
3888
2893
|
end
|
3889
2894
|
|
3890
|
-
type hierarchy_configuration =
|
3891
|
-
{
|
3892
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::child_access
|
3893
|
-
}
|
3894
|
-
|
3895
|
-
class HierarchyConfiguration < MetronomeSDK::Internal::Type::BaseModel
|
3896
|
-
attr_accessor child_access: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::child_access
|
3897
|
-
|
3898
|
-
def initialize: (
|
3899
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::child_access
|
3900
|
-
) -> void
|
3901
|
-
|
3902
|
-
def to_hash: -> {
|
3903
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::child_access
|
3904
|
-
}
|
3905
|
-
|
3906
|
-
type child_access =
|
3907
|
-
MetronomeSDK::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll
|
3908
|
-
| MetronomeSDK::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone
|
3909
|
-
| MetronomeSDK::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs
|
3910
|
-
|
3911
|
-
module ChildAccess
|
3912
|
-
extend MetronomeSDK::Internal::Type::Union
|
3913
|
-
|
3914
|
-
type commit_hierarchy_child_access_all =
|
3915
|
-
{
|
3916
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
3917
|
-
}
|
3918
|
-
|
3919
|
-
class CommitHierarchyChildAccessAll < MetronomeSDK::Internal::Type::BaseModel
|
3920
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
3921
|
-
|
3922
|
-
def initialize: (
|
3923
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
3924
|
-
) -> void
|
3925
|
-
|
3926
|
-
def to_hash: -> {
|
3927
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
3928
|
-
}
|
3929
|
-
|
3930
|
-
type type_ = :ALL
|
3931
|
-
|
3932
|
-
module Type
|
3933
|
-
extend MetronomeSDK::Internal::Type::Enum
|
3934
|
-
|
3935
|
-
ALL: :ALL
|
3936
|
-
|
3937
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_]
|
3938
|
-
end
|
3939
|
-
end
|
3940
|
-
|
3941
|
-
type commit_hierarchy_child_access_none =
|
3942
|
-
{
|
3943
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
3944
|
-
}
|
3945
|
-
|
3946
|
-
class CommitHierarchyChildAccessNone < MetronomeSDK::Internal::Type::BaseModel
|
3947
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
3948
|
-
|
3949
|
-
def initialize: (
|
3950
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
3951
|
-
) -> void
|
3952
|
-
|
3953
|
-
def to_hash: -> {
|
3954
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
3955
|
-
}
|
3956
|
-
|
3957
|
-
type type_ = :NONE
|
3958
|
-
|
3959
|
-
module Type
|
3960
|
-
extend MetronomeSDK::Internal::Type::Enum
|
3961
|
-
|
3962
|
-
NONE: :NONE
|
3963
|
-
|
3964
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_]
|
3965
|
-
end
|
3966
|
-
end
|
3967
|
-
|
3968
|
-
type commit_hierarchy_child_access_contract_ids =
|
3969
|
-
{
|
3970
|
-
contract_ids: ::Array[String],
|
3971
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
3972
|
-
}
|
3973
|
-
|
3974
|
-
class CommitHierarchyChildAccessContractIDs < MetronomeSDK::Internal::Type::BaseModel
|
3975
|
-
attr_accessor contract_ids: ::Array[String]
|
3976
|
-
|
3977
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
3978
|
-
|
3979
|
-
def initialize: (
|
3980
|
-
contract_ids: ::Array[String],
|
3981
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
3982
|
-
) -> void
|
3983
|
-
|
3984
|
-
def to_hash: -> {
|
3985
|
-
contract_ids: ::Array[String],
|
3986
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
3987
|
-
}
|
3988
|
-
|
3989
|
-
type type_ = :CONTRACT_IDS
|
3990
|
-
|
3991
|
-
module Type
|
3992
|
-
extend MetronomeSDK::Internal::Type::Enum
|
3993
|
-
|
3994
|
-
CONTRACT_IDS: :CONTRACT_IDS
|
3995
|
-
|
3996
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_]
|
3997
|
-
end
|
3998
|
-
end
|
3999
|
-
|
4000
|
-
def self?.variants: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::HierarchyConfiguration::child_access]
|
4001
|
-
end
|
4002
|
-
end
|
4003
|
-
|
4004
2895
|
type invoice_schedule =
|
4005
2896
|
{
|
4006
2897
|
add_schedule_items: ::Array[MetronomeSDK::V2::ContractEditParams::UpdateCommit::InvoiceSchedule::AddScheduleItem],
|
@@ -4132,6 +3023,17 @@ module MetronomeSDK
|
|
4132
3023
|
}
|
4133
3024
|
end
|
4134
3025
|
end
|
3026
|
+
|
3027
|
+
type rate_type = :LIST_RATE | :COMMIT_RATE
|
3028
|
+
|
3029
|
+
module RateType
|
3030
|
+
extend MetronomeSDK::Internal::Type::Enum
|
3031
|
+
|
3032
|
+
LIST_RATE: :LIST_RATE
|
3033
|
+
COMMIT_RATE: :COMMIT_RATE
|
3034
|
+
|
3035
|
+
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::UpdateCommit::rate_type]
|
3036
|
+
end
|
4135
3037
|
end
|
4136
3038
|
|
4137
3039
|
type update_credit =
|
@@ -4140,9 +3042,11 @@ module MetronomeSDK
|
|
4140
3042
|
access_schedule: MetronomeSDK::V2::ContractEditParams::UpdateCredit::AccessSchedule,
|
4141
3043
|
applicable_product_ids: ::Array[String]?,
|
4142
3044
|
applicable_product_tags: ::Array[String]?,
|
4143
|
-
hierarchy_configuration: MetronomeSDK::
|
3045
|
+
hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
4144
3046
|
netsuite_sales_order_id: String?,
|
4145
|
-
|
3047
|
+
priority: Float?,
|
3048
|
+
product_id: String,
|
3049
|
+
rate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::rate_type
|
4146
3050
|
}
|
4147
3051
|
|
4148
3052
|
class UpdateCredit < MetronomeSDK::Internal::Type::BaseModel
|
@@ -4158,26 +3062,36 @@ module MetronomeSDK
|
|
4158
3062
|
|
4159
3063
|
attr_accessor applicable_product_tags: ::Array[String]?
|
4160
3064
|
|
4161
|
-
attr_reader hierarchy_configuration: MetronomeSDK::
|
3065
|
+
attr_reader hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration?
|
4162
3066
|
|
4163
3067
|
def hierarchy_configuration=: (
|
4164
|
-
MetronomeSDK::
|
4165
|
-
) -> MetronomeSDK::
|
3068
|
+
MetronomeSDK::CommitHierarchyConfiguration
|
3069
|
+
) -> MetronomeSDK::CommitHierarchyConfiguration
|
4166
3070
|
|
4167
3071
|
attr_accessor netsuite_sales_order_id: String?
|
4168
3072
|
|
3073
|
+
attr_accessor priority: Float?
|
3074
|
+
|
4169
3075
|
attr_reader product_id: String?
|
4170
3076
|
|
4171
3077
|
def product_id=: (String) -> String
|
4172
3078
|
|
3079
|
+
attr_reader rate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::rate_type?
|
3080
|
+
|
3081
|
+
def rate_type=: (
|
3082
|
+
MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::rate_type
|
3083
|
+
) -> MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::rate_type
|
3084
|
+
|
4173
3085
|
def initialize: (
|
4174
3086
|
credit_id: String,
|
4175
3087
|
?access_schedule: MetronomeSDK::V2::ContractEditParams::UpdateCredit::AccessSchedule,
|
4176
3088
|
?applicable_product_ids: ::Array[String]?,
|
4177
3089
|
?applicable_product_tags: ::Array[String]?,
|
4178
|
-
?hierarchy_configuration: MetronomeSDK::
|
3090
|
+
?hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
4179
3091
|
?netsuite_sales_order_id: String?,
|
4180
|
-
?
|
3092
|
+
?priority: Float?,
|
3093
|
+
?product_id: String,
|
3094
|
+
?rate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::rate_type
|
4181
3095
|
) -> void
|
4182
3096
|
|
4183
3097
|
def to_hash: -> {
|
@@ -4185,9 +3099,11 @@ module MetronomeSDK
|
|
4185
3099
|
access_schedule: MetronomeSDK::V2::ContractEditParams::UpdateCredit::AccessSchedule,
|
4186
3100
|
applicable_product_ids: ::Array[String]?,
|
4187
3101
|
applicable_product_tags: ::Array[String]?,
|
4188
|
-
hierarchy_configuration: MetronomeSDK::
|
3102
|
+
hierarchy_configuration: MetronomeSDK::CommitHierarchyConfiguration,
|
4189
3103
|
netsuite_sales_order_id: String?,
|
4190
|
-
|
3104
|
+
priority: Float?,
|
3105
|
+
product_id: String,
|
3106
|
+
rate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::rate_type
|
4191
3107
|
}
|
4192
3108
|
|
4193
3109
|
type access_schedule =
|
@@ -4269,149 +3185,46 @@ module MetronomeSDK
|
|
4269
3185
|
starting_at: Time
|
4270
3186
|
}
|
4271
3187
|
|
4272
|
-
class UpdateScheduleItem < MetronomeSDK::Internal::Type::BaseModel
|
4273
|
-
attr_accessor id: String
|
4274
|
-
|
4275
|
-
attr_reader amount: Float?
|
4276
|
-
|
4277
|
-
def amount=: (Float) -> Float
|
4278
|
-
|
4279
|
-
attr_reader ending_before: Time?
|
4280
|
-
|
4281
|
-
def ending_before=: (Time) -> Time
|
4282
|
-
|
4283
|
-
attr_reader starting_at: Time?
|
4284
|
-
|
4285
|
-
def starting_at=: (Time) -> Time
|
4286
|
-
|
4287
|
-
def initialize: (
|
4288
|
-
id: String,
|
4289
|
-
?amount: Float,
|
4290
|
-
?ending_before: Time,
|
4291
|
-
?starting_at: Time
|
4292
|
-
) -> void
|
4293
|
-
|
4294
|
-
def to_hash: -> {
|
4295
|
-
id: String,
|
4296
|
-
amount: Float,
|
4297
|
-
ending_before: Time,
|
4298
|
-
starting_at: Time
|
4299
|
-
}
|
4300
|
-
end
|
4301
|
-
end
|
4302
|
-
|
4303
|
-
type hierarchy_configuration =
|
4304
|
-
{
|
4305
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::child_access
|
4306
|
-
}
|
4307
|
-
|
4308
|
-
class HierarchyConfiguration < MetronomeSDK::Internal::Type::BaseModel
|
4309
|
-
attr_accessor child_access: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::child_access
|
4310
|
-
|
4311
|
-
def initialize: (
|
4312
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::child_access
|
4313
|
-
) -> void
|
4314
|
-
|
4315
|
-
def to_hash: -> {
|
4316
|
-
child_access: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::child_access
|
4317
|
-
}
|
4318
|
-
|
4319
|
-
type child_access =
|
4320
|
-
MetronomeSDK::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll
|
4321
|
-
| MetronomeSDK::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone
|
4322
|
-
| MetronomeSDK::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs
|
4323
|
-
|
4324
|
-
module ChildAccess
|
4325
|
-
extend MetronomeSDK::Internal::Type::Union
|
4326
|
-
|
4327
|
-
type commit_hierarchy_child_access_all =
|
4328
|
-
{
|
4329
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
4330
|
-
}
|
4331
|
-
|
4332
|
-
class CommitHierarchyChildAccessAll < MetronomeSDK::Internal::Type::BaseModel
|
4333
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
4334
|
-
|
4335
|
-
def initialize: (
|
4336
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
4337
|
-
) -> void
|
4338
|
-
|
4339
|
-
def to_hash: -> {
|
4340
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_
|
4341
|
-
}
|
4342
|
-
|
4343
|
-
type type_ = :ALL
|
4344
|
-
|
4345
|
-
module Type
|
4346
|
-
extend MetronomeSDK::Internal::Type::Enum
|
4347
|
-
|
4348
|
-
ALL: :ALL
|
4349
|
-
|
4350
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessAll::type_]
|
4351
|
-
end
|
4352
|
-
end
|
4353
|
-
|
4354
|
-
type commit_hierarchy_child_access_none =
|
4355
|
-
{
|
4356
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
4357
|
-
}
|
4358
|
-
|
4359
|
-
class CommitHierarchyChildAccessNone < MetronomeSDK::Internal::Type::BaseModel
|
4360
|
-
attr_accessor type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
4361
|
-
|
4362
|
-
def initialize: (
|
4363
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
4364
|
-
) -> void
|
4365
|
-
|
4366
|
-
def to_hash: -> {
|
4367
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessNone::type_
|
4368
|
-
}
|
4369
|
-
|
4370
|
-
type type_ = :NONE
|
4371
|
-
|
4372
|
-
module Type
|
4373
|
-
extend MetronomeSDK::Internal::Type::Enum
|
3188
|
+
class UpdateScheduleItem < MetronomeSDK::Internal::Type::BaseModel
|
3189
|
+
attr_accessor id: String
|
4374
3190
|
|
4375
|
-
|
3191
|
+
attr_reader amount: Float?
|
4376
3192
|
|
4377
|
-
|
4378
|
-
end
|
4379
|
-
end
|
3193
|
+
def amount=: (Float) -> Float
|
4380
3194
|
|
4381
|
-
|
4382
|
-
{
|
4383
|
-
contract_ids: ::Array[String],
|
4384
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
4385
|
-
}
|
3195
|
+
attr_reader ending_before: Time?
|
4386
3196
|
|
4387
|
-
|
4388
|
-
attr_accessor contract_ids: ::Array[String]
|
3197
|
+
def ending_before=: (Time) -> Time
|
4389
3198
|
|
4390
|
-
|
3199
|
+
attr_reader starting_at: Time?
|
4391
3200
|
|
4392
|
-
|
4393
|
-
contract_ids: ::Array[String],
|
4394
|
-
type: MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::HierarchyConfiguration::ChildAccess::CommitHierarchyChildAccessContractIDs::type_
|
4395
|
-
) -> void
|
3201
|
+
def starting_at=: (Time) -> Time
|
4396
3202
|
|
4397
|
-
|
4398
|
-
|
4399
|
-
|
4400
|
-
|
3203
|
+
def initialize: (
|
3204
|
+
id: String,
|
3205
|
+
?amount: Float,
|
3206
|
+
?ending_before: Time,
|
3207
|
+
?starting_at: Time
|
3208
|
+
) -> void
|
4401
3209
|
|
4402
|
-
|
3210
|
+
def to_hash: -> {
|
3211
|
+
id: String,
|
3212
|
+
amount: Float,
|
3213
|
+
ending_before: Time,
|
3214
|
+
starting_at: Time
|
3215
|
+
}
|
3216
|
+
end
|
3217
|
+
end
|
4403
3218
|
|
4404
|
-
|
4405
|
-
extend MetronomeSDK::Internal::Type::Enum
|
3219
|
+
type rate_type = :LIST_RATE | :COMMIT_RATE
|
4406
3220
|
|
4407
|
-
|
3221
|
+
module RateType
|
3222
|
+
extend MetronomeSDK::Internal::Type::Enum
|
4408
3223
|
|
4409
|
-
|
4410
|
-
|
4411
|
-
end
|
3224
|
+
LIST_RATE: :LIST_RATE
|
3225
|
+
COMMIT_RATE: :COMMIT_RATE
|
4412
3226
|
|
4413
|
-
|
4414
|
-
end
|
3227
|
+
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::UpdateCredit::rate_type]
|
4415
3228
|
end
|
4416
3229
|
end
|
4417
3230
|
|
@@ -4420,7 +3233,7 @@ module MetronomeSDK
|
|
4420
3233
|
commit: MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::Commit,
|
4421
3234
|
custom_credit_type_id: String?,
|
4422
3235
|
is_enabled: bool,
|
4423
|
-
payment_gate_config: MetronomeSDK::
|
3236
|
+
payment_gate_config: MetronomeSDK::PaymentGateConfigV2,
|
4424
3237
|
recharge_to_amount: Float,
|
4425
3238
|
threshold_amount: Float
|
4426
3239
|
}
|
@@ -4438,11 +3251,11 @@ module MetronomeSDK
|
|
4438
3251
|
|
4439
3252
|
def is_enabled=: (bool) -> bool
|
4440
3253
|
|
4441
|
-
attr_reader payment_gate_config: MetronomeSDK::
|
3254
|
+
attr_reader payment_gate_config: MetronomeSDK::PaymentGateConfigV2?
|
4442
3255
|
|
4443
3256
|
def payment_gate_config=: (
|
4444
|
-
MetronomeSDK::
|
4445
|
-
) -> MetronomeSDK::
|
3257
|
+
MetronomeSDK::PaymentGateConfigV2
|
3258
|
+
) -> MetronomeSDK::PaymentGateConfigV2
|
4446
3259
|
|
4447
3260
|
attr_reader recharge_to_amount: Float?
|
4448
3261
|
|
@@ -4456,7 +3269,7 @@ module MetronomeSDK
|
|
4456
3269
|
?commit: MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::Commit,
|
4457
3270
|
?custom_credit_type_id: String?,
|
4458
3271
|
?is_enabled: bool,
|
4459
|
-
?payment_gate_config: MetronomeSDK::
|
3272
|
+
?payment_gate_config: MetronomeSDK::PaymentGateConfigV2,
|
4460
3273
|
?recharge_to_amount: Float,
|
4461
3274
|
?threshold_amount: Float
|
4462
3275
|
) -> void
|
@@ -4465,7 +3278,7 @@ module MetronomeSDK
|
|
4465
3278
|
commit: MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::Commit,
|
4466
3279
|
custom_credit_type_id: String?,
|
4467
3280
|
is_enabled: bool,
|
4468
|
-
payment_gate_config: MetronomeSDK::
|
3281
|
+
payment_gate_config: MetronomeSDK::PaymentGateConfigV2,
|
4469
3282
|
recharge_to_amount: Float,
|
4470
3283
|
threshold_amount: Float
|
4471
3284
|
}
|
@@ -4474,213 +3287,39 @@ module MetronomeSDK
|
|
4474
3287
|
{
|
4475
3288
|
applicable_product_ids: ::Array[String]?,
|
4476
3289
|
applicable_product_tags: ::Array[String]?,
|
4477
|
-
|
4478
|
-
name: String,
|
4479
|
-
product_id: String,
|
4480
|
-
specifiers: ::Array[MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::Commit::Specifier]?
|
3290
|
+
specifiers: ::Array[MetronomeSDK::CommitSpecifierInput]?
|
4481
3291
|
}
|
4482
3292
|
|
4483
|
-
class Commit < MetronomeSDK::
|
4484
|
-
|
4485
|
-
|
4486
|
-
attr_accessor applicable_product_tags: ::Array[String]?
|
4487
|
-
|
4488
|
-
attr_reader description: String?
|
3293
|
+
class Commit < MetronomeSDK::Models::UpdateBaseThresholdCommit
|
3294
|
+
def applicable_product_ids: -> ::Array[String]?
|
4489
3295
|
|
4490
|
-
def
|
3296
|
+
def applicable_product_ids=: (
|
3297
|
+
::Array[String]? _
|
3298
|
+
) -> ::Array[String]?
|
4491
3299
|
|
4492
|
-
|
3300
|
+
def applicable_product_tags: -> ::Array[String]?
|
4493
3301
|
|
4494
|
-
def
|
3302
|
+
def applicable_product_tags=: (
|
3303
|
+
::Array[String]? _
|
3304
|
+
) -> ::Array[String]?
|
4495
3305
|
|
4496
|
-
|
4497
|
-
|
4498
|
-
def product_id=: (String) -> String
|
3306
|
+
def specifiers: -> ::Array[MetronomeSDK::CommitSpecifierInput]?
|
4499
3307
|
|
4500
|
-
|
3308
|
+
def specifiers=: (
|
3309
|
+
::Array[MetronomeSDK::CommitSpecifierInput]? _
|
3310
|
+
) -> ::Array[MetronomeSDK::CommitSpecifierInput]?
|
4501
3311
|
|
4502
3312
|
def initialize: (
|
4503
3313
|
?applicable_product_ids: ::Array[String]?,
|
4504
3314
|
?applicable_product_tags: ::Array[String]?,
|
4505
|
-
?
|
4506
|
-
?name: String,
|
4507
|
-
?product_id: String,
|
4508
|
-
?specifiers: ::Array[MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::Commit::Specifier]?
|
3315
|
+
?specifiers: ::Array[MetronomeSDK::CommitSpecifierInput]?
|
4509
3316
|
) -> void
|
4510
3317
|
|
4511
3318
|
def to_hash: -> {
|
4512
3319
|
applicable_product_ids: ::Array[String]?,
|
4513
3320
|
applicable_product_tags: ::Array[String]?,
|
4514
|
-
|
4515
|
-
name: String,
|
4516
|
-
product_id: String,
|
4517
|
-
specifiers: ::Array[MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::Commit::Specifier]?
|
4518
|
-
}
|
4519
|
-
|
4520
|
-
type specifier =
|
4521
|
-
{
|
4522
|
-
presentation_group_values: ::Hash[Symbol, String],
|
4523
|
-
pricing_group_values: ::Hash[Symbol, String],
|
4524
|
-
product_id: String,
|
4525
|
-
product_tags: ::Array[String]
|
4526
|
-
}
|
4527
|
-
|
4528
|
-
class Specifier < MetronomeSDK::Internal::Type::BaseModel
|
4529
|
-
attr_reader presentation_group_values: ::Hash[Symbol, String]?
|
4530
|
-
|
4531
|
-
def presentation_group_values=: (
|
4532
|
-
::Hash[Symbol, String]
|
4533
|
-
) -> ::Hash[Symbol, String]
|
4534
|
-
|
4535
|
-
attr_reader pricing_group_values: ::Hash[Symbol, String]?
|
4536
|
-
|
4537
|
-
def pricing_group_values=: (
|
4538
|
-
::Hash[Symbol, String]
|
4539
|
-
) -> ::Hash[Symbol, String]
|
4540
|
-
|
4541
|
-
attr_reader product_id: String?
|
4542
|
-
|
4543
|
-
def product_id=: (String) -> String
|
4544
|
-
|
4545
|
-
attr_reader product_tags: ::Array[String]?
|
4546
|
-
|
4547
|
-
def product_tags=: (::Array[String]) -> ::Array[String]
|
4548
|
-
|
4549
|
-
def initialize: (
|
4550
|
-
?presentation_group_values: ::Hash[Symbol, String],
|
4551
|
-
?pricing_group_values: ::Hash[Symbol, String],
|
4552
|
-
?product_id: String,
|
4553
|
-
?product_tags: ::Array[String]
|
4554
|
-
) -> void
|
4555
|
-
|
4556
|
-
def to_hash: -> {
|
4557
|
-
presentation_group_values: ::Hash[Symbol, String],
|
4558
|
-
pricing_group_values: ::Hash[Symbol, String],
|
4559
|
-
product_id: String,
|
4560
|
-
product_tags: ::Array[String]
|
4561
|
-
}
|
4562
|
-
end
|
4563
|
-
end
|
4564
|
-
|
4565
|
-
type payment_gate_config =
|
4566
|
-
{
|
4567
|
-
payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::payment_gate_type,
|
4568
|
-
precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig,
|
4569
|
-
stripe_config: MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig,
|
4570
|
-
tax_type: MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::tax_type
|
4571
|
-
}
|
4572
|
-
|
4573
|
-
class PaymentGateConfig < MetronomeSDK::Internal::Type::BaseModel
|
4574
|
-
attr_accessor payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::payment_gate_type
|
4575
|
-
|
4576
|
-
attr_reader precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig?
|
4577
|
-
|
4578
|
-
def precalculated_tax_config=: (
|
4579
|
-
MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig
|
4580
|
-
) -> MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig
|
4581
|
-
|
4582
|
-
attr_reader stripe_config: MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig?
|
4583
|
-
|
4584
|
-
def stripe_config=: (
|
4585
|
-
MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig
|
4586
|
-
) -> MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig
|
4587
|
-
|
4588
|
-
attr_reader tax_type: MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::tax_type?
|
4589
|
-
|
4590
|
-
def tax_type=: (
|
4591
|
-
MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::tax_type
|
4592
|
-
) -> MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::tax_type
|
4593
|
-
|
4594
|
-
def initialize: (
|
4595
|
-
payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::payment_gate_type,
|
4596
|
-
?precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig,
|
4597
|
-
?stripe_config: MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig,
|
4598
|
-
?tax_type: MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::tax_type
|
4599
|
-
) -> void
|
4600
|
-
|
4601
|
-
def to_hash: -> {
|
4602
|
-
payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::payment_gate_type,
|
4603
|
-
precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig,
|
4604
|
-
stripe_config: MetronomeSDK::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig,
|
4605
|
-
tax_type: MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::tax_type
|
3321
|
+
specifiers: ::Array[MetronomeSDK::CommitSpecifierInput]?
|
4606
3322
|
}
|
4607
|
-
|
4608
|
-
type payment_gate_type = :NONE | :STRIPE | :EXTERNAL
|
4609
|
-
|
4610
|
-
module PaymentGateType
|
4611
|
-
extend MetronomeSDK::Internal::Type::Enum
|
4612
|
-
|
4613
|
-
NONE: :NONE
|
4614
|
-
STRIPE: :STRIPE
|
4615
|
-
EXTERNAL: :EXTERNAL
|
4616
|
-
|
4617
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::payment_gate_type]
|
4618
|
-
end
|
4619
|
-
|
4620
|
-
type precalculated_tax_config =
|
4621
|
-
{ tax_amount: Float, tax_name: String }
|
4622
|
-
|
4623
|
-
class PrecalculatedTaxConfig < MetronomeSDK::Internal::Type::BaseModel
|
4624
|
-
attr_accessor tax_amount: Float
|
4625
|
-
|
4626
|
-
attr_reader tax_name: String?
|
4627
|
-
|
4628
|
-
def tax_name=: (String) -> String
|
4629
|
-
|
4630
|
-
def initialize: (tax_amount: Float, ?tax_name: String) -> void
|
4631
|
-
|
4632
|
-
def to_hash: -> { tax_amount: Float, tax_name: String }
|
4633
|
-
end
|
4634
|
-
|
4635
|
-
type stripe_config =
|
4636
|
-
{
|
4637
|
-
payment_type: MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type,
|
4638
|
-
invoice_metadata: ::Hash[Symbol, String]
|
4639
|
-
}
|
4640
|
-
|
4641
|
-
class StripeConfig < MetronomeSDK::Internal::Type::BaseModel
|
4642
|
-
attr_accessor payment_type: MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type
|
4643
|
-
|
4644
|
-
attr_reader invoice_metadata: ::Hash[Symbol, String]?
|
4645
|
-
|
4646
|
-
def invoice_metadata=: (
|
4647
|
-
::Hash[Symbol, String]
|
4648
|
-
) -> ::Hash[Symbol, String]
|
4649
|
-
|
4650
|
-
def initialize: (
|
4651
|
-
payment_type: MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type,
|
4652
|
-
?invoice_metadata: ::Hash[Symbol, String]
|
4653
|
-
) -> void
|
4654
|
-
|
4655
|
-
def to_hash: -> {
|
4656
|
-
payment_type: MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type,
|
4657
|
-
invoice_metadata: ::Hash[Symbol, String]
|
4658
|
-
}
|
4659
|
-
|
4660
|
-
type payment_type = :INVOICE | :PAYMENT_INTENT
|
4661
|
-
|
4662
|
-
module PaymentType
|
4663
|
-
extend MetronomeSDK::Internal::Type::Enum
|
4664
|
-
|
4665
|
-
INVOICE: :INVOICE
|
4666
|
-
PAYMENT_INTENT: :PAYMENT_INTENT
|
4667
|
-
|
4668
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type]
|
4669
|
-
end
|
4670
|
-
end
|
4671
|
-
|
4672
|
-
type tax_type = :NONE | :STRIPE | :ANROK | :PRECALCULATED
|
4673
|
-
|
4674
|
-
module TaxType
|
4675
|
-
extend MetronomeSDK::Internal::Type::Enum
|
4676
|
-
|
4677
|
-
NONE: :NONE
|
4678
|
-
STRIPE: :STRIPE
|
4679
|
-
ANROK: :ANROK
|
4680
|
-
PRECALCULATED: :PRECALCULATED
|
4681
|
-
|
4682
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::UpdatePrepaidBalanceThresholdConfiguration::PaymentGateConfig::tax_type]
|
4683
|
-
end
|
4684
3323
|
end
|
4685
3324
|
end
|
4686
3325
|
|
@@ -4968,196 +3607,46 @@ module MetronomeSDK
|
|
4968
3607
|
|
4969
3608
|
type update_spend_threshold_configuration =
|
4970
3609
|
{
|
4971
|
-
commit: MetronomeSDK::
|
3610
|
+
commit: MetronomeSDK::UpdateBaseThresholdCommit,
|
4972
3611
|
is_enabled: bool,
|
4973
|
-
payment_gate_config: MetronomeSDK::
|
3612
|
+
payment_gate_config: MetronomeSDK::PaymentGateConfigV2,
|
4974
3613
|
threshold_amount: Float
|
4975
3614
|
}
|
4976
3615
|
|
4977
3616
|
class UpdateSpendThresholdConfiguration < MetronomeSDK::Internal::Type::BaseModel
|
4978
|
-
attr_reader commit: MetronomeSDK::
|
3617
|
+
attr_reader commit: MetronomeSDK::UpdateBaseThresholdCommit?
|
4979
3618
|
|
4980
3619
|
def commit=: (
|
4981
|
-
MetronomeSDK::
|
4982
|
-
) -> MetronomeSDK::
|
3620
|
+
MetronomeSDK::UpdateBaseThresholdCommit
|
3621
|
+
) -> MetronomeSDK::UpdateBaseThresholdCommit
|
4983
3622
|
|
4984
3623
|
attr_reader is_enabled: bool?
|
4985
3624
|
|
4986
3625
|
def is_enabled=: (bool) -> bool
|
4987
3626
|
|
4988
|
-
attr_reader payment_gate_config: MetronomeSDK::
|
3627
|
+
attr_reader payment_gate_config: MetronomeSDK::PaymentGateConfigV2?
|
4989
3628
|
|
4990
3629
|
def payment_gate_config=: (
|
4991
|
-
MetronomeSDK::
|
4992
|
-
) -> MetronomeSDK::
|
3630
|
+
MetronomeSDK::PaymentGateConfigV2
|
3631
|
+
) -> MetronomeSDK::PaymentGateConfigV2
|
4993
3632
|
|
4994
3633
|
attr_reader threshold_amount: Float?
|
4995
3634
|
|
4996
3635
|
def threshold_amount=: (Float) -> Float
|
4997
3636
|
|
4998
3637
|
def initialize: (
|
4999
|
-
?commit: MetronomeSDK::
|
3638
|
+
?commit: MetronomeSDK::UpdateBaseThresholdCommit,
|
5000
3639
|
?is_enabled: bool,
|
5001
|
-
?payment_gate_config: MetronomeSDK::
|
3640
|
+
?payment_gate_config: MetronomeSDK::PaymentGateConfigV2,
|
5002
3641
|
?threshold_amount: Float
|
5003
3642
|
) -> void
|
5004
3643
|
|
5005
3644
|
def to_hash: -> {
|
5006
|
-
commit: MetronomeSDK::
|
3645
|
+
commit: MetronomeSDK::UpdateBaseThresholdCommit,
|
5007
3646
|
is_enabled: bool,
|
5008
|
-
payment_gate_config: MetronomeSDK::
|
3647
|
+
payment_gate_config: MetronomeSDK::PaymentGateConfigV2,
|
5009
3648
|
threshold_amount: Float
|
5010
3649
|
}
|
5011
|
-
|
5012
|
-
type commit =
|
5013
|
-
{ description: String, name: String, product_id: String }
|
5014
|
-
|
5015
|
-
class Commit < MetronomeSDK::Internal::Type::BaseModel
|
5016
|
-
attr_reader description: String?
|
5017
|
-
|
5018
|
-
def description=: (String) -> String
|
5019
|
-
|
5020
|
-
attr_reader name: String?
|
5021
|
-
|
5022
|
-
def name=: (String) -> String
|
5023
|
-
|
5024
|
-
attr_reader product_id: String?
|
5025
|
-
|
5026
|
-
def product_id=: (String) -> String
|
5027
|
-
|
5028
|
-
def initialize: (
|
5029
|
-
?description: String,
|
5030
|
-
?name: String,
|
5031
|
-
?product_id: String
|
5032
|
-
) -> void
|
5033
|
-
|
5034
|
-
def to_hash: -> {
|
5035
|
-
description: String,
|
5036
|
-
name: String,
|
5037
|
-
product_id: String
|
5038
|
-
}
|
5039
|
-
end
|
5040
|
-
|
5041
|
-
type payment_gate_config =
|
5042
|
-
{
|
5043
|
-
payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::payment_gate_type,
|
5044
|
-
precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig,
|
5045
|
-
stripe_config: MetronomeSDK::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::StripeConfig,
|
5046
|
-
tax_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::tax_type
|
5047
|
-
}
|
5048
|
-
|
5049
|
-
class PaymentGateConfig < MetronomeSDK::Internal::Type::BaseModel
|
5050
|
-
attr_accessor payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::payment_gate_type
|
5051
|
-
|
5052
|
-
attr_reader precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig?
|
5053
|
-
|
5054
|
-
def precalculated_tax_config=: (
|
5055
|
-
MetronomeSDK::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig
|
5056
|
-
) -> MetronomeSDK::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig
|
5057
|
-
|
5058
|
-
attr_reader stripe_config: MetronomeSDK::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::StripeConfig?
|
5059
|
-
|
5060
|
-
def stripe_config=: (
|
5061
|
-
MetronomeSDK::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::StripeConfig
|
5062
|
-
) -> MetronomeSDK::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::StripeConfig
|
5063
|
-
|
5064
|
-
attr_reader tax_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::tax_type?
|
5065
|
-
|
5066
|
-
def tax_type=: (
|
5067
|
-
MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::tax_type
|
5068
|
-
) -> MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::tax_type
|
5069
|
-
|
5070
|
-
def initialize: (
|
5071
|
-
payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::payment_gate_type,
|
5072
|
-
?precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig,
|
5073
|
-
?stripe_config: MetronomeSDK::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::StripeConfig,
|
5074
|
-
?tax_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::tax_type
|
5075
|
-
) -> void
|
5076
|
-
|
5077
|
-
def to_hash: -> {
|
5078
|
-
payment_gate_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::payment_gate_type,
|
5079
|
-
precalculated_tax_config: MetronomeSDK::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::PrecalculatedTaxConfig,
|
5080
|
-
stripe_config: MetronomeSDK::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::StripeConfig,
|
5081
|
-
tax_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::tax_type
|
5082
|
-
}
|
5083
|
-
|
5084
|
-
type payment_gate_type = :NONE | :STRIPE | :EXTERNAL
|
5085
|
-
|
5086
|
-
module PaymentGateType
|
5087
|
-
extend MetronomeSDK::Internal::Type::Enum
|
5088
|
-
|
5089
|
-
NONE: :NONE
|
5090
|
-
STRIPE: :STRIPE
|
5091
|
-
EXTERNAL: :EXTERNAL
|
5092
|
-
|
5093
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::payment_gate_type]
|
5094
|
-
end
|
5095
|
-
|
5096
|
-
type precalculated_tax_config =
|
5097
|
-
{ tax_amount: Float, tax_name: String }
|
5098
|
-
|
5099
|
-
class PrecalculatedTaxConfig < MetronomeSDK::Internal::Type::BaseModel
|
5100
|
-
attr_accessor tax_amount: Float
|
5101
|
-
|
5102
|
-
attr_reader tax_name: String?
|
5103
|
-
|
5104
|
-
def tax_name=: (String) -> String
|
5105
|
-
|
5106
|
-
def initialize: (tax_amount: Float, ?tax_name: String) -> void
|
5107
|
-
|
5108
|
-
def to_hash: -> { tax_amount: Float, tax_name: String }
|
5109
|
-
end
|
5110
|
-
|
5111
|
-
type stripe_config =
|
5112
|
-
{
|
5113
|
-
payment_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type,
|
5114
|
-
invoice_metadata: ::Hash[Symbol, String]
|
5115
|
-
}
|
5116
|
-
|
5117
|
-
class StripeConfig < MetronomeSDK::Internal::Type::BaseModel
|
5118
|
-
attr_accessor payment_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type
|
5119
|
-
|
5120
|
-
attr_reader invoice_metadata: ::Hash[Symbol, String]?
|
5121
|
-
|
5122
|
-
def invoice_metadata=: (
|
5123
|
-
::Hash[Symbol, String]
|
5124
|
-
) -> ::Hash[Symbol, String]
|
5125
|
-
|
5126
|
-
def initialize: (
|
5127
|
-
payment_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type,
|
5128
|
-
?invoice_metadata: ::Hash[Symbol, String]
|
5129
|
-
) -> void
|
5130
|
-
|
5131
|
-
def to_hash: -> {
|
5132
|
-
payment_type: MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type,
|
5133
|
-
invoice_metadata: ::Hash[Symbol, String]
|
5134
|
-
}
|
5135
|
-
|
5136
|
-
type payment_type = :INVOICE | :PAYMENT_INTENT
|
5137
|
-
|
5138
|
-
module PaymentType
|
5139
|
-
extend MetronomeSDK::Internal::Type::Enum
|
5140
|
-
|
5141
|
-
INVOICE: :INVOICE
|
5142
|
-
PAYMENT_INTENT: :PAYMENT_INTENT
|
5143
|
-
|
5144
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::StripeConfig::payment_type]
|
5145
|
-
end
|
5146
|
-
end
|
5147
|
-
|
5148
|
-
type tax_type = :NONE | :STRIPE | :ANROK | :PRECALCULATED
|
5149
|
-
|
5150
|
-
module TaxType
|
5151
|
-
extend MetronomeSDK::Internal::Type::Enum
|
5152
|
-
|
5153
|
-
NONE: :NONE
|
5154
|
-
STRIPE: :STRIPE
|
5155
|
-
ANROK: :ANROK
|
5156
|
-
PRECALCULATED: :PRECALCULATED
|
5157
|
-
|
5158
|
-
def self?.values: -> ::Array[MetronomeSDK::Models::V2::ContractEditParams::UpdateSpendThresholdConfiguration::PaymentGateConfig::tax_type]
|
5159
|
-
end
|
5160
|
-
end
|
5161
3650
|
end
|
5162
3651
|
|
5163
3652
|
type update_subscription =
|