orb-billing 0.11.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 +39 -0
- data/README.md +1 -1
- data/lib/orb/internal/type/base_model.rb +5 -5
- data/lib/orb/internal/type/union.rb +3 -8
- data/lib/orb/internal/util.rb +8 -9
- data/lib/orb/models/accounting_provider_config.rb +21 -0
- data/lib/orb/models/address.rb +45 -0
- data/lib/orb/models/address_input.rb +45 -0
- data/lib/orb/models/adjustment_interval.rb +66 -0
- data/lib/orb/models/aggregated_cost.rb +45 -0
- data/lib/orb/models/alert.rb +9 -60
- data/lib/orb/models/alert_create_for_customer_params.rb +3 -24
- data/lib/orb/models/alert_create_for_external_customer_params.rb +3 -24
- data/lib/orb/models/alert_create_for_subscription_params.rb +3 -23
- data/lib/orb/models/alert_update_params.rb +3 -22
- data/lib/orb/models/allocation.rb +27 -0
- data/lib/orb/models/amount_discount.rb +9 -1
- data/lib/orb/models/amount_discount_interval.rb +65 -0
- data/lib/orb/models/beta/external_plan_id_create_plan_version_params.rb +186 -17772
- data/lib/orb/models/beta_create_plan_version_params.rb +183 -17605
- data/lib/orb/models/billable_metric_tiny.rb +15 -0
- data/lib/orb/models/billing_cycle_anchor_configuration.rb +41 -0
- data/lib/orb/models/billing_cycle_configuration.rb +32 -0
- data/lib/orb/models/bps_config.rb +24 -0
- data/lib/orb/models/bps_tier.rb +40 -0
- data/lib/orb/models/bulk_bps_config.rb +20 -0
- data/lib/orb/models/bulk_bps_tier.rb +32 -0
- data/lib/orb/models/bulk_config.rb +16 -0
- data/lib/orb/models/bulk_tier.rb +24 -0
- data/lib/orb/models/changed_subscription_resources.rb +40 -0
- data/lib/orb/models/conversion_rate_tier.rb +32 -0
- data/lib/orb/models/conversion_rate_tiered_config.rb +16 -0
- data/lib/orb/models/conversion_rate_unit_config.rb +16 -0
- data/lib/orb/models/coupon_redemption.rb +27 -0
- data/lib/orb/models/credit_note.rb +6 -51
- data/lib/orb/models/credit_note_tiny.rb +16 -0
- data/lib/orb/models/custom_expiration.rb +32 -0
- data/lib/orb/models/customer.rb +15 -426
- data/lib/orb/models/customer_create_params.rb +24 -527
- data/lib/orb/models/customer_hierarchy_config.rb +29 -0
- data/lib/orb/models/customer_minified.rb +21 -0
- data/lib/orb/models/customer_tax_id.rb +300 -0
- data/lib/orb/models/customer_update_by_external_id_params.rb +24 -529
- data/lib/orb/models/customer_update_params.rb +24 -527
- data/lib/orb/models/customers/balance_transaction_create_response.rb +6 -32
- data/lib/orb/models/customers/balance_transaction_list_response.rb +6 -32
- data/lib/orb/models/customers/cost_list_by_external_id_response.rb +3 -88
- data/lib/orb/models/customers/cost_list_response.rb +3 -87
- data/lib/orb/models/customers/credits/affected_block.rb +31 -0
- data/lib/orb/models/customers/credits/amendment_ledger_entry.rb +131 -0
- data/lib/orb/models/customers/credits/credit_block_expiry_ledger_entry.rb +137 -0
- data/lib/orb/models/customers/credits/decrement_ledger_entry.rb +152 -0
- data/lib/orb/models/customers/credits/expiration_change_ledger_entry.rb +141 -0
- data/lib/orb/models/customers/credits/increment_ledger_entry.rb +139 -0
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +8 -1177
- data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +8 -1169
- data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +8 -1173
- data/lib/orb/models/customers/credits/ledger_list_response.rb +8 -1161
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +3 -52
- data/lib/orb/models/customers/credits/top_up_create_response.rb +3 -51
- data/lib/orb/models/customers/credits/top_up_invoice_settings.rb +53 -0
- data/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +3 -52
- data/lib/orb/models/customers/credits/top_up_list_response.rb +3 -51
- data/lib/orb/models/customers/credits/void_initiated_ledger_entry.rb +152 -0
- data/lib/orb/models/customers/credits/void_ledger_entry.rb +145 -0
- data/lib/orb/models/dimensional_price_configuration.rb +21 -0
- data/lib/orb/models/discount_override.rb +56 -0
- data/lib/orb/models/fixed_fee_quantity_schedule_entry.rb +33 -0
- data/lib/orb/models/fixed_fee_quantity_transition.rb +27 -0
- data/lib/orb/models/invoice.rb +56 -1777
- data/lib/orb/models/invoice_create_params.rb +3 -15
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +56 -1794
- data/lib/orb/models/invoice_line_item_create_response.rb +25 -1142
- data/lib/orb/models/invoice_tiny.rb +16 -0
- data/lib/orb/models/item_slim.rb +21 -0
- data/lib/orb/models/matrix_config.rb +32 -0
- data/lib/orb/models/matrix_sub_line_item.rb +61 -0
- data/lib/orb/models/matrix_value.rb +29 -0
- data/lib/orb/models/matrix_with_allocation_config.rb +40 -0
- data/lib/orb/models/maximum.rb +38 -0
- data/lib/orb/models/maximum_interval.rb +52 -0
- data/lib/orb/models/minimum.rb +38 -0
- data/lib/orb/models/minimum_interval.rb +52 -0
- data/lib/orb/models/monetary_amount_discount_adjustment.rb +87 -0
- data/lib/orb/models/monetary_maximum_adjustment.rb +87 -0
- data/lib/orb/models/monetary_minimum_adjustment.rb +95 -0
- data/lib/orb/models/monetary_percentage_discount_adjustment.rb +87 -0
- data/lib/orb/models/monetary_usage_discount_adjustment.rb +87 -0
- data/lib/orb/models/mutated_subscription.rb +302 -0
- data/lib/orb/models/new_accounting_sync_configuration.rb +23 -0
- data/lib/orb/models/new_allocation_price.rb +70 -0
- data/lib/orb/models/new_amount_discount.rb +120 -0
- data/lib/orb/models/new_avalara_tax_configuration.rb +37 -0
- data/lib/orb/models/new_billing_cycle_configuration.rb +37 -0
- data/lib/orb/models/new_dimensional_price_configuration.rb +36 -0
- data/lib/orb/models/new_floating_bps_price.rb +199 -0
- data/lib/orb/models/new_floating_bulk_bps_price.rb +197 -0
- data/lib/orb/models/new_floating_bulk_price.rb +197 -0
- data/lib/orb/models/new_floating_bulk_with_proration_price.rb +197 -0
- data/lib/orb/models/new_floating_cumulative_grouped_bulk_price.rb +197 -0
- data/lib/orb/models/new_floating_grouped_allocation_price.rb +197 -0
- data/lib/orb/models/new_floating_grouped_tiered_package_price.rb +197 -0
- data/lib/orb/models/new_floating_grouped_tiered_price.rb +197 -0
- data/lib/orb/models/new_floating_grouped_with_metered_minimum_price.rb +197 -0
- data/lib/orb/models/new_floating_grouped_with_prorated_minimum_price.rb +198 -0
- data/lib/orb/models/new_floating_matrix_price.rb +197 -0
- data/lib/orb/models/new_floating_matrix_with_allocation_price.rb +197 -0
- data/lib/orb/models/new_floating_matrix_with_display_name_price.rb +197 -0
- data/lib/orb/models/new_floating_max_group_tiered_package_price.rb +197 -0
- data/lib/orb/models/new_floating_package_price.rb +197 -0
- data/lib/orb/models/new_floating_package_with_allocation_price.rb +197 -0
- data/lib/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rb +198 -0
- data/lib/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rb +198 -0
- data/lib/orb/models/new_floating_threshold_total_amount_price.rb +197 -0
- data/lib/orb/models/new_floating_tiered_bps_price.rb +197 -0
- data/lib/orb/models/new_floating_tiered_package_price.rb +197 -0
- data/lib/orb/models/new_floating_tiered_package_with_minimum_price.rb +197 -0
- data/lib/orb/models/new_floating_tiered_price.rb +197 -0
- data/lib/orb/models/new_floating_tiered_with_minimum_price.rb +197 -0
- data/lib/orb/models/new_floating_tiered_with_proration_price.rb +197 -0
- data/lib/orb/models/new_floating_unit_price.rb +197 -0
- data/lib/orb/models/new_floating_unit_with_percent_price.rb +197 -0
- data/lib/orb/models/new_floating_unit_with_proration_price.rb +197 -0
- data/lib/orb/models/new_maximum.rb +120 -0
- data/lib/orb/models/new_minimum.rb +128 -0
- data/lib/orb/models/new_percentage_discount.rb +120 -0
- data/lib/orb/models/new_plan_bps_price.rb +196 -0
- data/lib/orb/models/new_plan_bulk_bps_price.rb +200 -0
- data/lib/orb/models/new_plan_bulk_price.rb +196 -0
- data/lib/orb/models/new_plan_bulk_with_proration_price.rb +198 -0
- data/lib/orb/models/new_plan_cumulative_grouped_bulk_price.rb +198 -0
- data/lib/orb/models/new_plan_grouped_allocation_price.rb +198 -0
- data/lib/orb/models/new_plan_grouped_tiered_package_price.rb +198 -0
- data/lib/orb/models/new_plan_grouped_tiered_price.rb +198 -0
- data/lib/orb/models/new_plan_grouped_with_metered_minimum_price.rb +198 -0
- data/lib/orb/models/new_plan_grouped_with_prorated_minimum_price.rb +199 -0
- data/lib/orb/models/new_plan_matrix_price.rb +200 -0
- data/lib/orb/models/new_plan_matrix_with_allocation_price.rb +198 -0
- data/lib/orb/models/new_plan_matrix_with_display_name_price.rb +198 -0
- data/lib/orb/models/new_plan_max_group_tiered_package_price.rb +198 -0
- data/lib/orb/models/new_plan_package_price.rb +200 -0
- data/lib/orb/models/new_plan_package_with_allocation_price.rb +198 -0
- data/lib/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rb +199 -0
- data/lib/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rb +199 -0
- data/lib/orb/models/new_plan_threshold_total_amount_price.rb +198 -0
- data/lib/orb/models/new_plan_tier_with_proration_price.rb +198 -0
- data/lib/orb/models/new_plan_tiered_bps_price.rb +198 -0
- data/lib/orb/models/new_plan_tiered_package_price.rb +198 -0
- data/lib/orb/models/new_plan_tiered_package_with_minimum_price.rb +198 -0
- data/lib/orb/models/new_plan_tiered_price.rb +200 -0
- data/lib/orb/models/new_plan_tiered_with_minimum_price.rb +198 -0
- data/lib/orb/models/new_plan_unit_price.rb +196 -0
- data/lib/orb/models/new_plan_unit_with_percent_price.rb +198 -0
- data/lib/orb/models/new_plan_unit_with_proration_price.rb +198 -0
- data/lib/orb/models/new_reporting_configuration.rb +15 -0
- data/lib/orb/models/new_sphere_configuration.rb +31 -0
- data/lib/orb/models/new_subscription_bps_price.rb +207 -0
- data/lib/orb/models/new_subscription_bulk_bps_price.rb +207 -0
- data/lib/orb/models/new_subscription_bulk_price.rb +207 -0
- data/lib/orb/models/new_subscription_bulk_with_proration_price.rb +207 -0
- data/lib/orb/models/new_subscription_cumulative_grouped_bulk_price.rb +207 -0
- data/lib/orb/models/new_subscription_grouped_allocation_price.rb +207 -0
- data/lib/orb/models/new_subscription_grouped_tiered_package_price.rb +207 -0
- data/lib/orb/models/new_subscription_grouped_tiered_price.rb +207 -0
- data/lib/orb/models/new_subscription_grouped_with_metered_minimum_price.rb +207 -0
- data/lib/orb/models/new_subscription_grouped_with_prorated_minimum_price.rb +208 -0
- data/lib/orb/models/new_subscription_matrix_price.rb +207 -0
- data/lib/orb/models/new_subscription_matrix_with_allocation_price.rb +207 -0
- data/lib/orb/models/new_subscription_matrix_with_display_name_price.rb +207 -0
- data/lib/orb/models/new_subscription_max_group_tiered_package_price.rb +207 -0
- data/lib/orb/models/new_subscription_package_price.rb +207 -0
- data/lib/orb/models/new_subscription_package_with_allocation_price.rb +207 -0
- data/lib/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rb +209 -0
- data/lib/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rb +209 -0
- data/lib/orb/models/new_subscription_threshold_total_amount_price.rb +207 -0
- data/lib/orb/models/new_subscription_tier_with_proration_price.rb +207 -0
- data/lib/orb/models/new_subscription_tiered_bps_price.rb +207 -0
- data/lib/orb/models/new_subscription_tiered_package_price.rb +207 -0
- data/lib/orb/models/new_subscription_tiered_package_with_minimum_price.rb +207 -0
- data/lib/orb/models/new_subscription_tiered_price.rb +207 -0
- data/lib/orb/models/new_subscription_tiered_with_minimum_price.rb +207 -0
- data/lib/orb/models/new_subscription_unit_price.rb +207 -0
- data/lib/orb/models/new_subscription_unit_with_percent_price.rb +207 -0
- data/lib/orb/models/new_subscription_unit_with_proration_price.rb +207 -0
- data/lib/orb/models/new_tax_jar_configuration.rb +31 -0
- data/lib/orb/models/new_usage_discount.rb +120 -0
- data/lib/orb/models/other_sub_line_item.rb +54 -0
- data/lib/orb/models/package_config.rb +28 -0
- data/lib/orb/models/per_price_cost.rb +48 -0
- data/lib/orb/models/percentage_discount.rb +9 -1
- data/lib/orb/models/percentage_discount_interval.rb +69 -0
- data/lib/orb/models/plan.rb +22 -1040
- data/lib/orb/models/plan_create_params.rb +31 -8145
- data/lib/orb/models/plan_phase_amount_discount_adjustment.rb +87 -0
- data/lib/orb/models/plan_phase_maximum_adjustment.rb +87 -0
- data/lib/orb/models/plan_phase_minimum_adjustment.rb +95 -0
- data/lib/orb/models/plan_phase_percentage_discount_adjustment.rb +87 -0
- data/lib/orb/models/plan_phase_usage_discount_adjustment.rb +87 -0
- data/lib/orb/models/plan_version.rb +10 -672
- data/lib/orb/models/price.rb +1225 -10817
- data/lib/orb/models/price_create_params.rb +53 -472
- data/lib/orb/models/price_evaluate_multiple_params.rb +32 -8479
- data/lib/orb/models/price_evaluate_preview_events_params.rb +236 -0
- data/lib/orb/models/price_evaluate_preview_events_response.rb +51 -0
- data/lib/orb/models/price_interval.rb +113 -0
- data/lib/orb/models/sub_line_item_grouping.rb +23 -0
- data/lib/orb/models/sub_line_item_matrix_config.rb +16 -0
- data/lib/orb/models/subscription.rb +33 -1581
- data/lib/orb/models/subscription_change_apply_response.rb +3 -1904
- data/lib/orb/models/subscription_change_cancel_response.rb +3 -1905
- data/lib/orb/models/subscription_change_minified.rb +15 -0
- data/lib/orb/models/subscription_change_retrieve_response.rb +3 -1906
- data/lib/orb/models/subscription_create_params.rb +232 -18278
- data/lib/orb/models/subscription_fetch_costs_response.rb +3 -87
- data/lib/orb/models/subscription_minified.rb +15 -0
- data/lib/orb/models/subscription_price_intervals_params.rb +86 -8758
- data/lib/orb/models/subscription_redeem_coupon_params.rb +17 -9
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +238 -18372
- data/lib/orb/models/subscription_trial_info.rb +15 -0
- data/lib/orb/models/tax_amount.rb +32 -0
- data/lib/orb/models/threshold.rb +24 -0
- data/lib/orb/models/tier.rb +32 -0
- data/lib/orb/models/tier_config.rb +27 -0
- data/lib/orb/models/tier_sub_line_item.rb +61 -0
- data/lib/orb/models/tiered_bps_config.rb +20 -0
- data/lib/orb/models/tiered_config.rb +16 -0
- data/lib/orb/models/tiered_conversion_rate_config.rb +31 -0
- data/lib/orb/models/transform_price_filter.rb +61 -0
- data/lib/orb/models/trial_discount.rb +9 -1
- data/lib/orb/models/unit_config.rb +16 -0
- data/lib/orb/models/unit_conversion_rate_config.rb +31 -0
- data/lib/orb/models/usage_discount.rb +9 -1
- data/lib/orb/models/usage_discount_interval.rb +69 -0
- data/lib/orb/models.rb +348 -0
- data/lib/orb/resources/alerts.rb +4 -4
- data/lib/orb/resources/customers/credits/ledger.rb +4 -4
- data/lib/orb/resources/customers.rb +21 -21
- data/lib/orb/resources/plans.rb +1 -1
- data/lib/orb/resources/prices/external_price_id.rb +2 -2
- data/lib/orb/resources/prices.rb +82 -34
- data/lib/orb/resources/subscriptions.rb +29 -27
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +181 -11
- data/rbi/orb/internal/util.rbi +2 -0
- data/rbi/orb/models/accounting_provider_config.rbi +34 -0
- data/rbi/orb/models/address.rbi +55 -0
- data/rbi/orb/models/address_input.rbi +62 -0
- data/rbi/orb/models/adjustment_interval.rbi +93 -0
- data/rbi/orb/models/aggregated_cost.rbi +61 -0
- data/rbi/orb/models/alert.rbi +11 -84
- data/rbi/orb/models/alert_create_for_customer_params.rbi +3 -42
- data/rbi/orb/models/alert_create_for_external_customer_params.rbi +3 -48
- data/rbi/orb/models/alert_create_for_subscription_params.rbi +3 -38
- data/rbi/orb/models/alert_update_params.rbi +3 -31
- data/rbi/orb/models/allocation.rbi +45 -0
- data/rbi/orb/models/amount_discount.rbi +8 -0
- data/rbi/orb/models/amount_discount_interval.rbi +100 -0
- data/rbi/orb/models/beta/external_plan_id_create_plan_version_params.rbi +482 -32442
- data/rbi/orb/models/beta_create_plan_version_params.rbi +484 -32436
- data/rbi/orb/models/billable_metric_tiny.rbi +21 -0
- data/rbi/orb/models/billing_cycle_anchor_configuration.rbi +61 -0
- data/rbi/orb/models/billing_cycle_configuration.rbi +70 -0
- data/rbi/orb/models/bps_config.rbi +36 -0
- data/rbi/orb/models/bps_tier.rbi +58 -0
- data/rbi/orb/models/bulk_bps_config.rbi +31 -0
- data/rbi/orb/models/bulk_bps_tier.rbi +50 -0
- data/rbi/orb/models/bulk_config.rbi +26 -0
- data/rbi/orb/models/bulk_tier.rbi +38 -0
- data/rbi/orb/models/changed_subscription_resources.rbi +61 -0
- data/rbi/orb/models/conversion_rate_tier.rbi +51 -0
- data/rbi/orb/models/conversion_rate_tiered_config.rbi +31 -0
- data/rbi/orb/models/conversion_rate_unit_config.rbi +27 -0
- data/rbi/orb/models/coupon_redemption.rbi +37 -0
- data/rbi/orb/models/credit_note.rbi +7 -87
- data/rbi/orb/models/credit_note_tiny.rbi +25 -0
- data/rbi/orb/models/custom_expiration.rbi +55 -0
- data/rbi/orb/models/customer.rbi +19 -522
- data/rbi/orb/models/customer_create_params.rbi +36 -957
- data/rbi/orb/models/customer_hierarchy_config.rbi +52 -0
- data/rbi/orb/models/customer_minified.rbi +32 -0
- data/rbi/orb/models/customer_tax_id.rbi +324 -0
- data/rbi/orb/models/customer_update_by_external_id_params.rbi +36 -1436
- data/rbi/orb/models/customer_update_params.rbi +36 -957
- data/rbi/orb/models/customers/balance_transaction_create_response.rbi +8 -96
- data/rbi/orb/models/customers/balance_transaction_list_response.rbi +8 -96
- data/rbi/orb/models/customers/cost_list_by_external_id_response.rbi +5 -191
- data/rbi/orb/models/customers/cost_list_response.rbi +5 -182
- data/rbi/orb/models/customers/credits/affected_block.rbi +50 -0
- data/rbi/orb/models/customers/credits/amendment_ledger_entry.rbi +207 -0
- data/rbi/orb/models/customers/credits/credit_block_expiry_ledger_entry.rbi +209 -0
- data/rbi/orb/models/customers/credits/decrement_ledger_entry.rbi +225 -0
- data/rbi/orb/models/customers/credits/expiration_change_ledger_entry.rbi +213 -0
- data/rbi/orb/models/customers/credits/increment_ledger_entry.rbi +215 -0
- data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +7 -1854
- data/rbi/orb/models/customers/credits/ledger_create_entry_response.rbi +7 -1854
- data/rbi/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +7 -1854
- data/rbi/orb/models/customers/credits/ledger_list_response.rbi +7 -1854
- data/rbi/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +4 -84
- data/rbi/orb/models/customers/credits/top_up_create_response.rbi +4 -84
- data/rbi/orb/models/customers/credits/top_up_invoice_settings.rbi +83 -0
- data/rbi/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +4 -84
- data/rbi/orb/models/customers/credits/top_up_list_response.rbi +4 -84
- data/rbi/orb/models/customers/credits/void_initiated_ledger_entry.rbi +225 -0
- data/rbi/orb/models/customers/credits/void_ledger_entry.rbi +219 -0
- data/rbi/orb/models/dimensional_price_configuration.rbi +38 -0
- data/rbi/orb/models/discount_override.rbi +83 -0
- data/rbi/orb/models/fixed_fee_quantity_schedule_entry.rbi +48 -0
- data/rbi/orb/models/fixed_fee_quantity_transition.rbi +39 -0
- data/rbi/orb/models/invoice.rbi +212 -3345
- data/rbi/orb/models/invoice_create_params.rbi +4 -33
- data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +355 -4329
- data/rbi/orb/models/invoice_line_item_create_response.rbi +30 -2260
- data/rbi/orb/models/invoice_tiny.rbi +24 -0
- data/rbi/orb/models/item_slim.rbi +23 -0
- data/rbi/orb/models/matrix_config.rbi +50 -0
- data/rbi/orb/models/matrix_sub_line_item.rbi +87 -0
- data/rbi/orb/models/matrix_value.rbi +43 -0
- data/rbi/orb/models/matrix_with_allocation_config.rbi +61 -0
- data/rbi/orb/models/maximum.rbi +52 -0
- data/rbi/orb/models/maximum_interval.rbi +69 -0
- data/rbi/orb/models/minimum.rbi +52 -0
- data/rbi/orb/models/minimum_interval.rbi +69 -0
- data/rbi/orb/models/monetary_amount_discount_adjustment.rbi +125 -0
- data/rbi/orb/models/monetary_maximum_adjustment.rbi +123 -0
- data/rbi/orb/models/monetary_minimum_adjustment.rbi +131 -0
- data/rbi/orb/models/monetary_percentage_discount_adjustment.rbi +131 -0
- data/rbi/orb/models/monetary_usage_discount_adjustment.rbi +125 -0
- data/rbi/orb/models/mutated_subscription.rbi +412 -0
- data/rbi/orb/models/new_accounting_sync_configuration.rbi +40 -0
- data/rbi/orb/models/new_allocation_price.rbi +104 -0
- data/rbi/orb/models/new_amount_discount.rbi +179 -0
- data/rbi/orb/models/new_avalara_tax_configuration.rbi +68 -0
- data/rbi/orb/models/new_billing_cycle_configuration.rbi +79 -0
- data/rbi/orb/models/new_dimensional_price_configuration.rbi +55 -0
- data/rbi/orb/models/new_floating_bps_price.rbi +294 -0
- data/rbi/orb/models/new_floating_bulk_bps_price.rbi +309 -0
- data/rbi/orb/models/new_floating_bulk_price.rbi +298 -0
- data/rbi/orb/models/new_floating_bulk_with_proration_price.rbi +331 -0
- data/rbi/orb/models/new_floating_cumulative_grouped_bulk_price.rbi +338 -0
- data/rbi/orb/models/new_floating_grouped_allocation_price.rbi +331 -0
- data/rbi/orb/models/new_floating_grouped_tiered_package_price.rbi +337 -0
- data/rbi/orb/models/new_floating_grouped_tiered_price.rbi +325 -0
- data/rbi/orb/models/new_floating_grouped_with_metered_minimum_price.rbi +348 -0
- data/rbi/orb/models/new_floating_grouped_with_prorated_minimum_price.rbi +348 -0
- data/rbi/orb/models/new_floating_matrix_price.rbi +304 -0
- data/rbi/orb/models/new_floating_matrix_with_allocation_price.rbi +345 -0
- data/rbi/orb/models/new_floating_matrix_with_display_name_price.rbi +338 -0
- data/rbi/orb/models/new_floating_max_group_tiered_package_price.rbi +338 -0
- data/rbi/orb/models/new_floating_package_price.rbi +306 -0
- data/rbi/orb/models/new_floating_package_with_allocation_price.rbi +338 -0
- data/rbi/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rbi +350 -0
- data/rbi/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rbi +349 -0
- data/rbi/orb/models/new_floating_threshold_total_amount_price.rbi +337 -0
- data/rbi/orb/models/new_floating_tiered_bps_price.rbi +317 -0
- data/rbi/orb/models/new_floating_tiered_package_price.rbi +325 -0
- data/rbi/orb/models/new_floating_tiered_package_with_minimum_price.rbi +348 -0
- data/rbi/orb/models/new_floating_tiered_price.rbi +304 -0
- data/rbi/orb/models/new_floating_tiered_with_minimum_price.rbi +331 -0
- data/rbi/orb/models/new_floating_tiered_with_proration_price.rbi +337 -0
- data/rbi/orb/models/new_floating_unit_price.rbi +298 -0
- data/rbi/orb/models/new_floating_unit_with_percent_price.rbi +328 -0
- data/rbi/orb/models/new_floating_unit_with_proration_price.rbi +331 -0
- data/rbi/orb/models/new_maximum.rbi +160 -0
- data/rbi/orb/models/new_minimum.rbi +168 -0
- data/rbi/orb/models/new_percentage_discount.rbi +193 -0
- data/rbi/orb/models/new_plan_bps_price.rbi +294 -0
- data/rbi/orb/models/new_plan_bulk_bps_price.rbi +297 -0
- data/rbi/orb/models/new_plan_bulk_price.rbi +295 -0
- data/rbi/orb/models/new_plan_bulk_with_proration_price.rbi +327 -0
- data/rbi/orb/models/new_plan_cumulative_grouped_bulk_price.rbi +333 -0
- data/rbi/orb/models/new_plan_grouped_allocation_price.rbi +327 -0
- data/rbi/orb/models/new_plan_grouped_tiered_package_price.rbi +333 -0
- data/rbi/orb/models/new_plan_grouped_tiered_price.rbi +316 -0
- data/rbi/orb/models/new_plan_grouped_with_metered_minimum_price.rbi +340 -0
- data/rbi/orb/models/new_plan_grouped_with_prorated_minimum_price.rbi +345 -0
- data/rbi/orb/models/new_plan_matrix_price.rbi +297 -0
- data/rbi/orb/models/new_plan_matrix_with_allocation_price.rbi +341 -0
- data/rbi/orb/models/new_plan_matrix_with_display_name_price.rbi +333 -0
- data/rbi/orb/models/new_plan_max_group_tiered_package_price.rbi +333 -0
- data/rbi/orb/models/new_plan_package_price.rbi +297 -0
- data/rbi/orb/models/new_plan_package_with_allocation_price.rbi +333 -0
- data/rbi/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rbi +352 -0
- data/rbi/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rbi +351 -0
- data/rbi/orb/models/new_plan_threshold_total_amount_price.rbi +333 -0
- data/rbi/orb/models/new_plan_tier_with_proration_price.rbi +327 -0
- data/rbi/orb/models/new_plan_tiered_bps_price.rbi +304 -0
- data/rbi/orb/models/new_plan_tiered_package_price.rbi +316 -0
- data/rbi/orb/models/new_plan_tiered_package_with_minimum_price.rbi +339 -0
- data/rbi/orb/models/new_plan_tiered_price.rbi +297 -0
- data/rbi/orb/models/new_plan_tiered_with_minimum_price.rbi +327 -0
- data/rbi/orb/models/new_plan_unit_price.rbi +295 -0
- data/rbi/orb/models/new_plan_unit_with_percent_price.rbi +325 -0
- data/rbi/orb/models/new_plan_unit_with_proration_price.rbi +327 -0
- data/rbi/orb/models/new_reporting_configuration.rbi +23 -0
- data/rbi/orb/models/new_sphere_configuration.rbi +59 -0
- data/rbi/orb/models/new_subscription_bps_price.rbi +317 -0
- data/rbi/orb/models/new_subscription_bulk_bps_price.rbi +338 -0
- data/rbi/orb/models/new_subscription_bulk_price.rbi +321 -0
- data/rbi/orb/models/new_subscription_bulk_with_proration_price.rbi +350 -0
- data/rbi/orb/models/new_subscription_cumulative_grouped_bulk_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_grouped_allocation_price.rbi +350 -0
- data/rbi/orb/models/new_subscription_grouped_tiered_package_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_grouped_tiered_price.rbi +343 -0
- data/rbi/orb/models/new_subscription_grouped_with_metered_minimum_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_grouped_with_prorated_minimum_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_matrix_price.rbi +332 -0
- data/rbi/orb/models/new_subscription_matrix_with_allocation_price.rbi +368 -0
- data/rbi/orb/models/new_subscription_matrix_with_display_name_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_max_group_tiered_package_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_package_price.rbi +338 -0
- data/rbi/orb/models/new_subscription_package_with_allocation_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rbi +362 -0
- data/rbi/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rbi +361 -0
- data/rbi/orb/models/new_subscription_threshold_total_amount_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_tier_with_proration_price.rbi +350 -0
- data/rbi/orb/models/new_subscription_tiered_bps_price.rbi +340 -0
- data/rbi/orb/models/new_subscription_tiered_package_price.rbi +343 -0
- data/rbi/orb/models/new_subscription_tiered_package_with_minimum_price.rbi +360 -0
- data/rbi/orb/models/new_subscription_tiered_price.rbi +332 -0
- data/rbi/orb/models/new_subscription_tiered_with_minimum_price.rbi +350 -0
- data/rbi/orb/models/new_subscription_unit_price.rbi +321 -0
- data/rbi/orb/models/new_subscription_unit_with_percent_price.rbi +349 -0
- data/rbi/orb/models/new_subscription_unit_with_proration_price.rbi +350 -0
- data/rbi/orb/models/new_tax_jar_configuration.rbi +59 -0
- data/rbi/orb/models/new_usage_discount.rbi +177 -0
- data/rbi/orb/models/other_sub_line_item.rbi +78 -0
- data/rbi/orb/models/package_config.rbi +39 -0
- data/rbi/orb/models/per_price_cost.rbi +96 -0
- data/rbi/orb/models/percentage_discount.rbi +8 -0
- data/rbi/orb/models/percentage_discount_interval.rbi +107 -0
- data/rbi/orb/models/plan.rbi +29 -1937
- data/rbi/orb/models/plan_create_params.rbi +112 -15428
- data/rbi/orb/models/plan_phase_amount_discount_adjustment.rbi +128 -0
- data/rbi/orb/models/plan_phase_maximum_adjustment.rbi +123 -0
- data/rbi/orb/models/plan_phase_minimum_adjustment.rbi +131 -0
- data/rbi/orb/models/plan_phase_percentage_discount_adjustment.rbi +131 -0
- data/rbi/orb/models/plan_phase_usage_discount_adjustment.rbi +125 -0
- data/rbi/orb/models/plan_version.rbi +13 -1252
- data/rbi/orb/models/price.rbi +3518 -26097
- data/rbi/orb/models/price_create_params.rbi +81 -937
- data/rbi/orb/models/price_evaluate_multiple_params.rbi +112 -15566
- data/rbi/orb/models/price_evaluate_preview_events_params.rbi +411 -0
- data/rbi/orb/models/price_evaluate_preview_events_response.rbi +101 -0
- data/rbi/orb/models/price_interval.rbi +174 -0
- data/rbi/orb/models/sub_line_item_grouping.rbi +31 -0
- data/rbi/orb/models/sub_line_item_matrix_config.rbi +33 -0
- data/rbi/orb/models/subscription.rbi +51 -2939
- data/rbi/orb/models/subscription_change_apply_response.rbi +4 -3580
- data/rbi/orb/models/subscription_change_cancel_response.rbi +4 -3580
- data/rbi/orb/models/subscription_change_minified.rbi +23 -0
- data/rbi/orb/models/subscription_change_retrieve_response.rbi +4 -3582
- data/rbi/orb/models/subscription_create_params.rbi +541 -33368
- data/rbi/orb/models/subscription_fetch_costs_response.rbi +5 -182
- data/rbi/orb/models/subscription_minified.rbi +23 -0
- data/rbi/orb/models/subscription_price_intervals_params.rbi +224 -16144
- data/rbi/orb/models/subscription_redeem_coupon_params.rbi +16 -8
- data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +549 -33384
- data/rbi/orb/models/subscription_trial_info.rbi +23 -0
- data/rbi/orb/models/tax_amount.rbi +50 -0
- data/rbi/orb/models/threshold.rbi +30 -0
- data/rbi/orb/models/tier.rbi +50 -0
- data/rbi/orb/models/tier_config.rbi +40 -0
- data/rbi/orb/models/tier_sub_line_item.rbi +87 -0
- data/rbi/orb/models/tiered_bps_config.rbi +29 -0
- data/rbi/orb/models/tiered_config.rbi +26 -0
- data/rbi/orb/models/tiered_conversion_rate_config.rbi +73 -0
- data/rbi/orb/models/transform_price_filter.rbi +106 -0
- data/rbi/orb/models/trial_discount.rbi +8 -0
- data/rbi/orb/models/unit_config.rbi +24 -0
- data/rbi/orb/models/unit_conversion_rate_config.rbi +71 -0
- data/rbi/orb/models/usage_discount.rbi +8 -0
- data/rbi/orb/models/usage_discount_interval.rbi +99 -0
- data/rbi/orb/models.rbi +398 -0
- data/rbi/orb/resources/alerts.rbi +4 -13
- data/rbi/orb/resources/customers.rbi +27 -51
- data/rbi/orb/resources/plans.rbi +28 -28
- data/rbi/orb/resources/prices.rbi +82 -36
- data/rbi/orb/resources/subscriptions.rbi +19 -22
- data/sig/orb/models/accounting_provider_config.rbs +19 -0
- data/sig/orb/models/address.rbs +45 -0
- data/sig/orb/models/address_input.rbs +45 -0
- data/sig/orb/models/adjustment_interval.rbs +53 -0
- data/sig/orb/models/aggregated_cost.rbs +40 -0
- data/sig/orb/models/alert.rbs +12 -44
- data/sig/orb/models/alert_create_for_customer_params.rbs +4 -14
- data/sig/orb/models/alert_create_for_external_customer_params.rbs +4 -14
- data/sig/orb/models/alert_create_for_subscription_params.rbs +4 -14
- data/sig/orb/models/alert_update_params.rbs +4 -14
- data/sig/orb/models/allocation.rbs +30 -0
- data/sig/orb/models/amount_discount.rbs +5 -0
- data/sig/orb/models/amount_discount_interval.rbs +55 -0
- data/sig/orb/models/beta/external_plan_id_create_plan_version_params.rbs +147 -12821
- data/sig/orb/models/beta_create_plan_version_params.rbs +144 -12802
- data/sig/orb/models/billable_metric_tiny.rbs +13 -0
- data/sig/orb/models/billing_cycle_anchor_configuration.rbs +18 -0
- data/sig/orb/models/billing_cycle_configuration.rbs +36 -0
- data/sig/orb/models/bps_config.rbs +15 -0
- data/sig/orb/models/bps_tier.rbs +35 -0
- data/sig/orb/models/bulk_bps_config.rbs +13 -0
- data/sig/orb/models/bulk_bps_tier.rbs +26 -0
- data/sig/orb/models/bulk_config.rbs +13 -0
- data/sig/orb/models/bulk_tier.rbs +15 -0
- data/sig/orb/models/changed_subscription_resources.rbs +35 -0
- data/sig/orb/models/conversion_rate_tier.rbs +26 -0
- data/sig/orb/models/conversion_rate_tiered_config.rbs +14 -0
- data/sig/orb/models/conversion_rate_unit_config.rbs +13 -0
- data/sig/orb/models/coupon_redemption.rbs +22 -0
- data/sig/orb/models/credit_note.rbs +8 -47
- data/sig/orb/models/credit_note_tiny.rbs +13 -0
- data/sig/orb/models/custom_expiration.rbs +36 -0
- data/sig/orb/models/customer.rbs +20 -471
- data/sig/orb/models/customer_create_params.rbs +27 -577
- data/sig/orb/models/customer_hierarchy_config.rbs +24 -0
- data/sig/orb/models/customer_minified.rbs +15 -0
- data/sig/orb/models/customer_tax_id.rbs +346 -0
- data/sig/orb/models/customer_update_by_external_id_params.rbs +27 -577
- data/sig/orb/models/customer_update_params.rbs +27 -577
- data/sig/orb/models/customers/balance_transaction_create_response.rbs +8 -28
- data/sig/orb/models/customers/balance_transaction_list_response.rbs +8 -28
- data/sig/orb/models/customers/cost_list_by_external_id_response.rbs +4 -84
- data/sig/orb/models/customers/cost_list_response.rbs +4 -83
- data/sig/orb/models/customers/credits/affected_block.rbs +30 -0
- data/sig/orb/models/customers/credits/amendment_ledger_entry.rbs +105 -0
- data/sig/orb/models/customers/credits/credit_block_expiry_ledger_entry.rbs +107 -0
- data/sig/orb/models/customers/credits/decrement_ledger_entry.rbs +120 -0
- data/sig/orb/models/customers/credits/expiration_change_ledger_entry.rbs +110 -0
- data/sig/orb/models/customers/credits/increment_ledger_entry.rbs +110 -0
- data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbs +7 -939
- data/sig/orb/models/customers/credits/ledger_create_entry_response.rbs +7 -939
- data/sig/orb/models/customers/credits/ledger_list_by_external_id_response.rbs +7 -939
- data/sig/orb/models/customers/credits/ledger_list_response.rbs +7 -939
- data/sig/orb/models/customers/credits/top_up_create_by_external_id_response.rbs +4 -38
- data/sig/orb/models/customers/credits/top_up_create_response.rbs +4 -38
- data/sig/orb/models/customers/credits/top_up_invoice_settings.rbs +41 -0
- data/sig/orb/models/customers/credits/top_up_list_by_external_id_response.rbs +4 -38
- data/sig/orb/models/customers/credits/top_up_list_response.rbs +4 -38
- data/sig/orb/models/customers/credits/void_initiated_ledger_entry.rbs +120 -0
- data/sig/orb/models/customers/credits/void_ledger_entry.rbs +115 -0
- data/sig/orb/models/dimensional_price_configuration.rbs +22 -0
- data/sig/orb/models/discount_override.rbs +47 -0
- data/sig/orb/models/fixed_fee_quantity_schedule_entry.rbs +30 -0
- data/sig/orb/models/fixed_fee_quantity_transition.rbs +26 -0
- data/sig/orb/models/invoice.rbs +54 -1612
- data/sig/orb/models/invoice_create_params.rbs +4 -14
- data/sig/orb/models/invoice_fetch_upcoming_response.rbs +54 -1612
- data/sig/orb/models/invoice_line_item_create_response.rbs +18 -927
- data/sig/orb/models/invoice_tiny.rbs +13 -0
- data/sig/orb/models/item_slim.rbs +15 -0
- data/sig/orb/models/matrix_config.rbs +30 -0
- data/sig/orb/models/matrix_sub_line_item.rbs +55 -0
- data/sig/orb/models/matrix_value.rbs +22 -0
- data/sig/orb/models/matrix_with_allocation_config.rbs +35 -0
- data/sig/orb/models/maximum.rbs +30 -0
- data/sig/orb/models/maximum_interval.rbs +40 -0
- data/sig/orb/models/minimum.rbs +30 -0
- data/sig/orb/models/minimum_interval.rbs +40 -0
- data/sig/orb/models/monetary_amount_discount_adjustment.rbs +65 -0
- data/sig/orb/models/monetary_maximum_adjustment.rbs +65 -0
- data/sig/orb/models/monetary_minimum_adjustment.rbs +70 -0
- data/sig/orb/models/monetary_percentage_discount_adjustment.rbs +65 -0
- data/sig/orb/models/monetary_usage_discount_adjustment.rbs +65 -0
- data/sig/orb/models/mutated_subscription.rbs +178 -0
- data/sig/orb/models/new_accounting_sync_configuration.rbs +25 -0
- data/sig/orb/models/new_allocation_price.rbs +56 -0
- data/sig/orb/models/new_amount_discount.rbs +97 -0
- data/sig/orb/models/new_avalara_tax_configuration.rbs +40 -0
- data/sig/orb/models/new_billing_cycle_configuration.rbs +36 -0
- data/sig/orb/models/new_dimensional_price_configuration.rbs +30 -0
- data/sig/orb/models/new_floating_bps_price.rbs +135 -0
- data/sig/orb/models/new_floating_bulk_bps_price.rbs +135 -0
- data/sig/orb/models/new_floating_bulk_price.rbs +135 -0
- data/sig/orb/models/new_floating_bulk_with_proration_price.rbs +135 -0
- data/sig/orb/models/new_floating_cumulative_grouped_bulk_price.rbs +135 -0
- data/sig/orb/models/new_floating_grouped_allocation_price.rbs +135 -0
- data/sig/orb/models/new_floating_grouped_tiered_package_price.rbs +135 -0
- data/sig/orb/models/new_floating_grouped_tiered_price.rbs +135 -0
- data/sig/orb/models/new_floating_grouped_with_metered_minimum_price.rbs +135 -0
- data/sig/orb/models/new_floating_grouped_with_prorated_minimum_price.rbs +135 -0
- data/sig/orb/models/new_floating_matrix_price.rbs +135 -0
- data/sig/orb/models/new_floating_matrix_with_allocation_price.rbs +135 -0
- data/sig/orb/models/new_floating_matrix_with_display_name_price.rbs +135 -0
- data/sig/orb/models/new_floating_max_group_tiered_package_price.rbs +135 -0
- data/sig/orb/models/new_floating_package_price.rbs +135 -0
- data/sig/orb/models/new_floating_package_with_allocation_price.rbs +135 -0
- data/sig/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rbs +135 -0
- data/sig/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rbs +135 -0
- data/sig/orb/models/new_floating_threshold_total_amount_price.rbs +135 -0
- data/sig/orb/models/new_floating_tiered_bps_price.rbs +135 -0
- data/sig/orb/models/new_floating_tiered_package_price.rbs +135 -0
- data/sig/orb/models/new_floating_tiered_package_with_minimum_price.rbs +135 -0
- data/sig/orb/models/new_floating_tiered_price.rbs +135 -0
- data/sig/orb/models/new_floating_tiered_with_minimum_price.rbs +135 -0
- data/sig/orb/models/new_floating_tiered_with_proration_price.rbs +135 -0
- data/sig/orb/models/new_floating_unit_price.rbs +135 -0
- data/sig/orb/models/new_floating_unit_with_percent_price.rbs +135 -0
- data/sig/orb/models/new_floating_unit_with_proration_price.rbs +135 -0
- data/sig/orb/models/new_maximum.rbs +97 -0
- data/sig/orb/models/new_minimum.rbs +102 -0
- data/sig/orb/models/new_percentage_discount.rbs +97 -0
- data/sig/orb/models/new_plan_bps_price.rbs +135 -0
- data/sig/orb/models/new_plan_bulk_bps_price.rbs +135 -0
- data/sig/orb/models/new_plan_bulk_price.rbs +135 -0
- data/sig/orb/models/new_plan_bulk_with_proration_price.rbs +135 -0
- data/sig/orb/models/new_plan_cumulative_grouped_bulk_price.rbs +135 -0
- data/sig/orb/models/new_plan_grouped_allocation_price.rbs +135 -0
- data/sig/orb/models/new_plan_grouped_tiered_package_price.rbs +135 -0
- data/sig/orb/models/new_plan_grouped_tiered_price.rbs +135 -0
- data/sig/orb/models/new_plan_grouped_with_metered_minimum_price.rbs +135 -0
- data/sig/orb/models/new_plan_grouped_with_prorated_minimum_price.rbs +135 -0
- data/sig/orb/models/new_plan_matrix_price.rbs +135 -0
- data/sig/orb/models/new_plan_matrix_with_allocation_price.rbs +135 -0
- data/sig/orb/models/new_plan_matrix_with_display_name_price.rbs +135 -0
- data/sig/orb/models/new_plan_max_group_tiered_package_price.rbs +135 -0
- data/sig/orb/models/new_plan_package_price.rbs +135 -0
- data/sig/orb/models/new_plan_package_with_allocation_price.rbs +135 -0
- data/sig/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rbs +135 -0
- data/sig/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rbs +135 -0
- data/sig/orb/models/new_plan_threshold_total_amount_price.rbs +135 -0
- data/sig/orb/models/new_plan_tier_with_proration_price.rbs +135 -0
- data/sig/orb/models/new_plan_tiered_bps_price.rbs +135 -0
- data/sig/orb/models/new_plan_tiered_package_price.rbs +135 -0
- data/sig/orb/models/new_plan_tiered_package_with_minimum_price.rbs +135 -0
- data/sig/orb/models/new_plan_tiered_price.rbs +135 -0
- data/sig/orb/models/new_plan_tiered_with_minimum_price.rbs +135 -0
- data/sig/orb/models/new_plan_unit_price.rbs +135 -0
- data/sig/orb/models/new_plan_unit_with_percent_price.rbs +135 -0
- data/sig/orb/models/new_plan_unit_with_proration_price.rbs +135 -0
- data/sig/orb/models/new_reporting_configuration.rbs +13 -0
- data/sig/orb/models/new_sphere_configuration.rbs +35 -0
- data/sig/orb/models/new_subscription_bps_price.rbs +140 -0
- data/sig/orb/models/new_subscription_bulk_bps_price.rbs +140 -0
- data/sig/orb/models/new_subscription_bulk_price.rbs +140 -0
- data/sig/orb/models/new_subscription_bulk_with_proration_price.rbs +140 -0
- data/sig/orb/models/new_subscription_cumulative_grouped_bulk_price.rbs +140 -0
- data/sig/orb/models/new_subscription_grouped_allocation_price.rbs +140 -0
- data/sig/orb/models/new_subscription_grouped_tiered_package_price.rbs +140 -0
- data/sig/orb/models/new_subscription_grouped_tiered_price.rbs +140 -0
- data/sig/orb/models/new_subscription_grouped_with_metered_minimum_price.rbs +140 -0
- data/sig/orb/models/new_subscription_grouped_with_prorated_minimum_price.rbs +140 -0
- data/sig/orb/models/new_subscription_matrix_price.rbs +140 -0
- data/sig/orb/models/new_subscription_matrix_with_allocation_price.rbs +140 -0
- data/sig/orb/models/new_subscription_matrix_with_display_name_price.rbs +140 -0
- data/sig/orb/models/new_subscription_max_group_tiered_package_price.rbs +140 -0
- data/sig/orb/models/new_subscription_package_price.rbs +140 -0
- data/sig/orb/models/new_subscription_package_with_allocation_price.rbs +140 -0
- data/sig/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rbs +140 -0
- data/sig/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rbs +140 -0
- data/sig/orb/models/new_subscription_threshold_total_amount_price.rbs +140 -0
- data/sig/orb/models/new_subscription_tier_with_proration_price.rbs +140 -0
- data/sig/orb/models/new_subscription_tiered_bps_price.rbs +140 -0
- data/sig/orb/models/new_subscription_tiered_package_price.rbs +140 -0
- data/sig/orb/models/new_subscription_tiered_package_with_minimum_price.rbs +140 -0
- data/sig/orb/models/new_subscription_tiered_price.rbs +140 -0
- data/sig/orb/models/new_subscription_tiered_with_minimum_price.rbs +140 -0
- data/sig/orb/models/new_subscription_unit_price.rbs +140 -0
- data/sig/orb/models/new_subscription_unit_with_percent_price.rbs +140 -0
- data/sig/orb/models/new_subscription_unit_with_proration_price.rbs +140 -0
- data/sig/orb/models/new_tax_jar_configuration.rbs +35 -0
- data/sig/orb/models/new_usage_discount.rbs +97 -0
- data/sig/orb/models/other_sub_line_item.rbs +50 -0
- data/sig/orb/models/package_config.rbs +15 -0
- data/sig/orb/models/per_price_cost.rbs +40 -0
- data/sig/orb/models/percentage_discount.rbs +5 -0
- data/sig/orb/models/percentage_discount_interval.rbs +55 -0
- data/sig/orb/models/plan.rbs +21 -871
- data/sig/orb/models/plan_create_params.rbs +28 -5952
- data/sig/orb/models/plan_phase_amount_discount_adjustment.rbs +65 -0
- data/sig/orb/models/plan_phase_maximum_adjustment.rbs +65 -0
- data/sig/orb/models/plan_phase_minimum_adjustment.rbs +70 -0
- data/sig/orb/models/plan_phase_percentage_discount_adjustment.rbs +65 -0
- data/sig/orb/models/plan_phase_usage_discount_adjustment.rbs +65 -0
- data/sig/orb/models/plan_version.rbs +5 -535
- data/sig/orb/models/price.rbs +2164 -11297
- data/sig/orb/models/price_create_params.rbs +58 -418
- data/sig/orb/models/price_evaluate_multiple_params.rbs +28 -6138
- data/sig/orb/models/price_evaluate_preview_events_params.rbs +166 -0
- data/sig/orb/models/price_evaluate_preview_events_response.rbs +50 -0
- data/sig/orb/models/price_interval.rbs +65 -0
- data/sig/orb/models/sub_line_item_grouping.rbs +15 -0
- data/sig/orb/models/sub_line_item_matrix_config.rbs +13 -0
- data/sig/orb/models/subscription.rbs +39 -1274
- data/sig/orb/models/subscription_change_apply_response.rbs +4 -1467
- data/sig/orb/models/subscription_change_cancel_response.rbs +4 -1467
- data/sig/orb/models/subscription_change_minified.rbs +13 -0
- data/sig/orb/models/subscription_change_retrieve_response.rbs +4 -1467
- data/sig/orb/models/subscription_create_params.rbs +174 -13219
- data/sig/orb/models/subscription_fetch_costs_response.rbs +4 -82
- data/sig/orb/models/subscription_minified.rbs +13 -0
- data/sig/orb/models/subscription_price_intervals_params.rbs +61 -6390
- data/sig/orb/models/subscription_redeem_coupon_params.rbs +11 -6
- data/sig/orb/models/subscription_schedule_plan_change_params.rbs +175 -13220
- data/sig/orb/models/subscription_trial_info.rbs +13 -0
- data/sig/orb/models/tax_amount.rbs +30 -0
- data/sig/orb/models/threshold.rbs +13 -0
- data/sig/orb/models/tier.rbs +25 -0
- data/sig/orb/models/tier_config.rbs +26 -0
- data/sig/orb/models/tier_sub_line_item.rbs +55 -0
- data/sig/orb/models/tiered_bps_config.rbs +13 -0
- data/sig/orb/models/tiered_config.rbs +13 -0
- data/sig/orb/models/tiered_conversion_rate_config.rbs +35 -0
- data/sig/orb/models/transform_price_filter.rbs +56 -0
- data/sig/orb/models/trial_discount.rbs +5 -0
- data/sig/orb/models/unit_config.rbs +13 -0
- data/sig/orb/models/unit_conversion_rate_config.rbs +35 -0
- data/sig/orb/models/usage_discount.rbs +5 -0
- data/sig/orb/models/usage_discount_interval.rbs +55 -0
- data/sig/orb/models.rbs +342 -0
- data/sig/orb/resources/alerts.rbs +4 -4
- data/sig/orb/resources/customers.rbs +18 -18
- data/sig/orb/resources/prices.rbs +23 -13
- data/sig/orb/resources/subscriptions.rbs +15 -14
- metadata +545 -35
- data/lib/orb/models/subscription_cancel_response.rb +0 -1873
- data/lib/orb/models/subscription_create_response.rb +0 -1873
- data/lib/orb/models/subscription_price_intervals_response.rb +0 -1888
- data/lib/orb/models/subscription_redeem_coupon_response.rb +0 -1883
- data/lib/orb/models/subscription_schedule_plan_change_response.rb +0 -1893
- data/lib/orb/models/subscription_trigger_phase_response.rb +0 -1883
- data/lib/orb/models/subscription_unschedule_cancellation_response.rb +0 -1897
- data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +0 -1912
- data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +0 -1908
- data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +0 -1897
- data/lib/orb/models/subscription_update_trial_response.rb +0 -1879
- data/rbi/orb/models/subscription_cancel_response.rbi +0 -3537
- data/rbi/orb/models/subscription_create_response.rbi +0 -3537
- data/rbi/orb/models/subscription_price_intervals_response.rbi +0 -3564
- data/rbi/orb/models/subscription_redeem_coupon_response.rbi +0 -3557
- data/rbi/orb/models/subscription_schedule_plan_change_response.rbi +0 -3564
- data/rbi/orb/models/subscription_trigger_phase_response.rbi +0 -3557
- data/rbi/orb/models/subscription_unschedule_cancellation_response.rbi +0 -3566
- data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +0 -3566
- data/rbi/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +0 -3566
- data/rbi/orb/models/subscription_update_fixed_fee_quantity_response.rbi +0 -3566
- data/rbi/orb/models/subscription_update_trial_response.rbi +0 -3556
- data/sig/orb/models/subscription_cancel_response.rbs +0 -1445
- data/sig/orb/models/subscription_create_response.rbs +0 -1445
- data/sig/orb/models/subscription_price_intervals_response.rbs +0 -1445
- data/sig/orb/models/subscription_redeem_coupon_response.rbs +0 -1445
- data/sig/orb/models/subscription_schedule_plan_change_response.rbs +0 -1445
- data/sig/orb/models/subscription_trigger_phase_response.rbs +0 -1445
- data/sig/orb/models/subscription_unschedule_cancellation_response.rbs +0 -1445
- data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbs +0 -1445
- data/sig/orb/models/subscription_unschedule_pending_plan_changes_response.rbs +0 -1445
- data/sig/orb/models/subscription_update_fixed_fee_quantity_response.rbs +0 -1445
- data/sig/orb/models/subscription_update_trial_response.rbs +0 -1445
@@ -1,1445 +0,0 @@
|
|
1
|
-
module Orb
|
2
|
-
module Models
|
3
|
-
type subscription_update_fixed_fee_quantity_response =
|
4
|
-
{
|
5
|
-
id: String,
|
6
|
-
active_plan_phase_order: Integer?,
|
7
|
-
adjustment_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval],
|
8
|
-
auto_collection: bool?,
|
9
|
-
billing_cycle_anchor_configuration: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::BillingCycleAnchorConfiguration,
|
10
|
-
billing_cycle_day: Integer,
|
11
|
-
created_at: Time,
|
12
|
-
current_billing_period_end_date: Time?,
|
13
|
-
current_billing_period_start_date: Time?,
|
14
|
-
customer: Orb::Customer,
|
15
|
-
default_invoice_memo: String?,
|
16
|
-
discount_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::discount_interval],
|
17
|
-
end_date: Time?,
|
18
|
-
fixed_fee_quantity_schedule: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::FixedFeeQuantitySchedule],
|
19
|
-
invoicing_threshold: String?,
|
20
|
-
maximum_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval],
|
21
|
-
metadata: ::Hash[Symbol, String],
|
22
|
-
minimum_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval],
|
23
|
-
name: String,
|
24
|
-
net_terms: Integer,
|
25
|
-
pending_subscription_change: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::PendingSubscriptionChange?,
|
26
|
-
plan: Orb::Plan?,
|
27
|
-
price_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::PriceInterval],
|
28
|
-
redeemed_coupon: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::RedeemedCoupon?,
|
29
|
-
start_date: Time,
|
30
|
-
status: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::status,
|
31
|
-
trial_info: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::TrialInfo,
|
32
|
-
changed_resources: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::ChangedResources?
|
33
|
-
}
|
34
|
-
|
35
|
-
class SubscriptionUpdateFixedFeeQuantityResponse < Orb::Internal::Type::BaseModel
|
36
|
-
attr_accessor id: String
|
37
|
-
|
38
|
-
attr_accessor active_plan_phase_order: Integer?
|
39
|
-
|
40
|
-
attr_accessor adjustment_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval]
|
41
|
-
|
42
|
-
attr_accessor auto_collection: bool?
|
43
|
-
|
44
|
-
attr_accessor billing_cycle_anchor_configuration: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::BillingCycleAnchorConfiguration
|
45
|
-
|
46
|
-
attr_accessor billing_cycle_day: Integer
|
47
|
-
|
48
|
-
attr_accessor created_at: Time
|
49
|
-
|
50
|
-
attr_accessor current_billing_period_end_date: Time?
|
51
|
-
|
52
|
-
attr_accessor current_billing_period_start_date: Time?
|
53
|
-
|
54
|
-
attr_accessor customer: Orb::Customer
|
55
|
-
|
56
|
-
attr_accessor default_invoice_memo: String?
|
57
|
-
|
58
|
-
attr_accessor discount_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::discount_interval]
|
59
|
-
|
60
|
-
attr_accessor end_date: Time?
|
61
|
-
|
62
|
-
attr_accessor fixed_fee_quantity_schedule: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::FixedFeeQuantitySchedule]
|
63
|
-
|
64
|
-
attr_accessor invoicing_threshold: String?
|
65
|
-
|
66
|
-
attr_accessor maximum_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval]
|
67
|
-
|
68
|
-
attr_accessor metadata: ::Hash[Symbol, String]
|
69
|
-
|
70
|
-
attr_accessor minimum_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval]
|
71
|
-
|
72
|
-
attr_accessor name: String
|
73
|
-
|
74
|
-
attr_accessor net_terms: Integer
|
75
|
-
|
76
|
-
attr_accessor pending_subscription_change: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::PendingSubscriptionChange?
|
77
|
-
|
78
|
-
attr_accessor plan: Orb::Plan?
|
79
|
-
|
80
|
-
attr_accessor price_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::PriceInterval]
|
81
|
-
|
82
|
-
attr_accessor redeemed_coupon: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::RedeemedCoupon?
|
83
|
-
|
84
|
-
attr_accessor start_date: Time
|
85
|
-
|
86
|
-
attr_accessor status: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::status
|
87
|
-
|
88
|
-
attr_accessor trial_info: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::TrialInfo
|
89
|
-
|
90
|
-
attr_accessor changed_resources: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::ChangedResources?
|
91
|
-
|
92
|
-
def initialize: (
|
93
|
-
id: String,
|
94
|
-
active_plan_phase_order: Integer?,
|
95
|
-
adjustment_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval],
|
96
|
-
auto_collection: bool?,
|
97
|
-
billing_cycle_anchor_configuration: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::BillingCycleAnchorConfiguration,
|
98
|
-
billing_cycle_day: Integer,
|
99
|
-
created_at: Time,
|
100
|
-
current_billing_period_end_date: Time?,
|
101
|
-
current_billing_period_start_date: Time?,
|
102
|
-
customer: Orb::Customer,
|
103
|
-
default_invoice_memo: String?,
|
104
|
-
discount_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::discount_interval],
|
105
|
-
end_date: Time?,
|
106
|
-
fixed_fee_quantity_schedule: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::FixedFeeQuantitySchedule],
|
107
|
-
invoicing_threshold: String?,
|
108
|
-
maximum_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval],
|
109
|
-
metadata: ::Hash[Symbol, String],
|
110
|
-
minimum_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval],
|
111
|
-
name: String,
|
112
|
-
net_terms: Integer,
|
113
|
-
pending_subscription_change: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::PendingSubscriptionChange?,
|
114
|
-
plan: Orb::Plan?,
|
115
|
-
price_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::PriceInterval],
|
116
|
-
redeemed_coupon: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::RedeemedCoupon?,
|
117
|
-
start_date: Time,
|
118
|
-
status: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::status,
|
119
|
-
trial_info: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::TrialInfo,
|
120
|
-
?changed_resources: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::ChangedResources?
|
121
|
-
) -> void
|
122
|
-
|
123
|
-
def to_hash: -> {
|
124
|
-
id: String,
|
125
|
-
active_plan_phase_order: Integer?,
|
126
|
-
adjustment_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval],
|
127
|
-
auto_collection: bool?,
|
128
|
-
billing_cycle_anchor_configuration: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::BillingCycleAnchorConfiguration,
|
129
|
-
billing_cycle_day: Integer,
|
130
|
-
created_at: Time,
|
131
|
-
current_billing_period_end_date: Time?,
|
132
|
-
current_billing_period_start_date: Time?,
|
133
|
-
customer: Orb::Customer,
|
134
|
-
default_invoice_memo: String?,
|
135
|
-
discount_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::discount_interval],
|
136
|
-
end_date: Time?,
|
137
|
-
fixed_fee_quantity_schedule: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::FixedFeeQuantitySchedule],
|
138
|
-
invoicing_threshold: String?,
|
139
|
-
maximum_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval],
|
140
|
-
metadata: ::Hash[Symbol, String],
|
141
|
-
minimum_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval],
|
142
|
-
name: String,
|
143
|
-
net_terms: Integer,
|
144
|
-
pending_subscription_change: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::PendingSubscriptionChange?,
|
145
|
-
plan: Orb::Plan?,
|
146
|
-
price_intervals: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::PriceInterval],
|
147
|
-
redeemed_coupon: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::RedeemedCoupon?,
|
148
|
-
start_date: Time,
|
149
|
-
status: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::status,
|
150
|
-
trial_info: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::TrialInfo,
|
151
|
-
changed_resources: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::ChangedResources?
|
152
|
-
}
|
153
|
-
|
154
|
-
type adjustment_interval =
|
155
|
-
{
|
156
|
-
id: String,
|
157
|
-
adjustment: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::adjustment,
|
158
|
-
applies_to_price_interval_ids: ::Array[String],
|
159
|
-
end_date: Time?,
|
160
|
-
start_date: Time
|
161
|
-
}
|
162
|
-
|
163
|
-
class AdjustmentInterval < Orb::Internal::Type::BaseModel
|
164
|
-
attr_accessor id: String
|
165
|
-
|
166
|
-
attr_accessor adjustment: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::adjustment
|
167
|
-
|
168
|
-
attr_accessor applies_to_price_interval_ids: ::Array[String]
|
169
|
-
|
170
|
-
attr_accessor end_date: Time?
|
171
|
-
|
172
|
-
attr_accessor start_date: Time
|
173
|
-
|
174
|
-
def initialize: (
|
175
|
-
id: String,
|
176
|
-
adjustment: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::adjustment,
|
177
|
-
applies_to_price_interval_ids: ::Array[String],
|
178
|
-
end_date: Time?,
|
179
|
-
start_date: Time
|
180
|
-
) -> void
|
181
|
-
|
182
|
-
def to_hash: -> {
|
183
|
-
id: String,
|
184
|
-
adjustment: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::adjustment,
|
185
|
-
applies_to_price_interval_ids: ::Array[String],
|
186
|
-
end_date: Time?,
|
187
|
-
start_date: Time
|
188
|
-
}
|
189
|
-
|
190
|
-
type adjustment =
|
191
|
-
Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::UsageDiscount
|
192
|
-
| Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::AmountDiscount
|
193
|
-
| Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PercentageDiscount
|
194
|
-
| Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Minimum
|
195
|
-
| Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Maximum
|
196
|
-
|
197
|
-
module Adjustment
|
198
|
-
extend Orb::Internal::Type::Union
|
199
|
-
|
200
|
-
type usage_discount =
|
201
|
-
{
|
202
|
-
id: String,
|
203
|
-
adjustment_type: :usage_discount,
|
204
|
-
applies_to_price_ids: ::Array[String],
|
205
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter],
|
206
|
-
is_invoice_level: bool,
|
207
|
-
plan_phase_order: Integer?,
|
208
|
-
reason: String?,
|
209
|
-
usage_discount: Float
|
210
|
-
}
|
211
|
-
|
212
|
-
class UsageDiscount < Orb::Internal::Type::BaseModel
|
213
|
-
attr_accessor id: String
|
214
|
-
|
215
|
-
attr_accessor adjustment_type: :usage_discount
|
216
|
-
|
217
|
-
attr_accessor applies_to_price_ids: ::Array[String]
|
218
|
-
|
219
|
-
attr_accessor filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter]
|
220
|
-
|
221
|
-
attr_accessor is_invoice_level: bool
|
222
|
-
|
223
|
-
attr_accessor plan_phase_order: Integer?
|
224
|
-
|
225
|
-
attr_accessor reason: String?
|
226
|
-
|
227
|
-
attr_accessor usage_discount: Float
|
228
|
-
|
229
|
-
def initialize: (
|
230
|
-
id: String,
|
231
|
-
applies_to_price_ids: ::Array[String],
|
232
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter],
|
233
|
-
is_invoice_level: bool,
|
234
|
-
plan_phase_order: Integer?,
|
235
|
-
reason: String?,
|
236
|
-
usage_discount: Float,
|
237
|
-
?adjustment_type: :usage_discount
|
238
|
-
) -> void
|
239
|
-
|
240
|
-
def to_hash: -> {
|
241
|
-
id: String,
|
242
|
-
adjustment_type: :usage_discount,
|
243
|
-
applies_to_price_ids: ::Array[String],
|
244
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter],
|
245
|
-
is_invoice_level: bool,
|
246
|
-
plan_phase_order: Integer?,
|
247
|
-
reason: String?,
|
248
|
-
usage_discount: Float
|
249
|
-
}
|
250
|
-
|
251
|
-
type filter =
|
252
|
-
{
|
253
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::field,
|
254
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::operator,
|
255
|
-
values: ::Array[String]
|
256
|
-
}
|
257
|
-
|
258
|
-
class Filter < Orb::Internal::Type::BaseModel
|
259
|
-
attr_accessor field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::field
|
260
|
-
|
261
|
-
attr_accessor operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::operator
|
262
|
-
|
263
|
-
attr_accessor values: ::Array[String]
|
264
|
-
|
265
|
-
def initialize: (
|
266
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::field,
|
267
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::operator,
|
268
|
-
values: ::Array[String]
|
269
|
-
) -> void
|
270
|
-
|
271
|
-
def to_hash: -> {
|
272
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::field,
|
273
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::operator,
|
274
|
-
values: ::Array[String]
|
275
|
-
}
|
276
|
-
|
277
|
-
type field =
|
278
|
-
:price_id
|
279
|
-
| :item_id
|
280
|
-
| :price_type
|
281
|
-
| :currency
|
282
|
-
| :pricing_unit_id
|
283
|
-
|
284
|
-
module Field
|
285
|
-
extend Orb::Internal::Type::Enum
|
286
|
-
|
287
|
-
PRICE_ID: :price_id
|
288
|
-
ITEM_ID: :item_id
|
289
|
-
PRICE_TYPE: :price_type
|
290
|
-
CURRENCY: :currency
|
291
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
292
|
-
|
293
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::field]
|
294
|
-
end
|
295
|
-
|
296
|
-
type operator = :includes | :excludes
|
297
|
-
|
298
|
-
module Operator
|
299
|
-
extend Orb::Internal::Type::Enum
|
300
|
-
|
301
|
-
INCLUDES: :includes
|
302
|
-
EXCLUDES: :excludes
|
303
|
-
|
304
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::UsageDiscount::Filter::operator]
|
305
|
-
end
|
306
|
-
end
|
307
|
-
end
|
308
|
-
|
309
|
-
type amount_discount =
|
310
|
-
{
|
311
|
-
id: String,
|
312
|
-
adjustment_type: :amount_discount,
|
313
|
-
amount_discount: String,
|
314
|
-
applies_to_price_ids: ::Array[String],
|
315
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter],
|
316
|
-
is_invoice_level: bool,
|
317
|
-
plan_phase_order: Integer?,
|
318
|
-
reason: String?
|
319
|
-
}
|
320
|
-
|
321
|
-
class AmountDiscount < Orb::Internal::Type::BaseModel
|
322
|
-
attr_accessor id: String
|
323
|
-
|
324
|
-
attr_accessor adjustment_type: :amount_discount
|
325
|
-
|
326
|
-
attr_accessor amount_discount: String
|
327
|
-
|
328
|
-
attr_accessor applies_to_price_ids: ::Array[String]
|
329
|
-
|
330
|
-
attr_accessor filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter]
|
331
|
-
|
332
|
-
attr_accessor is_invoice_level: bool
|
333
|
-
|
334
|
-
attr_accessor plan_phase_order: Integer?
|
335
|
-
|
336
|
-
attr_accessor reason: String?
|
337
|
-
|
338
|
-
def initialize: (
|
339
|
-
id: String,
|
340
|
-
amount_discount: String,
|
341
|
-
applies_to_price_ids: ::Array[String],
|
342
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter],
|
343
|
-
is_invoice_level: bool,
|
344
|
-
plan_phase_order: Integer?,
|
345
|
-
reason: String?,
|
346
|
-
?adjustment_type: :amount_discount
|
347
|
-
) -> void
|
348
|
-
|
349
|
-
def to_hash: -> {
|
350
|
-
id: String,
|
351
|
-
adjustment_type: :amount_discount,
|
352
|
-
amount_discount: String,
|
353
|
-
applies_to_price_ids: ::Array[String],
|
354
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter],
|
355
|
-
is_invoice_level: bool,
|
356
|
-
plan_phase_order: Integer?,
|
357
|
-
reason: String?
|
358
|
-
}
|
359
|
-
|
360
|
-
type filter =
|
361
|
-
{
|
362
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::field,
|
363
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::operator,
|
364
|
-
values: ::Array[String]
|
365
|
-
}
|
366
|
-
|
367
|
-
class Filter < Orb::Internal::Type::BaseModel
|
368
|
-
attr_accessor field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::field
|
369
|
-
|
370
|
-
attr_accessor operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::operator
|
371
|
-
|
372
|
-
attr_accessor values: ::Array[String]
|
373
|
-
|
374
|
-
def initialize: (
|
375
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::field,
|
376
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::operator,
|
377
|
-
values: ::Array[String]
|
378
|
-
) -> void
|
379
|
-
|
380
|
-
def to_hash: -> {
|
381
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::field,
|
382
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::operator,
|
383
|
-
values: ::Array[String]
|
384
|
-
}
|
385
|
-
|
386
|
-
type field =
|
387
|
-
:price_id
|
388
|
-
| :item_id
|
389
|
-
| :price_type
|
390
|
-
| :currency
|
391
|
-
| :pricing_unit_id
|
392
|
-
|
393
|
-
module Field
|
394
|
-
extend Orb::Internal::Type::Enum
|
395
|
-
|
396
|
-
PRICE_ID: :price_id
|
397
|
-
ITEM_ID: :item_id
|
398
|
-
PRICE_TYPE: :price_type
|
399
|
-
CURRENCY: :currency
|
400
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
401
|
-
|
402
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::field]
|
403
|
-
end
|
404
|
-
|
405
|
-
type operator = :includes | :excludes
|
406
|
-
|
407
|
-
module Operator
|
408
|
-
extend Orb::Internal::Type::Enum
|
409
|
-
|
410
|
-
INCLUDES: :includes
|
411
|
-
EXCLUDES: :excludes
|
412
|
-
|
413
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::AmountDiscount::Filter::operator]
|
414
|
-
end
|
415
|
-
end
|
416
|
-
end
|
417
|
-
|
418
|
-
type percentage_discount =
|
419
|
-
{
|
420
|
-
id: String,
|
421
|
-
adjustment_type: :percentage_discount,
|
422
|
-
applies_to_price_ids: ::Array[String],
|
423
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter],
|
424
|
-
is_invoice_level: bool,
|
425
|
-
percentage_discount: Float,
|
426
|
-
plan_phase_order: Integer?,
|
427
|
-
reason: String?
|
428
|
-
}
|
429
|
-
|
430
|
-
class PercentageDiscount < Orb::Internal::Type::BaseModel
|
431
|
-
attr_accessor id: String
|
432
|
-
|
433
|
-
attr_accessor adjustment_type: :percentage_discount
|
434
|
-
|
435
|
-
attr_accessor applies_to_price_ids: ::Array[String]
|
436
|
-
|
437
|
-
attr_accessor filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter]
|
438
|
-
|
439
|
-
attr_accessor is_invoice_level: bool
|
440
|
-
|
441
|
-
attr_accessor percentage_discount: Float
|
442
|
-
|
443
|
-
attr_accessor plan_phase_order: Integer?
|
444
|
-
|
445
|
-
attr_accessor reason: String?
|
446
|
-
|
447
|
-
def initialize: (
|
448
|
-
id: String,
|
449
|
-
applies_to_price_ids: ::Array[String],
|
450
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter],
|
451
|
-
is_invoice_level: bool,
|
452
|
-
percentage_discount: Float,
|
453
|
-
plan_phase_order: Integer?,
|
454
|
-
reason: String?,
|
455
|
-
?adjustment_type: :percentage_discount
|
456
|
-
) -> void
|
457
|
-
|
458
|
-
def to_hash: -> {
|
459
|
-
id: String,
|
460
|
-
adjustment_type: :percentage_discount,
|
461
|
-
applies_to_price_ids: ::Array[String],
|
462
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter],
|
463
|
-
is_invoice_level: bool,
|
464
|
-
percentage_discount: Float,
|
465
|
-
plan_phase_order: Integer?,
|
466
|
-
reason: String?
|
467
|
-
}
|
468
|
-
|
469
|
-
type filter =
|
470
|
-
{
|
471
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::field,
|
472
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::operator,
|
473
|
-
values: ::Array[String]
|
474
|
-
}
|
475
|
-
|
476
|
-
class Filter < Orb::Internal::Type::BaseModel
|
477
|
-
attr_accessor field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::field
|
478
|
-
|
479
|
-
attr_accessor operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::operator
|
480
|
-
|
481
|
-
attr_accessor values: ::Array[String]
|
482
|
-
|
483
|
-
def initialize: (
|
484
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::field,
|
485
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::operator,
|
486
|
-
values: ::Array[String]
|
487
|
-
) -> void
|
488
|
-
|
489
|
-
def to_hash: -> {
|
490
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::field,
|
491
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::operator,
|
492
|
-
values: ::Array[String]
|
493
|
-
}
|
494
|
-
|
495
|
-
type field =
|
496
|
-
:price_id
|
497
|
-
| :item_id
|
498
|
-
| :price_type
|
499
|
-
| :currency
|
500
|
-
| :pricing_unit_id
|
501
|
-
|
502
|
-
module Field
|
503
|
-
extend Orb::Internal::Type::Enum
|
504
|
-
|
505
|
-
PRICE_ID: :price_id
|
506
|
-
ITEM_ID: :item_id
|
507
|
-
PRICE_TYPE: :price_type
|
508
|
-
CURRENCY: :currency
|
509
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
510
|
-
|
511
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::field]
|
512
|
-
end
|
513
|
-
|
514
|
-
type operator = :includes | :excludes
|
515
|
-
|
516
|
-
module Operator
|
517
|
-
extend Orb::Internal::Type::Enum
|
518
|
-
|
519
|
-
INCLUDES: :includes
|
520
|
-
EXCLUDES: :excludes
|
521
|
-
|
522
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::PercentageDiscount::Filter::operator]
|
523
|
-
end
|
524
|
-
end
|
525
|
-
end
|
526
|
-
|
527
|
-
type minimum =
|
528
|
-
{
|
529
|
-
id: String,
|
530
|
-
adjustment_type: :minimum,
|
531
|
-
applies_to_price_ids: ::Array[String],
|
532
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Minimum::Filter],
|
533
|
-
is_invoice_level: bool,
|
534
|
-
item_id: String,
|
535
|
-
minimum_amount: String,
|
536
|
-
plan_phase_order: Integer?,
|
537
|
-
reason: String?
|
538
|
-
}
|
539
|
-
|
540
|
-
class Minimum < Orb::Internal::Type::BaseModel
|
541
|
-
attr_accessor id: String
|
542
|
-
|
543
|
-
attr_accessor adjustment_type: :minimum
|
544
|
-
|
545
|
-
attr_accessor applies_to_price_ids: ::Array[String]
|
546
|
-
|
547
|
-
attr_accessor filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Minimum::Filter]
|
548
|
-
|
549
|
-
attr_accessor is_invoice_level: bool
|
550
|
-
|
551
|
-
attr_accessor item_id: String
|
552
|
-
|
553
|
-
attr_accessor minimum_amount: String
|
554
|
-
|
555
|
-
attr_accessor plan_phase_order: Integer?
|
556
|
-
|
557
|
-
attr_accessor reason: String?
|
558
|
-
|
559
|
-
def initialize: (
|
560
|
-
id: String,
|
561
|
-
applies_to_price_ids: ::Array[String],
|
562
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Minimum::Filter],
|
563
|
-
is_invoice_level: bool,
|
564
|
-
item_id: String,
|
565
|
-
minimum_amount: String,
|
566
|
-
plan_phase_order: Integer?,
|
567
|
-
reason: String?,
|
568
|
-
?adjustment_type: :minimum
|
569
|
-
) -> void
|
570
|
-
|
571
|
-
def to_hash: -> {
|
572
|
-
id: String,
|
573
|
-
adjustment_type: :minimum,
|
574
|
-
applies_to_price_ids: ::Array[String],
|
575
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Minimum::Filter],
|
576
|
-
is_invoice_level: bool,
|
577
|
-
item_id: String,
|
578
|
-
minimum_amount: String,
|
579
|
-
plan_phase_order: Integer?,
|
580
|
-
reason: String?
|
581
|
-
}
|
582
|
-
|
583
|
-
type filter =
|
584
|
-
{
|
585
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Minimum::Filter::field,
|
586
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Minimum::Filter::operator,
|
587
|
-
values: ::Array[String]
|
588
|
-
}
|
589
|
-
|
590
|
-
class Filter < Orb::Internal::Type::BaseModel
|
591
|
-
attr_accessor field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Minimum::Filter::field
|
592
|
-
|
593
|
-
attr_accessor operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Minimum::Filter::operator
|
594
|
-
|
595
|
-
attr_accessor values: ::Array[String]
|
596
|
-
|
597
|
-
def initialize: (
|
598
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Minimum::Filter::field,
|
599
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Minimum::Filter::operator,
|
600
|
-
values: ::Array[String]
|
601
|
-
) -> void
|
602
|
-
|
603
|
-
def to_hash: -> {
|
604
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Minimum::Filter::field,
|
605
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Minimum::Filter::operator,
|
606
|
-
values: ::Array[String]
|
607
|
-
}
|
608
|
-
|
609
|
-
type field =
|
610
|
-
:price_id
|
611
|
-
| :item_id
|
612
|
-
| :price_type
|
613
|
-
| :currency
|
614
|
-
| :pricing_unit_id
|
615
|
-
|
616
|
-
module Field
|
617
|
-
extend Orb::Internal::Type::Enum
|
618
|
-
|
619
|
-
PRICE_ID: :price_id
|
620
|
-
ITEM_ID: :item_id
|
621
|
-
PRICE_TYPE: :price_type
|
622
|
-
CURRENCY: :currency
|
623
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
624
|
-
|
625
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Minimum::Filter::field]
|
626
|
-
end
|
627
|
-
|
628
|
-
type operator = :includes | :excludes
|
629
|
-
|
630
|
-
module Operator
|
631
|
-
extend Orb::Internal::Type::Enum
|
632
|
-
|
633
|
-
INCLUDES: :includes
|
634
|
-
EXCLUDES: :excludes
|
635
|
-
|
636
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Minimum::Filter::operator]
|
637
|
-
end
|
638
|
-
end
|
639
|
-
end
|
640
|
-
|
641
|
-
type maximum =
|
642
|
-
{
|
643
|
-
id: String,
|
644
|
-
adjustment_type: :maximum,
|
645
|
-
applies_to_price_ids: ::Array[String],
|
646
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Maximum::Filter],
|
647
|
-
is_invoice_level: bool,
|
648
|
-
maximum_amount: String,
|
649
|
-
plan_phase_order: Integer?,
|
650
|
-
reason: String?
|
651
|
-
}
|
652
|
-
|
653
|
-
class Maximum < Orb::Internal::Type::BaseModel
|
654
|
-
attr_accessor id: String
|
655
|
-
|
656
|
-
attr_accessor adjustment_type: :maximum
|
657
|
-
|
658
|
-
attr_accessor applies_to_price_ids: ::Array[String]
|
659
|
-
|
660
|
-
attr_accessor filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Maximum::Filter]
|
661
|
-
|
662
|
-
attr_accessor is_invoice_level: bool
|
663
|
-
|
664
|
-
attr_accessor maximum_amount: String
|
665
|
-
|
666
|
-
attr_accessor plan_phase_order: Integer?
|
667
|
-
|
668
|
-
attr_accessor reason: String?
|
669
|
-
|
670
|
-
def initialize: (
|
671
|
-
id: String,
|
672
|
-
applies_to_price_ids: ::Array[String],
|
673
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Maximum::Filter],
|
674
|
-
is_invoice_level: bool,
|
675
|
-
maximum_amount: String,
|
676
|
-
plan_phase_order: Integer?,
|
677
|
-
reason: String?,
|
678
|
-
?adjustment_type: :maximum
|
679
|
-
) -> void
|
680
|
-
|
681
|
-
def to_hash: -> {
|
682
|
-
id: String,
|
683
|
-
adjustment_type: :maximum,
|
684
|
-
applies_to_price_ids: ::Array[String],
|
685
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Maximum::Filter],
|
686
|
-
is_invoice_level: bool,
|
687
|
-
maximum_amount: String,
|
688
|
-
plan_phase_order: Integer?,
|
689
|
-
reason: String?
|
690
|
-
}
|
691
|
-
|
692
|
-
type filter =
|
693
|
-
{
|
694
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Maximum::Filter::field,
|
695
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Maximum::Filter::operator,
|
696
|
-
values: ::Array[String]
|
697
|
-
}
|
698
|
-
|
699
|
-
class Filter < Orb::Internal::Type::BaseModel
|
700
|
-
attr_accessor field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Maximum::Filter::field
|
701
|
-
|
702
|
-
attr_accessor operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Maximum::Filter::operator
|
703
|
-
|
704
|
-
attr_accessor values: ::Array[String]
|
705
|
-
|
706
|
-
def initialize: (
|
707
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Maximum::Filter::field,
|
708
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Maximum::Filter::operator,
|
709
|
-
values: ::Array[String]
|
710
|
-
) -> void
|
711
|
-
|
712
|
-
def to_hash: -> {
|
713
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Maximum::Filter::field,
|
714
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Maximum::Filter::operator,
|
715
|
-
values: ::Array[String]
|
716
|
-
}
|
717
|
-
|
718
|
-
type field =
|
719
|
-
:price_id
|
720
|
-
| :item_id
|
721
|
-
| :price_type
|
722
|
-
| :currency
|
723
|
-
| :pricing_unit_id
|
724
|
-
|
725
|
-
module Field
|
726
|
-
extend Orb::Internal::Type::Enum
|
727
|
-
|
728
|
-
PRICE_ID: :price_id
|
729
|
-
ITEM_ID: :item_id
|
730
|
-
PRICE_TYPE: :price_type
|
731
|
-
CURRENCY: :currency
|
732
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
733
|
-
|
734
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Maximum::Filter::field]
|
735
|
-
end
|
736
|
-
|
737
|
-
type operator = :includes | :excludes
|
738
|
-
|
739
|
-
module Operator
|
740
|
-
extend Orb::Internal::Type::Enum
|
741
|
-
|
742
|
-
INCLUDES: :includes
|
743
|
-
EXCLUDES: :excludes
|
744
|
-
|
745
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::Adjustment::Maximum::Filter::operator]
|
746
|
-
end
|
747
|
-
end
|
748
|
-
end
|
749
|
-
|
750
|
-
def self?.variants: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::AdjustmentInterval::adjustment]
|
751
|
-
end
|
752
|
-
end
|
753
|
-
|
754
|
-
type billing_cycle_anchor_configuration =
|
755
|
-
{ day: Integer, month: Integer?, year: Integer? }
|
756
|
-
|
757
|
-
class BillingCycleAnchorConfiguration < Orb::Internal::Type::BaseModel
|
758
|
-
attr_accessor day: Integer
|
759
|
-
|
760
|
-
attr_accessor month: Integer?
|
761
|
-
|
762
|
-
attr_accessor year: Integer?
|
763
|
-
|
764
|
-
def initialize: (
|
765
|
-
day: Integer,
|
766
|
-
?month: Integer?,
|
767
|
-
?year: Integer?
|
768
|
-
) -> void
|
769
|
-
|
770
|
-
def to_hash: -> { day: Integer, month: Integer?, year: Integer? }
|
771
|
-
end
|
772
|
-
|
773
|
-
type discount_interval =
|
774
|
-
Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Amount
|
775
|
-
| Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Percentage
|
776
|
-
| Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Usage
|
777
|
-
|
778
|
-
module DiscountInterval
|
779
|
-
extend Orb::Internal::Type::Union
|
780
|
-
|
781
|
-
type amount =
|
782
|
-
{
|
783
|
-
amount_discount: String,
|
784
|
-
applies_to_price_interval_ids: ::Array[String],
|
785
|
-
discount_type: :amount,
|
786
|
-
end_date: Time?,
|
787
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Amount::Filter],
|
788
|
-
start_date: Time
|
789
|
-
}
|
790
|
-
|
791
|
-
class Amount < Orb::Internal::Type::BaseModel
|
792
|
-
attr_accessor amount_discount: String
|
793
|
-
|
794
|
-
attr_accessor applies_to_price_interval_ids: ::Array[String]
|
795
|
-
|
796
|
-
attr_accessor discount_type: :amount
|
797
|
-
|
798
|
-
attr_accessor end_date: Time?
|
799
|
-
|
800
|
-
attr_accessor filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Amount::Filter]
|
801
|
-
|
802
|
-
attr_accessor start_date: Time
|
803
|
-
|
804
|
-
def initialize: (
|
805
|
-
amount_discount: String,
|
806
|
-
applies_to_price_interval_ids: ::Array[String],
|
807
|
-
end_date: Time?,
|
808
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Amount::Filter],
|
809
|
-
start_date: Time,
|
810
|
-
?discount_type: :amount
|
811
|
-
) -> void
|
812
|
-
|
813
|
-
def to_hash: -> {
|
814
|
-
amount_discount: String,
|
815
|
-
applies_to_price_interval_ids: ::Array[String],
|
816
|
-
discount_type: :amount,
|
817
|
-
end_date: Time?,
|
818
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Amount::Filter],
|
819
|
-
start_date: Time
|
820
|
-
}
|
821
|
-
|
822
|
-
type filter =
|
823
|
-
{
|
824
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Amount::Filter::field,
|
825
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Amount::Filter::operator,
|
826
|
-
values: ::Array[String]
|
827
|
-
}
|
828
|
-
|
829
|
-
class Filter < Orb::Internal::Type::BaseModel
|
830
|
-
attr_accessor field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Amount::Filter::field
|
831
|
-
|
832
|
-
attr_accessor operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Amount::Filter::operator
|
833
|
-
|
834
|
-
attr_accessor values: ::Array[String]
|
835
|
-
|
836
|
-
def initialize: (
|
837
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Amount::Filter::field,
|
838
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Amount::Filter::operator,
|
839
|
-
values: ::Array[String]
|
840
|
-
) -> void
|
841
|
-
|
842
|
-
def to_hash: -> {
|
843
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Amount::Filter::field,
|
844
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Amount::Filter::operator,
|
845
|
-
values: ::Array[String]
|
846
|
-
}
|
847
|
-
|
848
|
-
type field =
|
849
|
-
:price_id | :item_id | :price_type | :currency | :pricing_unit_id
|
850
|
-
|
851
|
-
module Field
|
852
|
-
extend Orb::Internal::Type::Enum
|
853
|
-
|
854
|
-
PRICE_ID: :price_id
|
855
|
-
ITEM_ID: :item_id
|
856
|
-
PRICE_TYPE: :price_type
|
857
|
-
CURRENCY: :currency
|
858
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
859
|
-
|
860
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Amount::Filter::field]
|
861
|
-
end
|
862
|
-
|
863
|
-
type operator = :includes | :excludes
|
864
|
-
|
865
|
-
module Operator
|
866
|
-
extend Orb::Internal::Type::Enum
|
867
|
-
|
868
|
-
INCLUDES: :includes
|
869
|
-
EXCLUDES: :excludes
|
870
|
-
|
871
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Amount::Filter::operator]
|
872
|
-
end
|
873
|
-
end
|
874
|
-
end
|
875
|
-
|
876
|
-
type percentage =
|
877
|
-
{
|
878
|
-
applies_to_price_interval_ids: ::Array[String],
|
879
|
-
discount_type: :percentage,
|
880
|
-
end_date: Time?,
|
881
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Percentage::Filter],
|
882
|
-
percentage_discount: Float,
|
883
|
-
start_date: Time
|
884
|
-
}
|
885
|
-
|
886
|
-
class Percentage < Orb::Internal::Type::BaseModel
|
887
|
-
attr_accessor applies_to_price_interval_ids: ::Array[String]
|
888
|
-
|
889
|
-
attr_accessor discount_type: :percentage
|
890
|
-
|
891
|
-
attr_accessor end_date: Time?
|
892
|
-
|
893
|
-
attr_accessor filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Percentage::Filter]
|
894
|
-
|
895
|
-
attr_accessor percentage_discount: Float
|
896
|
-
|
897
|
-
attr_accessor start_date: Time
|
898
|
-
|
899
|
-
def initialize: (
|
900
|
-
applies_to_price_interval_ids: ::Array[String],
|
901
|
-
end_date: Time?,
|
902
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Percentage::Filter],
|
903
|
-
percentage_discount: Float,
|
904
|
-
start_date: Time,
|
905
|
-
?discount_type: :percentage
|
906
|
-
) -> void
|
907
|
-
|
908
|
-
def to_hash: -> {
|
909
|
-
applies_to_price_interval_ids: ::Array[String],
|
910
|
-
discount_type: :percentage,
|
911
|
-
end_date: Time?,
|
912
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Percentage::Filter],
|
913
|
-
percentage_discount: Float,
|
914
|
-
start_date: Time
|
915
|
-
}
|
916
|
-
|
917
|
-
type filter =
|
918
|
-
{
|
919
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Percentage::Filter::field,
|
920
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Percentage::Filter::operator,
|
921
|
-
values: ::Array[String]
|
922
|
-
}
|
923
|
-
|
924
|
-
class Filter < Orb::Internal::Type::BaseModel
|
925
|
-
attr_accessor field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Percentage::Filter::field
|
926
|
-
|
927
|
-
attr_accessor operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Percentage::Filter::operator
|
928
|
-
|
929
|
-
attr_accessor values: ::Array[String]
|
930
|
-
|
931
|
-
def initialize: (
|
932
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Percentage::Filter::field,
|
933
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Percentage::Filter::operator,
|
934
|
-
values: ::Array[String]
|
935
|
-
) -> void
|
936
|
-
|
937
|
-
def to_hash: -> {
|
938
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Percentage::Filter::field,
|
939
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Percentage::Filter::operator,
|
940
|
-
values: ::Array[String]
|
941
|
-
}
|
942
|
-
|
943
|
-
type field =
|
944
|
-
:price_id | :item_id | :price_type | :currency | :pricing_unit_id
|
945
|
-
|
946
|
-
module Field
|
947
|
-
extend Orb::Internal::Type::Enum
|
948
|
-
|
949
|
-
PRICE_ID: :price_id
|
950
|
-
ITEM_ID: :item_id
|
951
|
-
PRICE_TYPE: :price_type
|
952
|
-
CURRENCY: :currency
|
953
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
954
|
-
|
955
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Percentage::Filter::field]
|
956
|
-
end
|
957
|
-
|
958
|
-
type operator = :includes | :excludes
|
959
|
-
|
960
|
-
module Operator
|
961
|
-
extend Orb::Internal::Type::Enum
|
962
|
-
|
963
|
-
INCLUDES: :includes
|
964
|
-
EXCLUDES: :excludes
|
965
|
-
|
966
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Percentage::Filter::operator]
|
967
|
-
end
|
968
|
-
end
|
969
|
-
end
|
970
|
-
|
971
|
-
type usage =
|
972
|
-
{
|
973
|
-
applies_to_price_interval_ids: ::Array[String],
|
974
|
-
discount_type: :usage,
|
975
|
-
end_date: Time?,
|
976
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Usage::Filter],
|
977
|
-
start_date: Time,
|
978
|
-
usage_discount: Float
|
979
|
-
}
|
980
|
-
|
981
|
-
class Usage < Orb::Internal::Type::BaseModel
|
982
|
-
attr_accessor applies_to_price_interval_ids: ::Array[String]
|
983
|
-
|
984
|
-
attr_accessor discount_type: :usage
|
985
|
-
|
986
|
-
attr_accessor end_date: Time?
|
987
|
-
|
988
|
-
attr_accessor filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Usage::Filter]
|
989
|
-
|
990
|
-
attr_accessor start_date: Time
|
991
|
-
|
992
|
-
attr_accessor usage_discount: Float
|
993
|
-
|
994
|
-
def initialize: (
|
995
|
-
applies_to_price_interval_ids: ::Array[String],
|
996
|
-
end_date: Time?,
|
997
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Usage::Filter],
|
998
|
-
start_date: Time,
|
999
|
-
usage_discount: Float,
|
1000
|
-
?discount_type: :usage
|
1001
|
-
) -> void
|
1002
|
-
|
1003
|
-
def to_hash: -> {
|
1004
|
-
applies_to_price_interval_ids: ::Array[String],
|
1005
|
-
discount_type: :usage,
|
1006
|
-
end_date: Time?,
|
1007
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Usage::Filter],
|
1008
|
-
start_date: Time,
|
1009
|
-
usage_discount: Float
|
1010
|
-
}
|
1011
|
-
|
1012
|
-
type filter =
|
1013
|
-
{
|
1014
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Usage::Filter::field,
|
1015
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Usage::Filter::operator,
|
1016
|
-
values: ::Array[String]
|
1017
|
-
}
|
1018
|
-
|
1019
|
-
class Filter < Orb::Internal::Type::BaseModel
|
1020
|
-
attr_accessor field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Usage::Filter::field
|
1021
|
-
|
1022
|
-
attr_accessor operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Usage::Filter::operator
|
1023
|
-
|
1024
|
-
attr_accessor values: ::Array[String]
|
1025
|
-
|
1026
|
-
def initialize: (
|
1027
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Usage::Filter::field,
|
1028
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Usage::Filter::operator,
|
1029
|
-
values: ::Array[String]
|
1030
|
-
) -> void
|
1031
|
-
|
1032
|
-
def to_hash: -> {
|
1033
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Usage::Filter::field,
|
1034
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Usage::Filter::operator,
|
1035
|
-
values: ::Array[String]
|
1036
|
-
}
|
1037
|
-
|
1038
|
-
type field =
|
1039
|
-
:price_id | :item_id | :price_type | :currency | :pricing_unit_id
|
1040
|
-
|
1041
|
-
module Field
|
1042
|
-
extend Orb::Internal::Type::Enum
|
1043
|
-
|
1044
|
-
PRICE_ID: :price_id
|
1045
|
-
ITEM_ID: :item_id
|
1046
|
-
PRICE_TYPE: :price_type
|
1047
|
-
CURRENCY: :currency
|
1048
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
1049
|
-
|
1050
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Usage::Filter::field]
|
1051
|
-
end
|
1052
|
-
|
1053
|
-
type operator = :includes | :excludes
|
1054
|
-
|
1055
|
-
module Operator
|
1056
|
-
extend Orb::Internal::Type::Enum
|
1057
|
-
|
1058
|
-
INCLUDES: :includes
|
1059
|
-
EXCLUDES: :excludes
|
1060
|
-
|
1061
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::DiscountInterval::Usage::Filter::operator]
|
1062
|
-
end
|
1063
|
-
end
|
1064
|
-
end
|
1065
|
-
|
1066
|
-
def self?.variants: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::discount_interval]
|
1067
|
-
end
|
1068
|
-
|
1069
|
-
type fixed_fee_quantity_schedule =
|
1070
|
-
{ end_date: Time?, price_id: String, quantity: Float, start_date: Time }
|
1071
|
-
|
1072
|
-
class FixedFeeQuantitySchedule < Orb::Internal::Type::BaseModel
|
1073
|
-
attr_accessor end_date: Time?
|
1074
|
-
|
1075
|
-
attr_accessor price_id: String
|
1076
|
-
|
1077
|
-
attr_accessor quantity: Float
|
1078
|
-
|
1079
|
-
attr_accessor start_date: Time
|
1080
|
-
|
1081
|
-
def initialize: (
|
1082
|
-
end_date: Time?,
|
1083
|
-
price_id: String,
|
1084
|
-
quantity: Float,
|
1085
|
-
start_date: Time
|
1086
|
-
) -> void
|
1087
|
-
|
1088
|
-
def to_hash: -> {
|
1089
|
-
end_date: Time?,
|
1090
|
-
price_id: String,
|
1091
|
-
quantity: Float,
|
1092
|
-
start_date: Time
|
1093
|
-
}
|
1094
|
-
end
|
1095
|
-
|
1096
|
-
type maximum_interval =
|
1097
|
-
{
|
1098
|
-
applies_to_price_interval_ids: ::Array[String],
|
1099
|
-
end_date: Time?,
|
1100
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval::Filter],
|
1101
|
-
maximum_amount: String,
|
1102
|
-
start_date: Time
|
1103
|
-
}
|
1104
|
-
|
1105
|
-
class MaximumInterval < Orb::Internal::Type::BaseModel
|
1106
|
-
attr_accessor applies_to_price_interval_ids: ::Array[String]
|
1107
|
-
|
1108
|
-
attr_accessor end_date: Time?
|
1109
|
-
|
1110
|
-
attr_accessor filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval::Filter]
|
1111
|
-
|
1112
|
-
attr_accessor maximum_amount: String
|
1113
|
-
|
1114
|
-
attr_accessor start_date: Time
|
1115
|
-
|
1116
|
-
def initialize: (
|
1117
|
-
applies_to_price_interval_ids: ::Array[String],
|
1118
|
-
end_date: Time?,
|
1119
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval::Filter],
|
1120
|
-
maximum_amount: String,
|
1121
|
-
start_date: Time
|
1122
|
-
) -> void
|
1123
|
-
|
1124
|
-
def to_hash: -> {
|
1125
|
-
applies_to_price_interval_ids: ::Array[String],
|
1126
|
-
end_date: Time?,
|
1127
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval::Filter],
|
1128
|
-
maximum_amount: String,
|
1129
|
-
start_date: Time
|
1130
|
-
}
|
1131
|
-
|
1132
|
-
type filter =
|
1133
|
-
{
|
1134
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval::Filter::field,
|
1135
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval::Filter::operator,
|
1136
|
-
values: ::Array[String]
|
1137
|
-
}
|
1138
|
-
|
1139
|
-
class Filter < Orb::Internal::Type::BaseModel
|
1140
|
-
attr_accessor field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval::Filter::field
|
1141
|
-
|
1142
|
-
attr_accessor operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval::Filter::operator
|
1143
|
-
|
1144
|
-
attr_accessor values: ::Array[String]
|
1145
|
-
|
1146
|
-
def initialize: (
|
1147
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval::Filter::field,
|
1148
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval::Filter::operator,
|
1149
|
-
values: ::Array[String]
|
1150
|
-
) -> void
|
1151
|
-
|
1152
|
-
def to_hash: -> {
|
1153
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval::Filter::field,
|
1154
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval::Filter::operator,
|
1155
|
-
values: ::Array[String]
|
1156
|
-
}
|
1157
|
-
|
1158
|
-
type field =
|
1159
|
-
:price_id | :item_id | :price_type | :currency | :pricing_unit_id
|
1160
|
-
|
1161
|
-
module Field
|
1162
|
-
extend Orb::Internal::Type::Enum
|
1163
|
-
|
1164
|
-
PRICE_ID: :price_id
|
1165
|
-
ITEM_ID: :item_id
|
1166
|
-
PRICE_TYPE: :price_type
|
1167
|
-
CURRENCY: :currency
|
1168
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
1169
|
-
|
1170
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval::Filter::field]
|
1171
|
-
end
|
1172
|
-
|
1173
|
-
type operator = :includes | :excludes
|
1174
|
-
|
1175
|
-
module Operator
|
1176
|
-
extend Orb::Internal::Type::Enum
|
1177
|
-
|
1178
|
-
INCLUDES: :includes
|
1179
|
-
EXCLUDES: :excludes
|
1180
|
-
|
1181
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MaximumInterval::Filter::operator]
|
1182
|
-
end
|
1183
|
-
end
|
1184
|
-
end
|
1185
|
-
|
1186
|
-
type minimum_interval =
|
1187
|
-
{
|
1188
|
-
applies_to_price_interval_ids: ::Array[String],
|
1189
|
-
end_date: Time?,
|
1190
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval::Filter],
|
1191
|
-
minimum_amount: String,
|
1192
|
-
start_date: Time
|
1193
|
-
}
|
1194
|
-
|
1195
|
-
class MinimumInterval < Orb::Internal::Type::BaseModel
|
1196
|
-
attr_accessor applies_to_price_interval_ids: ::Array[String]
|
1197
|
-
|
1198
|
-
attr_accessor end_date: Time?
|
1199
|
-
|
1200
|
-
attr_accessor filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval::Filter]
|
1201
|
-
|
1202
|
-
attr_accessor minimum_amount: String
|
1203
|
-
|
1204
|
-
attr_accessor start_date: Time
|
1205
|
-
|
1206
|
-
def initialize: (
|
1207
|
-
applies_to_price_interval_ids: ::Array[String],
|
1208
|
-
end_date: Time?,
|
1209
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval::Filter],
|
1210
|
-
minimum_amount: String,
|
1211
|
-
start_date: Time
|
1212
|
-
) -> void
|
1213
|
-
|
1214
|
-
def to_hash: -> {
|
1215
|
-
applies_to_price_interval_ids: ::Array[String],
|
1216
|
-
end_date: Time?,
|
1217
|
-
filters: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval::Filter],
|
1218
|
-
minimum_amount: String,
|
1219
|
-
start_date: Time
|
1220
|
-
}
|
1221
|
-
|
1222
|
-
type filter =
|
1223
|
-
{
|
1224
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval::Filter::field,
|
1225
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval::Filter::operator,
|
1226
|
-
values: ::Array[String]
|
1227
|
-
}
|
1228
|
-
|
1229
|
-
class Filter < Orb::Internal::Type::BaseModel
|
1230
|
-
attr_accessor field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval::Filter::field
|
1231
|
-
|
1232
|
-
attr_accessor operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval::Filter::operator
|
1233
|
-
|
1234
|
-
attr_accessor values: ::Array[String]
|
1235
|
-
|
1236
|
-
def initialize: (
|
1237
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval::Filter::field,
|
1238
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval::Filter::operator,
|
1239
|
-
values: ::Array[String]
|
1240
|
-
) -> void
|
1241
|
-
|
1242
|
-
def to_hash: -> {
|
1243
|
-
field: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval::Filter::field,
|
1244
|
-
operator: Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval::Filter::operator,
|
1245
|
-
values: ::Array[String]
|
1246
|
-
}
|
1247
|
-
|
1248
|
-
type field =
|
1249
|
-
:price_id | :item_id | :price_type | :currency | :pricing_unit_id
|
1250
|
-
|
1251
|
-
module Field
|
1252
|
-
extend Orb::Internal::Type::Enum
|
1253
|
-
|
1254
|
-
PRICE_ID: :price_id
|
1255
|
-
ITEM_ID: :item_id
|
1256
|
-
PRICE_TYPE: :price_type
|
1257
|
-
CURRENCY: :currency
|
1258
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
1259
|
-
|
1260
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval::Filter::field]
|
1261
|
-
end
|
1262
|
-
|
1263
|
-
type operator = :includes | :excludes
|
1264
|
-
|
1265
|
-
module Operator
|
1266
|
-
extend Orb::Internal::Type::Enum
|
1267
|
-
|
1268
|
-
INCLUDES: :includes
|
1269
|
-
EXCLUDES: :excludes
|
1270
|
-
|
1271
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::MinimumInterval::Filter::operator]
|
1272
|
-
end
|
1273
|
-
end
|
1274
|
-
end
|
1275
|
-
|
1276
|
-
type pending_subscription_change = { id: String }
|
1277
|
-
|
1278
|
-
class PendingSubscriptionChange < Orb::Internal::Type::BaseModel
|
1279
|
-
attr_accessor id: String
|
1280
|
-
|
1281
|
-
def initialize: (id: String) -> void
|
1282
|
-
|
1283
|
-
def to_hash: -> { id: String }
|
1284
|
-
end
|
1285
|
-
|
1286
|
-
type price_interval =
|
1287
|
-
{
|
1288
|
-
id: String,
|
1289
|
-
billing_cycle_day: Integer,
|
1290
|
-
current_billing_period_end_date: Time?,
|
1291
|
-
current_billing_period_start_date: Time?,
|
1292
|
-
end_date: Time?,
|
1293
|
-
filter: String?,
|
1294
|
-
fixed_fee_quantity_transitions: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::PriceInterval::FixedFeeQuantityTransition]?,
|
1295
|
-
price: Orb::Models::price,
|
1296
|
-
start_date: Time,
|
1297
|
-
usage_customer_ids: ::Array[String]?
|
1298
|
-
}
|
1299
|
-
|
1300
|
-
class PriceInterval < Orb::Internal::Type::BaseModel
|
1301
|
-
attr_accessor id: String
|
1302
|
-
|
1303
|
-
attr_accessor billing_cycle_day: Integer
|
1304
|
-
|
1305
|
-
attr_accessor current_billing_period_end_date: Time?
|
1306
|
-
|
1307
|
-
attr_accessor current_billing_period_start_date: Time?
|
1308
|
-
|
1309
|
-
attr_accessor end_date: Time?
|
1310
|
-
|
1311
|
-
attr_accessor filter: String?
|
1312
|
-
|
1313
|
-
attr_accessor fixed_fee_quantity_transitions: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::PriceInterval::FixedFeeQuantityTransition]?
|
1314
|
-
|
1315
|
-
attr_accessor price: Orb::Models::price
|
1316
|
-
|
1317
|
-
attr_accessor start_date: Time
|
1318
|
-
|
1319
|
-
attr_accessor usage_customer_ids: ::Array[String]?
|
1320
|
-
|
1321
|
-
def initialize: (
|
1322
|
-
id: String,
|
1323
|
-
billing_cycle_day: Integer,
|
1324
|
-
current_billing_period_end_date: Time?,
|
1325
|
-
current_billing_period_start_date: Time?,
|
1326
|
-
end_date: Time?,
|
1327
|
-
filter: String?,
|
1328
|
-
fixed_fee_quantity_transitions: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::PriceInterval::FixedFeeQuantityTransition]?,
|
1329
|
-
price: Orb::Models::price,
|
1330
|
-
start_date: Time,
|
1331
|
-
usage_customer_ids: ::Array[String]?
|
1332
|
-
) -> void
|
1333
|
-
|
1334
|
-
def to_hash: -> {
|
1335
|
-
id: String,
|
1336
|
-
billing_cycle_day: Integer,
|
1337
|
-
current_billing_period_end_date: Time?,
|
1338
|
-
current_billing_period_start_date: Time?,
|
1339
|
-
end_date: Time?,
|
1340
|
-
filter: String?,
|
1341
|
-
fixed_fee_quantity_transitions: ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::PriceInterval::FixedFeeQuantityTransition]?,
|
1342
|
-
price: Orb::Models::price,
|
1343
|
-
start_date: Time,
|
1344
|
-
usage_customer_ids: ::Array[String]?
|
1345
|
-
}
|
1346
|
-
|
1347
|
-
type fixed_fee_quantity_transition =
|
1348
|
-
{ effective_date: Time, price_id: String, quantity: Integer }
|
1349
|
-
|
1350
|
-
class FixedFeeQuantityTransition < Orb::Internal::Type::BaseModel
|
1351
|
-
attr_accessor effective_date: Time
|
1352
|
-
|
1353
|
-
attr_accessor price_id: String
|
1354
|
-
|
1355
|
-
attr_accessor quantity: Integer
|
1356
|
-
|
1357
|
-
def initialize: (
|
1358
|
-
effective_date: Time,
|
1359
|
-
price_id: String,
|
1360
|
-
quantity: Integer
|
1361
|
-
) -> void
|
1362
|
-
|
1363
|
-
def to_hash: -> {
|
1364
|
-
effective_date: Time,
|
1365
|
-
price_id: String,
|
1366
|
-
quantity: Integer
|
1367
|
-
}
|
1368
|
-
end
|
1369
|
-
end
|
1370
|
-
|
1371
|
-
type redeemed_coupon =
|
1372
|
-
{ coupon_id: String, end_date: Time?, start_date: Time }
|
1373
|
-
|
1374
|
-
class RedeemedCoupon < Orb::Internal::Type::BaseModel
|
1375
|
-
attr_accessor coupon_id: String
|
1376
|
-
|
1377
|
-
attr_accessor end_date: Time?
|
1378
|
-
|
1379
|
-
attr_accessor start_date: Time
|
1380
|
-
|
1381
|
-
def initialize: (
|
1382
|
-
coupon_id: String,
|
1383
|
-
end_date: Time?,
|
1384
|
-
start_date: Time
|
1385
|
-
) -> void
|
1386
|
-
|
1387
|
-
def to_hash: -> { coupon_id: String, end_date: Time?, start_date: Time }
|
1388
|
-
end
|
1389
|
-
|
1390
|
-
type status = :active | :ended | :upcoming
|
1391
|
-
|
1392
|
-
module Status
|
1393
|
-
extend Orb::Internal::Type::Enum
|
1394
|
-
|
1395
|
-
ACTIVE: :active
|
1396
|
-
ENDED: :ended
|
1397
|
-
UPCOMING: :upcoming
|
1398
|
-
|
1399
|
-
def self?.values: -> ::Array[Orb::Models::SubscriptionUpdateFixedFeeQuantityResponse::status]
|
1400
|
-
end
|
1401
|
-
|
1402
|
-
type trial_info = { end_date: Time? }
|
1403
|
-
|
1404
|
-
class TrialInfo < Orb::Internal::Type::BaseModel
|
1405
|
-
attr_accessor end_date: Time?
|
1406
|
-
|
1407
|
-
def initialize: (end_date: Time?) -> void
|
1408
|
-
|
1409
|
-
def to_hash: -> { end_date: Time? }
|
1410
|
-
end
|
1411
|
-
|
1412
|
-
type changed_resources =
|
1413
|
-
{
|
1414
|
-
created_credit_notes: ::Array[Orb::CreditNote],
|
1415
|
-
created_invoices: ::Array[Orb::Invoice],
|
1416
|
-
voided_credit_notes: ::Array[Orb::CreditNote],
|
1417
|
-
voided_invoices: ::Array[Orb::Invoice]
|
1418
|
-
}
|
1419
|
-
|
1420
|
-
class ChangedResources < Orb::Internal::Type::BaseModel
|
1421
|
-
attr_accessor created_credit_notes: ::Array[Orb::CreditNote]
|
1422
|
-
|
1423
|
-
attr_accessor created_invoices: ::Array[Orb::Invoice]
|
1424
|
-
|
1425
|
-
attr_accessor voided_credit_notes: ::Array[Orb::CreditNote]
|
1426
|
-
|
1427
|
-
attr_accessor voided_invoices: ::Array[Orb::Invoice]
|
1428
|
-
|
1429
|
-
def initialize: (
|
1430
|
-
created_credit_notes: ::Array[Orb::CreditNote],
|
1431
|
-
created_invoices: ::Array[Orb::Invoice],
|
1432
|
-
voided_credit_notes: ::Array[Orb::CreditNote],
|
1433
|
-
voided_invoices: ::Array[Orb::Invoice]
|
1434
|
-
) -> void
|
1435
|
-
|
1436
|
-
def to_hash: -> {
|
1437
|
-
created_credit_notes: ::Array[Orb::CreditNote],
|
1438
|
-
created_invoices: ::Array[Orb::Invoice],
|
1439
|
-
voided_credit_notes: ::Array[Orb::CreditNote],
|
1440
|
-
voided_invoices: ::Array[Orb::Invoice]
|
1441
|
-
}
|
1442
|
-
end
|
1443
|
-
end
|
1444
|
-
end
|
1445
|
-
end
|