orb-billing 0.12.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 +20 -0
- data/README.md +1 -1
- data/lib/orb/internal/type/base_model.rb +5 -5
- 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 +3 -59
- data/lib/orb/models/amount_discount_interval.rb +65 -0
- data/lib/orb/models/beta/external_plan_id_create_plan_version_params.rb +193 -19201
- data/lib/orb/models/beta_create_plan_version_params.rb +183 -19025
- 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 +3 -59
- 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 -19698
- 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 -9468
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +238 -19792
- 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 +3 -59
- 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 +3 -59
- 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 +24 -24
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +181 -11
- 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 +3 -112
- data/rbi/orb/models/amount_discount_interval.rbi +100 -0
- data/rbi/orb/models/beta/external_plan_id_create_plan_version_params.rbi +558 -35618
- data/rbi/orb/models/beta_create_plan_version_params.rbi +558 -35610
- 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 +3 -126
- 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 +686 -36613
- 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 -17694
- data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +696 -36631
- 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 +3 -104
- 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 +3 -104
- 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 +13 -19
- 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 +4 -57
- data/sig/orb/models/amount_discount_interval.rbs +55 -0
- data/sig/orb/models/beta/external_plan_id_create_plan_version_params.rbs +149 -13933
- data/sig/orb/models/beta_create_plan_version_params.rbs +146 -13914
- 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 +4 -57
- 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 +176 -14331
- 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 -6945
- data/sig/orb/models/subscription_schedule_plan_change_params.rbs +178 -14333
- 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 +4 -57
- 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 +4 -57
- 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 +13 -13
- 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
data/sig/orb/models/plan.rbs
CHANGED
@@ -13,10 +13,10 @@ module Orb
|
|
13
13
|
discount: Orb::Models::discount?,
|
14
14
|
external_plan_id: String?,
|
15
15
|
invoicing_currency: String,
|
16
|
-
maximum: Orb::
|
16
|
+
maximum: Orb::Maximum?,
|
17
17
|
maximum_amount: String?,
|
18
18
|
metadata: ::Hash[Symbol, String],
|
19
|
-
minimum: Orb::
|
19
|
+
minimum: Orb::Minimum?,
|
20
20
|
minimum_amount: String?,
|
21
21
|
name: String,
|
22
22
|
net_terms: Integer?,
|
@@ -51,13 +51,13 @@ module Orb
|
|
51
51
|
|
52
52
|
attr_accessor invoicing_currency: String
|
53
53
|
|
54
|
-
attr_accessor maximum: Orb::
|
54
|
+
attr_accessor maximum: Orb::Maximum?
|
55
55
|
|
56
56
|
attr_accessor maximum_amount: String?
|
57
57
|
|
58
58
|
attr_accessor metadata: ::Hash[Symbol, String]
|
59
59
|
|
60
|
-
attr_accessor minimum: Orb::
|
60
|
+
attr_accessor minimum: Orb::Minimum?
|
61
61
|
|
62
62
|
attr_accessor minimum_amount: String?
|
63
63
|
|
@@ -89,10 +89,10 @@ module Orb
|
|
89
89
|
discount: Orb::Models::discount?,
|
90
90
|
external_plan_id: String?,
|
91
91
|
invoicing_currency: String,
|
92
|
-
maximum: Orb::
|
92
|
+
maximum: Orb::Maximum?,
|
93
93
|
maximum_amount: String?,
|
94
94
|
metadata: ::Hash[Symbol, String],
|
95
|
-
minimum: Orb::
|
95
|
+
minimum: Orb::Minimum?,
|
96
96
|
minimum_amount: String?,
|
97
97
|
name: String,
|
98
98
|
net_terms: Integer?,
|
@@ -116,10 +116,10 @@ module Orb
|
|
116
116
|
discount: Orb::Models::discount?,
|
117
117
|
external_plan_id: String?,
|
118
118
|
invoicing_currency: String,
|
119
|
-
maximum: Orb::
|
119
|
+
maximum: Orb::Maximum?,
|
120
120
|
maximum_amount: String?,
|
121
121
|
metadata: ::Hash[Symbol, String],
|
122
|
-
minimum: Orb::
|
122
|
+
minimum: Orb::Minimum?,
|
123
123
|
minimum_amount: String?,
|
124
124
|
name: String,
|
125
125
|
net_terms: Integer?,
|
@@ -132,545 +132,15 @@ module Orb
|
|
132
132
|
}
|
133
133
|
|
134
134
|
type adjustment =
|
135
|
-
Orb::
|
136
|
-
| Orb::
|
137
|
-
| Orb::
|
138
|
-
| Orb::
|
139
|
-
| Orb::
|
135
|
+
Orb::PlanPhaseUsageDiscountAdjustment
|
136
|
+
| Orb::PlanPhaseAmountDiscountAdjustment
|
137
|
+
| Orb::PlanPhasePercentageDiscountAdjustment
|
138
|
+
| Orb::PlanPhaseMinimumAdjustment
|
139
|
+
| Orb::PlanPhaseMaximumAdjustment
|
140
140
|
|
141
141
|
module Adjustment
|
142
142
|
extend Orb::Internal::Type::Union
|
143
143
|
|
144
|
-
type usage_discount =
|
145
|
-
{
|
146
|
-
id: String,
|
147
|
-
adjustment_type: :usage_discount,
|
148
|
-
applies_to_price_ids: ::Array[String],
|
149
|
-
filters: ::Array[Orb::Plan::Adjustment::UsageDiscount::Filter],
|
150
|
-
is_invoice_level: bool,
|
151
|
-
plan_phase_order: Integer?,
|
152
|
-
reason: String?,
|
153
|
-
usage_discount: Float
|
154
|
-
}
|
155
|
-
|
156
|
-
class UsageDiscount < Orb::Internal::Type::BaseModel
|
157
|
-
attr_accessor id: String
|
158
|
-
|
159
|
-
attr_accessor adjustment_type: :usage_discount
|
160
|
-
|
161
|
-
attr_accessor applies_to_price_ids: ::Array[String]
|
162
|
-
|
163
|
-
attr_accessor filters: ::Array[Orb::Plan::Adjustment::UsageDiscount::Filter]
|
164
|
-
|
165
|
-
attr_accessor is_invoice_level: bool
|
166
|
-
|
167
|
-
attr_accessor plan_phase_order: Integer?
|
168
|
-
|
169
|
-
attr_accessor reason: String?
|
170
|
-
|
171
|
-
attr_accessor usage_discount: Float
|
172
|
-
|
173
|
-
def initialize: (
|
174
|
-
id: String,
|
175
|
-
applies_to_price_ids: ::Array[String],
|
176
|
-
filters: ::Array[Orb::Plan::Adjustment::UsageDiscount::Filter],
|
177
|
-
is_invoice_level: bool,
|
178
|
-
plan_phase_order: Integer?,
|
179
|
-
reason: String?,
|
180
|
-
usage_discount: Float,
|
181
|
-
?adjustment_type: :usage_discount
|
182
|
-
) -> void
|
183
|
-
|
184
|
-
def to_hash: -> {
|
185
|
-
id: String,
|
186
|
-
adjustment_type: :usage_discount,
|
187
|
-
applies_to_price_ids: ::Array[String],
|
188
|
-
filters: ::Array[Orb::Plan::Adjustment::UsageDiscount::Filter],
|
189
|
-
is_invoice_level: bool,
|
190
|
-
plan_phase_order: Integer?,
|
191
|
-
reason: String?,
|
192
|
-
usage_discount: Float
|
193
|
-
}
|
194
|
-
|
195
|
-
type filter =
|
196
|
-
{
|
197
|
-
field: Orb::Models::Plan::Adjustment::UsageDiscount::Filter::field,
|
198
|
-
operator: Orb::Models::Plan::Adjustment::UsageDiscount::Filter::operator,
|
199
|
-
values: ::Array[String]
|
200
|
-
}
|
201
|
-
|
202
|
-
class Filter < Orb::Internal::Type::BaseModel
|
203
|
-
attr_accessor field: Orb::Models::Plan::Adjustment::UsageDiscount::Filter::field
|
204
|
-
|
205
|
-
attr_accessor operator: Orb::Models::Plan::Adjustment::UsageDiscount::Filter::operator
|
206
|
-
|
207
|
-
attr_accessor values: ::Array[String]
|
208
|
-
|
209
|
-
def initialize: (
|
210
|
-
field: Orb::Models::Plan::Adjustment::UsageDiscount::Filter::field,
|
211
|
-
operator: Orb::Models::Plan::Adjustment::UsageDiscount::Filter::operator,
|
212
|
-
values: ::Array[String]
|
213
|
-
) -> void
|
214
|
-
|
215
|
-
def to_hash: -> {
|
216
|
-
field: Orb::Models::Plan::Adjustment::UsageDiscount::Filter::field,
|
217
|
-
operator: Orb::Models::Plan::Adjustment::UsageDiscount::Filter::operator,
|
218
|
-
values: ::Array[String]
|
219
|
-
}
|
220
|
-
|
221
|
-
type field =
|
222
|
-
:price_id | :item_id | :price_type | :currency | :pricing_unit_id
|
223
|
-
|
224
|
-
module Field
|
225
|
-
extend Orb::Internal::Type::Enum
|
226
|
-
|
227
|
-
PRICE_ID: :price_id
|
228
|
-
ITEM_ID: :item_id
|
229
|
-
PRICE_TYPE: :price_type
|
230
|
-
CURRENCY: :currency
|
231
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
232
|
-
|
233
|
-
def self?.values: -> ::Array[Orb::Models::Plan::Adjustment::UsageDiscount::Filter::field]
|
234
|
-
end
|
235
|
-
|
236
|
-
type operator = :includes | :excludes
|
237
|
-
|
238
|
-
module Operator
|
239
|
-
extend Orb::Internal::Type::Enum
|
240
|
-
|
241
|
-
INCLUDES: :includes
|
242
|
-
EXCLUDES: :excludes
|
243
|
-
|
244
|
-
def self?.values: -> ::Array[Orb::Models::Plan::Adjustment::UsageDiscount::Filter::operator]
|
245
|
-
end
|
246
|
-
end
|
247
|
-
end
|
248
|
-
|
249
|
-
type amount_discount =
|
250
|
-
{
|
251
|
-
id: String,
|
252
|
-
adjustment_type: :amount_discount,
|
253
|
-
amount_discount: String,
|
254
|
-
applies_to_price_ids: ::Array[String],
|
255
|
-
filters: ::Array[Orb::Plan::Adjustment::AmountDiscount::Filter],
|
256
|
-
is_invoice_level: bool,
|
257
|
-
plan_phase_order: Integer?,
|
258
|
-
reason: String?
|
259
|
-
}
|
260
|
-
|
261
|
-
class AmountDiscount < Orb::Internal::Type::BaseModel
|
262
|
-
attr_accessor id: String
|
263
|
-
|
264
|
-
attr_accessor adjustment_type: :amount_discount
|
265
|
-
|
266
|
-
attr_accessor amount_discount: String
|
267
|
-
|
268
|
-
attr_accessor applies_to_price_ids: ::Array[String]
|
269
|
-
|
270
|
-
attr_accessor filters: ::Array[Orb::Plan::Adjustment::AmountDiscount::Filter]
|
271
|
-
|
272
|
-
attr_accessor is_invoice_level: bool
|
273
|
-
|
274
|
-
attr_accessor plan_phase_order: Integer?
|
275
|
-
|
276
|
-
attr_accessor reason: String?
|
277
|
-
|
278
|
-
def initialize: (
|
279
|
-
id: String,
|
280
|
-
amount_discount: String,
|
281
|
-
applies_to_price_ids: ::Array[String],
|
282
|
-
filters: ::Array[Orb::Plan::Adjustment::AmountDiscount::Filter],
|
283
|
-
is_invoice_level: bool,
|
284
|
-
plan_phase_order: Integer?,
|
285
|
-
reason: String?,
|
286
|
-
?adjustment_type: :amount_discount
|
287
|
-
) -> void
|
288
|
-
|
289
|
-
def to_hash: -> {
|
290
|
-
id: String,
|
291
|
-
adjustment_type: :amount_discount,
|
292
|
-
amount_discount: String,
|
293
|
-
applies_to_price_ids: ::Array[String],
|
294
|
-
filters: ::Array[Orb::Plan::Adjustment::AmountDiscount::Filter],
|
295
|
-
is_invoice_level: bool,
|
296
|
-
plan_phase_order: Integer?,
|
297
|
-
reason: String?
|
298
|
-
}
|
299
|
-
|
300
|
-
type filter =
|
301
|
-
{
|
302
|
-
field: Orb::Models::Plan::Adjustment::AmountDiscount::Filter::field,
|
303
|
-
operator: Orb::Models::Plan::Adjustment::AmountDiscount::Filter::operator,
|
304
|
-
values: ::Array[String]
|
305
|
-
}
|
306
|
-
|
307
|
-
class Filter < Orb::Internal::Type::BaseModel
|
308
|
-
attr_accessor field: Orb::Models::Plan::Adjustment::AmountDiscount::Filter::field
|
309
|
-
|
310
|
-
attr_accessor operator: Orb::Models::Plan::Adjustment::AmountDiscount::Filter::operator
|
311
|
-
|
312
|
-
attr_accessor values: ::Array[String]
|
313
|
-
|
314
|
-
def initialize: (
|
315
|
-
field: Orb::Models::Plan::Adjustment::AmountDiscount::Filter::field,
|
316
|
-
operator: Orb::Models::Plan::Adjustment::AmountDiscount::Filter::operator,
|
317
|
-
values: ::Array[String]
|
318
|
-
) -> void
|
319
|
-
|
320
|
-
def to_hash: -> {
|
321
|
-
field: Orb::Models::Plan::Adjustment::AmountDiscount::Filter::field,
|
322
|
-
operator: Orb::Models::Plan::Adjustment::AmountDiscount::Filter::operator,
|
323
|
-
values: ::Array[String]
|
324
|
-
}
|
325
|
-
|
326
|
-
type field =
|
327
|
-
:price_id | :item_id | :price_type | :currency | :pricing_unit_id
|
328
|
-
|
329
|
-
module Field
|
330
|
-
extend Orb::Internal::Type::Enum
|
331
|
-
|
332
|
-
PRICE_ID: :price_id
|
333
|
-
ITEM_ID: :item_id
|
334
|
-
PRICE_TYPE: :price_type
|
335
|
-
CURRENCY: :currency
|
336
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
337
|
-
|
338
|
-
def self?.values: -> ::Array[Orb::Models::Plan::Adjustment::AmountDiscount::Filter::field]
|
339
|
-
end
|
340
|
-
|
341
|
-
type operator = :includes | :excludes
|
342
|
-
|
343
|
-
module Operator
|
344
|
-
extend Orb::Internal::Type::Enum
|
345
|
-
|
346
|
-
INCLUDES: :includes
|
347
|
-
EXCLUDES: :excludes
|
348
|
-
|
349
|
-
def self?.values: -> ::Array[Orb::Models::Plan::Adjustment::AmountDiscount::Filter::operator]
|
350
|
-
end
|
351
|
-
end
|
352
|
-
end
|
353
|
-
|
354
|
-
type percentage_discount =
|
355
|
-
{
|
356
|
-
id: String,
|
357
|
-
adjustment_type: :percentage_discount,
|
358
|
-
applies_to_price_ids: ::Array[String],
|
359
|
-
filters: ::Array[Orb::Plan::Adjustment::PercentageDiscount::Filter],
|
360
|
-
is_invoice_level: bool,
|
361
|
-
percentage_discount: Float,
|
362
|
-
plan_phase_order: Integer?,
|
363
|
-
reason: String?
|
364
|
-
}
|
365
|
-
|
366
|
-
class PercentageDiscount < Orb::Internal::Type::BaseModel
|
367
|
-
attr_accessor id: String
|
368
|
-
|
369
|
-
attr_accessor adjustment_type: :percentage_discount
|
370
|
-
|
371
|
-
attr_accessor applies_to_price_ids: ::Array[String]
|
372
|
-
|
373
|
-
attr_accessor filters: ::Array[Orb::Plan::Adjustment::PercentageDiscount::Filter]
|
374
|
-
|
375
|
-
attr_accessor is_invoice_level: bool
|
376
|
-
|
377
|
-
attr_accessor percentage_discount: Float
|
378
|
-
|
379
|
-
attr_accessor plan_phase_order: Integer?
|
380
|
-
|
381
|
-
attr_accessor reason: String?
|
382
|
-
|
383
|
-
def initialize: (
|
384
|
-
id: String,
|
385
|
-
applies_to_price_ids: ::Array[String],
|
386
|
-
filters: ::Array[Orb::Plan::Adjustment::PercentageDiscount::Filter],
|
387
|
-
is_invoice_level: bool,
|
388
|
-
percentage_discount: Float,
|
389
|
-
plan_phase_order: Integer?,
|
390
|
-
reason: String?,
|
391
|
-
?adjustment_type: :percentage_discount
|
392
|
-
) -> void
|
393
|
-
|
394
|
-
def to_hash: -> {
|
395
|
-
id: String,
|
396
|
-
adjustment_type: :percentage_discount,
|
397
|
-
applies_to_price_ids: ::Array[String],
|
398
|
-
filters: ::Array[Orb::Plan::Adjustment::PercentageDiscount::Filter],
|
399
|
-
is_invoice_level: bool,
|
400
|
-
percentage_discount: Float,
|
401
|
-
plan_phase_order: Integer?,
|
402
|
-
reason: String?
|
403
|
-
}
|
404
|
-
|
405
|
-
type filter =
|
406
|
-
{
|
407
|
-
field: Orb::Models::Plan::Adjustment::PercentageDiscount::Filter::field,
|
408
|
-
operator: Orb::Models::Plan::Adjustment::PercentageDiscount::Filter::operator,
|
409
|
-
values: ::Array[String]
|
410
|
-
}
|
411
|
-
|
412
|
-
class Filter < Orb::Internal::Type::BaseModel
|
413
|
-
attr_accessor field: Orb::Models::Plan::Adjustment::PercentageDiscount::Filter::field
|
414
|
-
|
415
|
-
attr_accessor operator: Orb::Models::Plan::Adjustment::PercentageDiscount::Filter::operator
|
416
|
-
|
417
|
-
attr_accessor values: ::Array[String]
|
418
|
-
|
419
|
-
def initialize: (
|
420
|
-
field: Orb::Models::Plan::Adjustment::PercentageDiscount::Filter::field,
|
421
|
-
operator: Orb::Models::Plan::Adjustment::PercentageDiscount::Filter::operator,
|
422
|
-
values: ::Array[String]
|
423
|
-
) -> void
|
424
|
-
|
425
|
-
def to_hash: -> {
|
426
|
-
field: Orb::Models::Plan::Adjustment::PercentageDiscount::Filter::field,
|
427
|
-
operator: Orb::Models::Plan::Adjustment::PercentageDiscount::Filter::operator,
|
428
|
-
values: ::Array[String]
|
429
|
-
}
|
430
|
-
|
431
|
-
type field =
|
432
|
-
:price_id | :item_id | :price_type | :currency | :pricing_unit_id
|
433
|
-
|
434
|
-
module Field
|
435
|
-
extend Orb::Internal::Type::Enum
|
436
|
-
|
437
|
-
PRICE_ID: :price_id
|
438
|
-
ITEM_ID: :item_id
|
439
|
-
PRICE_TYPE: :price_type
|
440
|
-
CURRENCY: :currency
|
441
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
442
|
-
|
443
|
-
def self?.values: -> ::Array[Orb::Models::Plan::Adjustment::PercentageDiscount::Filter::field]
|
444
|
-
end
|
445
|
-
|
446
|
-
type operator = :includes | :excludes
|
447
|
-
|
448
|
-
module Operator
|
449
|
-
extend Orb::Internal::Type::Enum
|
450
|
-
|
451
|
-
INCLUDES: :includes
|
452
|
-
EXCLUDES: :excludes
|
453
|
-
|
454
|
-
def self?.values: -> ::Array[Orb::Models::Plan::Adjustment::PercentageDiscount::Filter::operator]
|
455
|
-
end
|
456
|
-
end
|
457
|
-
end
|
458
|
-
|
459
|
-
type minimum =
|
460
|
-
{
|
461
|
-
id: String,
|
462
|
-
adjustment_type: :minimum,
|
463
|
-
applies_to_price_ids: ::Array[String],
|
464
|
-
filters: ::Array[Orb::Plan::Adjustment::Minimum::Filter],
|
465
|
-
is_invoice_level: bool,
|
466
|
-
item_id: String,
|
467
|
-
minimum_amount: String,
|
468
|
-
plan_phase_order: Integer?,
|
469
|
-
reason: String?
|
470
|
-
}
|
471
|
-
|
472
|
-
class Minimum < Orb::Internal::Type::BaseModel
|
473
|
-
attr_accessor id: String
|
474
|
-
|
475
|
-
attr_accessor adjustment_type: :minimum
|
476
|
-
|
477
|
-
attr_accessor applies_to_price_ids: ::Array[String]
|
478
|
-
|
479
|
-
attr_accessor filters: ::Array[Orb::Plan::Adjustment::Minimum::Filter]
|
480
|
-
|
481
|
-
attr_accessor is_invoice_level: bool
|
482
|
-
|
483
|
-
attr_accessor item_id: String
|
484
|
-
|
485
|
-
attr_accessor minimum_amount: String
|
486
|
-
|
487
|
-
attr_accessor plan_phase_order: Integer?
|
488
|
-
|
489
|
-
attr_accessor reason: String?
|
490
|
-
|
491
|
-
def initialize: (
|
492
|
-
id: String,
|
493
|
-
applies_to_price_ids: ::Array[String],
|
494
|
-
filters: ::Array[Orb::Plan::Adjustment::Minimum::Filter],
|
495
|
-
is_invoice_level: bool,
|
496
|
-
item_id: String,
|
497
|
-
minimum_amount: String,
|
498
|
-
plan_phase_order: Integer?,
|
499
|
-
reason: String?,
|
500
|
-
?adjustment_type: :minimum
|
501
|
-
) -> void
|
502
|
-
|
503
|
-
def to_hash: -> {
|
504
|
-
id: String,
|
505
|
-
adjustment_type: :minimum,
|
506
|
-
applies_to_price_ids: ::Array[String],
|
507
|
-
filters: ::Array[Orb::Plan::Adjustment::Minimum::Filter],
|
508
|
-
is_invoice_level: bool,
|
509
|
-
item_id: String,
|
510
|
-
minimum_amount: String,
|
511
|
-
plan_phase_order: Integer?,
|
512
|
-
reason: String?
|
513
|
-
}
|
514
|
-
|
515
|
-
type filter =
|
516
|
-
{
|
517
|
-
field: Orb::Models::Plan::Adjustment::Minimum::Filter::field,
|
518
|
-
operator: Orb::Models::Plan::Adjustment::Minimum::Filter::operator,
|
519
|
-
values: ::Array[String]
|
520
|
-
}
|
521
|
-
|
522
|
-
class Filter < Orb::Internal::Type::BaseModel
|
523
|
-
attr_accessor field: Orb::Models::Plan::Adjustment::Minimum::Filter::field
|
524
|
-
|
525
|
-
attr_accessor operator: Orb::Models::Plan::Adjustment::Minimum::Filter::operator
|
526
|
-
|
527
|
-
attr_accessor values: ::Array[String]
|
528
|
-
|
529
|
-
def initialize: (
|
530
|
-
field: Orb::Models::Plan::Adjustment::Minimum::Filter::field,
|
531
|
-
operator: Orb::Models::Plan::Adjustment::Minimum::Filter::operator,
|
532
|
-
values: ::Array[String]
|
533
|
-
) -> void
|
534
|
-
|
535
|
-
def to_hash: -> {
|
536
|
-
field: Orb::Models::Plan::Adjustment::Minimum::Filter::field,
|
537
|
-
operator: Orb::Models::Plan::Adjustment::Minimum::Filter::operator,
|
538
|
-
values: ::Array[String]
|
539
|
-
}
|
540
|
-
|
541
|
-
type field =
|
542
|
-
:price_id | :item_id | :price_type | :currency | :pricing_unit_id
|
543
|
-
|
544
|
-
module Field
|
545
|
-
extend Orb::Internal::Type::Enum
|
546
|
-
|
547
|
-
PRICE_ID: :price_id
|
548
|
-
ITEM_ID: :item_id
|
549
|
-
PRICE_TYPE: :price_type
|
550
|
-
CURRENCY: :currency
|
551
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
552
|
-
|
553
|
-
def self?.values: -> ::Array[Orb::Models::Plan::Adjustment::Minimum::Filter::field]
|
554
|
-
end
|
555
|
-
|
556
|
-
type operator = :includes | :excludes
|
557
|
-
|
558
|
-
module Operator
|
559
|
-
extend Orb::Internal::Type::Enum
|
560
|
-
|
561
|
-
INCLUDES: :includes
|
562
|
-
EXCLUDES: :excludes
|
563
|
-
|
564
|
-
def self?.values: -> ::Array[Orb::Models::Plan::Adjustment::Minimum::Filter::operator]
|
565
|
-
end
|
566
|
-
end
|
567
|
-
end
|
568
|
-
|
569
|
-
type maximum =
|
570
|
-
{
|
571
|
-
id: String,
|
572
|
-
adjustment_type: :maximum,
|
573
|
-
applies_to_price_ids: ::Array[String],
|
574
|
-
filters: ::Array[Orb::Plan::Adjustment::Maximum::Filter],
|
575
|
-
is_invoice_level: bool,
|
576
|
-
maximum_amount: String,
|
577
|
-
plan_phase_order: Integer?,
|
578
|
-
reason: String?
|
579
|
-
}
|
580
|
-
|
581
|
-
class Maximum < Orb::Internal::Type::BaseModel
|
582
|
-
attr_accessor id: String
|
583
|
-
|
584
|
-
attr_accessor adjustment_type: :maximum
|
585
|
-
|
586
|
-
attr_accessor applies_to_price_ids: ::Array[String]
|
587
|
-
|
588
|
-
attr_accessor filters: ::Array[Orb::Plan::Adjustment::Maximum::Filter]
|
589
|
-
|
590
|
-
attr_accessor is_invoice_level: bool
|
591
|
-
|
592
|
-
attr_accessor maximum_amount: String
|
593
|
-
|
594
|
-
attr_accessor plan_phase_order: Integer?
|
595
|
-
|
596
|
-
attr_accessor reason: String?
|
597
|
-
|
598
|
-
def initialize: (
|
599
|
-
id: String,
|
600
|
-
applies_to_price_ids: ::Array[String],
|
601
|
-
filters: ::Array[Orb::Plan::Adjustment::Maximum::Filter],
|
602
|
-
is_invoice_level: bool,
|
603
|
-
maximum_amount: String,
|
604
|
-
plan_phase_order: Integer?,
|
605
|
-
reason: String?,
|
606
|
-
?adjustment_type: :maximum
|
607
|
-
) -> void
|
608
|
-
|
609
|
-
def to_hash: -> {
|
610
|
-
id: String,
|
611
|
-
adjustment_type: :maximum,
|
612
|
-
applies_to_price_ids: ::Array[String],
|
613
|
-
filters: ::Array[Orb::Plan::Adjustment::Maximum::Filter],
|
614
|
-
is_invoice_level: bool,
|
615
|
-
maximum_amount: String,
|
616
|
-
plan_phase_order: Integer?,
|
617
|
-
reason: String?
|
618
|
-
}
|
619
|
-
|
620
|
-
type filter =
|
621
|
-
{
|
622
|
-
field: Orb::Models::Plan::Adjustment::Maximum::Filter::field,
|
623
|
-
operator: Orb::Models::Plan::Adjustment::Maximum::Filter::operator,
|
624
|
-
values: ::Array[String]
|
625
|
-
}
|
626
|
-
|
627
|
-
class Filter < Orb::Internal::Type::BaseModel
|
628
|
-
attr_accessor field: Orb::Models::Plan::Adjustment::Maximum::Filter::field
|
629
|
-
|
630
|
-
attr_accessor operator: Orb::Models::Plan::Adjustment::Maximum::Filter::operator
|
631
|
-
|
632
|
-
attr_accessor values: ::Array[String]
|
633
|
-
|
634
|
-
def initialize: (
|
635
|
-
field: Orb::Models::Plan::Adjustment::Maximum::Filter::field,
|
636
|
-
operator: Orb::Models::Plan::Adjustment::Maximum::Filter::operator,
|
637
|
-
values: ::Array[String]
|
638
|
-
) -> void
|
639
|
-
|
640
|
-
def to_hash: -> {
|
641
|
-
field: Orb::Models::Plan::Adjustment::Maximum::Filter::field,
|
642
|
-
operator: Orb::Models::Plan::Adjustment::Maximum::Filter::operator,
|
643
|
-
values: ::Array[String]
|
644
|
-
}
|
645
|
-
|
646
|
-
type field =
|
647
|
-
:price_id | :item_id | :price_type | :currency | :pricing_unit_id
|
648
|
-
|
649
|
-
module Field
|
650
|
-
extend Orb::Internal::Type::Enum
|
651
|
-
|
652
|
-
PRICE_ID: :price_id
|
653
|
-
ITEM_ID: :item_id
|
654
|
-
PRICE_TYPE: :price_type
|
655
|
-
CURRENCY: :currency
|
656
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
657
|
-
|
658
|
-
def self?.values: -> ::Array[Orb::Models::Plan::Adjustment::Maximum::Filter::field]
|
659
|
-
end
|
660
|
-
|
661
|
-
type operator = :includes | :excludes
|
662
|
-
|
663
|
-
module Operator
|
664
|
-
extend Orb::Internal::Type::Enum
|
665
|
-
|
666
|
-
INCLUDES: :includes
|
667
|
-
EXCLUDES: :excludes
|
668
|
-
|
669
|
-
def self?.values: -> ::Array[Orb::Models::Plan::Adjustment::Maximum::Filter::operator]
|
670
|
-
end
|
671
|
-
end
|
672
|
-
end
|
673
|
-
|
674
144
|
def self?.variants: -> ::Array[Orb::Models::Plan::adjustment]
|
675
145
|
end
|
676
146
|
|
@@ -696,166 +166,6 @@ module Orb
|
|
696
166
|
}
|
697
167
|
end
|
698
168
|
|
699
|
-
type maximum =
|
700
|
-
{
|
701
|
-
applies_to_price_ids: ::Array[String],
|
702
|
-
filters: ::Array[Orb::Plan::Maximum::Filter],
|
703
|
-
maximum_amount: String
|
704
|
-
}
|
705
|
-
|
706
|
-
class Maximum < Orb::Internal::Type::BaseModel
|
707
|
-
attr_accessor applies_to_price_ids: ::Array[String]
|
708
|
-
|
709
|
-
attr_accessor filters: ::Array[Orb::Plan::Maximum::Filter]
|
710
|
-
|
711
|
-
attr_accessor maximum_amount: String
|
712
|
-
|
713
|
-
def initialize: (
|
714
|
-
applies_to_price_ids: ::Array[String],
|
715
|
-
filters: ::Array[Orb::Plan::Maximum::Filter],
|
716
|
-
maximum_amount: String
|
717
|
-
) -> void
|
718
|
-
|
719
|
-
def to_hash: -> {
|
720
|
-
applies_to_price_ids: ::Array[String],
|
721
|
-
filters: ::Array[Orb::Plan::Maximum::Filter],
|
722
|
-
maximum_amount: String
|
723
|
-
}
|
724
|
-
|
725
|
-
type filter =
|
726
|
-
{
|
727
|
-
field: Orb::Models::Plan::Maximum::Filter::field,
|
728
|
-
operator: Orb::Models::Plan::Maximum::Filter::operator,
|
729
|
-
values: ::Array[String]
|
730
|
-
}
|
731
|
-
|
732
|
-
class Filter < Orb::Internal::Type::BaseModel
|
733
|
-
attr_accessor field: Orb::Models::Plan::Maximum::Filter::field
|
734
|
-
|
735
|
-
attr_accessor operator: Orb::Models::Plan::Maximum::Filter::operator
|
736
|
-
|
737
|
-
attr_accessor values: ::Array[String]
|
738
|
-
|
739
|
-
def initialize: (
|
740
|
-
field: Orb::Models::Plan::Maximum::Filter::field,
|
741
|
-
operator: Orb::Models::Plan::Maximum::Filter::operator,
|
742
|
-
values: ::Array[String]
|
743
|
-
) -> void
|
744
|
-
|
745
|
-
def to_hash: -> {
|
746
|
-
field: Orb::Models::Plan::Maximum::Filter::field,
|
747
|
-
operator: Orb::Models::Plan::Maximum::Filter::operator,
|
748
|
-
values: ::Array[String]
|
749
|
-
}
|
750
|
-
|
751
|
-
type field =
|
752
|
-
:price_id | :item_id | :price_type | :currency | :pricing_unit_id
|
753
|
-
|
754
|
-
module Field
|
755
|
-
extend Orb::Internal::Type::Enum
|
756
|
-
|
757
|
-
PRICE_ID: :price_id
|
758
|
-
ITEM_ID: :item_id
|
759
|
-
PRICE_TYPE: :price_type
|
760
|
-
CURRENCY: :currency
|
761
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
762
|
-
|
763
|
-
def self?.values: -> ::Array[Orb::Models::Plan::Maximum::Filter::field]
|
764
|
-
end
|
765
|
-
|
766
|
-
type operator = :includes | :excludes
|
767
|
-
|
768
|
-
module Operator
|
769
|
-
extend Orb::Internal::Type::Enum
|
770
|
-
|
771
|
-
INCLUDES: :includes
|
772
|
-
EXCLUDES: :excludes
|
773
|
-
|
774
|
-
def self?.values: -> ::Array[Orb::Models::Plan::Maximum::Filter::operator]
|
775
|
-
end
|
776
|
-
end
|
777
|
-
end
|
778
|
-
|
779
|
-
type minimum =
|
780
|
-
{
|
781
|
-
applies_to_price_ids: ::Array[String],
|
782
|
-
filters: ::Array[Orb::Plan::Minimum::Filter],
|
783
|
-
minimum_amount: String
|
784
|
-
}
|
785
|
-
|
786
|
-
class Minimum < Orb::Internal::Type::BaseModel
|
787
|
-
attr_accessor applies_to_price_ids: ::Array[String]
|
788
|
-
|
789
|
-
attr_accessor filters: ::Array[Orb::Plan::Minimum::Filter]
|
790
|
-
|
791
|
-
attr_accessor minimum_amount: String
|
792
|
-
|
793
|
-
def initialize: (
|
794
|
-
applies_to_price_ids: ::Array[String],
|
795
|
-
filters: ::Array[Orb::Plan::Minimum::Filter],
|
796
|
-
minimum_amount: String
|
797
|
-
) -> void
|
798
|
-
|
799
|
-
def to_hash: -> {
|
800
|
-
applies_to_price_ids: ::Array[String],
|
801
|
-
filters: ::Array[Orb::Plan::Minimum::Filter],
|
802
|
-
minimum_amount: String
|
803
|
-
}
|
804
|
-
|
805
|
-
type filter =
|
806
|
-
{
|
807
|
-
field: Orb::Models::Plan::Minimum::Filter::field,
|
808
|
-
operator: Orb::Models::Plan::Minimum::Filter::operator,
|
809
|
-
values: ::Array[String]
|
810
|
-
}
|
811
|
-
|
812
|
-
class Filter < Orb::Internal::Type::BaseModel
|
813
|
-
attr_accessor field: Orb::Models::Plan::Minimum::Filter::field
|
814
|
-
|
815
|
-
attr_accessor operator: Orb::Models::Plan::Minimum::Filter::operator
|
816
|
-
|
817
|
-
attr_accessor values: ::Array[String]
|
818
|
-
|
819
|
-
def initialize: (
|
820
|
-
field: Orb::Models::Plan::Minimum::Filter::field,
|
821
|
-
operator: Orb::Models::Plan::Minimum::Filter::operator,
|
822
|
-
values: ::Array[String]
|
823
|
-
) -> void
|
824
|
-
|
825
|
-
def to_hash: -> {
|
826
|
-
field: Orb::Models::Plan::Minimum::Filter::field,
|
827
|
-
operator: Orb::Models::Plan::Minimum::Filter::operator,
|
828
|
-
values: ::Array[String]
|
829
|
-
}
|
830
|
-
|
831
|
-
type field =
|
832
|
-
:price_id | :item_id | :price_type | :currency | :pricing_unit_id
|
833
|
-
|
834
|
-
module Field
|
835
|
-
extend Orb::Internal::Type::Enum
|
836
|
-
|
837
|
-
PRICE_ID: :price_id
|
838
|
-
ITEM_ID: :item_id
|
839
|
-
PRICE_TYPE: :price_type
|
840
|
-
CURRENCY: :currency
|
841
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
842
|
-
|
843
|
-
def self?.values: -> ::Array[Orb::Models::Plan::Minimum::Filter::field]
|
844
|
-
end
|
845
|
-
|
846
|
-
type operator = :includes | :excludes
|
847
|
-
|
848
|
-
module Operator
|
849
|
-
extend Orb::Internal::Type::Enum
|
850
|
-
|
851
|
-
INCLUDES: :includes
|
852
|
-
EXCLUDES: :excludes
|
853
|
-
|
854
|
-
def self?.values: -> ::Array[Orb::Models::Plan::Minimum::Filter::operator]
|
855
|
-
end
|
856
|
-
end
|
857
|
-
end
|
858
|
-
|
859
169
|
type plan_phase =
|
860
170
|
{
|
861
171
|
id: String,
|
@@ -863,9 +173,9 @@ module Orb
|
|
863
173
|
discount: Orb::Models::discount?,
|
864
174
|
duration: Integer?,
|
865
175
|
duration_unit: Orb::Models::Plan::PlanPhase::duration_unit?,
|
866
|
-
maximum: Orb::
|
176
|
+
maximum: Orb::Maximum?,
|
867
177
|
maximum_amount: String?,
|
868
|
-
minimum: Orb::
|
178
|
+
minimum: Orb::Minimum?,
|
869
179
|
minimum_amount: String?,
|
870
180
|
name: String,
|
871
181
|
order: Integer
|
@@ -882,11 +192,11 @@ module Orb
|
|
882
192
|
|
883
193
|
attr_accessor duration_unit: Orb::Models::Plan::PlanPhase::duration_unit?
|
884
194
|
|
885
|
-
attr_accessor maximum: Orb::
|
195
|
+
attr_accessor maximum: Orb::Maximum?
|
886
196
|
|
887
197
|
attr_accessor maximum_amount: String?
|
888
198
|
|
889
|
-
attr_accessor minimum: Orb::
|
199
|
+
attr_accessor minimum: Orb::Minimum?
|
890
200
|
|
891
201
|
attr_accessor minimum_amount: String?
|
892
202
|
|
@@ -900,9 +210,9 @@ module Orb
|
|
900
210
|
discount: Orb::Models::discount?,
|
901
211
|
duration: Integer?,
|
902
212
|
duration_unit: Orb::Models::Plan::PlanPhase::duration_unit?,
|
903
|
-
maximum: Orb::
|
213
|
+
maximum: Orb::Maximum?,
|
904
214
|
maximum_amount: String?,
|
905
|
-
minimum: Orb::
|
215
|
+
minimum: Orb::Minimum?,
|
906
216
|
minimum_amount: String?,
|
907
217
|
name: String,
|
908
218
|
order: Integer
|
@@ -914,9 +224,9 @@ module Orb
|
|
914
224
|
discount: Orb::Models::discount?,
|
915
225
|
duration: Integer?,
|
916
226
|
duration_unit: Orb::Models::Plan::PlanPhase::duration_unit?,
|
917
|
-
maximum: Orb::
|
227
|
+
maximum: Orb::Maximum?,
|
918
228
|
maximum_amount: String?,
|
919
|
-
minimum: Orb::
|
229
|
+
minimum: Orb::Minimum?,
|
920
230
|
minimum_amount: String?,
|
921
231
|
name: String,
|
922
232
|
order: Integer
|
@@ -936,166 +246,6 @@ module Orb
|
|
936
246
|
|
937
247
|
def self?.values: -> ::Array[Orb::Models::Plan::PlanPhase::duration_unit]
|
938
248
|
end
|
939
|
-
|
940
|
-
type maximum =
|
941
|
-
{
|
942
|
-
applies_to_price_ids: ::Array[String],
|
943
|
-
filters: ::Array[Orb::Plan::PlanPhase::Maximum::Filter],
|
944
|
-
maximum_amount: String
|
945
|
-
}
|
946
|
-
|
947
|
-
class Maximum < Orb::Internal::Type::BaseModel
|
948
|
-
attr_accessor applies_to_price_ids: ::Array[String]
|
949
|
-
|
950
|
-
attr_accessor filters: ::Array[Orb::Plan::PlanPhase::Maximum::Filter]
|
951
|
-
|
952
|
-
attr_accessor maximum_amount: String
|
953
|
-
|
954
|
-
def initialize: (
|
955
|
-
applies_to_price_ids: ::Array[String],
|
956
|
-
filters: ::Array[Orb::Plan::PlanPhase::Maximum::Filter],
|
957
|
-
maximum_amount: String
|
958
|
-
) -> void
|
959
|
-
|
960
|
-
def to_hash: -> {
|
961
|
-
applies_to_price_ids: ::Array[String],
|
962
|
-
filters: ::Array[Orb::Plan::PlanPhase::Maximum::Filter],
|
963
|
-
maximum_amount: String
|
964
|
-
}
|
965
|
-
|
966
|
-
type filter =
|
967
|
-
{
|
968
|
-
field: Orb::Models::Plan::PlanPhase::Maximum::Filter::field,
|
969
|
-
operator: Orb::Models::Plan::PlanPhase::Maximum::Filter::operator,
|
970
|
-
values: ::Array[String]
|
971
|
-
}
|
972
|
-
|
973
|
-
class Filter < Orb::Internal::Type::BaseModel
|
974
|
-
attr_accessor field: Orb::Models::Plan::PlanPhase::Maximum::Filter::field
|
975
|
-
|
976
|
-
attr_accessor operator: Orb::Models::Plan::PlanPhase::Maximum::Filter::operator
|
977
|
-
|
978
|
-
attr_accessor values: ::Array[String]
|
979
|
-
|
980
|
-
def initialize: (
|
981
|
-
field: Orb::Models::Plan::PlanPhase::Maximum::Filter::field,
|
982
|
-
operator: Orb::Models::Plan::PlanPhase::Maximum::Filter::operator,
|
983
|
-
values: ::Array[String]
|
984
|
-
) -> void
|
985
|
-
|
986
|
-
def to_hash: -> {
|
987
|
-
field: Orb::Models::Plan::PlanPhase::Maximum::Filter::field,
|
988
|
-
operator: Orb::Models::Plan::PlanPhase::Maximum::Filter::operator,
|
989
|
-
values: ::Array[String]
|
990
|
-
}
|
991
|
-
|
992
|
-
type field =
|
993
|
-
:price_id | :item_id | :price_type | :currency | :pricing_unit_id
|
994
|
-
|
995
|
-
module Field
|
996
|
-
extend Orb::Internal::Type::Enum
|
997
|
-
|
998
|
-
PRICE_ID: :price_id
|
999
|
-
ITEM_ID: :item_id
|
1000
|
-
PRICE_TYPE: :price_type
|
1001
|
-
CURRENCY: :currency
|
1002
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
1003
|
-
|
1004
|
-
def self?.values: -> ::Array[Orb::Models::Plan::PlanPhase::Maximum::Filter::field]
|
1005
|
-
end
|
1006
|
-
|
1007
|
-
type operator = :includes | :excludes
|
1008
|
-
|
1009
|
-
module Operator
|
1010
|
-
extend Orb::Internal::Type::Enum
|
1011
|
-
|
1012
|
-
INCLUDES: :includes
|
1013
|
-
EXCLUDES: :excludes
|
1014
|
-
|
1015
|
-
def self?.values: -> ::Array[Orb::Models::Plan::PlanPhase::Maximum::Filter::operator]
|
1016
|
-
end
|
1017
|
-
end
|
1018
|
-
end
|
1019
|
-
|
1020
|
-
type minimum =
|
1021
|
-
{
|
1022
|
-
applies_to_price_ids: ::Array[String],
|
1023
|
-
filters: ::Array[Orb::Plan::PlanPhase::Minimum::Filter],
|
1024
|
-
minimum_amount: String
|
1025
|
-
}
|
1026
|
-
|
1027
|
-
class Minimum < Orb::Internal::Type::BaseModel
|
1028
|
-
attr_accessor applies_to_price_ids: ::Array[String]
|
1029
|
-
|
1030
|
-
attr_accessor filters: ::Array[Orb::Plan::PlanPhase::Minimum::Filter]
|
1031
|
-
|
1032
|
-
attr_accessor minimum_amount: String
|
1033
|
-
|
1034
|
-
def initialize: (
|
1035
|
-
applies_to_price_ids: ::Array[String],
|
1036
|
-
filters: ::Array[Orb::Plan::PlanPhase::Minimum::Filter],
|
1037
|
-
minimum_amount: String
|
1038
|
-
) -> void
|
1039
|
-
|
1040
|
-
def to_hash: -> {
|
1041
|
-
applies_to_price_ids: ::Array[String],
|
1042
|
-
filters: ::Array[Orb::Plan::PlanPhase::Minimum::Filter],
|
1043
|
-
minimum_amount: String
|
1044
|
-
}
|
1045
|
-
|
1046
|
-
type filter =
|
1047
|
-
{
|
1048
|
-
field: Orb::Models::Plan::PlanPhase::Minimum::Filter::field,
|
1049
|
-
operator: Orb::Models::Plan::PlanPhase::Minimum::Filter::operator,
|
1050
|
-
values: ::Array[String]
|
1051
|
-
}
|
1052
|
-
|
1053
|
-
class Filter < Orb::Internal::Type::BaseModel
|
1054
|
-
attr_accessor field: Orb::Models::Plan::PlanPhase::Minimum::Filter::field
|
1055
|
-
|
1056
|
-
attr_accessor operator: Orb::Models::Plan::PlanPhase::Minimum::Filter::operator
|
1057
|
-
|
1058
|
-
attr_accessor values: ::Array[String]
|
1059
|
-
|
1060
|
-
def initialize: (
|
1061
|
-
field: Orb::Models::Plan::PlanPhase::Minimum::Filter::field,
|
1062
|
-
operator: Orb::Models::Plan::PlanPhase::Minimum::Filter::operator,
|
1063
|
-
values: ::Array[String]
|
1064
|
-
) -> void
|
1065
|
-
|
1066
|
-
def to_hash: -> {
|
1067
|
-
field: Orb::Models::Plan::PlanPhase::Minimum::Filter::field,
|
1068
|
-
operator: Orb::Models::Plan::PlanPhase::Minimum::Filter::operator,
|
1069
|
-
values: ::Array[String]
|
1070
|
-
}
|
1071
|
-
|
1072
|
-
type field =
|
1073
|
-
:price_id | :item_id | :price_type | :currency | :pricing_unit_id
|
1074
|
-
|
1075
|
-
module Field
|
1076
|
-
extend Orb::Internal::Type::Enum
|
1077
|
-
|
1078
|
-
PRICE_ID: :price_id
|
1079
|
-
ITEM_ID: :item_id
|
1080
|
-
PRICE_TYPE: :price_type
|
1081
|
-
CURRENCY: :currency
|
1082
|
-
PRICING_UNIT_ID: :pricing_unit_id
|
1083
|
-
|
1084
|
-
def self?.values: -> ::Array[Orb::Models::Plan::PlanPhase::Minimum::Filter::field]
|
1085
|
-
end
|
1086
|
-
|
1087
|
-
type operator = :includes | :excludes
|
1088
|
-
|
1089
|
-
module Operator
|
1090
|
-
extend Orb::Internal::Type::Enum
|
1091
|
-
|
1092
|
-
INCLUDES: :includes
|
1093
|
-
EXCLUDES: :excludes
|
1094
|
-
|
1095
|
-
def self?.values: -> ::Array[Orb::Models::Plan::PlanPhase::Minimum::Filter::operator]
|
1096
|
-
end
|
1097
|
-
end
|
1098
|
-
end
|
1099
249
|
end
|
1100
250
|
|
1101
251
|
type product = { id: String, created_at: Time, name: String }
|