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
|
@@ -35,6 +35,7 @@ module Orb
|
|
|
35
35
|
| Orb::NewFloatingPackageWithAllocationPrice
|
|
36
36
|
| Orb::NewFloatingUnitWithPercentPrice
|
|
37
37
|
| Orb::NewFloatingMatrixWithAllocationPrice
|
|
38
|
+
| Orb::PriceCreateParams::Body::MatrixWithThresholdDiscounts
|
|
38
39
|
| Orb::NewFloatingTieredWithProrationPrice
|
|
39
40
|
| Orb::NewFloatingUnitWithProrationPrice
|
|
40
41
|
| Orb::NewFloatingGroupedAllocationPrice
|
|
@@ -49,6 +50,8 @@ module Orb
|
|
|
49
50
|
| Orb::NewFloatingScalableMatrixWithTieredPricingPrice
|
|
50
51
|
| Orb::NewFloatingCumulativeGroupedBulkPrice
|
|
51
52
|
| Orb::PriceCreateParams::Body::CumulativeGroupedAllocation
|
|
53
|
+
| Orb::PriceCreateParams::Body::DailyCreditAllowance
|
|
54
|
+
| Orb::PriceCreateParams::Body::MeteredAllowance
|
|
52
55
|
| Orb::NewFloatingMinimumCompositePrice
|
|
53
56
|
| Orb::PriceCreateParams::Body::Percent
|
|
54
57
|
| Orb::PriceCreateParams::Body::EventOutput
|
|
@@ -68,7 +71,7 @@ module Orb
|
|
|
68
71
|
billed_in_advance: bool?,
|
|
69
72
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
70
73
|
conversion_rate: Float?,
|
|
71
|
-
conversion_rate_config: Orb::Models::
|
|
74
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
72
75
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
73
76
|
external_price_id: String?,
|
|
74
77
|
fixed_price_quantity: Float?,
|
|
@@ -99,7 +102,7 @@ module Orb
|
|
|
99
102
|
|
|
100
103
|
attr_accessor conversion_rate: Float?
|
|
101
104
|
|
|
102
|
-
attr_accessor conversion_rate_config: Orb::Models::
|
|
105
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
103
106
|
|
|
104
107
|
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
105
108
|
|
|
@@ -125,7 +128,7 @@ module Orb
|
|
|
125
128
|
?billed_in_advance: bool?,
|
|
126
129
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
127
130
|
?conversion_rate: Float?,
|
|
128
|
-
?conversion_rate_config: Orb::Models::
|
|
131
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
129
132
|
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
130
133
|
?external_price_id: String?,
|
|
131
134
|
?fixed_price_quantity: Float?,
|
|
@@ -147,7 +150,7 @@ module Orb
|
|
|
147
150
|
billed_in_advance: bool?,
|
|
148
151
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
149
152
|
conversion_rate: Float?,
|
|
150
|
-
conversion_rate_config: Orb::Models::
|
|
153
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
151
154
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
152
155
|
external_price_id: String?,
|
|
153
156
|
fixed_price_quantity: Float?,
|
|
@@ -226,6 +229,229 @@ module Orb
|
|
|
226
229
|
end
|
|
227
230
|
end
|
|
228
231
|
|
|
232
|
+
type matrix_with_threshold_discounts =
|
|
233
|
+
{
|
|
234
|
+
cadence: Orb::Models::PriceCreateParams::Body::MatrixWithThresholdDiscounts::cadence,
|
|
235
|
+
currency: String,
|
|
236
|
+
item_id: String,
|
|
237
|
+
matrix_with_threshold_discounts_config: Orb::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
|
|
238
|
+
model_type: :matrix_with_threshold_discounts,
|
|
239
|
+
name: String,
|
|
240
|
+
billable_metric_id: String?,
|
|
241
|
+
billed_in_advance: bool?,
|
|
242
|
+
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
243
|
+
conversion_rate: Float?,
|
|
244
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
245
|
+
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
246
|
+
external_price_id: String?,
|
|
247
|
+
fixed_price_quantity: Float?,
|
|
248
|
+
invoice_grouping_key: String?,
|
|
249
|
+
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
250
|
+
license_type_id: String?,
|
|
251
|
+
metadata: ::Hash[Symbol, String?]?
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
class MatrixWithThresholdDiscounts < Orb::Internal::Type::BaseModel
|
|
255
|
+
attr_accessor cadence: Orb::Models::PriceCreateParams::Body::MatrixWithThresholdDiscounts::cadence
|
|
256
|
+
|
|
257
|
+
attr_accessor currency: String
|
|
258
|
+
|
|
259
|
+
attr_accessor item_id: String
|
|
260
|
+
|
|
261
|
+
attr_accessor matrix_with_threshold_discounts_config: Orb::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig
|
|
262
|
+
|
|
263
|
+
attr_accessor model_type: :matrix_with_threshold_discounts
|
|
264
|
+
|
|
265
|
+
attr_accessor name: String
|
|
266
|
+
|
|
267
|
+
attr_accessor billable_metric_id: String?
|
|
268
|
+
|
|
269
|
+
attr_accessor billed_in_advance: bool?
|
|
270
|
+
|
|
271
|
+
attr_accessor billing_cycle_configuration: Orb::NewBillingCycleConfiguration?
|
|
272
|
+
|
|
273
|
+
attr_accessor conversion_rate: Float?
|
|
274
|
+
|
|
275
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
276
|
+
|
|
277
|
+
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
278
|
+
|
|
279
|
+
attr_accessor external_price_id: String?
|
|
280
|
+
|
|
281
|
+
attr_accessor fixed_price_quantity: Float?
|
|
282
|
+
|
|
283
|
+
attr_accessor invoice_grouping_key: String?
|
|
284
|
+
|
|
285
|
+
attr_accessor invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?
|
|
286
|
+
|
|
287
|
+
attr_accessor license_type_id: String?
|
|
288
|
+
|
|
289
|
+
attr_accessor metadata: ::Hash[Symbol, String?]?
|
|
290
|
+
|
|
291
|
+
def initialize: (
|
|
292
|
+
cadence: Orb::Models::PriceCreateParams::Body::MatrixWithThresholdDiscounts::cadence,
|
|
293
|
+
currency: String,
|
|
294
|
+
item_id: String,
|
|
295
|
+
matrix_with_threshold_discounts_config: Orb::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
|
|
296
|
+
name: String,
|
|
297
|
+
?billable_metric_id: String?,
|
|
298
|
+
?billed_in_advance: bool?,
|
|
299
|
+
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
300
|
+
?conversion_rate: Float?,
|
|
301
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
302
|
+
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
303
|
+
?external_price_id: String?,
|
|
304
|
+
?fixed_price_quantity: Float?,
|
|
305
|
+
?invoice_grouping_key: String?,
|
|
306
|
+
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
307
|
+
?license_type_id: String?,
|
|
308
|
+
?metadata: ::Hash[Symbol, String?]?,
|
|
309
|
+
?model_type: :matrix_with_threshold_discounts
|
|
310
|
+
) -> void
|
|
311
|
+
|
|
312
|
+
def to_hash: -> {
|
|
313
|
+
cadence: Orb::Models::PriceCreateParams::Body::MatrixWithThresholdDiscounts::cadence,
|
|
314
|
+
currency: String,
|
|
315
|
+
item_id: String,
|
|
316
|
+
matrix_with_threshold_discounts_config: Orb::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
|
|
317
|
+
model_type: :matrix_with_threshold_discounts,
|
|
318
|
+
name: String,
|
|
319
|
+
billable_metric_id: String?,
|
|
320
|
+
billed_in_advance: bool?,
|
|
321
|
+
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
322
|
+
conversion_rate: Float?,
|
|
323
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
324
|
+
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
325
|
+
external_price_id: String?,
|
|
326
|
+
fixed_price_quantity: Float?,
|
|
327
|
+
invoice_grouping_key: String?,
|
|
328
|
+
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
329
|
+
license_type_id: String?,
|
|
330
|
+
metadata: ::Hash[Symbol, String?]?
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
type cadence =
|
|
334
|
+
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
|
335
|
+
|
|
336
|
+
module Cadence
|
|
337
|
+
extend Orb::Internal::Type::Enum
|
|
338
|
+
|
|
339
|
+
ANNUAL: :annual
|
|
340
|
+
SEMI_ANNUAL: :semi_annual
|
|
341
|
+
MONTHLY: :monthly
|
|
342
|
+
QUARTERLY: :quarterly
|
|
343
|
+
ONE_TIME: :one_time
|
|
344
|
+
CUSTOM: :custom
|
|
345
|
+
|
|
346
|
+
def self?.values: -> ::Array[Orb::Models::PriceCreateParams::Body::MatrixWithThresholdDiscounts::cadence]
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
type matrix_with_threshold_discounts_config =
|
|
350
|
+
{
|
|
351
|
+
default_unit_amount: String,
|
|
352
|
+
first_dimension: String,
|
|
353
|
+
matrix_values: ::Array[Orb::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
|
|
354
|
+
second_dimension: String?,
|
|
355
|
+
threshold_discount_groups: ::Array[Orb::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
class MatrixWithThresholdDiscountsConfig < Orb::Internal::Type::BaseModel
|
|
359
|
+
attr_accessor default_unit_amount: String
|
|
360
|
+
|
|
361
|
+
attr_accessor first_dimension: String
|
|
362
|
+
|
|
363
|
+
attr_accessor matrix_values: ::Array[Orb::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue]
|
|
364
|
+
|
|
365
|
+
attr_accessor second_dimension: String?
|
|
366
|
+
|
|
367
|
+
attr_reader threshold_discount_groups: ::Array[Orb::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]?
|
|
368
|
+
|
|
369
|
+
def threshold_discount_groups=: (
|
|
370
|
+
::Array[Orb::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
371
|
+
) -> ::Array[Orb::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
372
|
+
|
|
373
|
+
def initialize: (
|
|
374
|
+
default_unit_amount: String,
|
|
375
|
+
first_dimension: String,
|
|
376
|
+
matrix_values: ::Array[Orb::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
|
|
377
|
+
?second_dimension: String?,
|
|
378
|
+
?threshold_discount_groups: ::Array[Orb::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
379
|
+
) -> void
|
|
380
|
+
|
|
381
|
+
def to_hash: -> {
|
|
382
|
+
default_unit_amount: String,
|
|
383
|
+
first_dimension: String,
|
|
384
|
+
matrix_values: ::Array[Orb::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
|
|
385
|
+
second_dimension: String?,
|
|
386
|
+
threshold_discount_groups: ::Array[Orb::PriceCreateParams::Body::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
type matrix_value =
|
|
390
|
+
{
|
|
391
|
+
first_dimension_value: String,
|
|
392
|
+
unit_amount: String,
|
|
393
|
+
second_dimension_value: String?
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
class MatrixValue < Orb::Internal::Type::BaseModel
|
|
397
|
+
attr_accessor first_dimension_value: String
|
|
398
|
+
|
|
399
|
+
attr_accessor unit_amount: String
|
|
400
|
+
|
|
401
|
+
attr_accessor second_dimension_value: String?
|
|
402
|
+
|
|
403
|
+
def initialize: (
|
|
404
|
+
first_dimension_value: String,
|
|
405
|
+
unit_amount: String,
|
|
406
|
+
?second_dimension_value: String?
|
|
407
|
+
) -> void
|
|
408
|
+
|
|
409
|
+
def to_hash: -> {
|
|
410
|
+
first_dimension_value: String,
|
|
411
|
+
unit_amount: String,
|
|
412
|
+
second_dimension_value: String?
|
|
413
|
+
}
|
|
414
|
+
end
|
|
415
|
+
|
|
416
|
+
type threshold_discount_group =
|
|
417
|
+
{
|
|
418
|
+
above_threshold_discount_percentage: String,
|
|
419
|
+
below_threshold_discount_percentage: String,
|
|
420
|
+
cell_coordinates: String,
|
|
421
|
+
threshold_amount: String,
|
|
422
|
+
description: String?
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
class ThresholdDiscountGroup < Orb::Internal::Type::BaseModel
|
|
426
|
+
attr_accessor above_threshold_discount_percentage: String
|
|
427
|
+
|
|
428
|
+
attr_accessor below_threshold_discount_percentage: String
|
|
429
|
+
|
|
430
|
+
attr_accessor cell_coordinates: String
|
|
431
|
+
|
|
432
|
+
attr_accessor threshold_amount: String
|
|
433
|
+
|
|
434
|
+
attr_accessor description: String?
|
|
435
|
+
|
|
436
|
+
def initialize: (
|
|
437
|
+
above_threshold_discount_percentage: String,
|
|
438
|
+
below_threshold_discount_percentage: String,
|
|
439
|
+
cell_coordinates: String,
|
|
440
|
+
threshold_amount: String,
|
|
441
|
+
?description: String?
|
|
442
|
+
) -> void
|
|
443
|
+
|
|
444
|
+
def to_hash: -> {
|
|
445
|
+
above_threshold_discount_percentage: String,
|
|
446
|
+
below_threshold_discount_percentage: String,
|
|
447
|
+
cell_coordinates: String,
|
|
448
|
+
threshold_amount: String,
|
|
449
|
+
description: String?
|
|
450
|
+
}
|
|
451
|
+
end
|
|
452
|
+
end
|
|
453
|
+
end
|
|
454
|
+
|
|
229
455
|
type grouped_with_min_max_thresholds =
|
|
230
456
|
{
|
|
231
457
|
cadence: Orb::Models::PriceCreateParams::Body::GroupedWithMinMaxThresholds::cadence,
|
|
@@ -238,7 +464,7 @@ module Orb
|
|
|
238
464
|
billed_in_advance: bool?,
|
|
239
465
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
240
466
|
conversion_rate: Float?,
|
|
241
|
-
conversion_rate_config: Orb::Models::
|
|
467
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
242
468
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
243
469
|
external_price_id: String?,
|
|
244
470
|
fixed_price_quantity: Float?,
|
|
@@ -269,7 +495,7 @@ module Orb
|
|
|
269
495
|
|
|
270
496
|
attr_accessor conversion_rate: Float?
|
|
271
497
|
|
|
272
|
-
attr_accessor conversion_rate_config: Orb::Models::
|
|
498
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
273
499
|
|
|
274
500
|
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
275
501
|
|
|
@@ -295,7 +521,7 @@ module Orb
|
|
|
295
521
|
?billed_in_advance: bool?,
|
|
296
522
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
297
523
|
?conversion_rate: Float?,
|
|
298
|
-
?conversion_rate_config: Orb::Models::
|
|
524
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
299
525
|
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
300
526
|
?external_price_id: String?,
|
|
301
527
|
?fixed_price_quantity: Float?,
|
|
@@ -317,7 +543,7 @@ module Orb
|
|
|
317
543
|
billed_in_advance: bool?,
|
|
318
544
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
319
545
|
conversion_rate: Float?,
|
|
320
|
-
conversion_rate_config: Orb::Models::
|
|
546
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
321
547
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
322
548
|
external_price_id: String?,
|
|
323
549
|
fixed_price_quantity: Float?,
|
|
@@ -388,7 +614,7 @@ module Orb
|
|
|
388
614
|
billed_in_advance: bool?,
|
|
389
615
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
390
616
|
conversion_rate: Float?,
|
|
391
|
-
conversion_rate_config: Orb::Models::
|
|
617
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
392
618
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
393
619
|
external_price_id: String?,
|
|
394
620
|
fixed_price_quantity: Float?,
|
|
@@ -419,7 +645,7 @@ module Orb
|
|
|
419
645
|
|
|
420
646
|
attr_accessor conversion_rate: Float?
|
|
421
647
|
|
|
422
|
-
attr_accessor conversion_rate_config: Orb::Models::
|
|
648
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
423
649
|
|
|
424
650
|
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
425
651
|
|
|
@@ -445,7 +671,7 @@ module Orb
|
|
|
445
671
|
?billed_in_advance: bool?,
|
|
446
672
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
447
673
|
?conversion_rate: Float?,
|
|
448
|
-
?conversion_rate_config: Orb::Models::
|
|
674
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
449
675
|
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
450
676
|
?external_price_id: String?,
|
|
451
677
|
?fixed_price_quantity: Float?,
|
|
@@ -467,7 +693,7 @@ module Orb
|
|
|
467
693
|
billed_in_advance: bool?,
|
|
468
694
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
469
695
|
conversion_rate: Float?,
|
|
470
|
-
conversion_rate_config: Orb::Models::
|
|
696
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
471
697
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
472
698
|
external_price_id: String?,
|
|
473
699
|
fixed_price_quantity: Float?,
|
|
@@ -526,6 +752,344 @@ module Orb
|
|
|
526
752
|
end
|
|
527
753
|
end
|
|
528
754
|
|
|
755
|
+
type daily_credit_allowance =
|
|
756
|
+
{
|
|
757
|
+
cadence: Orb::Models::PriceCreateParams::Body::DailyCreditAllowance::cadence,
|
|
758
|
+
currency: String,
|
|
759
|
+
daily_credit_allowance_config: Orb::PriceCreateParams::Body::DailyCreditAllowance::DailyCreditAllowanceConfig,
|
|
760
|
+
item_id: String,
|
|
761
|
+
model_type: :daily_credit_allowance,
|
|
762
|
+
name: String,
|
|
763
|
+
billable_metric_id: String?,
|
|
764
|
+
billed_in_advance: bool?,
|
|
765
|
+
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
766
|
+
conversion_rate: Float?,
|
|
767
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
768
|
+
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
769
|
+
external_price_id: String?,
|
|
770
|
+
fixed_price_quantity: Float?,
|
|
771
|
+
invoice_grouping_key: String?,
|
|
772
|
+
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
773
|
+
license_type_id: String?,
|
|
774
|
+
metadata: ::Hash[Symbol, String?]?
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
class DailyCreditAllowance < Orb::Internal::Type::BaseModel
|
|
778
|
+
attr_accessor cadence: Orb::Models::PriceCreateParams::Body::DailyCreditAllowance::cadence
|
|
779
|
+
|
|
780
|
+
attr_accessor currency: String
|
|
781
|
+
|
|
782
|
+
attr_accessor daily_credit_allowance_config: Orb::PriceCreateParams::Body::DailyCreditAllowance::DailyCreditAllowanceConfig
|
|
783
|
+
|
|
784
|
+
attr_accessor item_id: String
|
|
785
|
+
|
|
786
|
+
attr_accessor model_type: :daily_credit_allowance
|
|
787
|
+
|
|
788
|
+
attr_accessor name: String
|
|
789
|
+
|
|
790
|
+
attr_accessor billable_metric_id: String?
|
|
791
|
+
|
|
792
|
+
attr_accessor billed_in_advance: bool?
|
|
793
|
+
|
|
794
|
+
attr_accessor billing_cycle_configuration: Orb::NewBillingCycleConfiguration?
|
|
795
|
+
|
|
796
|
+
attr_accessor conversion_rate: Float?
|
|
797
|
+
|
|
798
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
799
|
+
|
|
800
|
+
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
801
|
+
|
|
802
|
+
attr_accessor external_price_id: String?
|
|
803
|
+
|
|
804
|
+
attr_accessor fixed_price_quantity: Float?
|
|
805
|
+
|
|
806
|
+
attr_accessor invoice_grouping_key: String?
|
|
807
|
+
|
|
808
|
+
attr_accessor invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?
|
|
809
|
+
|
|
810
|
+
attr_accessor license_type_id: String?
|
|
811
|
+
|
|
812
|
+
attr_accessor metadata: ::Hash[Symbol, String?]?
|
|
813
|
+
|
|
814
|
+
def initialize: (
|
|
815
|
+
cadence: Orb::Models::PriceCreateParams::Body::DailyCreditAllowance::cadence,
|
|
816
|
+
currency: String,
|
|
817
|
+
daily_credit_allowance_config: Orb::PriceCreateParams::Body::DailyCreditAllowance::DailyCreditAllowanceConfig,
|
|
818
|
+
item_id: String,
|
|
819
|
+
name: String,
|
|
820
|
+
?billable_metric_id: String?,
|
|
821
|
+
?billed_in_advance: bool?,
|
|
822
|
+
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
823
|
+
?conversion_rate: Float?,
|
|
824
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
825
|
+
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
826
|
+
?external_price_id: String?,
|
|
827
|
+
?fixed_price_quantity: Float?,
|
|
828
|
+
?invoice_grouping_key: String?,
|
|
829
|
+
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
830
|
+
?license_type_id: String?,
|
|
831
|
+
?metadata: ::Hash[Symbol, String?]?,
|
|
832
|
+
?model_type: :daily_credit_allowance
|
|
833
|
+
) -> void
|
|
834
|
+
|
|
835
|
+
def to_hash: -> {
|
|
836
|
+
cadence: Orb::Models::PriceCreateParams::Body::DailyCreditAllowance::cadence,
|
|
837
|
+
currency: String,
|
|
838
|
+
daily_credit_allowance_config: Orb::PriceCreateParams::Body::DailyCreditAllowance::DailyCreditAllowanceConfig,
|
|
839
|
+
item_id: String,
|
|
840
|
+
model_type: :daily_credit_allowance,
|
|
841
|
+
name: String,
|
|
842
|
+
billable_metric_id: String?,
|
|
843
|
+
billed_in_advance: bool?,
|
|
844
|
+
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
845
|
+
conversion_rate: Float?,
|
|
846
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
847
|
+
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
848
|
+
external_price_id: String?,
|
|
849
|
+
fixed_price_quantity: Float?,
|
|
850
|
+
invoice_grouping_key: String?,
|
|
851
|
+
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
852
|
+
license_type_id: String?,
|
|
853
|
+
metadata: ::Hash[Symbol, String?]?
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
type cadence =
|
|
857
|
+
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
|
858
|
+
|
|
859
|
+
module Cadence
|
|
860
|
+
extend Orb::Internal::Type::Enum
|
|
861
|
+
|
|
862
|
+
ANNUAL: :annual
|
|
863
|
+
SEMI_ANNUAL: :semi_annual
|
|
864
|
+
MONTHLY: :monthly
|
|
865
|
+
QUARTERLY: :quarterly
|
|
866
|
+
ONE_TIME: :one_time
|
|
867
|
+
CUSTOM: :custom
|
|
868
|
+
|
|
869
|
+
def self?.values: -> ::Array[Orb::Models::PriceCreateParams::Body::DailyCreditAllowance::cadence]
|
|
870
|
+
end
|
|
871
|
+
|
|
872
|
+
type daily_credit_allowance_config =
|
|
873
|
+
{
|
|
874
|
+
daily_allowance: String,
|
|
875
|
+
default_unit_amount: String,
|
|
876
|
+
dimensions: ::Array[String?],
|
|
877
|
+
event_day_property: String,
|
|
878
|
+
matrix_values: ::Array[Orb::PriceCreateParams::Body::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
class DailyCreditAllowanceConfig < Orb::Internal::Type::BaseModel
|
|
882
|
+
attr_accessor daily_allowance: String
|
|
883
|
+
|
|
884
|
+
attr_accessor default_unit_amount: String
|
|
885
|
+
|
|
886
|
+
attr_accessor dimensions: ::Array[String?]
|
|
887
|
+
|
|
888
|
+
attr_accessor event_day_property: String
|
|
889
|
+
|
|
890
|
+
attr_accessor matrix_values: ::Array[Orb::PriceCreateParams::Body::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
891
|
+
|
|
892
|
+
def initialize: (
|
|
893
|
+
daily_allowance: String,
|
|
894
|
+
default_unit_amount: String,
|
|
895
|
+
dimensions: ::Array[String?],
|
|
896
|
+
event_day_property: String,
|
|
897
|
+
matrix_values: ::Array[Orb::PriceCreateParams::Body::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
898
|
+
) -> void
|
|
899
|
+
|
|
900
|
+
def to_hash: -> {
|
|
901
|
+
daily_allowance: String,
|
|
902
|
+
default_unit_amount: String,
|
|
903
|
+
dimensions: ::Array[String?],
|
|
904
|
+
event_day_property: String,
|
|
905
|
+
matrix_values: ::Array[Orb::PriceCreateParams::Body::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
type matrix_value =
|
|
909
|
+
{ dimension_values: ::Array[String?], unit_amount: String }
|
|
910
|
+
|
|
911
|
+
class MatrixValue < Orb::Internal::Type::BaseModel
|
|
912
|
+
attr_accessor dimension_values: ::Array[String?]
|
|
913
|
+
|
|
914
|
+
attr_accessor unit_amount: String
|
|
915
|
+
|
|
916
|
+
def initialize: (
|
|
917
|
+
dimension_values: ::Array[String?],
|
|
918
|
+
unit_amount: String
|
|
919
|
+
) -> void
|
|
920
|
+
|
|
921
|
+
def to_hash: -> {
|
|
922
|
+
dimension_values: ::Array[String?],
|
|
923
|
+
unit_amount: String
|
|
924
|
+
}
|
|
925
|
+
end
|
|
926
|
+
end
|
|
927
|
+
end
|
|
928
|
+
|
|
929
|
+
type metered_allowance =
|
|
930
|
+
{
|
|
931
|
+
cadence: Orb::Models::PriceCreateParams::Body::MeteredAllowance::cadence,
|
|
932
|
+
currency: String,
|
|
933
|
+
item_id: String,
|
|
934
|
+
metered_allowance_config: Orb::PriceCreateParams::Body::MeteredAllowance::MeteredAllowanceConfig,
|
|
935
|
+
model_type: :metered_allowance,
|
|
936
|
+
name: String,
|
|
937
|
+
billable_metric_id: String?,
|
|
938
|
+
billed_in_advance: bool?,
|
|
939
|
+
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
940
|
+
conversion_rate: Float?,
|
|
941
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
942
|
+
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
943
|
+
external_price_id: String?,
|
|
944
|
+
fixed_price_quantity: Float?,
|
|
945
|
+
invoice_grouping_key: String?,
|
|
946
|
+
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
947
|
+
license_type_id: String?,
|
|
948
|
+
metadata: ::Hash[Symbol, String?]?
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
class MeteredAllowance < Orb::Internal::Type::BaseModel
|
|
952
|
+
attr_accessor cadence: Orb::Models::PriceCreateParams::Body::MeteredAllowance::cadence
|
|
953
|
+
|
|
954
|
+
attr_accessor currency: String
|
|
955
|
+
|
|
956
|
+
attr_accessor item_id: String
|
|
957
|
+
|
|
958
|
+
attr_accessor metered_allowance_config: Orb::PriceCreateParams::Body::MeteredAllowance::MeteredAllowanceConfig
|
|
959
|
+
|
|
960
|
+
attr_accessor model_type: :metered_allowance
|
|
961
|
+
|
|
962
|
+
attr_accessor name: String
|
|
963
|
+
|
|
964
|
+
attr_accessor billable_metric_id: String?
|
|
965
|
+
|
|
966
|
+
attr_accessor billed_in_advance: bool?
|
|
967
|
+
|
|
968
|
+
attr_accessor billing_cycle_configuration: Orb::NewBillingCycleConfiguration?
|
|
969
|
+
|
|
970
|
+
attr_accessor conversion_rate: Float?
|
|
971
|
+
|
|
972
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
973
|
+
|
|
974
|
+
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
975
|
+
|
|
976
|
+
attr_accessor external_price_id: String?
|
|
977
|
+
|
|
978
|
+
attr_accessor fixed_price_quantity: Float?
|
|
979
|
+
|
|
980
|
+
attr_accessor invoice_grouping_key: String?
|
|
981
|
+
|
|
982
|
+
attr_accessor invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?
|
|
983
|
+
|
|
984
|
+
attr_accessor license_type_id: String?
|
|
985
|
+
|
|
986
|
+
attr_accessor metadata: ::Hash[Symbol, String?]?
|
|
987
|
+
|
|
988
|
+
def initialize: (
|
|
989
|
+
cadence: Orb::Models::PriceCreateParams::Body::MeteredAllowance::cadence,
|
|
990
|
+
currency: String,
|
|
991
|
+
item_id: String,
|
|
992
|
+
metered_allowance_config: Orb::PriceCreateParams::Body::MeteredAllowance::MeteredAllowanceConfig,
|
|
993
|
+
name: String,
|
|
994
|
+
?billable_metric_id: String?,
|
|
995
|
+
?billed_in_advance: bool?,
|
|
996
|
+
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
997
|
+
?conversion_rate: Float?,
|
|
998
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
999
|
+
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
1000
|
+
?external_price_id: String?,
|
|
1001
|
+
?fixed_price_quantity: Float?,
|
|
1002
|
+
?invoice_grouping_key: String?,
|
|
1003
|
+
?invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
1004
|
+
?license_type_id: String?,
|
|
1005
|
+
?metadata: ::Hash[Symbol, String?]?,
|
|
1006
|
+
?model_type: :metered_allowance
|
|
1007
|
+
) -> void
|
|
1008
|
+
|
|
1009
|
+
def to_hash: -> {
|
|
1010
|
+
cadence: Orb::Models::PriceCreateParams::Body::MeteredAllowance::cadence,
|
|
1011
|
+
currency: String,
|
|
1012
|
+
item_id: String,
|
|
1013
|
+
metered_allowance_config: Orb::PriceCreateParams::Body::MeteredAllowance::MeteredAllowanceConfig,
|
|
1014
|
+
model_type: :metered_allowance,
|
|
1015
|
+
name: String,
|
|
1016
|
+
billable_metric_id: String?,
|
|
1017
|
+
billed_in_advance: bool?,
|
|
1018
|
+
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
1019
|
+
conversion_rate: Float?,
|
|
1020
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
1021
|
+
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
1022
|
+
external_price_id: String?,
|
|
1023
|
+
fixed_price_quantity: Float?,
|
|
1024
|
+
invoice_grouping_key: String?,
|
|
1025
|
+
invoicing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
1026
|
+
license_type_id: String?,
|
|
1027
|
+
metadata: ::Hash[Symbol, String?]?
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
type cadence =
|
|
1031
|
+
:annual | :semi_annual | :monthly | :quarterly | :one_time | :custom
|
|
1032
|
+
|
|
1033
|
+
module Cadence
|
|
1034
|
+
extend Orb::Internal::Type::Enum
|
|
1035
|
+
|
|
1036
|
+
ANNUAL: :annual
|
|
1037
|
+
SEMI_ANNUAL: :semi_annual
|
|
1038
|
+
MONTHLY: :monthly
|
|
1039
|
+
QUARTERLY: :quarterly
|
|
1040
|
+
ONE_TIME: :one_time
|
|
1041
|
+
CUSTOM: :custom
|
|
1042
|
+
|
|
1043
|
+
def self?.values: -> ::Array[Orb::Models::PriceCreateParams::Body::MeteredAllowance::cadence]
|
|
1044
|
+
end
|
|
1045
|
+
|
|
1046
|
+
type metered_allowance_config =
|
|
1047
|
+
{
|
|
1048
|
+
allowance_grouping_value: String,
|
|
1049
|
+
consumption_grouping_value: String,
|
|
1050
|
+
grouping_key: String,
|
|
1051
|
+
unit_amount: String,
|
|
1052
|
+
allowance_display_name: String,
|
|
1053
|
+
consumption_display_name: String
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
class MeteredAllowanceConfig < Orb::Internal::Type::BaseModel
|
|
1057
|
+
attr_accessor allowance_grouping_value: String
|
|
1058
|
+
|
|
1059
|
+
attr_accessor consumption_grouping_value: String
|
|
1060
|
+
|
|
1061
|
+
attr_accessor grouping_key: String
|
|
1062
|
+
|
|
1063
|
+
attr_accessor unit_amount: String
|
|
1064
|
+
|
|
1065
|
+
attr_reader allowance_display_name: String?
|
|
1066
|
+
|
|
1067
|
+
def allowance_display_name=: (String) -> String
|
|
1068
|
+
|
|
1069
|
+
attr_reader consumption_display_name: String?
|
|
1070
|
+
|
|
1071
|
+
def consumption_display_name=: (String) -> String
|
|
1072
|
+
|
|
1073
|
+
def initialize: (
|
|
1074
|
+
allowance_grouping_value: String,
|
|
1075
|
+
consumption_grouping_value: String,
|
|
1076
|
+
grouping_key: String,
|
|
1077
|
+
unit_amount: String,
|
|
1078
|
+
?allowance_display_name: String,
|
|
1079
|
+
?consumption_display_name: String
|
|
1080
|
+
) -> void
|
|
1081
|
+
|
|
1082
|
+
def to_hash: -> {
|
|
1083
|
+
allowance_grouping_value: String,
|
|
1084
|
+
consumption_grouping_value: String,
|
|
1085
|
+
grouping_key: String,
|
|
1086
|
+
unit_amount: String,
|
|
1087
|
+
allowance_display_name: String,
|
|
1088
|
+
consumption_display_name: String
|
|
1089
|
+
}
|
|
1090
|
+
end
|
|
1091
|
+
end
|
|
1092
|
+
|
|
529
1093
|
type percent =
|
|
530
1094
|
{
|
|
531
1095
|
cadence: Orb::Models::PriceCreateParams::Body::Percent::cadence,
|
|
@@ -538,7 +1102,7 @@ module Orb
|
|
|
538
1102
|
billed_in_advance: bool?,
|
|
539
1103
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
540
1104
|
conversion_rate: Float?,
|
|
541
|
-
conversion_rate_config: Orb::Models::
|
|
1105
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
542
1106
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
543
1107
|
external_price_id: String?,
|
|
544
1108
|
fixed_price_quantity: Float?,
|
|
@@ -569,7 +1133,7 @@ module Orb
|
|
|
569
1133
|
|
|
570
1134
|
attr_accessor conversion_rate: Float?
|
|
571
1135
|
|
|
572
|
-
attr_accessor conversion_rate_config: Orb::Models::
|
|
1136
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
573
1137
|
|
|
574
1138
|
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
575
1139
|
|
|
@@ -595,7 +1159,7 @@ module Orb
|
|
|
595
1159
|
?billed_in_advance: bool?,
|
|
596
1160
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
597
1161
|
?conversion_rate: Float?,
|
|
598
|
-
?conversion_rate_config: Orb::Models::
|
|
1162
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
599
1163
|
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
600
1164
|
?external_price_id: String?,
|
|
601
1165
|
?fixed_price_quantity: Float?,
|
|
@@ -617,7 +1181,7 @@ module Orb
|
|
|
617
1181
|
billed_in_advance: bool?,
|
|
618
1182
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
619
1183
|
conversion_rate: Float?,
|
|
620
|
-
conversion_rate_config: Orb::Models::
|
|
1184
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
621
1185
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
622
1186
|
external_price_id: String?,
|
|
623
1187
|
fixed_price_quantity: Float?,
|
|
@@ -643,14 +1207,38 @@ module Orb
|
|
|
643
1207
|
def self?.values: -> ::Array[Orb::Models::PriceCreateParams::Body::Percent::cadence]
|
|
644
1208
|
end
|
|
645
1209
|
|
|
646
|
-
type percent_config =
|
|
1210
|
+
type percent_config =
|
|
1211
|
+
{
|
|
1212
|
+
percent: Float,
|
|
1213
|
+
maximum_amount: String?,
|
|
1214
|
+
minimum_amount: String?,
|
|
1215
|
+
prorated: bool
|
|
1216
|
+
}
|
|
647
1217
|
|
|
648
1218
|
class PercentConfig < Orb::Internal::Type::BaseModel
|
|
649
1219
|
attr_accessor percent: Float
|
|
650
1220
|
|
|
651
|
-
|
|
1221
|
+
attr_accessor maximum_amount: String?
|
|
1222
|
+
|
|
1223
|
+
attr_accessor minimum_amount: String?
|
|
1224
|
+
|
|
1225
|
+
attr_reader prorated: bool?
|
|
652
1226
|
|
|
653
|
-
def
|
|
1227
|
+
def prorated=: (bool) -> bool
|
|
1228
|
+
|
|
1229
|
+
def initialize: (
|
|
1230
|
+
percent: Float,
|
|
1231
|
+
?maximum_amount: String?,
|
|
1232
|
+
?minimum_amount: String?,
|
|
1233
|
+
?prorated: bool
|
|
1234
|
+
) -> void
|
|
1235
|
+
|
|
1236
|
+
def to_hash: -> {
|
|
1237
|
+
percent: Float,
|
|
1238
|
+
maximum_amount: String?,
|
|
1239
|
+
minimum_amount: String?,
|
|
1240
|
+
prorated: bool
|
|
1241
|
+
}
|
|
654
1242
|
end
|
|
655
1243
|
end
|
|
656
1244
|
|
|
@@ -666,7 +1254,7 @@ module Orb
|
|
|
666
1254
|
billed_in_advance: bool?,
|
|
667
1255
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
668
1256
|
conversion_rate: Float?,
|
|
669
|
-
conversion_rate_config: Orb::Models::
|
|
1257
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
670
1258
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
671
1259
|
external_price_id: String?,
|
|
672
1260
|
fixed_price_quantity: Float?,
|
|
@@ -697,7 +1285,7 @@ module Orb
|
|
|
697
1285
|
|
|
698
1286
|
attr_accessor conversion_rate: Float?
|
|
699
1287
|
|
|
700
|
-
attr_accessor conversion_rate_config: Orb::Models::
|
|
1288
|
+
attr_accessor conversion_rate_config: Orb::Models::conversion_rate_config?
|
|
701
1289
|
|
|
702
1290
|
attr_accessor dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?
|
|
703
1291
|
|
|
@@ -723,7 +1311,7 @@ module Orb
|
|
|
723
1311
|
?billed_in_advance: bool?,
|
|
724
1312
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
725
1313
|
?conversion_rate: Float?,
|
|
726
|
-
?conversion_rate_config: Orb::Models::
|
|
1314
|
+
?conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
727
1315
|
?dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
728
1316
|
?external_price_id: String?,
|
|
729
1317
|
?fixed_price_quantity: Float?,
|
|
@@ -745,7 +1333,7 @@ module Orb
|
|
|
745
1333
|
billed_in_advance: bool?,
|
|
746
1334
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
747
1335
|
conversion_rate: Float?,
|
|
748
|
-
conversion_rate_config: Orb::Models::
|
|
1336
|
+
conversion_rate_config: Orb::Models::conversion_rate_config?,
|
|
749
1337
|
dimensional_price_configuration: Orb::NewDimensionalPriceConfiguration?,
|
|
750
1338
|
external_price_id: String?,
|
|
751
1339
|
fixed_price_quantity: Float?,
|