orb-billing 1.14.0 → 1.15.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 +12 -0
- data/lib/orb/client.rb +14 -0
- data/lib/orb/internal/transport/base_client.rb +5 -0
- data/lib/orb/internal/type/union.rb +13 -27
- data/lib/orb/models/accounting_provider_config.rb +14 -3
- data/lib/orb/models/adjustment_interval.rb +185 -3
- data/lib/orb/models/alert.rb +105 -1
- data/lib/orb/models/alert_create_for_subscription_params.rb +120 -7
- data/lib/orb/models/alert_update_params.rb +113 -1
- data/lib/orb/models/beta/external_plan_id_create_plan_version_params.rb +2419 -17109
- data/lib/orb/models/beta_create_plan_version_params.rb +2361 -16947
- data/lib/orb/models/changed_subscription_resources.rb +200 -10
- data/lib/orb/models/conversion_rate_config.rb +18 -0
- data/lib/orb/models/credit_block_list_invoices_response.rb +155 -1
- data/lib/orb/models/credit_block_retrieve_response.rb +150 -1
- data/lib/orb/models/customer.rb +111 -4
- data/lib/orb/models/customer_create_params.rb +6 -1
- data/lib/orb/models/customer_tax_id.rb +15 -1
- data/lib/orb/models/customer_update_by_external_id_params.rb +16 -2
- data/lib/orb/models/customer_update_params.rb +16 -2
- data/lib/orb/models/customers/credit_list_by_external_id_response.rb +155 -1
- data/lib/orb/models/customers/credit_list_response.rb +152 -1
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb +4 -4
- data/lib/orb/models/customers/credits/ledger_create_entry_params.rb +4 -4
- data/lib/orb/models/dimensional_price_group.rb +1 -1
- data/lib/orb/models/discount.rb +145 -1
- data/lib/orb/models/event_ingest_params.rb +5 -2
- data/lib/orb/models/invoice.rb +198 -10
- data/lib/orb/models/invoice_create_params.rb +6 -5
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +200 -10
- data/lib/orb/models/invoice_issue_summary_response.rb +9 -3
- data/lib/orb/models/invoice_level_discount.rb +145 -1
- data/lib/orb/models/invoice_line_item_create_response.rb +189 -5
- data/lib/orb/models/invoice_list_summary_response.rb +9 -3
- data/lib/orb/models/licenses/external_license_get_usage_params.rb +3 -3
- data/lib/orb/models/licenses/usage_get_all_usage_params.rb +3 -3
- data/lib/orb/models/licenses/usage_get_usage_params.rb +3 -3
- data/lib/orb/models/mutated_subscription.rb +169 -4
- data/lib/orb/models/new_allocation_price.rb +11 -1
- data/lib/orb/models/new_floating_bulk_price.rb +1 -3
- data/lib/orb/models/new_floating_bulk_with_proration_price.rb +1 -3
- data/lib/orb/models/new_floating_cumulative_grouped_bulk_price.rb +1 -3
- data/lib/orb/models/new_floating_grouped_allocation_price.rb +1 -3
- data/lib/orb/models/new_floating_grouped_tiered_package_price.rb +1 -3
- data/lib/orb/models/new_floating_grouped_tiered_price.rb +1 -3
- data/lib/orb/models/new_floating_grouped_with_metered_minimum_price.rb +1 -3
- data/lib/orb/models/new_floating_grouped_with_prorated_minimum_price.rb +1 -3
- data/lib/orb/models/new_floating_matrix_price.rb +1 -3
- data/lib/orb/models/new_floating_matrix_with_allocation_price.rb +1 -3
- data/lib/orb/models/new_floating_matrix_with_display_name_price.rb +1 -3
- data/lib/orb/models/new_floating_max_group_tiered_package_price.rb +1 -3
- data/lib/orb/models/new_floating_minimum_composite_price.rb +1 -3
- data/lib/orb/models/new_floating_package_price.rb +1 -3
- data/lib/orb/models/new_floating_package_with_allocation_price.rb +1 -3
- data/lib/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rb +1 -3
- data/lib/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rb +1 -3
- data/lib/orb/models/new_floating_threshold_total_amount_price.rb +1 -3
- data/lib/orb/models/new_floating_tiered_package_price.rb +1 -3
- data/lib/orb/models/new_floating_tiered_package_with_minimum_price.rb +1 -3
- data/lib/orb/models/new_floating_tiered_price.rb +1 -3
- data/lib/orb/models/new_floating_tiered_with_minimum_price.rb +1 -3
- data/lib/orb/models/new_floating_tiered_with_proration_price.rb +1 -3
- data/lib/orb/models/new_floating_unit_price.rb +1 -3
- data/lib/orb/models/new_floating_unit_with_percent_price.rb +1 -3
- data/lib/orb/models/new_floating_unit_with_proration_price.rb +1 -3
- data/lib/orb/models/new_plan_bulk_price.rb +1 -1
- data/lib/orb/models/new_plan_bulk_with_proration_price.rb +1 -3
- data/lib/orb/models/new_plan_cumulative_grouped_bulk_price.rb +1 -3
- data/lib/orb/models/new_plan_grouped_allocation_price.rb +1 -3
- data/lib/orb/models/new_plan_grouped_tiered_package_price.rb +1 -3
- data/lib/orb/models/new_plan_grouped_tiered_price.rb +1 -3
- data/lib/orb/models/new_plan_grouped_with_metered_minimum_price.rb +1 -3
- data/lib/orb/models/new_plan_grouped_with_prorated_minimum_price.rb +1 -3
- data/lib/orb/models/new_plan_matrix_price.rb +1 -5
- data/lib/orb/models/new_plan_matrix_with_allocation_price.rb +1 -3
- data/lib/orb/models/new_plan_matrix_with_display_name_price.rb +1 -3
- data/lib/orb/models/new_plan_max_group_tiered_package_price.rb +1 -3
- data/lib/orb/models/new_plan_minimum_composite_price.rb +1 -3
- data/lib/orb/models/new_plan_package_price.rb +1 -5
- data/lib/orb/models/new_plan_package_with_allocation_price.rb +1 -3
- data/lib/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rb +1 -3
- data/lib/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rb +1 -3
- data/lib/orb/models/new_plan_threshold_total_amount_price.rb +1 -3
- data/lib/orb/models/new_plan_tiered_package_price.rb +1 -3
- data/lib/orb/models/new_plan_tiered_package_with_minimum_price.rb +1 -3
- data/lib/orb/models/new_plan_tiered_price.rb +1 -5
- data/lib/orb/models/new_plan_tiered_with_minimum_price.rb +1 -3
- data/lib/orb/models/new_plan_unit_price.rb +1 -1
- data/lib/orb/models/new_plan_unit_with_percent_price.rb +1 -3
- data/lib/orb/models/new_plan_unit_with_proration_price.rb +1 -3
- data/lib/orb/models/new_subscription_bulk_price.rb +1 -3
- data/lib/orb/models/new_subscription_bulk_with_proration_price.rb +1 -3
- data/lib/orb/models/new_subscription_cumulative_grouped_bulk_price.rb +1 -3
- data/lib/orb/models/new_subscription_grouped_allocation_price.rb +1 -3
- data/lib/orb/models/new_subscription_grouped_tiered_package_price.rb +1 -3
- data/lib/orb/models/new_subscription_grouped_tiered_price.rb +1 -3
- data/lib/orb/models/new_subscription_grouped_with_metered_minimum_price.rb +1 -3
- data/lib/orb/models/new_subscription_grouped_with_prorated_minimum_price.rb +1 -3
- data/lib/orb/models/new_subscription_matrix_price.rb +1 -3
- data/lib/orb/models/new_subscription_matrix_with_allocation_price.rb +1 -3
- data/lib/orb/models/new_subscription_matrix_with_display_name_price.rb +1 -3
- data/lib/orb/models/new_subscription_max_group_tiered_package_price.rb +1 -3
- data/lib/orb/models/new_subscription_minimum_composite_price.rb +1 -3
- data/lib/orb/models/new_subscription_package_price.rb +1 -3
- data/lib/orb/models/new_subscription_package_with_allocation_price.rb +1 -3
- data/lib/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rb +1 -3
- data/lib/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rb +1 -3
- data/lib/orb/models/new_subscription_threshold_total_amount_price.rb +1 -3
- data/lib/orb/models/new_subscription_tiered_package_price.rb +1 -3
- data/lib/orb/models/new_subscription_tiered_package_with_minimum_price.rb +1 -3
- data/lib/orb/models/new_subscription_tiered_price.rb +1 -3
- data/lib/orb/models/new_subscription_tiered_with_minimum_price.rb +1 -3
- data/lib/orb/models/new_subscription_unit_price.rb +1 -3
- data/lib/orb/models/new_subscription_unit_with_percent_price.rb +1 -3
- data/lib/orb/models/new_subscription_unit_with_proration_price.rb +1 -3
- data/lib/orb/models/per_price_cost.rb +2 -2
- data/lib/orb/models/plan.rb +189 -9
- data/lib/orb/models/plan_create_params.rb +1047 -8228
- data/lib/orb/models/plan_update_params.rb +9 -1
- data/lib/orb/models/plan_version.rb +186 -5
- data/lib/orb/models/plans/external_plan_id_update_params.rb +9 -1
- data/lib/orb/models/plans/migration_cancel_response.rb +22 -4
- data/lib/orb/models/plans/migration_list_response.rb +22 -4
- data/lib/orb/models/plans/migration_retrieve_response.rb +22 -4
- data/lib/orb/models/price.rb +2614 -1268
- data/lib/orb/models/price_create_params.rb +866 -49
- data/lib/orb/models/price_evaluate_multiple_params.rb +889 -54
- data/lib/orb/models/price_evaluate_preview_events_params.rb +881 -46
- data/lib/orb/models/price_interval.rb +2 -2
- data/lib/orb/models/subscription.rb +168 -4
- data/lib/orb/models/subscription_create_params.rb +2818 -674
- data/lib/orb/models/subscription_price_intervals_params.rb +1098 -57
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +2834 -687
- data/lib/orb/models/subscription_update_params.rb +12 -1
- data/lib/orb/models.rb +2 -0
- data/lib/orb/resources/alerts.rb +14 -3
- data/lib/orb/resources/customers/credits/ledger.rb +28 -14
- data/lib/orb/resources/customers.rb +6 -2
- data/lib/orb/resources/events.rb +7 -34
- data/lib/orb/resources/invoices.rb +6 -2
- data/lib/orb/resources/licenses/external_licenses.rb +1 -1
- data/lib/orb/resources/licenses/usage.rb +2 -2
- data/lib/orb/resources/metrics.rb +5 -5
- data/lib/orb/resources/plans/external_plan_id.rb +5 -3
- data/lib/orb/resources/plans.rb +9 -5
- data/lib/orb/resources/prices/external_price_id.rb +2 -2
- data/lib/orb/resources/prices.rb +5 -5
- data/lib/orb/resources/subscriptions.rb +20 -3
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +1 -0
- data/rbi/orb/models/accounting_provider_config.rbi +38 -5
- data/rbi/orb/models/adjustment_interval.rbi +336 -0
- data/rbi/orb/models/alert.rbi +172 -3
- data/rbi/orb/models/alert_create_for_subscription_params.rbi +268 -9
- data/rbi/orb/models/alert_update_params.rbi +208 -0
- data/rbi/orb/models/beta/external_plan_id_create_plan_version_params.rbi +3833 -28395
- data/rbi/orb/models/beta_create_plan_version_params.rbi +3833 -28363
- data/rbi/orb/models/changed_subscription_resources.rbi +360 -5
- data/rbi/orb/models/conversion_rate_config.rbi +18 -0
- data/rbi/orb/models/credit_block_list_invoices_response.rbi +346 -3
- data/rbi/orb/models/credit_block_retrieve_response.rbi +344 -3
- data/rbi/orb/models/customer.rbi +190 -10
- data/rbi/orb/models/customer_create_params.rbi +12 -2
- data/rbi/orb/models/customer_tax_id.rbi +15 -1
- data/rbi/orb/models/customer_update_by_external_id_params.rbi +22 -2
- data/rbi/orb/models/customer_update_params.rbi +22 -2
- data/rbi/orb/models/customers/credit_list_by_external_id_response.rbi +346 -3
- data/rbi/orb/models/customers/credit_list_response.rbi +347 -3
- data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbi +6 -6
- data/rbi/orb/models/customers/credits/ledger_create_entry_params.rbi +6 -6
- data/rbi/orb/models/dimensional_price_group.rbi +1 -1
- data/rbi/orb/models/discount.rbi +269 -1
- data/rbi/orb/models/event_ingest_params.rbi +4 -2
- data/rbi/orb/models/invoice.rbi +360 -5
- data/rbi/orb/models/invoice_create_params.rbi +12 -7
- data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +360 -5
- data/rbi/orb/models/invoice_issue_summary_response.rbi +19 -4
- data/rbi/orb/models/invoice_level_discount.rbi +298 -1
- data/rbi/orb/models/invoice_line_item_create_response.rbi +339 -0
- data/rbi/orb/models/invoice_list_summary_response.rbi +19 -4
- data/rbi/orb/models/licenses/external_license_get_usage_params.rbi +3 -3
- data/rbi/orb/models/licenses/usage_get_all_usage_params.rbi +3 -3
- data/rbi/orb/models/licenses/usage_get_usage_params.rbi +3 -3
- data/rbi/orb/models/mutated_subscription.rbi +324 -2
- data/rbi/orb/models/new_allocation_price.rbi +12 -0
- data/rbi/orb/models/per_price_cost.rbi +3 -0
- data/rbi/orb/models/plan.rbi +339 -2
- data/rbi/orb/models/plan_create_params.rbi +1877 -14138
- data/rbi/orb/models/plan_update_params.rbi +8 -0
- data/rbi/orb/models/plan_version.rbi +339 -0
- data/rbi/orb/models/plans/external_plan_id_update_params.rbi +8 -0
- data/rbi/orb/models/plans/migration_cancel_response.rbi +22 -1
- data/rbi/orb/models/plans/migration_list_response.rbi +22 -1
- data/rbi/orb/models/plans/migration_retrieve_response.rbi +22 -1
- data/rbi/orb/models/price.rbi +4552 -2285
- data/rbi/orb/models/price_create_params.rbi +1540 -114
- data/rbi/orb/models/price_evaluate_multiple_params.rbi +1540 -114
- data/rbi/orb/models/price_evaluate_preview_events_params.rbi +1540 -114
- data/rbi/orb/models/price_interval.rbi +3 -0
- data/rbi/orb/models/subscription.rbi +324 -2
- data/rbi/orb/models/subscription_create_params.rbi +4998 -1186
- data/rbi/orb/models/subscription_price_intervals_params.rbi +2127 -264
- data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +4997 -1185
- data/rbi/orb/models/subscription_update_params.rbi +14 -0
- data/rbi/orb/models.rbi +2 -0
- data/rbi/orb/resources/alerts.rbi +39 -4
- data/rbi/orb/resources/customers/credits/ledger.rbi +28 -14
- data/rbi/orb/resources/customers.rbi +23 -0
- data/rbi/orb/resources/events.rbi +8 -35
- data/rbi/orb/resources/invoices.rbi +9 -3
- data/rbi/orb/resources/licenses/external_licenses.rbi +1 -1
- data/rbi/orb/resources/licenses/usage.rbi +2 -2
- data/rbi/orb/resources/metrics.rbi +5 -5
- data/rbi/orb/resources/plans/external_plan_id.rbi +5 -2
- data/rbi/orb/resources/plans.rbi +9 -3
- data/rbi/orb/resources/prices.rbi +3 -0
- data/rbi/orb/resources/subscriptions.rbi +29 -0
- data/sig/orb/models/accounting_provider_config.rbs +21 -4
- data/sig/orb/models/adjustment_interval.rbs +134 -0
- data/sig/orb/models/alert.rbs +85 -3
- data/sig/orb/models/alert_create_for_subscription_params.rbs +86 -4
- data/sig/orb/models/alert_update_params.rbs +86 -1
- data/sig/orb/models/beta/external_plan_id_create_plan_version_params.rbs +1803 -11601
- data/sig/orb/models/beta_create_plan_version_params.rbs +1747 -11541
- data/sig/orb/models/changed_subscription_resources.rbs +140 -1
- data/sig/orb/models/conversion_rate_config.rbs +12 -0
- data/sig/orb/models/credit_block_list_invoices_response.rbs +124 -3
- data/sig/orb/models/credit_block_retrieve_response.rbs +124 -3
- data/sig/orb/models/customer.rbs +70 -4
- data/sig/orb/models/customer_create_params.rbs +2 -2
- data/sig/orb/models/customer_tax_id.rbs +20 -2
- data/sig/orb/models/customer_update_by_external_id_params.rbs +7 -2
- data/sig/orb/models/customer_update_params.rbs +7 -2
- data/sig/orb/models/customers/credit_list_by_external_id_response.rbs +124 -3
- data/sig/orb/models/customers/credit_list_response.rbs +124 -3
- data/sig/orb/models/discount.rbs +114 -0
- data/sig/orb/models/invoice.rbs +140 -1
- data/sig/orb/models/invoice_fetch_upcoming_response.rbs +140 -1
- data/sig/orb/models/invoice_issue_summary_response.rbs +2 -1
- data/sig/orb/models/invoice_level_discount.rbs +117 -1
- data/sig/orb/models/invoice_line_item_create_response.rbs +134 -0
- data/sig/orb/models/invoice_list_summary_response.rbs +2 -1
- data/sig/orb/models/licenses/external_license_get_usage_params.rbs +4 -4
- data/sig/orb/models/licenses/usage_get_all_usage_params.rbs +4 -4
- data/sig/orb/models/licenses/usage_get_usage_params.rbs +4 -4
- data/sig/orb/models/mutated_subscription.rbs +124 -0
- data/sig/orb/models/new_allocation_price.rbs +5 -0
- data/sig/orb/models/new_floating_bulk_price.rbs +4 -4
- data/sig/orb/models/new_floating_bulk_with_proration_price.rbs +4 -4
- data/sig/orb/models/new_floating_cumulative_grouped_bulk_price.rbs +4 -4
- data/sig/orb/models/new_floating_grouped_allocation_price.rbs +4 -4
- data/sig/orb/models/new_floating_grouped_tiered_package_price.rbs +4 -4
- data/sig/orb/models/new_floating_grouped_tiered_price.rbs +4 -4
- data/sig/orb/models/new_floating_grouped_with_metered_minimum_price.rbs +4 -4
- data/sig/orb/models/new_floating_grouped_with_prorated_minimum_price.rbs +4 -4
- data/sig/orb/models/new_floating_matrix_price.rbs +4 -4
- data/sig/orb/models/new_floating_matrix_with_allocation_price.rbs +4 -4
- data/sig/orb/models/new_floating_matrix_with_display_name_price.rbs +4 -4
- data/sig/orb/models/new_floating_max_group_tiered_package_price.rbs +4 -4
- data/sig/orb/models/new_floating_minimum_composite_price.rbs +4 -4
- data/sig/orb/models/new_floating_package_price.rbs +4 -4
- data/sig/orb/models/new_floating_package_with_allocation_price.rbs +4 -4
- data/sig/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rbs +4 -4
- data/sig/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rbs +4 -4
- data/sig/orb/models/new_floating_threshold_total_amount_price.rbs +4 -4
- data/sig/orb/models/new_floating_tiered_package_price.rbs +4 -4
- data/sig/orb/models/new_floating_tiered_package_with_minimum_price.rbs +4 -4
- data/sig/orb/models/new_floating_tiered_price.rbs +4 -4
- data/sig/orb/models/new_floating_tiered_with_minimum_price.rbs +4 -4
- data/sig/orb/models/new_floating_tiered_with_proration_price.rbs +4 -4
- data/sig/orb/models/new_floating_unit_price.rbs +4 -4
- data/sig/orb/models/new_floating_unit_with_percent_price.rbs +4 -4
- data/sig/orb/models/new_floating_unit_with_proration_price.rbs +4 -4
- data/sig/orb/models/new_plan_bulk_price.rbs +4 -4
- data/sig/orb/models/new_plan_bulk_with_proration_price.rbs +4 -4
- data/sig/orb/models/new_plan_cumulative_grouped_bulk_price.rbs +4 -4
- data/sig/orb/models/new_plan_grouped_allocation_price.rbs +4 -4
- data/sig/orb/models/new_plan_grouped_tiered_package_price.rbs +4 -4
- data/sig/orb/models/new_plan_grouped_tiered_price.rbs +4 -4
- data/sig/orb/models/new_plan_grouped_with_metered_minimum_price.rbs +4 -4
- data/sig/orb/models/new_plan_grouped_with_prorated_minimum_price.rbs +4 -4
- data/sig/orb/models/new_plan_matrix_price.rbs +4 -4
- data/sig/orb/models/new_plan_matrix_with_allocation_price.rbs +4 -4
- data/sig/orb/models/new_plan_matrix_with_display_name_price.rbs +4 -4
- data/sig/orb/models/new_plan_max_group_tiered_package_price.rbs +4 -4
- data/sig/orb/models/new_plan_minimum_composite_price.rbs +4 -4
- data/sig/orb/models/new_plan_package_price.rbs +4 -4
- data/sig/orb/models/new_plan_package_with_allocation_price.rbs +4 -4
- data/sig/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rbs +4 -4
- data/sig/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rbs +4 -4
- data/sig/orb/models/new_plan_threshold_total_amount_price.rbs +4 -4
- data/sig/orb/models/new_plan_tiered_package_price.rbs +4 -4
- data/sig/orb/models/new_plan_tiered_package_with_minimum_price.rbs +4 -4
- data/sig/orb/models/new_plan_tiered_price.rbs +4 -4
- data/sig/orb/models/new_plan_tiered_with_minimum_price.rbs +4 -4
- data/sig/orb/models/new_plan_unit_price.rbs +4 -4
- data/sig/orb/models/new_plan_unit_with_percent_price.rbs +4 -4
- data/sig/orb/models/new_plan_unit_with_proration_price.rbs +4 -4
- data/sig/orb/models/new_subscription_bulk_price.rbs +4 -4
- data/sig/orb/models/new_subscription_bulk_with_proration_price.rbs +4 -4
- data/sig/orb/models/new_subscription_cumulative_grouped_bulk_price.rbs +4 -4
- data/sig/orb/models/new_subscription_grouped_allocation_price.rbs +4 -4
- data/sig/orb/models/new_subscription_grouped_tiered_package_price.rbs +4 -4
- data/sig/orb/models/new_subscription_grouped_tiered_price.rbs +4 -4
- data/sig/orb/models/new_subscription_grouped_with_metered_minimum_price.rbs +4 -4
- data/sig/orb/models/new_subscription_grouped_with_prorated_minimum_price.rbs +4 -4
- data/sig/orb/models/new_subscription_matrix_price.rbs +4 -4
- data/sig/orb/models/new_subscription_matrix_with_allocation_price.rbs +4 -4
- data/sig/orb/models/new_subscription_matrix_with_display_name_price.rbs +4 -4
- data/sig/orb/models/new_subscription_max_group_tiered_package_price.rbs +4 -4
- data/sig/orb/models/new_subscription_minimum_composite_price.rbs +4 -4
- data/sig/orb/models/new_subscription_package_price.rbs +4 -4
- data/sig/orb/models/new_subscription_package_with_allocation_price.rbs +4 -4
- data/sig/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rbs +4 -4
- data/sig/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rbs +4 -4
- data/sig/orb/models/new_subscription_threshold_total_amount_price.rbs +4 -4
- data/sig/orb/models/new_subscription_tiered_package_price.rbs +4 -4
- data/sig/orb/models/new_subscription_tiered_package_with_minimum_price.rbs +4 -4
- data/sig/orb/models/new_subscription_tiered_price.rbs +4 -4
- data/sig/orb/models/new_subscription_tiered_with_minimum_price.rbs +4 -4
- data/sig/orb/models/new_subscription_unit_price.rbs +4 -4
- data/sig/orb/models/new_subscription_unit_with_percent_price.rbs +4 -4
- data/sig/orb/models/new_subscription_unit_with_proration_price.rbs +4 -4
- data/sig/orb/models/plan.rbs +134 -0
- data/sig/orb/models/plan_create_params.rbs +836 -5728
- data/sig/orb/models/plan_update_params.rbs +5 -0
- data/sig/orb/models/plan_version.rbs +134 -0
- data/sig/orb/models/plans/external_plan_id_update_params.rbs +5 -0
- data/sig/orb/models/price.rbs +2200 -1150
- data/sig/orb/models/price_create_params.rbs +611 -23
- data/sig/orb/models/price_evaluate_multiple_params.rbs +626 -23
- data/sig/orb/models/price_evaluate_preview_events_params.rbs +626 -23
- data/sig/orb/models/subscription.rbs +124 -0
- data/sig/orb/models/subscription_create_params.rbs +2009 -430
- data/sig/orb/models/subscription_price_intervals_params.rbs +795 -23
- data/sig/orb/models/subscription_schedule_plan_change_params.rbs +2009 -430
- data/sig/orb/models/subscription_update_params.rbs +5 -0
- data/sig/orb/models.rbs +2 -0
- data/sig/orb/resources/alerts.rbs +5 -1
- data/sig/orb/resources/customers.rbs +2 -0
- data/sig/orb/resources/licenses/external_licenses.rbs +1 -1
- data/sig/orb/resources/licenses/usage.rbs +2 -2
- data/sig/orb/resources/plans/external_plan_id.rbs +1 -0
- data/sig/orb/resources/plans.rbs +2 -0
- data/sig/orb/resources/subscriptions.rbs +3 -0
- metadata +6 -7
|
@@ -104,6 +104,7 @@ module Orb
|
|
|
104
104
|
| Orb::NewFloatingPackageWithAllocationPrice
|
|
105
105
|
| Orb::NewFloatingUnitWithPercentPrice
|
|
106
106
|
| Orb::NewFloatingMatrixWithAllocationPrice
|
|
107
|
+
| Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts
|
|
107
108
|
| Orb::NewFloatingTieredWithProrationPrice
|
|
108
109
|
| Orb::NewFloatingUnitWithProrationPrice
|
|
109
110
|
| Orb::NewFloatingGroupedAllocationPrice
|
|
@@ -118,6 +119,8 @@ module Orb
|
|
|
118
119
|
| Orb::NewFloatingScalableMatrixWithTieredPricingPrice
|
|
119
120
|
| Orb::NewFloatingCumulativeGroupedBulkPrice
|
|
120
121
|
| Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::CumulativeGroupedAllocation
|
|
122
|
+
| Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance
|
|
123
|
+
| Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MeteredAllowance
|
|
121
124
|
| Orb::NewFloatingMinimumCompositePrice
|
|
122
125
|
| Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::Percent
|
|
123
126
|
| Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::EventOutput
|
|
@@ -137,7 +140,7 @@ module Orb
|
|
|
137
140
|
billed_in_advance: bool?,
|
|
138
141
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
139
142
|
conversion_rate: Float?,
|
|
140
|
-
conversion_rate_config: Orb::Models::
|
|
143
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
141
144
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
142
145
|
external_price_id: String?,
|
|
143
146
|
fixed_price_quantity: Float?,
|
|
@@ -168,7 +171,7 @@ module Orb
|
|
|
168
171
|
|
|
169
172
|
attr_accessor conversion_rate: Float?
|
|
170
173
|
|
|
171
|
-
attr_accessor conversion_rate_config: Orb::Models::
|
|
174
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
172
175
|
|
|
173
176
|
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
174
177
|
|
|
@@ -194,7 +197,7 @@ module Orb
|
|
|
194
197
|
?billed_in_advance: bool?,
|
|
195
198
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
196
199
|
?conversion_rate: Float?,
|
|
197
|
-
?conversion_rate_config: Orb::Models::
|
|
200
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
198
201
|
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
199
202
|
?external_price_id: String?,
|
|
200
203
|
?fixed_price_quantity: Float?,
|
|
@@ -216,7 +219,7 @@ module Orb
|
|
|
216
219
|
billed_in_advance: bool?,
|
|
217
220
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
218
221
|
conversion_rate: Float?,
|
|
219
|
-
conversion_rate_config: Orb::Models::
|
|
222
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
220
223
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
221
224
|
external_price_id: String?,
|
|
222
225
|
fixed_price_quantity: Float?,
|
|
@@ -303,6 +306,234 @@ module Orb
|
|
|
303
306
|
end
|
|
304
307
|
end
|
|
305
308
|
|
|
309
|
+
type matrix_with_threshold_discounts =
|
|
310
|
+
{
|
|
311
|
+
cadence: Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::cadence,
|
|
312
|
+
currency: String,
|
|
313
|
+
item_id: String,
|
|
314
|
+
matrix_with_threshold_discounts_config: Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
|
|
315
|
+
model_type: :matrix_with_threshold_discounts,
|
|
316
|
+
name: String,
|
|
317
|
+
billable_metric_id: String?,
|
|
318
|
+
billed_in_advance: bool?,
|
|
319
|
+
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
320
|
+
conversion_rate: Float?,
|
|
321
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
322
|
+
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
323
|
+
external_price_id: String?,
|
|
324
|
+
fixed_price_quantity: Float?,
|
|
325
|
+
invoice_grouping_key: String?,
|
|
326
|
+
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
327
|
+
license_type_id: String?,
|
|
328
|
+
metadata: ::Hash[Symbol, String?]?
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
class MatrixWithThresholdDiscounts < Orb::Internal::Type::BaseModel
|
|
332
|
+
attr_accessor cadence: Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::cadence
|
|
333
|
+
|
|
334
|
+
attr_accessor currency: String
|
|
335
|
+
|
|
336
|
+
attr_accessor item_id: String
|
|
337
|
+
|
|
338
|
+
attr_accessor matrix_with_threshold_discounts_config: Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig
|
|
339
|
+
|
|
340
|
+
attr_accessor model_type: :matrix_with_threshold_discounts
|
|
341
|
+
|
|
342
|
+
attr_accessor name: String
|
|
343
|
+
|
|
344
|
+
attr_accessor billable_metric_id: String?
|
|
345
|
+
|
|
346
|
+
attr_accessor billed_in_advance: bool?
|
|
347
|
+
|
|
348
|
+
attr_accessor billing_cycle_configuration: Orb::NewBillingCycleConfiguration?
|
|
349
|
+
|
|
350
|
+
attr_accessor conversion_rate: Float?
|
|
351
|
+
|
|
352
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
353
|
+
|
|
354
|
+
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
355
|
+
|
|
356
|
+
attr_accessor external_price_id: String?
|
|
357
|
+
|
|
358
|
+
attr_accessor fixed_price_quantity: Float?
|
|
359
|
+
|
|
360
|
+
attr_accessor invoice_grouping_key: String?
|
|
361
|
+
|
|
362
|
+
attr_accessor invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?
|
|
363
|
+
|
|
364
|
+
attr_accessor license_type_id: String?
|
|
365
|
+
|
|
366
|
+
attr_accessor metadata: ::Hash[Symbol, String?]?
|
|
367
|
+
|
|
368
|
+
def initialize: (
|
|
369
|
+
cadence: Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::cadence,
|
|
370
|
+
currency: String,
|
|
371
|
+
item_id: String,
|
|
372
|
+
matrix_with_threshold_discounts_config: Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
|
|
373
|
+
name: String,
|
|
374
|
+
?billable_metric_id: String?,
|
|
375
|
+
?billed_in_advance: bool?,
|
|
376
|
+
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
377
|
+
?conversion_rate: Float?,
|
|
378
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
379
|
+
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
380
|
+
?external_price_id: String?,
|
|
381
|
+
?fixed_price_quantity: Float?,
|
|
382
|
+
?invoice_grouping_key: String?,
|
|
383
|
+
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
384
|
+
?license_type_id: String?,
|
|
385
|
+
?metadata: ::Hash[Symbol, String?]?,
|
|
386
|
+
?model_type: :matrix_with_threshold_discounts
|
|
387
|
+
) -> void
|
|
388
|
+
|
|
389
|
+
def to_hash: -> {
|
|
390
|
+
cadence: Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::cadence,
|
|
391
|
+
currency: String,
|
|
392
|
+
item_id: String,
|
|
393
|
+
matrix_with_threshold_discounts_config: Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
|
|
394
|
+
model_type: :matrix_with_threshold_discounts,
|
|
395
|
+
name: String,
|
|
396
|
+
billable_metric_id: String?,
|
|
397
|
+
billed_in_advance: bool?,
|
|
398
|
+
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
399
|
+
conversion_rate: Float?,
|
|
400
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
401
|
+
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
402
|
+
external_price_id: String?,
|
|
403
|
+
fixed_price_quantity: Float?,
|
|
404
|
+
invoice_grouping_key: String?,
|
|
405
|
+
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
406
|
+
license_type_id: String?,
|
|
407
|
+
metadata: ::Hash[Symbol, String?]?
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
type cadence =
|
|
411
|
+
:annual
|
|
412
|
+
| :semi_annual
|
|
413
|
+
| :monthly
|
|
414
|
+
| :quarterly
|
|
415
|
+
| :one_time
|
|
416
|
+
| :custom
|
|
417
|
+
|
|
418
|
+
module Cadence
|
|
419
|
+
extend Orb::Internal::Type::Enum
|
|
420
|
+
|
|
421
|
+
ANNUAL: :annual
|
|
422
|
+
SEMI_ANNUAL: :semi_annual
|
|
423
|
+
MONTHLY: :monthly
|
|
424
|
+
QUARTERLY: :quarterly
|
|
425
|
+
ONE_TIME: :one_time
|
|
426
|
+
CUSTOM: :custom
|
|
427
|
+
|
|
428
|
+
def self?.values: -> ::Array[Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::cadence]
|
|
429
|
+
end
|
|
430
|
+
|
|
431
|
+
type matrix_with_threshold_discounts_config =
|
|
432
|
+
{
|
|
433
|
+
default_unit_amount: String,
|
|
434
|
+
first_dimension: String,
|
|
435
|
+
matrix_values: ::Array[Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
|
|
436
|
+
second_dimension: String?,
|
|
437
|
+
threshold_discount_groups: ::Array[Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
class MatrixWithThresholdDiscountsConfig < Orb::Internal::Type::BaseModel
|
|
441
|
+
attr_accessor default_unit_amount: String
|
|
442
|
+
|
|
443
|
+
attr_accessor first_dimension: String
|
|
444
|
+
|
|
445
|
+
attr_accessor matrix_values: ::Array[Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue]
|
|
446
|
+
|
|
447
|
+
attr_accessor second_dimension: String?
|
|
448
|
+
|
|
449
|
+
attr_reader threshold_discount_groups: ::Array[Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]?
|
|
450
|
+
|
|
451
|
+
def threshold_discount_groups=: (
|
|
452
|
+
::Array[Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
453
|
+
) -> ::Array[Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
454
|
+
|
|
455
|
+
def initialize: (
|
|
456
|
+
default_unit_amount: String,
|
|
457
|
+
first_dimension: String,
|
|
458
|
+
matrix_values: ::Array[Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
|
|
459
|
+
?second_dimension: String?,
|
|
460
|
+
?threshold_discount_groups: ::Array[Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
461
|
+
) -> void
|
|
462
|
+
|
|
463
|
+
def to_hash: -> {
|
|
464
|
+
default_unit_amount: String,
|
|
465
|
+
first_dimension: String,
|
|
466
|
+
matrix_values: ::Array[Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
|
|
467
|
+
second_dimension: String?,
|
|
468
|
+
threshold_discount_groups: ::Array[Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
type matrix_value =
|
|
472
|
+
{
|
|
473
|
+
first_dimension_value: String,
|
|
474
|
+
unit_amount: String,
|
|
475
|
+
second_dimension_value: String?
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
class MatrixValue < Orb::Internal::Type::BaseModel
|
|
479
|
+
attr_accessor first_dimension_value: String
|
|
480
|
+
|
|
481
|
+
attr_accessor unit_amount: String
|
|
482
|
+
|
|
483
|
+
attr_accessor second_dimension_value: String?
|
|
484
|
+
|
|
485
|
+
def initialize: (
|
|
486
|
+
first_dimension_value: String,
|
|
487
|
+
unit_amount: String,
|
|
488
|
+
?second_dimension_value: String?
|
|
489
|
+
) -> void
|
|
490
|
+
|
|
491
|
+
def to_hash: -> {
|
|
492
|
+
first_dimension_value: String,
|
|
493
|
+
unit_amount: String,
|
|
494
|
+
second_dimension_value: String?
|
|
495
|
+
}
|
|
496
|
+
end
|
|
497
|
+
|
|
498
|
+
type threshold_discount_group =
|
|
499
|
+
{
|
|
500
|
+
above_threshold_discount_percentage: String,
|
|
501
|
+
below_threshold_discount_percentage: String,
|
|
502
|
+
cell_coordinates: String,
|
|
503
|
+
threshold_amount: String,
|
|
504
|
+
description: String?
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
class ThresholdDiscountGroup < Orb::Internal::Type::BaseModel
|
|
508
|
+
attr_accessor above_threshold_discount_percentage: String
|
|
509
|
+
|
|
510
|
+
attr_accessor below_threshold_discount_percentage: String
|
|
511
|
+
|
|
512
|
+
attr_accessor cell_coordinates: String
|
|
513
|
+
|
|
514
|
+
attr_accessor threshold_amount: String
|
|
515
|
+
|
|
516
|
+
attr_accessor description: String?
|
|
517
|
+
|
|
518
|
+
def initialize: (
|
|
519
|
+
above_threshold_discount_percentage: String,
|
|
520
|
+
below_threshold_discount_percentage: String,
|
|
521
|
+
cell_coordinates: String,
|
|
522
|
+
threshold_amount: String,
|
|
523
|
+
?description: String?
|
|
524
|
+
) -> void
|
|
525
|
+
|
|
526
|
+
def to_hash: -> {
|
|
527
|
+
above_threshold_discount_percentage: String,
|
|
528
|
+
below_threshold_discount_percentage: String,
|
|
529
|
+
cell_coordinates: String,
|
|
530
|
+
threshold_amount: String,
|
|
531
|
+
description: String?
|
|
532
|
+
}
|
|
533
|
+
end
|
|
534
|
+
end
|
|
535
|
+
end
|
|
536
|
+
|
|
306
537
|
type grouped_with_min_max_thresholds =
|
|
307
538
|
{
|
|
308
539
|
cadence: Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::GroupedWithMinMaxThresholds::cadence,
|
|
@@ -315,7 +546,7 @@ module Orb
|
|
|
315
546
|
billed_in_advance: bool?,
|
|
316
547
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
317
548
|
conversion_rate: Float?,
|
|
318
|
-
conversion_rate_config: Orb::Models::
|
|
549
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
319
550
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
320
551
|
external_price_id: String?,
|
|
321
552
|
fixed_price_quantity: Float?,
|
|
@@ -346,7 +577,7 @@ module Orb
|
|
|
346
577
|
|
|
347
578
|
attr_accessor conversion_rate: Float?
|
|
348
579
|
|
|
349
|
-
attr_accessor conversion_rate_config: Orb::Models::
|
|
580
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
350
581
|
|
|
351
582
|
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
352
583
|
|
|
@@ -372,7 +603,7 @@ module Orb
|
|
|
372
603
|
?billed_in_advance: bool?,
|
|
373
604
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
374
605
|
?conversion_rate: Float?,
|
|
375
|
-
?conversion_rate_config: Orb::Models::
|
|
606
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
376
607
|
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
377
608
|
?external_price_id: String?,
|
|
378
609
|
?fixed_price_quantity: Float?,
|
|
@@ -394,7 +625,7 @@ module Orb
|
|
|
394
625
|
billed_in_advance: bool?,
|
|
395
626
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
396
627
|
conversion_rate: Float?,
|
|
397
|
-
conversion_rate_config: Orb::Models::
|
|
628
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
398
629
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
399
630
|
external_price_id: String?,
|
|
400
631
|
fixed_price_quantity: Float?,
|
|
@@ -470,7 +701,7 @@ module Orb
|
|
|
470
701
|
billed_in_advance: bool?,
|
|
471
702
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
472
703
|
conversion_rate: Float?,
|
|
473
|
-
conversion_rate_config: Orb::Models::
|
|
704
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
474
705
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
475
706
|
external_price_id: String?,
|
|
476
707
|
fixed_price_quantity: Float?,
|
|
@@ -501,7 +732,7 @@ module Orb
|
|
|
501
732
|
|
|
502
733
|
attr_accessor conversion_rate: Float?
|
|
503
734
|
|
|
504
|
-
attr_accessor conversion_rate_config: Orb::Models::
|
|
735
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
505
736
|
|
|
506
737
|
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
507
738
|
|
|
@@ -527,7 +758,7 @@ module Orb
|
|
|
527
758
|
?billed_in_advance: bool?,
|
|
528
759
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
529
760
|
?conversion_rate: Float?,
|
|
530
|
-
?conversion_rate_config: Orb::Models::
|
|
761
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
531
762
|
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
532
763
|
?external_price_id: String?,
|
|
533
764
|
?fixed_price_quantity: Float?,
|
|
@@ -549,7 +780,7 @@ module Orb
|
|
|
549
780
|
billed_in_advance: bool?,
|
|
550
781
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
551
782
|
conversion_rate: Float?,
|
|
552
|
-
conversion_rate_config: Orb::Models::
|
|
783
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
553
784
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
554
785
|
external_price_id: String?,
|
|
555
786
|
fixed_price_quantity: Float?,
|
|
@@ -613,6 +844,354 @@ module Orb
|
|
|
613
844
|
end
|
|
614
845
|
end
|
|
615
846
|
|
|
847
|
+
type daily_credit_allowance =
|
|
848
|
+
{
|
|
849
|
+
cadence: Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance::cadence,
|
|
850
|
+
currency: String,
|
|
851
|
+
daily_credit_allowance_config: Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
|
|
852
|
+
item_id: String,
|
|
853
|
+
model_type: :daily_credit_allowance,
|
|
854
|
+
name: String,
|
|
855
|
+
billable_metric_id: String?,
|
|
856
|
+
billed_in_advance: bool?,
|
|
857
|
+
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
858
|
+
conversion_rate: Float?,
|
|
859
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
860
|
+
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
861
|
+
external_price_id: String?,
|
|
862
|
+
fixed_price_quantity: Float?,
|
|
863
|
+
invoice_grouping_key: String?,
|
|
864
|
+
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
865
|
+
license_type_id: String?,
|
|
866
|
+
metadata: ::Hash[Symbol, String?]?
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
class DailyCreditAllowance < Orb::Internal::Type::BaseModel
|
|
870
|
+
attr_accessor cadence: Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance::cadence
|
|
871
|
+
|
|
872
|
+
attr_accessor currency: String
|
|
873
|
+
|
|
874
|
+
attr_accessor daily_credit_allowance_config: Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance::DailyCreditAllowanceConfig
|
|
875
|
+
|
|
876
|
+
attr_accessor item_id: String
|
|
877
|
+
|
|
878
|
+
attr_accessor model_type: :daily_credit_allowance
|
|
879
|
+
|
|
880
|
+
attr_accessor name: String
|
|
881
|
+
|
|
882
|
+
attr_accessor billable_metric_id: String?
|
|
883
|
+
|
|
884
|
+
attr_accessor billed_in_advance: bool?
|
|
885
|
+
|
|
886
|
+
attr_accessor billing_cycle_configuration: Orb::NewBillingCycleConfiguration?
|
|
887
|
+
|
|
888
|
+
attr_accessor conversion_rate: Float?
|
|
889
|
+
|
|
890
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
891
|
+
|
|
892
|
+
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
893
|
+
|
|
894
|
+
attr_accessor external_price_id: String?
|
|
895
|
+
|
|
896
|
+
attr_accessor fixed_price_quantity: Float?
|
|
897
|
+
|
|
898
|
+
attr_accessor invoice_grouping_key: String?
|
|
899
|
+
|
|
900
|
+
attr_accessor invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?
|
|
901
|
+
|
|
902
|
+
attr_accessor license_type_id: String?
|
|
903
|
+
|
|
904
|
+
attr_accessor metadata: ::Hash[Symbol, String?]?
|
|
905
|
+
|
|
906
|
+
def initialize: (
|
|
907
|
+
cadence: Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance::cadence,
|
|
908
|
+
currency: String,
|
|
909
|
+
daily_credit_allowance_config: Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
|
|
910
|
+
item_id: String,
|
|
911
|
+
name: String,
|
|
912
|
+
?billable_metric_id: String?,
|
|
913
|
+
?billed_in_advance: bool?,
|
|
914
|
+
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
915
|
+
?conversion_rate: Float?,
|
|
916
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
917
|
+
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
918
|
+
?external_price_id: String?,
|
|
919
|
+
?fixed_price_quantity: Float?,
|
|
920
|
+
?invoice_grouping_key: String?,
|
|
921
|
+
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
922
|
+
?license_type_id: String?,
|
|
923
|
+
?metadata: ::Hash[Symbol, String?]?,
|
|
924
|
+
?model_type: :daily_credit_allowance
|
|
925
|
+
) -> void
|
|
926
|
+
|
|
927
|
+
def to_hash: -> {
|
|
928
|
+
cadence: Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance::cadence,
|
|
929
|
+
currency: String,
|
|
930
|
+
daily_credit_allowance_config: Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
|
|
931
|
+
item_id: String,
|
|
932
|
+
model_type: :daily_credit_allowance,
|
|
933
|
+
name: String,
|
|
934
|
+
billable_metric_id: String?,
|
|
935
|
+
billed_in_advance: bool?,
|
|
936
|
+
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
937
|
+
conversion_rate: Float?,
|
|
938
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
939
|
+
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
940
|
+
external_price_id: String?,
|
|
941
|
+
fixed_price_quantity: Float?,
|
|
942
|
+
invoice_grouping_key: String?,
|
|
943
|
+
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
944
|
+
license_type_id: String?,
|
|
945
|
+
metadata: ::Hash[Symbol, String?]?
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
type cadence =
|
|
949
|
+
:annual
|
|
950
|
+
| :semi_annual
|
|
951
|
+
| :monthly
|
|
952
|
+
| :quarterly
|
|
953
|
+
| :one_time
|
|
954
|
+
| :custom
|
|
955
|
+
|
|
956
|
+
module Cadence
|
|
957
|
+
extend Orb::Internal::Type::Enum
|
|
958
|
+
|
|
959
|
+
ANNUAL: :annual
|
|
960
|
+
SEMI_ANNUAL: :semi_annual
|
|
961
|
+
MONTHLY: :monthly
|
|
962
|
+
QUARTERLY: :quarterly
|
|
963
|
+
ONE_TIME: :one_time
|
|
964
|
+
CUSTOM: :custom
|
|
965
|
+
|
|
966
|
+
def self?.values: -> ::Array[Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance::cadence]
|
|
967
|
+
end
|
|
968
|
+
|
|
969
|
+
type daily_credit_allowance_config =
|
|
970
|
+
{
|
|
971
|
+
daily_allowance: String,
|
|
972
|
+
default_unit_amount: String,
|
|
973
|
+
dimensions: ::Array[String?],
|
|
974
|
+
event_day_property: String,
|
|
975
|
+
matrix_values: ::Array[Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
class DailyCreditAllowanceConfig < Orb::Internal::Type::BaseModel
|
|
979
|
+
attr_accessor daily_allowance: String
|
|
980
|
+
|
|
981
|
+
attr_accessor default_unit_amount: String
|
|
982
|
+
|
|
983
|
+
attr_accessor dimensions: ::Array[String?]
|
|
984
|
+
|
|
985
|
+
attr_accessor event_day_property: String
|
|
986
|
+
|
|
987
|
+
attr_accessor matrix_values: ::Array[Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
988
|
+
|
|
989
|
+
def initialize: (
|
|
990
|
+
daily_allowance: String,
|
|
991
|
+
default_unit_amount: String,
|
|
992
|
+
dimensions: ::Array[String?],
|
|
993
|
+
event_day_property: String,
|
|
994
|
+
matrix_values: ::Array[Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
995
|
+
) -> void
|
|
996
|
+
|
|
997
|
+
def to_hash: -> {
|
|
998
|
+
daily_allowance: String,
|
|
999
|
+
default_unit_amount: String,
|
|
1000
|
+
dimensions: ::Array[String?],
|
|
1001
|
+
event_day_property: String,
|
|
1002
|
+
matrix_values: ::Array[Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
type matrix_value =
|
|
1006
|
+
{ dimension_values: ::Array[String?], unit_amount: String }
|
|
1007
|
+
|
|
1008
|
+
class MatrixValue < Orb::Internal::Type::BaseModel
|
|
1009
|
+
attr_accessor dimension_values: ::Array[String?]
|
|
1010
|
+
|
|
1011
|
+
attr_accessor unit_amount: String
|
|
1012
|
+
|
|
1013
|
+
def initialize: (
|
|
1014
|
+
dimension_values: ::Array[String?],
|
|
1015
|
+
unit_amount: String
|
|
1016
|
+
) -> void
|
|
1017
|
+
|
|
1018
|
+
def to_hash: -> {
|
|
1019
|
+
dimension_values: ::Array[String?],
|
|
1020
|
+
unit_amount: String
|
|
1021
|
+
}
|
|
1022
|
+
end
|
|
1023
|
+
end
|
|
1024
|
+
end
|
|
1025
|
+
|
|
1026
|
+
type metered_allowance =
|
|
1027
|
+
{
|
|
1028
|
+
cadence: Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MeteredAllowance::cadence,
|
|
1029
|
+
currency: String,
|
|
1030
|
+
item_id: String,
|
|
1031
|
+
metered_allowance_config: Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MeteredAllowance::MeteredAllowanceConfig,
|
|
1032
|
+
model_type: :metered_allowance,
|
|
1033
|
+
name: String,
|
|
1034
|
+
billable_metric_id: String?,
|
|
1035
|
+
billed_in_advance: bool?,
|
|
1036
|
+
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
1037
|
+
conversion_rate: Float?,
|
|
1038
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
1039
|
+
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
1040
|
+
external_price_id: String?,
|
|
1041
|
+
fixed_price_quantity: Float?,
|
|
1042
|
+
invoice_grouping_key: String?,
|
|
1043
|
+
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
1044
|
+
license_type_id: String?,
|
|
1045
|
+
metadata: ::Hash[Symbol, String?]?
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
class MeteredAllowance < Orb::Internal::Type::BaseModel
|
|
1049
|
+
attr_accessor cadence: Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MeteredAllowance::cadence
|
|
1050
|
+
|
|
1051
|
+
attr_accessor currency: String
|
|
1052
|
+
|
|
1053
|
+
attr_accessor item_id: String
|
|
1054
|
+
|
|
1055
|
+
attr_accessor metered_allowance_config: Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MeteredAllowance::MeteredAllowanceConfig
|
|
1056
|
+
|
|
1057
|
+
attr_accessor model_type: :metered_allowance
|
|
1058
|
+
|
|
1059
|
+
attr_accessor name: String
|
|
1060
|
+
|
|
1061
|
+
attr_accessor billable_metric_id: String?
|
|
1062
|
+
|
|
1063
|
+
attr_accessor billed_in_advance: bool?
|
|
1064
|
+
|
|
1065
|
+
attr_accessor billing_cycle_configuration: Orb::NewBillingCycleConfiguration?
|
|
1066
|
+
|
|
1067
|
+
attr_accessor conversion_rate: Float?
|
|
1068
|
+
|
|
1069
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
1070
|
+
|
|
1071
|
+
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
1072
|
+
|
|
1073
|
+
attr_accessor external_price_id: String?
|
|
1074
|
+
|
|
1075
|
+
attr_accessor fixed_price_quantity: Float?
|
|
1076
|
+
|
|
1077
|
+
attr_accessor invoice_grouping_key: String?
|
|
1078
|
+
|
|
1079
|
+
attr_accessor invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?
|
|
1080
|
+
|
|
1081
|
+
attr_accessor license_type_id: String?
|
|
1082
|
+
|
|
1083
|
+
attr_accessor metadata: ::Hash[Symbol, String?]?
|
|
1084
|
+
|
|
1085
|
+
def initialize: (
|
|
1086
|
+
cadence: Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MeteredAllowance::cadence,
|
|
1087
|
+
currency: String,
|
|
1088
|
+
item_id: String,
|
|
1089
|
+
metered_allowance_config: Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MeteredAllowance::MeteredAllowanceConfig,
|
|
1090
|
+
name: String,
|
|
1091
|
+
?billable_metric_id: String?,
|
|
1092
|
+
?billed_in_advance: bool?,
|
|
1093
|
+
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
1094
|
+
?conversion_rate: Float?,
|
|
1095
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
1096
|
+
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
1097
|
+
?external_price_id: String?,
|
|
1098
|
+
?fixed_price_quantity: Float?,
|
|
1099
|
+
?invoice_grouping_key: String?,
|
|
1100
|
+
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
1101
|
+
?license_type_id: String?,
|
|
1102
|
+
?metadata: ::Hash[Symbol, String?]?,
|
|
1103
|
+
?model_type: :metered_allowance
|
|
1104
|
+
) -> void
|
|
1105
|
+
|
|
1106
|
+
def to_hash: -> {
|
|
1107
|
+
cadence: Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MeteredAllowance::cadence,
|
|
1108
|
+
currency: String,
|
|
1109
|
+
item_id: String,
|
|
1110
|
+
metered_allowance_config: Orb::PriceEvaluateMultipleParams::PriceEvaluation::Price::MeteredAllowance::MeteredAllowanceConfig,
|
|
1111
|
+
model_type: :metered_allowance,
|
|
1112
|
+
name: String,
|
|
1113
|
+
billable_metric_id: String?,
|
|
1114
|
+
billed_in_advance: bool?,
|
|
1115
|
+
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
1116
|
+
conversion_rate: Float?,
|
|
1117
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
1118
|
+
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
1119
|
+
external_price_id: String?,
|
|
1120
|
+
fixed_price_quantity: Float?,
|
|
1121
|
+
invoice_grouping_key: String?,
|
|
1122
|
+
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
1123
|
+
license_type_id: String?,
|
|
1124
|
+
metadata: ::Hash[Symbol, String?]?
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
type cadence =
|
|
1128
|
+
:annual
|
|
1129
|
+
| :semi_annual
|
|
1130
|
+
| :monthly
|
|
1131
|
+
| :quarterly
|
|
1132
|
+
| :one_time
|
|
1133
|
+
| :custom
|
|
1134
|
+
|
|
1135
|
+
module Cadence
|
|
1136
|
+
extend Orb::Internal::Type::Enum
|
|
1137
|
+
|
|
1138
|
+
ANNUAL: :annual
|
|
1139
|
+
SEMI_ANNUAL: :semi_annual
|
|
1140
|
+
MONTHLY: :monthly
|
|
1141
|
+
QUARTERLY: :quarterly
|
|
1142
|
+
ONE_TIME: :one_time
|
|
1143
|
+
CUSTOM: :custom
|
|
1144
|
+
|
|
1145
|
+
def self?.values: -> ::Array[Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::MeteredAllowance::cadence]
|
|
1146
|
+
end
|
|
1147
|
+
|
|
1148
|
+
type metered_allowance_config =
|
|
1149
|
+
{
|
|
1150
|
+
allowance_grouping_value: String,
|
|
1151
|
+
consumption_grouping_value: String,
|
|
1152
|
+
grouping_key: String,
|
|
1153
|
+
unit_amount: String,
|
|
1154
|
+
allowance_display_name: String,
|
|
1155
|
+
consumption_display_name: String
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
class MeteredAllowanceConfig < Orb::Internal::Type::BaseModel
|
|
1159
|
+
attr_accessor allowance_grouping_value: String
|
|
1160
|
+
|
|
1161
|
+
attr_accessor consumption_grouping_value: String
|
|
1162
|
+
|
|
1163
|
+
attr_accessor grouping_key: String
|
|
1164
|
+
|
|
1165
|
+
attr_accessor unit_amount: String
|
|
1166
|
+
|
|
1167
|
+
attr_reader allowance_display_name: String?
|
|
1168
|
+
|
|
1169
|
+
def allowance_display_name=: (String) -> String
|
|
1170
|
+
|
|
1171
|
+
attr_reader consumption_display_name: String?
|
|
1172
|
+
|
|
1173
|
+
def consumption_display_name=: (String) -> String
|
|
1174
|
+
|
|
1175
|
+
def initialize: (
|
|
1176
|
+
allowance_grouping_value: String,
|
|
1177
|
+
consumption_grouping_value: String,
|
|
1178
|
+
grouping_key: String,
|
|
1179
|
+
unit_amount: String,
|
|
1180
|
+
?allowance_display_name: String,
|
|
1181
|
+
?consumption_display_name: String
|
|
1182
|
+
) -> void
|
|
1183
|
+
|
|
1184
|
+
def to_hash: -> {
|
|
1185
|
+
allowance_grouping_value: String,
|
|
1186
|
+
consumption_grouping_value: String,
|
|
1187
|
+
grouping_key: String,
|
|
1188
|
+
unit_amount: String,
|
|
1189
|
+
allowance_display_name: String,
|
|
1190
|
+
consumption_display_name: String
|
|
1191
|
+
}
|
|
1192
|
+
end
|
|
1193
|
+
end
|
|
1194
|
+
|
|
616
1195
|
type percent =
|
|
617
1196
|
{
|
|
618
1197
|
cadence: Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::Percent::cadence,
|
|
@@ -625,7 +1204,7 @@ module Orb
|
|
|
625
1204
|
billed_in_advance: bool?,
|
|
626
1205
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
627
1206
|
conversion_rate: Float?,
|
|
628
|
-
conversion_rate_config: Orb::Models::
|
|
1207
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
629
1208
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
630
1209
|
external_price_id: String?,
|
|
631
1210
|
fixed_price_quantity: Float?,
|
|
@@ -656,7 +1235,7 @@ module Orb
|
|
|
656
1235
|
|
|
657
1236
|
attr_accessor conversion_rate: Float?
|
|
658
1237
|
|
|
659
|
-
attr_accessor conversion_rate_config: Orb::Models::
|
|
1238
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
660
1239
|
|
|
661
1240
|
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
662
1241
|
|
|
@@ -682,7 +1261,7 @@ module Orb
|
|
|
682
1261
|
?billed_in_advance: bool?,
|
|
683
1262
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
684
1263
|
?conversion_rate: Float?,
|
|
685
|
-
?conversion_rate_config: Orb::Models::
|
|
1264
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
686
1265
|
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
687
1266
|
?external_price_id: String?,
|
|
688
1267
|
?fixed_price_quantity: Float?,
|
|
@@ -704,7 +1283,7 @@ module Orb
|
|
|
704
1283
|
billed_in_advance: bool?,
|
|
705
1284
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
706
1285
|
conversion_rate: Float?,
|
|
707
|
-
conversion_rate_config: Orb::Models::
|
|
1286
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
708
1287
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
709
1288
|
external_price_id: String?,
|
|
710
1289
|
fixed_price_quantity: Float?,
|
|
@@ -735,14 +1314,38 @@ module Orb
|
|
|
735
1314
|
def self?.values: -> ::Array[Orb::Models::PriceEvaluateMultipleParams::PriceEvaluation::Price::Percent::cadence]
|
|
736
1315
|
end
|
|
737
1316
|
|
|
738
|
-
type percent_config =
|
|
1317
|
+
type percent_config =
|
|
1318
|
+
{
|
|
1319
|
+
percent: Float,
|
|
1320
|
+
maximum_amount: String?,
|
|
1321
|
+
minimum_amount: String?,
|
|
1322
|
+
prorated: bool
|
|
1323
|
+
}
|
|
739
1324
|
|
|
740
1325
|
class PercentConfig < Orb::Internal::Type::BaseModel
|
|
741
1326
|
attr_accessor percent: Float
|
|
742
1327
|
|
|
743
|
-
|
|
1328
|
+
attr_accessor maximum_amount: String?
|
|
1329
|
+
|
|
1330
|
+
attr_accessor minimum_amount: String?
|
|
1331
|
+
|
|
1332
|
+
attr_reader prorated: bool?
|
|
744
1333
|
|
|
745
|
-
def
|
|
1334
|
+
def prorated=: (bool) -> bool
|
|
1335
|
+
|
|
1336
|
+
def initialize: (
|
|
1337
|
+
percent: Float,
|
|
1338
|
+
?maximum_amount: String?,
|
|
1339
|
+
?minimum_amount: String?,
|
|
1340
|
+
?prorated: bool
|
|
1341
|
+
) -> void
|
|
1342
|
+
|
|
1343
|
+
def to_hash: -> {
|
|
1344
|
+
percent: Float,
|
|
1345
|
+
maximum_amount: String?,
|
|
1346
|
+
minimum_amount: String?,
|
|
1347
|
+
prorated: bool
|
|
1348
|
+
}
|
|
746
1349
|
end
|
|
747
1350
|
end
|
|
748
1351
|
|
|
@@ -758,7 +1361,7 @@ module Orb
|
|
|
758
1361
|
billed_in_advance: bool?,
|
|
759
1362
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
760
1363
|
conversion_rate: Float?,
|
|
761
|
-
conversion_rate_config: Orb::Models::
|
|
1364
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
762
1365
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
763
1366
|
external_price_id: String?,
|
|
764
1367
|
fixed_price_quantity: Float?,
|
|
@@ -789,7 +1392,7 @@ module Orb
|
|
|
789
1392
|
|
|
790
1393
|
attr_accessor conversion_rate: Float?
|
|
791
1394
|
|
|
792
|
-
attr_accessor conversion_rate_config: Orb::Models::
|
|
1395
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
793
1396
|
|
|
794
1397
|
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
795
1398
|
|
|
@@ -815,7 +1418,7 @@ module Orb
|
|
|
815
1418
|
?billed_in_advance: bool?,
|
|
816
1419
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
817
1420
|
?conversion_rate: Float?,
|
|
818
|
-
?conversion_rate_config: Orb::Models::
|
|
1421
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
819
1422
|
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
820
1423
|
?external_price_id: String?,
|
|
821
1424
|
?fixed_price_quantity: Float?,
|
|
@@ -837,7 +1440,7 @@ module Orb
|
|
|
837
1440
|
billed_in_advance: bool?,
|
|
838
1441
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
839
1442
|
conversion_rate: Float?,
|
|
840
|
-
conversion_rate_config: Orb::Models::
|
|
1443
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
841
1444
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
842
1445
|
external_price_id: String?,
|
|
843
1446
|
fixed_price_quantity: Float?,
|