orb-billing 0.1.0.pre.alpha.36 → 0.1.0.pre.alpha.38
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/README.md +58 -7
- data/lib/orb/client.rb +1 -1
- data/lib/orb/errors.rb +1 -53
- data/lib/orb/internal/page.rb +112 -0
- data/lib/orb/internal/transport/base_client.rb +473 -0
- data/lib/orb/internal/transport/pooled_net_requester.rb +184 -0
- data/lib/orb/internal/type/array_of.rb +118 -0
- data/lib/orb/internal/type/base_model.rb +375 -0
- data/lib/orb/internal/type/base_page.rb +46 -0
- data/lib/orb/internal/type/boolean.rb +54 -0
- data/lib/orb/internal/type/converter.rb +224 -0
- data/lib/orb/internal/type/enum.rb +105 -0
- data/lib/orb/internal/type/hash_of.rb +144 -0
- data/lib/orb/internal/type/request_parameters.rb +40 -0
- data/lib/orb/internal/type/union.rb +227 -0
- data/lib/orb/internal/type/unknown.rb +58 -0
- data/lib/orb/internal/util.rb +700 -0
- data/lib/orb/internal.rb +8 -0
- data/lib/orb/models/alert.rb +15 -15
- data/lib/orb/models/alert_create_for_customer_params.rb +8 -8
- data/lib/orb/models/alert_create_for_external_customer_params.rb +8 -8
- data/lib/orb/models/alert_create_for_subscription_params.rb +9 -8
- data/lib/orb/models/alert_disable_params.rb +4 -4
- data/lib/orb/models/alert_enable_params.rb +4 -4
- data/lib/orb/models/alert_list_params.rb +4 -4
- data/lib/orb/models/alert_retrieve_params.rb +4 -4
- data/lib/orb/models/alert_update_params.rb +7 -7
- data/lib/orb/models/amount_discount.rb +4 -4
- data/lib/orb/models/billable_metric.rb +4 -4
- data/lib/orb/models/billing_cycle_relative_date.rb +1 -1
- data/lib/orb/models/coupon.rb +3 -3
- data/lib/orb/models/coupon_archive_params.rb +4 -4
- data/lib/orb/models/coupon_create_params.rb +9 -9
- data/lib/orb/models/coupon_fetch_params.rb +4 -4
- data/lib/orb/models/coupon_list_params.rb +5 -5
- data/lib/orb/models/coupons/subscription_list_params.rb +4 -4
- data/lib/orb/models/credit_note.rb +30 -30
- data/lib/orb/models/credit_note_create_params.rb +8 -8
- data/lib/orb/models/credit_note_fetch_params.rb +4 -4
- data/lib/orb/models/credit_note_list_params.rb +4 -4
- data/lib/orb/models/customer.rb +33 -33
- data/lib/orb/models/customer_create_params.rb +36 -36
- data/lib/orb/models/customer_delete_params.rb +4 -4
- data/lib/orb/models/customer_fetch_by_external_id_params.rb +4 -4
- data/lib/orb/models/customer_fetch_params.rb +4 -4
- data/lib/orb/models/customer_list_params.rb +4 -4
- data/lib/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rb +4 -4
- data/lib/orb/models/customer_sync_payment_methods_from_gateway_params.rb +4 -4
- data/lib/orb/models/customer_update_by_external_id_params.rb +36 -36
- data/lib/orb/models/customer_update_params.rb +36 -36
- data/lib/orb/models/customers/balance_transaction_create_params.rb +5 -5
- data/lib/orb/models/customers/balance_transaction_create_response.rb +8 -8
- data/lib/orb/models/customers/balance_transaction_list_params.rb +4 -4
- data/lib/orb/models/customers/balance_transaction_list_response.rb +8 -8
- data/lib/orb/models/customers/cost_list_by_external_id_params.rb +5 -5
- data/lib/orb/models/customers/cost_list_by_external_id_response.rb +9 -8
- data/lib/orb/models/customers/cost_list_params.rb +5 -5
- data/lib/orb/models/customers/cost_list_response.rb +8 -8
- data/lib/orb/models/customers/credit_list_by_external_id_params.rb +5 -5
- data/lib/orb/models/customers/credit_list_by_external_id_response.rb +3 -3
- data/lib/orb/models/customers/credit_list_params.rb +5 -5
- data/lib/orb/models/customers/credit_list_response.rb +3 -3
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb +11 -11
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +57 -57
- data/lib/orb/models/customers/credits/ledger_create_entry_params.rb +11 -11
- data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +57 -57
- data/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rb +6 -6
- data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +57 -57
- data/lib/orb/models/customers/credits/ledger_list_params.rb +6 -6
- data/lib/orb/models/customers/credits/ledger_list_response.rb +57 -57
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +9 -9
- data/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +7 -7
- data/lib/orb/models/customers/credits/top_up_create_params.rb +9 -9
- data/lib/orb/models/customers/credits/top_up_create_response.rb +7 -7
- data/lib/orb/models/customers/credits/top_up_delete_by_external_id_params.rb +4 -4
- data/lib/orb/models/customers/credits/top_up_delete_params.rb +4 -4
- data/lib/orb/models/customers/credits/top_up_list_by_external_id_params.rb +4 -4
- data/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +7 -7
- data/lib/orb/models/customers/credits/top_up_list_params.rb +4 -4
- data/lib/orb/models/customers/credits/top_up_list_response.rb +7 -7
- data/lib/orb/models/dimensional_price_group.rb +4 -4
- data/lib/orb/models/dimensional_price_group_create_params.rb +6 -6
- data/lib/orb/models/dimensional_price_group_list_params.rb +4 -4
- data/lib/orb/models/dimensional_price_group_retrieve_params.rb +4 -4
- data/lib/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rb +4 -4
- data/lib/orb/models/dimensional_price_groups.rb +3 -3
- data/lib/orb/models/discount.rb +1 -1
- data/lib/orb/models/evaluate_price_group.rb +6 -5
- data/lib/orb/models/event_deprecate_params.rb +4 -4
- data/lib/orb/models/event_deprecate_response.rb +2 -2
- data/lib/orb/models/event_ingest_params.rb +9 -9
- data/lib/orb/models/event_ingest_response.rb +11 -10
- data/lib/orb/models/event_search_params.rb +5 -5
- data/lib/orb/models/event_search_response.rb +7 -7
- data/lib/orb/models/event_update_params.rb +5 -5
- data/lib/orb/models/event_update_response.rb +2 -2
- data/lib/orb/models/events/backfill_close_params.rb +4 -4
- data/lib/orb/models/events/backfill_close_response.rb +4 -4
- data/lib/orb/models/events/backfill_create_params.rb +5 -5
- data/lib/orb/models/events/backfill_create_response.rb +4 -4
- data/lib/orb/models/events/backfill_fetch_params.rb +4 -4
- data/lib/orb/models/events/backfill_fetch_response.rb +4 -4
- data/lib/orb/models/events/backfill_list_params.rb +4 -4
- data/lib/orb/models/events/backfill_list_response.rb +4 -4
- data/lib/orb/models/events/backfill_revert_params.rb +4 -4
- data/lib/orb/models/events/backfill_revert_response.rb +4 -4
- data/lib/orb/models/events/event_volumes.rb +5 -5
- data/lib/orb/models/events/volume_list_params.rb +4 -4
- data/lib/orb/models/invoice.rb +102 -100
- data/lib/orb/models/invoice_create_params.rb +12 -12
- data/lib/orb/models/invoice_fetch_params.rb +4 -4
- data/lib/orb/models/invoice_fetch_upcoming_params.rb +4 -4
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +104 -100
- data/lib/orb/models/invoice_issue_params.rb +5 -5
- data/lib/orb/models/invoice_level_discount.rb +1 -1
- data/lib/orb/models/invoice_line_item_create_params.rb +4 -4
- data/lib/orb/models/invoice_line_item_create_response.rb +55 -53
- data/lib/orb/models/invoice_list_params.rb +10 -8
- data/lib/orb/models/invoice_mark_paid_params.rb +4 -4
- data/lib/orb/models/invoice_pay_params.rb +4 -4
- data/lib/orb/models/invoice_update_params.rb +5 -5
- data/lib/orb/models/invoice_void_params.rb +4 -4
- data/lib/orb/models/item.rb +6 -6
- data/lib/orb/models/item_create_params.rb +4 -4
- data/lib/orb/models/item_fetch_params.rb +4 -4
- data/lib/orb/models/item_list_params.rb +4 -4
- data/lib/orb/models/item_update_params.rb +8 -8
- data/lib/orb/models/metric_create_params.rb +5 -5
- data/lib/orb/models/metric_fetch_params.rb +4 -4
- data/lib/orb/models/metric_list_params.rb +4 -4
- data/lib/orb/models/metric_update_params.rb +5 -5
- data/lib/orb/models/pagination_metadata.rb +3 -3
- data/lib/orb/models/percentage_discount.rb +4 -4
- data/lib/orb/models/plan.rb +50 -50
- data/lib/orb/models/plan_create_params.rb +337 -333
- data/lib/orb/models/plan_fetch_params.rb +4 -4
- data/lib/orb/models/plan_list_params.rb +5 -5
- data/lib/orb/models/plan_update_params.rb +5 -5
- data/lib/orb/models/plans/external_plan_id_fetch_params.rb +4 -4
- data/lib/orb/models/plans/external_plan_id_update_params.rb +5 -5
- data/lib/orb/models/price.rb +824 -816
- data/lib/orb/models/price_create_params.rb +78 -73
- data/lib/orb/models/price_evaluate_params.rb +5 -5
- data/lib/orb/models/price_evaluate_response.rb +3 -3
- data/lib/orb/models/price_fetch_params.rb +4 -4
- data/lib/orb/models/price_list_params.rb +4 -4
- data/lib/orb/models/price_update_params.rb +5 -5
- data/lib/orb/models/prices/external_price_id_fetch_params.rb +4 -4
- data/lib/orb/models/prices/external_price_id_update_params.rb +5 -5
- data/lib/orb/models/subscription.rb +74 -70
- data/lib/orb/models/subscription_cancel_params.rb +6 -6
- data/lib/orb/models/subscription_cancel_response.rb +73 -70
- data/lib/orb/models/subscription_create_params.rb +758 -740
- data/lib/orb/models/subscription_create_response.rb +73 -70
- data/lib/orb/models/subscription_fetch_costs_params.rb +5 -5
- data/lib/orb/models/subscription_fetch_costs_response.rb +8 -8
- data/lib/orb/models/subscription_fetch_params.rb +4 -4
- data/lib/orb/models/subscription_fetch_schedule_params.rb +4 -4
- data/lib/orb/models/subscription_fetch_schedule_response.rb +4 -4
- data/lib/orb/models/subscription_fetch_usage_params.rb +6 -6
- data/lib/orb/models/subscription_list_params.rb +7 -7
- data/lib/orb/models/subscription_price_intervals_params.rb +443 -434
- data/lib/orb/models/subscription_price_intervals_response.rb +70 -70
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +756 -740
- data/lib/orb/models/subscription_schedule_plan_change_response.rb +70 -70
- data/lib/orb/models/subscription_trigger_phase_params.rb +5 -5
- data/lib/orb/models/subscription_trigger_phase_response.rb +70 -70
- data/lib/orb/models/subscription_unschedule_cancellation_params.rb +4 -4
- data/lib/orb/models/subscription_unschedule_cancellation_response.rb +70 -70
- data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rb +4 -4
- data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +70 -70
- data/lib/orb/models/subscription_unschedule_pending_plan_changes_params.rb +4 -4
- data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +70 -70
- data/lib/orb/models/subscription_update_fixed_fee_quantity_params.rb +6 -6
- data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +70 -70
- data/lib/orb/models/subscription_update_params.rb +6 -6
- data/lib/orb/models/subscription_update_trial_params.rb +6 -6
- data/lib/orb/models/subscription_update_trial_response.rb +70 -70
- data/lib/orb/models/subscription_usage.rb +27 -25
- data/lib/orb/models/subscriptions.rb +3 -3
- data/lib/orb/models/top_level_ping_params.rb +4 -4
- data/lib/orb/models/top_level_ping_response.rb +2 -2
- data/lib/orb/models/trial_discount.rb +4 -4
- data/lib/orb/models/usage_discount.rb +4 -4
- data/lib/orb/request_options.rb +4 -4
- data/lib/orb/resources/alerts.rb +8 -3
- data/lib/orb/resources/coupons/subscriptions.rb +2 -2
- data/lib/orb/resources/coupons.rb +2 -2
- data/lib/orb/resources/credit_notes.rb +8 -3
- data/lib/orb/resources/customers/balance_transactions.rb +8 -3
- data/lib/orb/resources/customers/credits/ledger.rb +16 -6
- data/lib/orb/resources/customers/credits/top_ups.rb +4 -4
- data/lib/orb/resources/customers/credits.rb +4 -4
- data/lib/orb/resources/customers.rb +8 -3
- data/lib/orb/resources/dimensional_price_groups.rb +2 -2
- data/lib/orb/resources/events/backfills.rb +2 -2
- data/lib/orb/resources/invoices.rb +12 -3
- data/lib/orb/resources/items.rb +2 -2
- data/lib/orb/resources/metrics.rb +8 -3
- data/lib/orb/resources/plans.rb +8 -3
- data/lib/orb/resources/prices.rb +2 -2
- data/lib/orb/resources/subscriptions.rb +16 -6
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +15 -15
- data/rbi/lib/orb/client.rbi +1 -1
- data/rbi/lib/orb/errors.rbi +0 -52
- data/rbi/lib/orb/internal/page.rbi +37 -0
- data/rbi/lib/orb/internal/transport/base_client.rbi +209 -0
- data/rbi/lib/orb/internal/transport/pooled_net_requester.rbi +66 -0
- data/rbi/lib/orb/internal/type/array_of.rbi +88 -0
- data/rbi/lib/orb/internal/type/base_model.rbi +208 -0
- data/rbi/lib/orb/internal/type/base_page.rbi +41 -0
- data/rbi/lib/orb/internal/type/boolean.rbi +43 -0
- data/rbi/lib/orb/internal/type/converter.rbi +106 -0
- data/rbi/lib/orb/internal/type/enum.rbi +60 -0
- data/rbi/lib/orb/internal/type/hash_of.rbi +87 -0
- data/rbi/lib/orb/internal/type/request_parameters.rbi +22 -0
- data/rbi/lib/orb/internal/type/union.rbi +70 -0
- data/rbi/lib/orb/internal/type/unknown.rbi +42 -0
- data/rbi/lib/orb/internal/util.rbi +282 -0
- data/rbi/lib/orb/internal.rbi +12 -0
- data/rbi/lib/orb/models/alert.rbi +16 -16
- data/rbi/lib/orb/models/alert_create_for_customer_params.rbi +7 -7
- data/rbi/lib/orb/models/alert_create_for_external_customer_params.rbi +7 -7
- data/rbi/lib/orb/models/alert_create_for_subscription_params.rbi +7 -7
- data/rbi/lib/orb/models/alert_disable_params.rbi +4 -4
- data/rbi/lib/orb/models/alert_enable_params.rbi +4 -4
- data/rbi/lib/orb/models/alert_list_params.rbi +4 -4
- data/rbi/lib/orb/models/alert_retrieve_params.rbi +4 -4
- data/rbi/lib/orb/models/alert_update_params.rbi +6 -6
- data/rbi/lib/orb/models/amount_discount.rbi +2 -2
- data/rbi/lib/orb/models/billable_metric.rbi +4 -4
- data/rbi/lib/orb/models/billing_cycle_relative_date.rbi +1 -1
- data/rbi/lib/orb/models/coupon.rbi +3 -3
- data/rbi/lib/orb/models/coupon_archive_params.rbi +4 -4
- data/rbi/lib/orb/models/coupon_create_params.rbi +8 -8
- data/rbi/lib/orb/models/coupon_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/coupon_list_params.rbi +4 -4
- data/rbi/lib/orb/models/coupons/subscription_list_params.rbi +4 -4
- data/rbi/lib/orb/models/credit_note.rbi +29 -26
- data/rbi/lib/orb/models/credit_note_create_params.rbi +7 -7
- data/rbi/lib/orb/models/credit_note_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/credit_note_list_params.rbi +4 -4
- data/rbi/lib/orb/models/customer.rbi +36 -30
- data/rbi/lib/orb/models/customer_create_params.rbi +34 -31
- data/rbi/lib/orb/models/customer_delete_params.rbi +4 -4
- data/rbi/lib/orb/models/customer_fetch_by_external_id_params.rbi +4 -4
- data/rbi/lib/orb/models/customer_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/customer_list_params.rbi +4 -4
- data/rbi/lib/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rbi +4 -4
- data/rbi/lib/orb/models/customer_sync_payment_methods_from_gateway_params.rbi +4 -4
- data/rbi/lib/orb/models/customer_update_by_external_id_params.rbi +33 -31
- data/rbi/lib/orb/models/customer_update_params.rbi +34 -31
- data/rbi/lib/orb/models/customers/balance_transaction_create_params.rbi +5 -5
- data/rbi/lib/orb/models/customers/balance_transaction_create_response.rbi +17 -9
- data/rbi/lib/orb/models/customers/balance_transaction_list_params.rbi +4 -4
- data/rbi/lib/orb/models/customers/balance_transaction_list_response.rbi +13 -9
- data/rbi/lib/orb/models/customers/cost_list_by_external_id_params.rbi +5 -5
- data/rbi/lib/orb/models/customers/cost_list_by_external_id_response.rbi +6 -6
- data/rbi/lib/orb/models/customers/cost_list_params.rbi +5 -5
- data/rbi/lib/orb/models/customers/cost_list_response.rbi +6 -6
- data/rbi/lib/orb/models/customers/credit_list_by_external_id_params.rbi +4 -4
- data/rbi/lib/orb/models/customers/credit_list_by_external_id_response.rbi +2 -2
- data/rbi/lib/orb/models/customers/credit_list_params.rbi +4 -4
- data/rbi/lib/orb/models/customers/credit_list_response.rbi +2 -2
- data/rbi/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbi +9 -9
- data/rbi/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +57 -57
- data/rbi/lib/orb/models/customers/credits/ledger_create_entry_params.rbi +9 -9
- data/rbi/lib/orb/models/customers/credits/ledger_create_entry_response.rbi +57 -57
- data/rbi/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rbi +6 -6
- data/rbi/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +57 -57
- data/rbi/lib/orb/models/customers/credits/ledger_list_params.rbi +6 -6
- data/rbi/lib/orb/models/customers/credits/ledger_list_response.rbi +63 -57
- data/rbi/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +14 -8
- data/rbi/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +5 -5
- data/rbi/lib/orb/models/customers/credits/top_up_create_params.rbi +8 -8
- data/rbi/lib/orb/models/customers/credits/top_up_create_response.rbi +5 -5
- data/rbi/lib/orb/models/customers/credits/top_up_delete_by_external_id_params.rbi +4 -4
- data/rbi/lib/orb/models/customers/credits/top_up_delete_params.rbi +4 -4
- data/rbi/lib/orb/models/customers/credits/top_up_list_by_external_id_params.rbi +4 -4
- data/rbi/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +11 -5
- data/rbi/lib/orb/models/customers/credits/top_up_list_params.rbi +4 -4
- data/rbi/lib/orb/models/customers/credits/top_up_list_response.rbi +5 -5
- data/rbi/lib/orb/models/dimensional_price_group.rbi +1 -1
- data/rbi/lib/orb/models/dimensional_price_group_create_params.rbi +4 -4
- data/rbi/lib/orb/models/dimensional_price_group_list_params.rbi +4 -4
- data/rbi/lib/orb/models/dimensional_price_group_retrieve_params.rbi +4 -4
- data/rbi/lib/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rbi +9 -4
- data/rbi/lib/orb/models/dimensional_price_groups.rbi +4 -4
- data/rbi/lib/orb/models/discount.rbi +1 -1
- data/rbi/lib/orb/models/evaluate_price_group.rbi +2 -2
- data/rbi/lib/orb/models/event_deprecate_params.rbi +4 -4
- data/rbi/lib/orb/models/event_deprecate_response.rbi +1 -1
- data/rbi/lib/orb/models/event_ingest_params.rbi +6 -6
- data/rbi/lib/orb/models/event_ingest_response.rbi +6 -6
- data/rbi/lib/orb/models/event_search_params.rbi +4 -4
- data/rbi/lib/orb/models/event_search_response.rbi +3 -3
- data/rbi/lib/orb/models/event_update_params.rbi +4 -4
- data/rbi/lib/orb/models/event_update_response.rbi +1 -1
- data/rbi/lib/orb/models/events/backfill_close_params.rbi +9 -4
- data/rbi/lib/orb/models/events/backfill_close_response.rbi +2 -2
- data/rbi/lib/orb/models/events/backfill_create_params.rbi +4 -4
- data/rbi/lib/orb/models/events/backfill_create_response.rbi +2 -2
- data/rbi/lib/orb/models/events/backfill_fetch_params.rbi +9 -4
- data/rbi/lib/orb/models/events/backfill_fetch_response.rbi +2 -2
- data/rbi/lib/orb/models/events/backfill_list_params.rbi +4 -4
- data/rbi/lib/orb/models/events/backfill_list_response.rbi +2 -2
- data/rbi/lib/orb/models/events/backfill_revert_params.rbi +9 -4
- data/rbi/lib/orb/models/events/backfill_revert_response.rbi +2 -2
- data/rbi/lib/orb/models/events/event_volumes.rbi +3 -3
- data/rbi/lib/orb/models/events/volume_list_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice.rbi +96 -84
- data/rbi/lib/orb/models/invoice_create_params.rbi +14 -11
- data/rbi/lib/orb/models/invoice_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice_fetch_upcoming_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice_fetch_upcoming_response.rbi +94 -84
- data/rbi/lib/orb/models/invoice_issue_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice_level_discount.rbi +1 -1
- data/rbi/lib/orb/models/invoice_line_item_create_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice_line_item_create_response.rbi +42 -38
- data/rbi/lib/orb/models/invoice_list_params.rbi +6 -6
- data/rbi/lib/orb/models/invoice_mark_paid_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice_pay_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice_update_params.rbi +4 -4
- data/rbi/lib/orb/models/invoice_void_params.rbi +4 -4
- data/rbi/lib/orb/models/item.rbi +4 -4
- data/rbi/lib/orb/models/item_create_params.rbi +4 -4
- data/rbi/lib/orb/models/item_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/item_list_params.rbi +4 -4
- data/rbi/lib/orb/models/item_update_params.rbi +7 -7
- data/rbi/lib/orb/models/metric_create_params.rbi +4 -4
- data/rbi/lib/orb/models/metric_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/metric_list_params.rbi +4 -4
- data/rbi/lib/orb/models/metric_update_params.rbi +4 -4
- data/rbi/lib/orb/models/pagination_metadata.rbi +1 -1
- data/rbi/lib/orb/models/percentage_discount.rbi +2 -2
- data/rbi/lib/orb/models/plan.rbi +37 -37
- data/rbi/lib/orb/models/plan_create_params.rbi +307 -291
- data/rbi/lib/orb/models/plan_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/plan_list_params.rbi +5 -5
- data/rbi/lib/orb/models/plan_update_params.rbi +4 -4
- data/rbi/lib/orb/models/plans/external_plan_id_fetch_params.rbi +9 -4
- data/rbi/lib/orb/models/plans/external_plan_id_update_params.rbi +4 -4
- data/rbi/lib/orb/models/price.rbi +1038 -880
- data/rbi/lib/orb/models/price_create_params.rbi +60 -53
- data/rbi/lib/orb/models/price_evaluate_params.rbi +4 -4
- data/rbi/lib/orb/models/price_evaluate_response.rbi +2 -2
- data/rbi/lib/orb/models/price_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/price_list_params.rbi +4 -4
- data/rbi/lib/orb/models/price_update_params.rbi +4 -4
- data/rbi/lib/orb/models/prices/external_price_id_fetch_params.rbi +9 -4
- data/rbi/lib/orb/models/prices/external_price_id_update_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription.rbi +42 -40
- data/rbi/lib/orb/models/subscription_cancel_params.rbi +5 -5
- data/rbi/lib/orb/models/subscription_cancel_response.rbi +40 -40
- data/rbi/lib/orb/models/subscription_create_params.rbi +630 -620
- data/rbi/lib/orb/models/subscription_create_response.rbi +40 -40
- data/rbi/lib/orb/models/subscription_fetch_costs_params.rbi +5 -5
- data/rbi/lib/orb/models/subscription_fetch_costs_response.rbi +6 -6
- data/rbi/lib/orb/models/subscription_fetch_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription_fetch_schedule_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription_fetch_schedule_response.rbi +4 -4
- data/rbi/lib/orb/models/subscription_fetch_usage_params.rbi +6 -6
- data/rbi/lib/orb/models/subscription_list_params.rbi +5 -5
- data/rbi/lib/orb/models/subscription_price_intervals_params.rbi +385 -365
- data/rbi/lib/orb/models/subscription_price_intervals_response.rbi +42 -40
- data/rbi/lib/orb/models/subscription_schedule_plan_change_params.rbi +627 -621
- data/rbi/lib/orb/models/subscription_schedule_plan_change_response.rbi +49 -40
- data/rbi/lib/orb/models/subscription_trigger_phase_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription_trigger_phase_response.rbi +48 -40
- data/rbi/lib/orb/models/subscription_unschedule_cancellation_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription_unschedule_cancellation_response.rbi +40 -40
- data/rbi/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +46 -40
- data/rbi/lib/orb/models/subscription_unschedule_pending_plan_changes_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +61 -40
- data/rbi/lib/orb/models/subscription_update_fixed_fee_quantity_params.rbi +5 -5
- data/rbi/lib/orb/models/subscription_update_fixed_fee_quantity_response.rbi +40 -40
- data/rbi/lib/orb/models/subscription_update_params.rbi +4 -4
- data/rbi/lib/orb/models/subscription_update_trial_params.rbi +5 -5
- data/rbi/lib/orb/models/subscription_update_trial_response.rbi +49 -40
- data/rbi/lib/orb/models/subscription_usage.rbi +30 -24
- data/rbi/lib/orb/models/subscriptions.rbi +4 -4
- data/rbi/lib/orb/models/top_level_ping_params.rbi +4 -4
- data/rbi/lib/orb/models/top_level_ping_response.rbi +1 -1
- data/rbi/lib/orb/models/trial_discount.rbi +2 -2
- data/rbi/lib/orb/models/usage_discount.rbi +2 -2
- data/rbi/lib/orb/request_options.rbi +2 -2
- data/rbi/lib/orb/resources/alerts.rbi +16 -13
- data/rbi/lib/orb/resources/coupons/subscriptions.rbi +2 -2
- data/rbi/lib/orb/resources/coupons.rbi +12 -6
- data/rbi/lib/orb/resources/credit_notes.rbi +5 -5
- data/rbi/lib/orb/resources/customers/balance_transactions.rbi +3 -3
- data/rbi/lib/orb/resources/customers/costs.rbi +2 -2
- data/rbi/lib/orb/resources/customers/credits/ledger.rbi +8 -8
- data/rbi/lib/orb/resources/customers/credits/top_ups.rbi +13 -10
- data/rbi/lib/orb/resources/customers/credits.rbi +4 -4
- data/rbi/lib/orb/resources/customers.rbi +31 -31
- data/rbi/lib/orb/resources/dimensional_price_groups/external_dimensional_price_group_id.rbi +1 -1
- data/rbi/lib/orb/resources/dimensional_price_groups.rbi +4 -4
- data/rbi/lib/orb/resources/events/backfills.rbi +6 -6
- data/rbi/lib/orb/resources/events/volume.rbi +1 -1
- data/rbi/lib/orb/resources/events.rbi +8 -5
- data/rbi/lib/orb/resources/invoice_line_items.rbi +1 -1
- data/rbi/lib/orb/resources/invoices.rbi +21 -12
- data/rbi/lib/orb/resources/items.rbi +9 -6
- data/rbi/lib/orb/resources/metrics.rbi +8 -5
- data/rbi/lib/orb/resources/plans/external_plan_id.rbi +2 -2
- data/rbi/lib/orb/resources/plans.rbi +9 -6
- data/rbi/lib/orb/resources/prices/external_price_id.rbi +2 -2
- data/rbi/lib/orb/resources/prices.rbi +20 -17
- data/rbi/lib/orb/resources/subscriptions.rbi +40 -36
- data/rbi/lib/orb/resources/top_level.rbi +1 -1
- data/rbi/lib/orb/version.rbi +1 -1
- data/sig/orb/client.rbs +1 -1
- data/sig/orb/errors.rbs +0 -52
- data/sig/orb/internal/page.rbs +24 -0
- data/sig/orb/internal/transport/base_client.rbs +110 -0
- data/sig/orb/internal/transport/pooled_net_requester.rbs +41 -0
- data/sig/orb/internal/type/array_of.rbs +38 -0
- data/sig/orb/internal/type/base_model.rbs +79 -0
- data/sig/orb/internal/type/base_page.rbs +24 -0
- data/sig/orb/internal/type/boolean.rbs +20 -0
- data/sig/orb/internal/type/converter.rbs +44 -0
- data/sig/orb/internal/type/enum.rbs +24 -0
- data/sig/orb/internal/type/hash_of.rbs +38 -0
- data/sig/orb/internal/type/request_parameters.rbs +15 -0
- data/sig/orb/internal/type/union.rbs +42 -0
- data/sig/orb/internal/type/unknown.rbs +20 -0
- data/sig/orb/internal/util.rbs +139 -0
- data/sig/orb/internal.rbs +5 -0
- data/sig/orb/models/alert.rbs +7 -7
- data/sig/orb/models/alert_create_for_customer_params.rbs +6 -6
- data/sig/orb/models/alert_create_for_external_customer_params.rbs +6 -6
- data/sig/orb/models/alert_create_for_subscription_params.rbs +6 -6
- data/sig/orb/models/alert_disable_params.rbs +4 -4
- data/sig/orb/models/alert_enable_params.rbs +4 -4
- data/sig/orb/models/alert_list_params.rbs +4 -4
- data/sig/orb/models/alert_retrieve_params.rbs +4 -4
- data/sig/orb/models/alert_update_params.rbs +5 -5
- data/sig/orb/models/amount_discount.rbs +2 -2
- data/sig/orb/models/billable_metric.rbs +2 -2
- data/sig/orb/models/billing_cycle_relative_date.rbs +1 -1
- data/sig/orb/models/coupon.rbs +2 -2
- data/sig/orb/models/coupon_archive_params.rbs +4 -4
- data/sig/orb/models/coupon_create_params.rbs +7 -7
- data/sig/orb/models/coupon_fetch_params.rbs +4 -4
- data/sig/orb/models/coupon_list_params.rbs +4 -4
- data/sig/orb/models/coupons/subscription_list_params.rbs +5 -4
- data/sig/orb/models/credit_note.rbs +14 -14
- data/sig/orb/models/credit_note_create_params.rbs +6 -6
- data/sig/orb/models/credit_note_fetch_params.rbs +5 -4
- data/sig/orb/models/credit_note_list_params.rbs +4 -4
- data/sig/orb/models/customer.rbs +14 -14
- data/sig/orb/models/customer_create_params.rbs +17 -17
- data/sig/orb/models/customer_delete_params.rbs +4 -4
- data/sig/orb/models/customer_fetch_by_external_id_params.rbs +5 -4
- data/sig/orb/models/customer_fetch_params.rbs +4 -4
- data/sig/orb/models/customer_list_params.rbs +4 -4
- data/sig/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rbs +4 -4
- data/sig/orb/models/customer_sync_payment_methods_from_gateway_params.rbs +4 -4
- data/sig/orb/models/customer_update_by_external_id_params.rbs +17 -17
- data/sig/orb/models/customer_update_params.rbs +17 -17
- data/sig/orb/models/customers/balance_transaction_create_params.rbs +5 -5
- data/sig/orb/models/customers/balance_transaction_create_response.rbs +5 -5
- data/sig/orb/models/customers/balance_transaction_list_params.rbs +4 -4
- data/sig/orb/models/customers/balance_transaction_list_response.rbs +5 -5
- data/sig/orb/models/customers/cost_list_by_external_id_params.rbs +5 -5
- data/sig/orb/models/customers/cost_list_by_external_id_response.rbs +3 -3
- data/sig/orb/models/customers/cost_list_params.rbs +5 -5
- data/sig/orb/models/customers/cost_list_response.rbs +3 -3
- data/sig/orb/models/customers/credit_list_by_external_id_params.rbs +4 -4
- data/sig/orb/models/customers/credit_list_by_external_id_response.rbs +2 -2
- data/sig/orb/models/customers/credit_list_params.rbs +4 -4
- data/sig/orb/models/customers/credit_list_response.rbs +2 -2
- data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbs +7 -7
- data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbs +29 -29
- data/sig/orb/models/customers/credits/ledger_create_entry_params.rbs +7 -7
- data/sig/orb/models/customers/credits/ledger_create_entry_response.rbs +29 -29
- data/sig/orb/models/customers/credits/ledger_list_by_external_id_params.rbs +6 -6
- data/sig/orb/models/customers/credits/ledger_list_by_external_id_response.rbs +29 -29
- data/sig/orb/models/customers/credits/ledger_list_params.rbs +6 -6
- data/sig/orb/models/customers/credits/ledger_list_response.rbs +29 -29
- data/sig/orb/models/customers/credits/top_up_create_by_external_id_params.rbs +6 -6
- data/sig/orb/models/customers/credits/top_up_create_by_external_id_response.rbs +3 -3
- data/sig/orb/models/customers/credits/top_up_create_params.rbs +6 -6
- data/sig/orb/models/customers/credits/top_up_create_response.rbs +3 -3
- data/sig/orb/models/customers/credits/top_up_delete_by_external_id_params.rbs +5 -4
- data/sig/orb/models/customers/credits/top_up_delete_params.rbs +4 -4
- data/sig/orb/models/customers/credits/top_up_list_by_external_id_params.rbs +5 -4
- data/sig/orb/models/customers/credits/top_up_list_by_external_id_response.rbs +3 -3
- data/sig/orb/models/customers/credits/top_up_list_params.rbs +5 -4
- data/sig/orb/models/customers/credits/top_up_list_response.rbs +3 -3
- data/sig/orb/models/dimensional_price_group.rbs +1 -1
- data/sig/orb/models/dimensional_price_group_create_params.rbs +4 -4
- data/sig/orb/models/dimensional_price_group_list_params.rbs +5 -4
- data/sig/orb/models/dimensional_price_group_retrieve_params.rbs +4 -4
- data/sig/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rbs +4 -4
- data/sig/orb/models/dimensional_price_groups.rbs +1 -1
- data/sig/orb/models/discount.rbs +1 -1
- data/sig/orb/models/evaluate_price_group.rbs +2 -2
- data/sig/orb/models/event_deprecate_params.rbs +4 -4
- data/sig/orb/models/event_deprecate_response.rbs +1 -1
- data/sig/orb/models/event_ingest_params.rbs +5 -5
- data/sig/orb/models/event_ingest_response.rbs +3 -3
- data/sig/orb/models/event_search_params.rbs +4 -4
- data/sig/orb/models/event_search_response.rbs +2 -2
- data/sig/orb/models/event_update_params.rbs +4 -4
- data/sig/orb/models/event_update_response.rbs +1 -1
- data/sig/orb/models/events/backfill_close_params.rbs +5 -4
- data/sig/orb/models/events/backfill_close_response.rbs +2 -2
- data/sig/orb/models/events/backfill_create_params.rbs +4 -4
- data/sig/orb/models/events/backfill_create_response.rbs +2 -2
- data/sig/orb/models/events/backfill_fetch_params.rbs +5 -4
- data/sig/orb/models/events/backfill_fetch_response.rbs +2 -2
- data/sig/orb/models/events/backfill_list_params.rbs +5 -4
- data/sig/orb/models/events/backfill_list_response.rbs +2 -2
- data/sig/orb/models/events/backfill_revert_params.rbs +5 -4
- data/sig/orb/models/events/backfill_revert_response.rbs +2 -2
- data/sig/orb/models/events/event_volumes.rbs +2 -2
- data/sig/orb/models/events/volume_list_params.rbs +4 -4
- data/sig/orb/models/invoice.rbs +40 -40
- data/sig/orb/models/invoice_create_params.rbs +7 -7
- data/sig/orb/models/invoice_fetch_params.rbs +4 -4
- data/sig/orb/models/invoice_fetch_upcoming_params.rbs +4 -4
- data/sig/orb/models/invoice_fetch_upcoming_response.rbs +40 -40
- data/sig/orb/models/invoice_issue_params.rbs +5 -4
- data/sig/orb/models/invoice_level_discount.rbs +1 -1
- data/sig/orb/models/invoice_line_item_create_params.rbs +4 -4
- data/sig/orb/models/invoice_line_item_create_response.rbs +19 -19
- data/sig/orb/models/invoice_list_params.rbs +6 -6
- data/sig/orb/models/invoice_mark_paid_params.rbs +4 -4
- data/sig/orb/models/invoice_pay_params.rbs +4 -4
- data/sig/orb/models/invoice_update_params.rbs +5 -4
- data/sig/orb/models/invoice_void_params.rbs +4 -4
- data/sig/orb/models/item.rbs +3 -3
- data/sig/orb/models/item_create_params.rbs +5 -4
- data/sig/orb/models/item_fetch_params.rbs +4 -4
- data/sig/orb/models/item_list_params.rbs +5 -4
- data/sig/orb/models/item_update_params.rbs +6 -6
- data/sig/orb/models/metric_create_params.rbs +4 -4
- data/sig/orb/models/metric_fetch_params.rbs +4 -4
- data/sig/orb/models/metric_list_params.rbs +4 -4
- data/sig/orb/models/metric_update_params.rbs +5 -4
- data/sig/orb/models/pagination_metadata.rbs +1 -1
- data/sig/orb/models/percentage_discount.rbs +2 -2
- data/sig/orb/models/plan.rbs +18 -18
- data/sig/orb/models/plan_create_params.rbs +169 -169
- data/sig/orb/models/plan_fetch_params.rbs +4 -4
- data/sig/orb/models/plan_list_params.rbs +5 -5
- data/sig/orb/models/plan_update_params.rbs +4 -4
- data/sig/orb/models/plans/external_plan_id_fetch_params.rbs +5 -4
- data/sig/orb/models/plans/external_plan_id_update_params.rbs +4 -4
- data/sig/orb/models/price.rbs +380 -380
- data/sig/orb/models/price_create_params.rbs +25 -25
- data/sig/orb/models/price_evaluate_params.rbs +4 -4
- data/sig/orb/models/price_evaluate_response.rbs +1 -1
- data/sig/orb/models/price_fetch_params.rbs +4 -4
- data/sig/orb/models/price_list_params.rbs +5 -4
- data/sig/orb/models/price_update_params.rbs +5 -4
- data/sig/orb/models/prices/external_price_id_fetch_params.rbs +5 -4
- data/sig/orb/models/prices/external_price_id_update_params.rbs +5 -4
- data/sig/orb/models/subscription.rbs +21 -21
- data/sig/orb/models/subscription_cancel_params.rbs +5 -5
- data/sig/orb/models/subscription_cancel_response.rbs +21 -21
- data/sig/orb/models/subscription_create_params.rbs +360 -360
- data/sig/orb/models/subscription_create_response.rbs +21 -21
- data/sig/orb/models/subscription_fetch_costs_params.rbs +5 -5
- data/sig/orb/models/subscription_fetch_costs_response.rbs +3 -3
- data/sig/orb/models/subscription_fetch_params.rbs +5 -4
- data/sig/orb/models/subscription_fetch_schedule_params.rbs +4 -4
- data/sig/orb/models/subscription_fetch_schedule_response.rbs +2 -2
- data/sig/orb/models/subscription_fetch_usage_params.rbs +6 -6
- data/sig/orb/models/subscription_list_params.rbs +5 -5
- data/sig/orb/models/subscription_price_intervals_params.rbs +214 -214
- data/sig/orb/models/subscription_price_intervals_response.rbs +21 -21
- data/sig/orb/models/subscription_schedule_plan_change_params.rbs +361 -361
- data/sig/orb/models/subscription_schedule_plan_change_response.rbs +21 -21
- data/sig/orb/models/subscription_trigger_phase_params.rbs +4 -4
- data/sig/orb/models/subscription_trigger_phase_response.rbs +21 -21
- data/sig/orb/models/subscription_unschedule_cancellation_params.rbs +4 -4
- data/sig/orb/models/subscription_unschedule_cancellation_response.rbs +21 -21
- data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbs +4 -4
- data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbs +21 -21
- data/sig/orb/models/subscription_unschedule_pending_plan_changes_params.rbs +4 -4
- data/sig/orb/models/subscription_unschedule_pending_plan_changes_response.rbs +21 -21
- data/sig/orb/models/subscription_update_fixed_fee_quantity_params.rbs +5 -5
- data/sig/orb/models/subscription_update_fixed_fee_quantity_response.rbs +21 -21
- data/sig/orb/models/subscription_update_params.rbs +4 -4
- data/sig/orb/models/subscription_update_trial_params.rbs +5 -5
- data/sig/orb/models/subscription_update_trial_response.rbs +21 -21
- data/sig/orb/models/subscription_usage.rbs +12 -12
- data/sig/orb/models/subscriptions.rbs +1 -1
- data/sig/orb/models/top_level_ping_params.rbs +4 -4
- data/sig/orb/models/top_level_ping_response.rbs +1 -1
- data/sig/orb/models/trial_discount.rbs +2 -2
- data/sig/orb/models/usage_discount.rbs +2 -2
- data/sig/orb/request_options.rbs +1 -1
- data/sig/orb/resources/alerts.rbs +1 -1
- data/sig/orb/resources/coupons/subscriptions.rbs +1 -1
- data/sig/orb/resources/coupons.rbs +1 -1
- data/sig/orb/resources/credit_notes.rbs +1 -1
- data/sig/orb/resources/customers/balance_transactions.rbs +1 -1
- data/sig/orb/resources/customers/credits/ledger.rbs +2 -2
- data/sig/orb/resources/customers/credits/top_ups.rbs +2 -2
- data/sig/orb/resources/customers/credits.rbs +2 -2
- data/sig/orb/resources/customers.rbs +1 -1
- data/sig/orb/resources/dimensional_price_groups.rbs +1 -1
- data/sig/orb/resources/events/backfills.rbs +1 -1
- data/sig/orb/resources/invoices.rbs +1 -1
- data/sig/orb/resources/items.rbs +1 -1
- data/sig/orb/resources/metrics.rbs +1 -1
- data/sig/orb/resources/plans.rbs +1 -1
- data/sig/orb/resources/prices.rbs +1 -1
- data/sig/orb/resources/subscriptions.rbs +2 -2
- data/sig/orb/version.rbs +1 -1
- metadata +47 -47
- data/lib/orb/page.rb +0 -114
- data/lib/orb/transport/base_client.rb +0 -459
- data/lib/orb/transport/pooled_net_requester.rb +0 -182
- data/lib/orb/type/array_of.rb +0 -112
- data/lib/orb/type/base_model.rb +0 -367
- data/lib/orb/type/base_page.rb +0 -61
- data/lib/orb/type/boolean_model.rb +0 -52
- data/lib/orb/type/converter.rb +0 -217
- data/lib/orb/type/enum.rb +0 -101
- data/lib/orb/type/hash_of.rb +0 -132
- data/lib/orb/type/request_parameters.rb +0 -38
- data/lib/orb/type/union.rb +0 -225
- data/lib/orb/type/unknown.rb +0 -56
- data/lib/orb/type.rb +0 -23
- data/lib/orb/util.rb +0 -722
- data/rbi/lib/orb/page.rbi +0 -35
- data/rbi/lib/orb/transport/base_client.rbi +0 -205
- data/rbi/lib/orb/transport/pooled_net_requester.rbi +0 -64
- data/rbi/lib/orb/type/array_of.rbi +0 -82
- data/rbi/lib/orb/type/base_model.rbi +0 -197
- data/rbi/lib/orb/type/base_page.rbi +0 -38
- data/rbi/lib/orb/type/boolean_model.rbi +0 -41
- data/rbi/lib/orb/type/converter.rbi +0 -95
- data/rbi/lib/orb/type/enum.rbi +0 -58
- data/rbi/lib/orb/type/hash_of.rbi +0 -86
- data/rbi/lib/orb/type/request_parameters.rbi +0 -20
- data/rbi/lib/orb/type/union.rbi +0 -66
- data/rbi/lib/orb/type/unknown.rbi +0 -37
- data/rbi/lib/orb/type.rbi +0 -23
- data/rbi/lib/orb/util.rbi +0 -278
- data/sig/orb/page.rbs +0 -22
- data/sig/orb/transport/base_client.rbs +0 -110
- data/sig/orb/transport/pooled_net_requester.rbs +0 -39
- data/sig/orb/type/array_of.rbs +0 -36
- data/sig/orb/type/base_model.rbs +0 -77
- data/sig/orb/type/base_page.rbs +0 -22
- data/sig/orb/type/boolean_model.rbs +0 -18
- data/sig/orb/type/converter.rbs +0 -36
- data/sig/orb/type/enum.rbs +0 -22
- data/sig/orb/type/hash_of.rbs +0 -36
- data/sig/orb/type/request_parameters.rbs +0 -13
- data/sig/orb/type/union.rbs +0 -37
- data/sig/orb/type/unknown.rbs +0 -15
- data/sig/orb/type.rbs +0 -22
- data/sig/orb/util.rbs +0 -132
@@ -3,16 +3,16 @@
|
|
3
3
|
module Orb
|
4
4
|
module Models
|
5
5
|
# @see Orb::Resources::Subscriptions#price_intervals
|
6
|
-
class SubscriptionPriceIntervalsParams < Orb::BaseModel
|
6
|
+
class SubscriptionPriceIntervalsParams < Orb::Internal::Type::BaseModel
|
7
7
|
# @!parse
|
8
|
-
# extend Orb::Type::RequestParameters::Converter
|
9
|
-
include Orb::RequestParameters
|
8
|
+
# extend Orb::Internal::Type::RequestParameters::Converter
|
9
|
+
include Orb::Internal::Type::RequestParameters
|
10
10
|
|
11
11
|
# @!attribute [r] add
|
12
12
|
# A list of price intervals to add to the subscription.
|
13
13
|
#
|
14
14
|
# @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::Add>, nil]
|
15
|
-
optional :add, -> { Orb::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::Add] }
|
15
|
+
optional :add, -> { Orb::Internal::Type::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::Add] }
|
16
16
|
|
17
17
|
# @!parse
|
18
18
|
# # @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::Add>]
|
@@ -23,7 +23,7 @@ module Orb
|
|
23
23
|
#
|
24
24
|
# @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment>, nil]
|
25
25
|
optional :add_adjustments,
|
26
|
-
-> { Orb::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment] }
|
26
|
+
-> { Orb::Internal::Type::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment] }
|
27
27
|
|
28
28
|
# @!parse
|
29
29
|
# # @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment>]
|
@@ -35,13 +35,13 @@ module Orb
|
|
35
35
|
# existing invoices to be changed.
|
36
36
|
#
|
37
37
|
# @return [Boolean, nil]
|
38
|
-
optional :allow_invoice_credit_or_void, Orb::
|
38
|
+
optional :allow_invoice_credit_or_void, Orb::Internal::Type::Boolean, nil?: true
|
39
39
|
|
40
40
|
# @!attribute [r] edit
|
41
41
|
# A list of price intervals to edit on the subscription.
|
42
42
|
#
|
43
43
|
# @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::Edit>, nil]
|
44
|
-
optional :edit, -> { Orb::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::Edit] }
|
44
|
+
optional :edit, -> { Orb::Internal::Type::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::Edit] }
|
45
45
|
|
46
46
|
# @!parse
|
47
47
|
# # @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::Edit>]
|
@@ -52,7 +52,7 @@ module Orb
|
|
52
52
|
#
|
53
53
|
# @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::EditAdjustment>, nil]
|
54
54
|
optional :edit_adjustments,
|
55
|
-
-> { Orb::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::EditAdjustment] }
|
55
|
+
-> { Orb::Internal::Type::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::EditAdjustment] }
|
56
56
|
|
57
57
|
# @!parse
|
58
58
|
# # @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::EditAdjustment>]
|
@@ -78,9 +78,9 @@ module Orb
|
|
78
78
|
# super
|
79
79
|
# end
|
80
80
|
|
81
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
81
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
82
82
|
|
83
|
-
class Add < Orb::BaseModel
|
83
|
+
class Add < Orb::Internal::Type::BaseModel
|
84
84
|
# @!attribute start_date
|
85
85
|
# The start date of the price interval. This is the date that the price will start
|
86
86
|
# billing on the subscription.
|
@@ -101,7 +101,7 @@ module Orb
|
|
101
101
|
#
|
102
102
|
# @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::Add::Discount::AmountDiscountCreationParams, Orb::Models::SubscriptionPriceIntervalsParams::Add::Discount::PercentageDiscountCreationParams, Orb::Models::SubscriptionPriceIntervalsParams::Add::Discount::UsageDiscountCreationParams>, nil]
|
103
103
|
optional :discounts,
|
104
|
-
-> { Orb::ArrayOf[union: Orb::Models::SubscriptionPriceIntervalsParams::Add::Discount] },
|
104
|
+
-> { Orb::Internal::Type::ArrayOf[union: Orb::Models::SubscriptionPriceIntervalsParams::Add::Discount] },
|
105
105
|
nil?: true
|
106
106
|
|
107
107
|
# @!attribute end_date
|
@@ -131,7 +131,7 @@ module Orb
|
|
131
131
|
#
|
132
132
|
# @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::Add::FixedFeeQuantityTransition>, nil]
|
133
133
|
optional :fixed_fee_quantity_transitions,
|
134
|
-
-> { Orb::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::Add::FixedFeeQuantityTransition] },
|
134
|
+
-> { Orb::Internal::Type::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::Add::FixedFeeQuantityTransition] },
|
135
135
|
nil?: true
|
136
136
|
|
137
137
|
# @!attribute maximum_amount
|
@@ -169,7 +169,7 @@ module Orb
|
|
169
169
|
# subscription itself, or any of that customer's children.
|
170
170
|
#
|
171
171
|
# @return [Array<String>, nil]
|
172
|
-
optional :usage_customer_ids, Orb::ArrayOf[String], nil?: true
|
172
|
+
optional :usage_customer_ids, Orb::Internal::Type::ArrayOf[String], nil?: true
|
173
173
|
|
174
174
|
# @!parse
|
175
175
|
# # @param start_date [Time, Symbol, Orb::Models::BillingCycleRelativeDate]
|
@@ -203,14 +203,14 @@ module Orb
|
|
203
203
|
# super
|
204
204
|
# end
|
205
205
|
|
206
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
206
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
207
207
|
|
208
208
|
# The start date of the price interval. This is the date that the price will start
|
209
209
|
# billing on the subscription.
|
210
210
|
#
|
211
211
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add#start_date
|
212
212
|
module StartDate
|
213
|
-
extend Orb::Union
|
213
|
+
extend Orb::Internal::Type::Union
|
214
214
|
|
215
215
|
variant Time
|
216
216
|
|
@@ -222,7 +222,7 @@ module Orb
|
|
222
222
|
end
|
223
223
|
|
224
224
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add#allocation_price
|
225
|
-
class AllocationPrice < Orb::BaseModel
|
225
|
+
class AllocationPrice < Orb::Internal::Type::BaseModel
|
226
226
|
# @!attribute amount
|
227
227
|
# An amount of the currency to allocate to the customer at the specified cadence.
|
228
228
|
#
|
@@ -248,7 +248,7 @@ module Orb
|
|
248
248
|
# over to the next period.
|
249
249
|
#
|
250
250
|
# @return [Boolean]
|
251
|
-
required :expires_at_end_of_cadence, Orb::
|
251
|
+
required :expires_at_end_of_cadence, Orb::Internal::Type::Boolean
|
252
252
|
|
253
253
|
# @!parse
|
254
254
|
# # The definition of a new allocation price to create and add to the subscription.
|
@@ -260,13 +260,13 @@ module Orb
|
|
260
260
|
# #
|
261
261
|
# def initialize(amount:, cadence:, currency:, expires_at_end_of_cadence:, **) = super
|
262
262
|
|
263
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
263
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
264
264
|
|
265
265
|
# The cadence at which to allocate the amount to the customer.
|
266
266
|
#
|
267
267
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::AllocationPrice#cadence
|
268
268
|
module Cadence
|
269
|
-
extend Orb::Enum
|
269
|
+
extend Orb::Internal::Type::Enum
|
270
270
|
|
271
271
|
ONE_TIME = :one_time
|
272
272
|
MONTHLY = :monthly
|
@@ -284,7 +284,7 @@ module Orb
|
|
284
284
|
end
|
285
285
|
|
286
286
|
module Discount
|
287
|
-
extend Orb::Union
|
287
|
+
extend Orb::Internal::Type::Union
|
288
288
|
|
289
289
|
discriminator :discount_type
|
290
290
|
|
@@ -297,7 +297,7 @@ module Orb
|
|
297
297
|
variant :usage,
|
298
298
|
-> { Orb::Models::SubscriptionPriceIntervalsParams::Add::Discount::UsageDiscountCreationParams }
|
299
299
|
|
300
|
-
class AmountDiscountCreationParams < Orb::BaseModel
|
300
|
+
class AmountDiscountCreationParams < Orb::Internal::Type::BaseModel
|
301
301
|
# @!attribute amount_discount
|
302
302
|
# Only available if discount_type is `amount`.
|
303
303
|
#
|
@@ -315,10 +315,10 @@ module Orb
|
|
315
315
|
# #
|
316
316
|
# def initialize(amount_discount:, discount_type: :amount, **) = super
|
317
317
|
|
318
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
318
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
319
319
|
end
|
320
320
|
|
321
|
-
class PercentageDiscountCreationParams < Orb::BaseModel
|
321
|
+
class PercentageDiscountCreationParams < Orb::Internal::Type::BaseModel
|
322
322
|
# @!attribute discount_type
|
323
323
|
#
|
324
324
|
# @return [Symbol, :percentage]
|
@@ -337,10 +337,10 @@ module Orb
|
|
337
337
|
# #
|
338
338
|
# def initialize(percentage_discount:, discount_type: :percentage, **) = super
|
339
339
|
|
340
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
340
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
341
341
|
end
|
342
342
|
|
343
|
-
class UsageDiscountCreationParams < Orb::BaseModel
|
343
|
+
class UsageDiscountCreationParams < Orb::Internal::Type::BaseModel
|
344
344
|
# @!attribute discount_type
|
345
345
|
#
|
346
346
|
# @return [Symbol, :usage]
|
@@ -359,7 +359,7 @@ module Orb
|
|
359
359
|
# #
|
360
360
|
# def initialize(usage_discount:, discount_type: :usage, **) = super
|
361
361
|
|
362
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
362
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
363
363
|
end
|
364
364
|
|
365
365
|
# @!parse
|
@@ -372,7 +372,7 @@ module Orb
|
|
372
372
|
#
|
373
373
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add#end_date
|
374
374
|
module EndDate
|
375
|
-
extend Orb::Union
|
375
|
+
extend Orb::Internal::Type::Union
|
376
376
|
|
377
377
|
variant Time
|
378
378
|
|
@@ -383,7 +383,7 @@ module Orb
|
|
383
383
|
# def self.variants; end
|
384
384
|
end
|
385
385
|
|
386
|
-
class FixedFeeQuantityTransition < Orb::BaseModel
|
386
|
+
class FixedFeeQuantityTransition < Orb::Internal::Type::BaseModel
|
387
387
|
# @!attribute effective_date
|
388
388
|
# The date that the fixed fee quantity transition should take effect.
|
389
389
|
#
|
@@ -402,14 +402,14 @@ module Orb
|
|
402
402
|
# #
|
403
403
|
# def initialize(effective_date:, quantity:, **) = super
|
404
404
|
|
405
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
405
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
406
406
|
end
|
407
407
|
|
408
408
|
# The definition of a new price to create and add to the subscription.
|
409
409
|
#
|
410
410
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add#price
|
411
411
|
module Price
|
412
|
-
extend Orb::Union
|
412
|
+
extend Orb::Internal::Type::Union
|
413
413
|
|
414
414
|
discriminator :model_type
|
415
415
|
|
@@ -492,7 +492,7 @@ module Orb
|
|
492
492
|
variant :cumulative_grouped_bulk,
|
493
493
|
-> { Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingCumulativeGroupedBulkPrice }
|
494
494
|
|
495
|
-
class NewFloatingUnitPrice < Orb::BaseModel
|
495
|
+
class NewFloatingUnitPrice < Orb::Internal::Type::BaseModel
|
496
496
|
# @!attribute cadence
|
497
497
|
# The cadence to bill for this price on.
|
498
498
|
#
|
@@ -541,7 +541,7 @@ module Orb
|
|
541
541
|
# this is true, and in-arrears if this is false.
|
542
542
|
#
|
543
543
|
# @return [Boolean, nil]
|
544
|
-
optional :billed_in_advance, Orb::
|
544
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
545
545
|
|
546
546
|
# @!attribute billing_cycle_configuration
|
547
547
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -592,7 +592,7 @@ module Orb
|
|
592
592
|
# by setting `metadata` to `null`.
|
593
593
|
#
|
594
594
|
# @return [Hash{Symbol=>String, nil}, nil]
|
595
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
595
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
596
596
|
|
597
597
|
# @!parse
|
598
598
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice::Cadence]
|
@@ -632,13 +632,13 @@ module Orb
|
|
632
632
|
# super
|
633
633
|
# end
|
634
634
|
|
635
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
635
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
636
636
|
|
637
637
|
# The cadence to bill for this price on.
|
638
638
|
#
|
639
639
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice#cadence
|
640
640
|
module Cadence
|
641
|
-
extend Orb::Enum
|
641
|
+
extend Orb::Internal::Type::Enum
|
642
642
|
|
643
643
|
ANNUAL = :annual
|
644
644
|
SEMI_ANNUAL = :semi_annual
|
@@ -655,7 +655,7 @@ module Orb
|
|
655
655
|
end
|
656
656
|
|
657
657
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice#unit_config
|
658
|
-
class UnitConfig < Orb::BaseModel
|
658
|
+
class UnitConfig < Orb::Internal::Type::BaseModel
|
659
659
|
# @!attribute unit_amount
|
660
660
|
# Rate per unit of usage
|
661
661
|
#
|
@@ -667,11 +667,11 @@ module Orb
|
|
667
667
|
# #
|
668
668
|
# def initialize(unit_amount:, **) = super
|
669
669
|
|
670
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
670
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
671
671
|
end
|
672
672
|
|
673
673
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice#billing_cycle_configuration
|
674
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
674
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
675
675
|
# @!attribute duration
|
676
676
|
# The duration of the billing period.
|
677
677
|
#
|
@@ -694,13 +694,13 @@ module Orb
|
|
694
694
|
# #
|
695
695
|
# def initialize(duration:, duration_unit:, **) = super
|
696
696
|
|
697
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
697
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
698
698
|
|
699
699
|
# The unit of billing period duration.
|
700
700
|
#
|
701
701
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice::BillingCycleConfiguration#duration_unit
|
702
702
|
module DurationUnit
|
703
|
-
extend Orb::Enum
|
703
|
+
extend Orb::Internal::Type::Enum
|
704
704
|
|
705
705
|
DAY = :day
|
706
706
|
MONTH = :month
|
@@ -714,7 +714,7 @@ module Orb
|
|
714
714
|
end
|
715
715
|
|
716
716
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice#invoicing_cycle_configuration
|
717
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
717
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
718
718
|
# @!attribute duration
|
719
719
|
# The duration of the billing period.
|
720
720
|
#
|
@@ -737,13 +737,13 @@ module Orb
|
|
737
737
|
# #
|
738
738
|
# def initialize(duration:, duration_unit:, **) = super
|
739
739
|
|
740
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
740
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
741
741
|
|
742
742
|
# The unit of billing period duration.
|
743
743
|
#
|
744
744
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice::InvoicingCycleConfiguration#duration_unit
|
745
745
|
module DurationUnit
|
746
|
-
extend Orb::Enum
|
746
|
+
extend Orb::Internal::Type::Enum
|
747
747
|
|
748
748
|
DAY = :day
|
749
749
|
MONTH = :month
|
@@ -757,7 +757,7 @@ module Orb
|
|
757
757
|
end
|
758
758
|
end
|
759
759
|
|
760
|
-
class NewFloatingPackagePrice < Orb::BaseModel
|
760
|
+
class NewFloatingPackagePrice < Orb::Internal::Type::BaseModel
|
761
761
|
# @!attribute cadence
|
762
762
|
# The cadence to bill for this price on.
|
763
763
|
#
|
@@ -806,7 +806,7 @@ module Orb
|
|
806
806
|
# this is true, and in-arrears if this is false.
|
807
807
|
#
|
808
808
|
# @return [Boolean, nil]
|
809
|
-
optional :billed_in_advance, Orb::
|
809
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
810
810
|
|
811
811
|
# @!attribute billing_cycle_configuration
|
812
812
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -857,7 +857,7 @@ module Orb
|
|
857
857
|
# by setting `metadata` to `null`.
|
858
858
|
#
|
859
859
|
# @return [Hash{Symbol=>String, nil}, nil]
|
860
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
860
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
861
861
|
|
862
862
|
# @!parse
|
863
863
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice::Cadence]
|
@@ -897,13 +897,13 @@ module Orb
|
|
897
897
|
# super
|
898
898
|
# end
|
899
899
|
|
900
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
900
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
901
901
|
|
902
902
|
# The cadence to bill for this price on.
|
903
903
|
#
|
904
904
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice#cadence
|
905
905
|
module Cadence
|
906
|
-
extend Orb::Enum
|
906
|
+
extend Orb::Internal::Type::Enum
|
907
907
|
|
908
908
|
ANNUAL = :annual
|
909
909
|
SEMI_ANNUAL = :semi_annual
|
@@ -920,7 +920,7 @@ module Orb
|
|
920
920
|
end
|
921
921
|
|
922
922
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice#package_config
|
923
|
-
class PackageConfig < Orb::BaseModel
|
923
|
+
class PackageConfig < Orb::Internal::Type::BaseModel
|
924
924
|
# @!attribute package_amount
|
925
925
|
# A currency amount to rate usage by
|
926
926
|
#
|
@@ -940,11 +940,11 @@ module Orb
|
|
940
940
|
# #
|
941
941
|
# def initialize(package_amount:, package_size:, **) = super
|
942
942
|
|
943
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
943
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
944
944
|
end
|
945
945
|
|
946
946
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice#billing_cycle_configuration
|
947
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
947
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
948
948
|
# @!attribute duration
|
949
949
|
# The duration of the billing period.
|
950
950
|
#
|
@@ -967,13 +967,13 @@ module Orb
|
|
967
967
|
# #
|
968
968
|
# def initialize(duration:, duration_unit:, **) = super
|
969
969
|
|
970
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
970
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
971
971
|
|
972
972
|
# The unit of billing period duration.
|
973
973
|
#
|
974
974
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice::BillingCycleConfiguration#duration_unit
|
975
975
|
module DurationUnit
|
976
|
-
extend Orb::Enum
|
976
|
+
extend Orb::Internal::Type::Enum
|
977
977
|
|
978
978
|
DAY = :day
|
979
979
|
MONTH = :month
|
@@ -987,7 +987,7 @@ module Orb
|
|
987
987
|
end
|
988
988
|
|
989
989
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice#invoicing_cycle_configuration
|
990
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
990
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
991
991
|
# @!attribute duration
|
992
992
|
# The duration of the billing period.
|
993
993
|
#
|
@@ -1010,13 +1010,13 @@ module Orb
|
|
1010
1010
|
# #
|
1011
1011
|
# def initialize(duration:, duration_unit:, **) = super
|
1012
1012
|
|
1013
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1013
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1014
1014
|
|
1015
1015
|
# The unit of billing period duration.
|
1016
1016
|
#
|
1017
1017
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice::InvoicingCycleConfiguration#duration_unit
|
1018
1018
|
module DurationUnit
|
1019
|
-
extend Orb::Enum
|
1019
|
+
extend Orb::Internal::Type::Enum
|
1020
1020
|
|
1021
1021
|
DAY = :day
|
1022
1022
|
MONTH = :month
|
@@ -1030,7 +1030,7 @@ module Orb
|
|
1030
1030
|
end
|
1031
1031
|
end
|
1032
1032
|
|
1033
|
-
class NewFloatingMatrixPrice < Orb::BaseModel
|
1033
|
+
class NewFloatingMatrixPrice < Orb::Internal::Type::BaseModel
|
1034
1034
|
# @!attribute cadence
|
1035
1035
|
# The cadence to bill for this price on.
|
1036
1036
|
#
|
@@ -1079,7 +1079,7 @@ module Orb
|
|
1079
1079
|
# this is true, and in-arrears if this is false.
|
1080
1080
|
#
|
1081
1081
|
# @return [Boolean, nil]
|
1082
|
-
optional :billed_in_advance, Orb::
|
1082
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
1083
1083
|
|
1084
1084
|
# @!attribute billing_cycle_configuration
|
1085
1085
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -1130,7 +1130,7 @@ module Orb
|
|
1130
1130
|
# by setting `metadata` to `null`.
|
1131
1131
|
#
|
1132
1132
|
# @return [Hash{Symbol=>String, nil}, nil]
|
1133
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
1133
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
1134
1134
|
|
1135
1135
|
# @!parse
|
1136
1136
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice::Cadence]
|
@@ -1170,13 +1170,13 @@ module Orb
|
|
1170
1170
|
# super
|
1171
1171
|
# end
|
1172
1172
|
|
1173
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1173
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1174
1174
|
|
1175
1175
|
# The cadence to bill for this price on.
|
1176
1176
|
#
|
1177
1177
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice#cadence
|
1178
1178
|
module Cadence
|
1179
|
-
extend Orb::Enum
|
1179
|
+
extend Orb::Internal::Type::Enum
|
1180
1180
|
|
1181
1181
|
ANNUAL = :annual
|
1182
1182
|
SEMI_ANNUAL = :semi_annual
|
@@ -1193,7 +1193,7 @@ module Orb
|
|
1193
1193
|
end
|
1194
1194
|
|
1195
1195
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice#matrix_config
|
1196
|
-
class MatrixConfig < Orb::BaseModel
|
1196
|
+
class MatrixConfig < Orb::Internal::Type::BaseModel
|
1197
1197
|
# @!attribute default_unit_amount
|
1198
1198
|
# Default per unit rate for any usage not bucketed into a specified matrix_value
|
1199
1199
|
#
|
@@ -1204,7 +1204,7 @@ module Orb
|
|
1204
1204
|
# One or two event property values to evaluate matrix groups by
|
1205
1205
|
#
|
1206
1206
|
# @return [Array<String, nil>]
|
1207
|
-
required :dimensions, Orb::ArrayOf[String, nil?: true]
|
1207
|
+
required :dimensions, Orb::Internal::Type::ArrayOf[String, nil?: true]
|
1208
1208
|
|
1209
1209
|
# @!attribute matrix_values
|
1210
1210
|
# Matrix values for specified matrix grouping keys
|
@@ -1212,7 +1212,7 @@ module Orb
|
|
1212
1212
|
# @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice::MatrixConfig::MatrixValue>]
|
1213
1213
|
required :matrix_values,
|
1214
1214
|
-> do
|
1215
|
-
Orb::ArrayOf[
|
1215
|
+
Orb::Internal::Type::ArrayOf[
|
1216
1216
|
Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice::MatrixConfig::MatrixValue
|
1217
1217
|
]
|
1218
1218
|
end
|
@@ -1224,16 +1224,16 @@ module Orb
|
|
1224
1224
|
# #
|
1225
1225
|
# def initialize(default_unit_amount:, dimensions:, matrix_values:, **) = super
|
1226
1226
|
|
1227
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1227
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1228
1228
|
|
1229
|
-
class MatrixValue < Orb::BaseModel
|
1229
|
+
class MatrixValue < Orb::Internal::Type::BaseModel
|
1230
1230
|
# @!attribute dimension_values
|
1231
1231
|
# One or two matrix keys to filter usage to this Matrix value by. For example,
|
1232
1232
|
# ["region", "tier"] could be used to filter cloud usage by a cloud region and an
|
1233
1233
|
# instance tier.
|
1234
1234
|
#
|
1235
1235
|
# @return [Array<String, nil>]
|
1236
|
-
required :dimension_values, Orb::ArrayOf[String, nil?: true]
|
1236
|
+
required :dimension_values, Orb::Internal::Type::ArrayOf[String, nil?: true]
|
1237
1237
|
|
1238
1238
|
# @!attribute unit_amount
|
1239
1239
|
# Unit price for the specified dimension_values
|
@@ -1247,12 +1247,12 @@ module Orb
|
|
1247
1247
|
# #
|
1248
1248
|
# def initialize(dimension_values:, unit_amount:, **) = super
|
1249
1249
|
|
1250
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1250
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1251
1251
|
end
|
1252
1252
|
end
|
1253
1253
|
|
1254
1254
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice#billing_cycle_configuration
|
1255
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
1255
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1256
1256
|
# @!attribute duration
|
1257
1257
|
# The duration of the billing period.
|
1258
1258
|
#
|
@@ -1275,13 +1275,13 @@ module Orb
|
|
1275
1275
|
# #
|
1276
1276
|
# def initialize(duration:, duration_unit:, **) = super
|
1277
1277
|
|
1278
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1278
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1279
1279
|
|
1280
1280
|
# The unit of billing period duration.
|
1281
1281
|
#
|
1282
1282
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice::BillingCycleConfiguration#duration_unit
|
1283
1283
|
module DurationUnit
|
1284
|
-
extend Orb::Enum
|
1284
|
+
extend Orb::Internal::Type::Enum
|
1285
1285
|
|
1286
1286
|
DAY = :day
|
1287
1287
|
MONTH = :month
|
@@ -1295,7 +1295,7 @@ module Orb
|
|
1295
1295
|
end
|
1296
1296
|
|
1297
1297
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice#invoicing_cycle_configuration
|
1298
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
1298
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1299
1299
|
# @!attribute duration
|
1300
1300
|
# The duration of the billing period.
|
1301
1301
|
#
|
@@ -1318,13 +1318,13 @@ module Orb
|
|
1318
1318
|
# #
|
1319
1319
|
# def initialize(duration:, duration_unit:, **) = super
|
1320
1320
|
|
1321
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1321
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1322
1322
|
|
1323
1323
|
# The unit of billing period duration.
|
1324
1324
|
#
|
1325
1325
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice::InvoicingCycleConfiguration#duration_unit
|
1326
1326
|
module DurationUnit
|
1327
|
-
extend Orb::Enum
|
1327
|
+
extend Orb::Internal::Type::Enum
|
1328
1328
|
|
1329
1329
|
DAY = :day
|
1330
1330
|
MONTH = :month
|
@@ -1338,7 +1338,7 @@ module Orb
|
|
1338
1338
|
end
|
1339
1339
|
end
|
1340
1340
|
|
1341
|
-
class NewFloatingMatrixWithAllocationPrice < Orb::BaseModel
|
1341
|
+
class NewFloatingMatrixWithAllocationPrice < Orb::Internal::Type::BaseModel
|
1342
1342
|
# @!attribute cadence
|
1343
1343
|
# The cadence to bill for this price on.
|
1344
1344
|
#
|
@@ -1387,7 +1387,7 @@ module Orb
|
|
1387
1387
|
# this is true, and in-arrears if this is false.
|
1388
1388
|
#
|
1389
1389
|
# @return [Boolean, nil]
|
1390
|
-
optional :billed_in_advance, Orb::
|
1390
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
1391
1391
|
|
1392
1392
|
# @!attribute billing_cycle_configuration
|
1393
1393
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -1438,7 +1438,7 @@ module Orb
|
|
1438
1438
|
# by setting `metadata` to `null`.
|
1439
1439
|
#
|
1440
1440
|
# @return [Hash{Symbol=>String, nil}, nil]
|
1441
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
1441
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
1442
1442
|
|
1443
1443
|
# @!parse
|
1444
1444
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice::Cadence]
|
@@ -1478,13 +1478,13 @@ module Orb
|
|
1478
1478
|
# super
|
1479
1479
|
# end
|
1480
1480
|
|
1481
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1481
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1482
1482
|
|
1483
1483
|
# The cadence to bill for this price on.
|
1484
1484
|
#
|
1485
1485
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice#cadence
|
1486
1486
|
module Cadence
|
1487
|
-
extend Orb::Enum
|
1487
|
+
extend Orb::Internal::Type::Enum
|
1488
1488
|
|
1489
1489
|
ANNUAL = :annual
|
1490
1490
|
SEMI_ANNUAL = :semi_annual
|
@@ -1501,7 +1501,7 @@ module Orb
|
|
1501
1501
|
end
|
1502
1502
|
|
1503
1503
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice#matrix_with_allocation_config
|
1504
|
-
class MatrixWithAllocationConfig < Orb::BaseModel
|
1504
|
+
class MatrixWithAllocationConfig < Orb::Internal::Type::BaseModel
|
1505
1505
|
# @!attribute allocation
|
1506
1506
|
# Allocation to be used to calculate the price
|
1507
1507
|
#
|
@@ -1518,7 +1518,7 @@ module Orb
|
|
1518
1518
|
# One or two event property values to evaluate matrix groups by
|
1519
1519
|
#
|
1520
1520
|
# @return [Array<String, nil>]
|
1521
|
-
required :dimensions, Orb::ArrayOf[String, nil?: true]
|
1521
|
+
required :dimensions, Orb::Internal::Type::ArrayOf[String, nil?: true]
|
1522
1522
|
|
1523
1523
|
# @!attribute matrix_values
|
1524
1524
|
# Matrix values for specified matrix grouping keys
|
@@ -1526,7 +1526,7 @@ module Orb
|
|
1526
1526
|
# @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice::MatrixWithAllocationConfig::MatrixValue>]
|
1527
1527
|
required :matrix_values,
|
1528
1528
|
-> do
|
1529
|
-
Orb::ArrayOf[
|
1529
|
+
Orb::Internal::Type::ArrayOf[
|
1530
1530
|
Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice::MatrixWithAllocationConfig::MatrixValue
|
1531
1531
|
]
|
1532
1532
|
end
|
@@ -1539,16 +1539,16 @@ module Orb
|
|
1539
1539
|
# #
|
1540
1540
|
# def initialize(allocation:, default_unit_amount:, dimensions:, matrix_values:, **) = super
|
1541
1541
|
|
1542
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1542
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1543
1543
|
|
1544
|
-
class MatrixValue < Orb::BaseModel
|
1544
|
+
class MatrixValue < Orb::Internal::Type::BaseModel
|
1545
1545
|
# @!attribute dimension_values
|
1546
1546
|
# One or two matrix keys to filter usage to this Matrix value by. For example,
|
1547
1547
|
# ["region", "tier"] could be used to filter cloud usage by a cloud region and an
|
1548
1548
|
# instance tier.
|
1549
1549
|
#
|
1550
1550
|
# @return [Array<String, nil>]
|
1551
|
-
required :dimension_values, Orb::ArrayOf[String, nil?: true]
|
1551
|
+
required :dimension_values, Orb::Internal::Type::ArrayOf[String, nil?: true]
|
1552
1552
|
|
1553
1553
|
# @!attribute unit_amount
|
1554
1554
|
# Unit price for the specified dimension_values
|
@@ -1562,12 +1562,12 @@ module Orb
|
|
1562
1562
|
# #
|
1563
1563
|
# def initialize(dimension_values:, unit_amount:, **) = super
|
1564
1564
|
|
1565
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1565
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1566
1566
|
end
|
1567
1567
|
end
|
1568
1568
|
|
1569
1569
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice#billing_cycle_configuration
|
1570
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
1570
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1571
1571
|
# @!attribute duration
|
1572
1572
|
# The duration of the billing period.
|
1573
1573
|
#
|
@@ -1590,13 +1590,13 @@ module Orb
|
|
1590
1590
|
# #
|
1591
1591
|
# def initialize(duration:, duration_unit:, **) = super
|
1592
1592
|
|
1593
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1593
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1594
1594
|
|
1595
1595
|
# The unit of billing period duration.
|
1596
1596
|
#
|
1597
1597
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice::BillingCycleConfiguration#duration_unit
|
1598
1598
|
module DurationUnit
|
1599
|
-
extend Orb::Enum
|
1599
|
+
extend Orb::Internal::Type::Enum
|
1600
1600
|
|
1601
1601
|
DAY = :day
|
1602
1602
|
MONTH = :month
|
@@ -1610,7 +1610,7 @@ module Orb
|
|
1610
1610
|
end
|
1611
1611
|
|
1612
1612
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice#invoicing_cycle_configuration
|
1613
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
1613
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1614
1614
|
# @!attribute duration
|
1615
1615
|
# The duration of the billing period.
|
1616
1616
|
#
|
@@ -1633,13 +1633,13 @@ module Orb
|
|
1633
1633
|
# #
|
1634
1634
|
# def initialize(duration:, duration_unit:, **) = super
|
1635
1635
|
|
1636
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1636
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1637
1637
|
|
1638
1638
|
# The unit of billing period duration.
|
1639
1639
|
#
|
1640
1640
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice::InvoicingCycleConfiguration#duration_unit
|
1641
1641
|
module DurationUnit
|
1642
|
-
extend Orb::Enum
|
1642
|
+
extend Orb::Internal::Type::Enum
|
1643
1643
|
|
1644
1644
|
DAY = :day
|
1645
1645
|
MONTH = :month
|
@@ -1653,7 +1653,7 @@ module Orb
|
|
1653
1653
|
end
|
1654
1654
|
end
|
1655
1655
|
|
1656
|
-
class NewFloatingTieredPrice < Orb::BaseModel
|
1656
|
+
class NewFloatingTieredPrice < Orb::Internal::Type::BaseModel
|
1657
1657
|
# @!attribute cadence
|
1658
1658
|
# The cadence to bill for this price on.
|
1659
1659
|
#
|
@@ -1702,7 +1702,7 @@ module Orb
|
|
1702
1702
|
# this is true, and in-arrears if this is false.
|
1703
1703
|
#
|
1704
1704
|
# @return [Boolean, nil]
|
1705
|
-
optional :billed_in_advance, Orb::
|
1705
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
1706
1706
|
|
1707
1707
|
# @!attribute billing_cycle_configuration
|
1708
1708
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -1753,7 +1753,7 @@ module Orb
|
|
1753
1753
|
# by setting `metadata` to `null`.
|
1754
1754
|
#
|
1755
1755
|
# @return [Hash{Symbol=>String, nil}, nil]
|
1756
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
1756
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
1757
1757
|
|
1758
1758
|
# @!parse
|
1759
1759
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::Cadence]
|
@@ -1793,13 +1793,13 @@ module Orb
|
|
1793
1793
|
# super
|
1794
1794
|
# end
|
1795
1795
|
|
1796
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1796
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1797
1797
|
|
1798
1798
|
# The cadence to bill for this price on.
|
1799
1799
|
#
|
1800
1800
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice#cadence
|
1801
1801
|
module Cadence
|
1802
|
-
extend Orb::Enum
|
1802
|
+
extend Orb::Internal::Type::Enum
|
1803
1803
|
|
1804
1804
|
ANNUAL = :annual
|
1805
1805
|
SEMI_ANNUAL = :semi_annual
|
@@ -1816,22 +1816,22 @@ module Orb
|
|
1816
1816
|
end
|
1817
1817
|
|
1818
1818
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice#tiered_config
|
1819
|
-
class TieredConfig < Orb::BaseModel
|
1819
|
+
class TieredConfig < Orb::Internal::Type::BaseModel
|
1820
1820
|
# @!attribute tiers
|
1821
1821
|
# Tiers for rating based on total usage quantities into the specified tier
|
1822
1822
|
#
|
1823
1823
|
# @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::TieredConfig::Tier>]
|
1824
1824
|
required :tiers,
|
1825
|
-
-> { Orb::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::TieredConfig::Tier] }
|
1825
|
+
-> { Orb::Internal::Type::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::TieredConfig::Tier] }
|
1826
1826
|
|
1827
1827
|
# @!parse
|
1828
1828
|
# # @param tiers [Array<Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::TieredConfig::Tier>]
|
1829
1829
|
# #
|
1830
1830
|
# def initialize(tiers:, **) = super
|
1831
1831
|
|
1832
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1832
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1833
1833
|
|
1834
|
-
class Tier < Orb::BaseModel
|
1834
|
+
class Tier < Orb::Internal::Type::BaseModel
|
1835
1835
|
# @!attribute first_unit
|
1836
1836
|
# Inclusive tier starting value
|
1837
1837
|
#
|
@@ -1857,12 +1857,12 @@ module Orb
|
|
1857
1857
|
# #
|
1858
1858
|
# def initialize(first_unit:, unit_amount:, last_unit: nil, **) = super
|
1859
1859
|
|
1860
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1860
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1861
1861
|
end
|
1862
1862
|
end
|
1863
1863
|
|
1864
1864
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice#billing_cycle_configuration
|
1865
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
1865
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1866
1866
|
# @!attribute duration
|
1867
1867
|
# The duration of the billing period.
|
1868
1868
|
#
|
@@ -1885,13 +1885,13 @@ module Orb
|
|
1885
1885
|
# #
|
1886
1886
|
# def initialize(duration:, duration_unit:, **) = super
|
1887
1887
|
|
1888
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1888
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1889
1889
|
|
1890
1890
|
# The unit of billing period duration.
|
1891
1891
|
#
|
1892
1892
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::BillingCycleConfiguration#duration_unit
|
1893
1893
|
module DurationUnit
|
1894
|
-
extend Orb::Enum
|
1894
|
+
extend Orb::Internal::Type::Enum
|
1895
1895
|
|
1896
1896
|
DAY = :day
|
1897
1897
|
MONTH = :month
|
@@ -1905,7 +1905,7 @@ module Orb
|
|
1905
1905
|
end
|
1906
1906
|
|
1907
1907
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice#invoicing_cycle_configuration
|
1908
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
1908
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1909
1909
|
# @!attribute duration
|
1910
1910
|
# The duration of the billing period.
|
1911
1911
|
#
|
@@ -1928,13 +1928,13 @@ module Orb
|
|
1928
1928
|
# #
|
1929
1929
|
# def initialize(duration:, duration_unit:, **) = super
|
1930
1930
|
|
1931
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1931
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1932
1932
|
|
1933
1933
|
# The unit of billing period duration.
|
1934
1934
|
#
|
1935
1935
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::InvoicingCycleConfiguration#duration_unit
|
1936
1936
|
module DurationUnit
|
1937
|
-
extend Orb::Enum
|
1937
|
+
extend Orb::Internal::Type::Enum
|
1938
1938
|
|
1939
1939
|
DAY = :day
|
1940
1940
|
MONTH = :month
|
@@ -1948,7 +1948,7 @@ module Orb
|
|
1948
1948
|
end
|
1949
1949
|
end
|
1950
1950
|
|
1951
|
-
class NewFloatingTieredBpsPrice < Orb::BaseModel
|
1951
|
+
class NewFloatingTieredBpsPrice < Orb::Internal::Type::BaseModel
|
1952
1952
|
# @!attribute cadence
|
1953
1953
|
# The cadence to bill for this price on.
|
1954
1954
|
#
|
@@ -1997,7 +1997,7 @@ module Orb
|
|
1997
1997
|
# this is true, and in-arrears if this is false.
|
1998
1998
|
#
|
1999
1999
|
# @return [Boolean, nil]
|
2000
|
-
optional :billed_in_advance, Orb::
|
2000
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
2001
2001
|
|
2002
2002
|
# @!attribute billing_cycle_configuration
|
2003
2003
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -2048,7 +2048,7 @@ module Orb
|
|
2048
2048
|
# by setting `metadata` to `null`.
|
2049
2049
|
#
|
2050
2050
|
# @return [Hash{Symbol=>String, nil}, nil]
|
2051
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
2051
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
2052
2052
|
|
2053
2053
|
# @!parse
|
2054
2054
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice::Cadence]
|
@@ -2088,13 +2088,13 @@ module Orb
|
|
2088
2088
|
# super
|
2089
2089
|
# end
|
2090
2090
|
|
2091
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2091
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2092
2092
|
|
2093
2093
|
# The cadence to bill for this price on.
|
2094
2094
|
#
|
2095
2095
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice#cadence
|
2096
2096
|
module Cadence
|
2097
|
-
extend Orb::Enum
|
2097
|
+
extend Orb::Internal::Type::Enum
|
2098
2098
|
|
2099
2099
|
ANNUAL = :annual
|
2100
2100
|
SEMI_ANNUAL = :semi_annual
|
@@ -2111,7 +2111,7 @@ module Orb
|
|
2111
2111
|
end
|
2112
2112
|
|
2113
2113
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice#tiered_bps_config
|
2114
|
-
class TieredBpsConfig < Orb::BaseModel
|
2114
|
+
class TieredBpsConfig < Orb::Internal::Type::BaseModel
|
2115
2115
|
# @!attribute tiers
|
2116
2116
|
# Tiers for a Graduated BPS pricing model, where usage is bucketed into specified
|
2117
2117
|
# tiers
|
@@ -2119,7 +2119,7 @@ module Orb
|
|
2119
2119
|
# @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice::TieredBpsConfig::Tier>]
|
2120
2120
|
required :tiers,
|
2121
2121
|
-> do
|
2122
|
-
Orb::ArrayOf[
|
2122
|
+
Orb::Internal::Type::ArrayOf[
|
2123
2123
|
Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice::TieredBpsConfig::Tier
|
2124
2124
|
]
|
2125
2125
|
end
|
@@ -2129,9 +2129,9 @@ module Orb
|
|
2129
2129
|
# #
|
2130
2130
|
# def initialize(tiers:, **) = super
|
2131
2131
|
|
2132
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2132
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2133
2133
|
|
2134
|
-
class Tier < Orb::BaseModel
|
2134
|
+
class Tier < Orb::Internal::Type::BaseModel
|
2135
2135
|
# @!attribute bps
|
2136
2136
|
# Per-event basis point rate
|
2137
2137
|
#
|
@@ -2164,12 +2164,12 @@ module Orb
|
|
2164
2164
|
# #
|
2165
2165
|
# def initialize(bps:, minimum_amount:, maximum_amount: nil, per_unit_maximum: nil, **) = super
|
2166
2166
|
|
2167
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2167
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2168
2168
|
end
|
2169
2169
|
end
|
2170
2170
|
|
2171
2171
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice#billing_cycle_configuration
|
2172
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
2172
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2173
2173
|
# @!attribute duration
|
2174
2174
|
# The duration of the billing period.
|
2175
2175
|
#
|
@@ -2192,13 +2192,13 @@ module Orb
|
|
2192
2192
|
# #
|
2193
2193
|
# def initialize(duration:, duration_unit:, **) = super
|
2194
2194
|
|
2195
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2195
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2196
2196
|
|
2197
2197
|
# The unit of billing period duration.
|
2198
2198
|
#
|
2199
2199
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice::BillingCycleConfiguration#duration_unit
|
2200
2200
|
module DurationUnit
|
2201
|
-
extend Orb::Enum
|
2201
|
+
extend Orb::Internal::Type::Enum
|
2202
2202
|
|
2203
2203
|
DAY = :day
|
2204
2204
|
MONTH = :month
|
@@ -2212,7 +2212,7 @@ module Orb
|
|
2212
2212
|
end
|
2213
2213
|
|
2214
2214
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice#invoicing_cycle_configuration
|
2215
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
2215
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2216
2216
|
# @!attribute duration
|
2217
2217
|
# The duration of the billing period.
|
2218
2218
|
#
|
@@ -2235,13 +2235,13 @@ module Orb
|
|
2235
2235
|
# #
|
2236
2236
|
# def initialize(duration:, duration_unit:, **) = super
|
2237
2237
|
|
2238
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2238
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2239
2239
|
|
2240
2240
|
# The unit of billing period duration.
|
2241
2241
|
#
|
2242
2242
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice::InvoicingCycleConfiguration#duration_unit
|
2243
2243
|
module DurationUnit
|
2244
|
-
extend Orb::Enum
|
2244
|
+
extend Orb::Internal::Type::Enum
|
2245
2245
|
|
2246
2246
|
DAY = :day
|
2247
2247
|
MONTH = :month
|
@@ -2255,7 +2255,7 @@ module Orb
|
|
2255
2255
|
end
|
2256
2256
|
end
|
2257
2257
|
|
2258
|
-
class NewFloatingBpsPrice < Orb::BaseModel
|
2258
|
+
class NewFloatingBpsPrice < Orb::Internal::Type::BaseModel
|
2259
2259
|
# @!attribute bps_config
|
2260
2260
|
#
|
2261
2261
|
# @return [Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice::BpsConfig]
|
@@ -2304,7 +2304,7 @@ module Orb
|
|
2304
2304
|
# this is true, and in-arrears if this is false.
|
2305
2305
|
#
|
2306
2306
|
# @return [Boolean, nil]
|
2307
|
-
optional :billed_in_advance, Orb::
|
2307
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
2308
2308
|
|
2309
2309
|
# @!attribute billing_cycle_configuration
|
2310
2310
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -2355,7 +2355,7 @@ module Orb
|
|
2355
2355
|
# by setting `metadata` to `null`.
|
2356
2356
|
#
|
2357
2357
|
# @return [Hash{Symbol=>String, nil}, nil]
|
2358
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
2358
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
2359
2359
|
|
2360
2360
|
# @!parse
|
2361
2361
|
# # @param bps_config [Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice::BpsConfig]
|
@@ -2395,10 +2395,10 @@ module Orb
|
|
2395
2395
|
# super
|
2396
2396
|
# end
|
2397
2397
|
|
2398
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2398
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2399
2399
|
|
2400
2400
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice#bps_config
|
2401
|
-
class BpsConfig < Orb::BaseModel
|
2401
|
+
class BpsConfig < Orb::Internal::Type::BaseModel
|
2402
2402
|
# @!attribute bps
|
2403
2403
|
# Basis point take rate per event
|
2404
2404
|
#
|
@@ -2417,14 +2417,14 @@ module Orb
|
|
2417
2417
|
# #
|
2418
2418
|
# def initialize(bps:, per_unit_maximum: nil, **) = super
|
2419
2419
|
|
2420
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2420
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2421
2421
|
end
|
2422
2422
|
|
2423
2423
|
# The cadence to bill for this price on.
|
2424
2424
|
#
|
2425
2425
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice#cadence
|
2426
2426
|
module Cadence
|
2427
|
-
extend Orb::Enum
|
2427
|
+
extend Orb::Internal::Type::Enum
|
2428
2428
|
|
2429
2429
|
ANNUAL = :annual
|
2430
2430
|
SEMI_ANNUAL = :semi_annual
|
@@ -2441,7 +2441,7 @@ module Orb
|
|
2441
2441
|
end
|
2442
2442
|
|
2443
2443
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice#billing_cycle_configuration
|
2444
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
2444
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2445
2445
|
# @!attribute duration
|
2446
2446
|
# The duration of the billing period.
|
2447
2447
|
#
|
@@ -2464,13 +2464,13 @@ module Orb
|
|
2464
2464
|
# #
|
2465
2465
|
# def initialize(duration:, duration_unit:, **) = super
|
2466
2466
|
|
2467
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2467
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2468
2468
|
|
2469
2469
|
# The unit of billing period duration.
|
2470
2470
|
#
|
2471
2471
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice::BillingCycleConfiguration#duration_unit
|
2472
2472
|
module DurationUnit
|
2473
|
-
extend Orb::Enum
|
2473
|
+
extend Orb::Internal::Type::Enum
|
2474
2474
|
|
2475
2475
|
DAY = :day
|
2476
2476
|
MONTH = :month
|
@@ -2484,7 +2484,7 @@ module Orb
|
|
2484
2484
|
end
|
2485
2485
|
|
2486
2486
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice#invoicing_cycle_configuration
|
2487
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
2487
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2488
2488
|
# @!attribute duration
|
2489
2489
|
# The duration of the billing period.
|
2490
2490
|
#
|
@@ -2507,13 +2507,13 @@ module Orb
|
|
2507
2507
|
# #
|
2508
2508
|
# def initialize(duration:, duration_unit:, **) = super
|
2509
2509
|
|
2510
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2510
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2511
2511
|
|
2512
2512
|
# The unit of billing period duration.
|
2513
2513
|
#
|
2514
2514
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice::InvoicingCycleConfiguration#duration_unit
|
2515
2515
|
module DurationUnit
|
2516
|
-
extend Orb::Enum
|
2516
|
+
extend Orb::Internal::Type::Enum
|
2517
2517
|
|
2518
2518
|
DAY = :day
|
2519
2519
|
MONTH = :month
|
@@ -2527,7 +2527,7 @@ module Orb
|
|
2527
2527
|
end
|
2528
2528
|
end
|
2529
2529
|
|
2530
|
-
class NewFloatingBulkBpsPrice < Orb::BaseModel
|
2530
|
+
class NewFloatingBulkBpsPrice < Orb::Internal::Type::BaseModel
|
2531
2531
|
# @!attribute bulk_bps_config
|
2532
2532
|
#
|
2533
2533
|
# @return [Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::BulkBpsConfig]
|
@@ -2576,7 +2576,7 @@ module Orb
|
|
2576
2576
|
# this is true, and in-arrears if this is false.
|
2577
2577
|
#
|
2578
2578
|
# @return [Boolean, nil]
|
2579
|
-
optional :billed_in_advance, Orb::
|
2579
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
2580
2580
|
|
2581
2581
|
# @!attribute billing_cycle_configuration
|
2582
2582
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -2627,7 +2627,7 @@ module Orb
|
|
2627
2627
|
# by setting `metadata` to `null`.
|
2628
2628
|
#
|
2629
2629
|
# @return [Hash{Symbol=>String, nil}, nil]
|
2630
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
2630
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
2631
2631
|
|
2632
2632
|
# @!parse
|
2633
2633
|
# # @param bulk_bps_config [Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::BulkBpsConfig]
|
@@ -2667,26 +2667,26 @@ module Orb
|
|
2667
2667
|
# super
|
2668
2668
|
# end
|
2669
2669
|
|
2670
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2670
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2671
2671
|
|
2672
2672
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice#bulk_bps_config
|
2673
|
-
class BulkBpsConfig < Orb::BaseModel
|
2673
|
+
class BulkBpsConfig < Orb::Internal::Type::BaseModel
|
2674
2674
|
# @!attribute tiers
|
2675
2675
|
# Tiers for a bulk BPS pricing model where all usage is aggregated to a single
|
2676
2676
|
# tier based on total volume
|
2677
2677
|
#
|
2678
2678
|
# @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::BulkBpsConfig::Tier>]
|
2679
2679
|
required :tiers,
|
2680
|
-
-> { Orb::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::BulkBpsConfig::Tier] }
|
2680
|
+
-> { Orb::Internal::Type::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::BulkBpsConfig::Tier] }
|
2681
2681
|
|
2682
2682
|
# @!parse
|
2683
2683
|
# # @param tiers [Array<Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::BulkBpsConfig::Tier>]
|
2684
2684
|
# #
|
2685
2685
|
# def initialize(tiers:, **) = super
|
2686
2686
|
|
2687
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2687
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2688
2688
|
|
2689
|
-
class Tier < Orb::BaseModel
|
2689
|
+
class Tier < Orb::Internal::Type::BaseModel
|
2690
2690
|
# @!attribute bps
|
2691
2691
|
# Basis points to rate on
|
2692
2692
|
#
|
@@ -2712,7 +2712,7 @@ module Orb
|
|
2712
2712
|
# #
|
2713
2713
|
# def initialize(bps:, maximum_amount: nil, per_unit_maximum: nil, **) = super
|
2714
2714
|
|
2715
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2715
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2716
2716
|
end
|
2717
2717
|
end
|
2718
2718
|
|
@@ -2720,7 +2720,7 @@ module Orb
|
|
2720
2720
|
#
|
2721
2721
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice#cadence
|
2722
2722
|
module Cadence
|
2723
|
-
extend Orb::Enum
|
2723
|
+
extend Orb::Internal::Type::Enum
|
2724
2724
|
|
2725
2725
|
ANNUAL = :annual
|
2726
2726
|
SEMI_ANNUAL = :semi_annual
|
@@ -2737,7 +2737,7 @@ module Orb
|
|
2737
2737
|
end
|
2738
2738
|
|
2739
2739
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice#billing_cycle_configuration
|
2740
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
2740
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2741
2741
|
# @!attribute duration
|
2742
2742
|
# The duration of the billing period.
|
2743
2743
|
#
|
@@ -2760,13 +2760,13 @@ module Orb
|
|
2760
2760
|
# #
|
2761
2761
|
# def initialize(duration:, duration_unit:, **) = super
|
2762
2762
|
|
2763
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2763
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2764
2764
|
|
2765
2765
|
# The unit of billing period duration.
|
2766
2766
|
#
|
2767
2767
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::BillingCycleConfiguration#duration_unit
|
2768
2768
|
module DurationUnit
|
2769
|
-
extend Orb::Enum
|
2769
|
+
extend Orb::Internal::Type::Enum
|
2770
2770
|
|
2771
2771
|
DAY = :day
|
2772
2772
|
MONTH = :month
|
@@ -2780,7 +2780,7 @@ module Orb
|
|
2780
2780
|
end
|
2781
2781
|
|
2782
2782
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice#invoicing_cycle_configuration
|
2783
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
2783
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2784
2784
|
# @!attribute duration
|
2785
2785
|
# The duration of the billing period.
|
2786
2786
|
#
|
@@ -2803,13 +2803,13 @@ module Orb
|
|
2803
2803
|
# #
|
2804
2804
|
# def initialize(duration:, duration_unit:, **) = super
|
2805
2805
|
|
2806
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2806
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2807
2807
|
|
2808
2808
|
# The unit of billing period duration.
|
2809
2809
|
#
|
2810
2810
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::InvoicingCycleConfiguration#duration_unit
|
2811
2811
|
module DurationUnit
|
2812
|
-
extend Orb::Enum
|
2812
|
+
extend Orb::Internal::Type::Enum
|
2813
2813
|
|
2814
2814
|
DAY = :day
|
2815
2815
|
MONTH = :month
|
@@ -2823,7 +2823,7 @@ module Orb
|
|
2823
2823
|
end
|
2824
2824
|
end
|
2825
2825
|
|
2826
|
-
class NewFloatingBulkPrice < Orb::BaseModel
|
2826
|
+
class NewFloatingBulkPrice < Orb::Internal::Type::BaseModel
|
2827
2827
|
# @!attribute bulk_config
|
2828
2828
|
#
|
2829
2829
|
# @return [Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::BulkConfig]
|
@@ -2872,7 +2872,7 @@ module Orb
|
|
2872
2872
|
# this is true, and in-arrears if this is false.
|
2873
2873
|
#
|
2874
2874
|
# @return [Boolean, nil]
|
2875
|
-
optional :billed_in_advance, Orb::
|
2875
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
2876
2876
|
|
2877
2877
|
# @!attribute billing_cycle_configuration
|
2878
2878
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -2923,7 +2923,7 @@ module Orb
|
|
2923
2923
|
# by setting `metadata` to `null`.
|
2924
2924
|
#
|
2925
2925
|
# @return [Hash{Symbol=>String, nil}, nil]
|
2926
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
2926
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
2927
2927
|
|
2928
2928
|
# @!parse
|
2929
2929
|
# # @param bulk_config [Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::BulkConfig]
|
@@ -2963,25 +2963,25 @@ module Orb
|
|
2963
2963
|
# super
|
2964
2964
|
# end
|
2965
2965
|
|
2966
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2966
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2967
2967
|
|
2968
2968
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice#bulk_config
|
2969
|
-
class BulkConfig < Orb::BaseModel
|
2969
|
+
class BulkConfig < Orb::Internal::Type::BaseModel
|
2970
2970
|
# @!attribute tiers
|
2971
2971
|
# Bulk tiers for rating based on total usage volume
|
2972
2972
|
#
|
2973
2973
|
# @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::BulkConfig::Tier>]
|
2974
2974
|
required :tiers,
|
2975
|
-
-> { Orb::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::BulkConfig::Tier] }
|
2975
|
+
-> { Orb::Internal::Type::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::BulkConfig::Tier] }
|
2976
2976
|
|
2977
2977
|
# @!parse
|
2978
2978
|
# # @param tiers [Array<Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::BulkConfig::Tier>]
|
2979
2979
|
# #
|
2980
2980
|
# def initialize(tiers:, **) = super
|
2981
2981
|
|
2982
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2982
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2983
2983
|
|
2984
|
-
class Tier < Orb::BaseModel
|
2984
|
+
class Tier < Orb::Internal::Type::BaseModel
|
2985
2985
|
# @!attribute unit_amount
|
2986
2986
|
# Amount per unit
|
2987
2987
|
#
|
@@ -3000,7 +3000,7 @@ module Orb
|
|
3000
3000
|
# #
|
3001
3001
|
# def initialize(unit_amount:, maximum_units: nil, **) = super
|
3002
3002
|
|
3003
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3003
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3004
3004
|
end
|
3005
3005
|
end
|
3006
3006
|
|
@@ -3008,7 +3008,7 @@ module Orb
|
|
3008
3008
|
#
|
3009
3009
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice#cadence
|
3010
3010
|
module Cadence
|
3011
|
-
extend Orb::Enum
|
3011
|
+
extend Orb::Internal::Type::Enum
|
3012
3012
|
|
3013
3013
|
ANNUAL = :annual
|
3014
3014
|
SEMI_ANNUAL = :semi_annual
|
@@ -3025,7 +3025,7 @@ module Orb
|
|
3025
3025
|
end
|
3026
3026
|
|
3027
3027
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice#billing_cycle_configuration
|
3028
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
3028
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3029
3029
|
# @!attribute duration
|
3030
3030
|
# The duration of the billing period.
|
3031
3031
|
#
|
@@ -3048,13 +3048,13 @@ module Orb
|
|
3048
3048
|
# #
|
3049
3049
|
# def initialize(duration:, duration_unit:, **) = super
|
3050
3050
|
|
3051
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3051
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3052
3052
|
|
3053
3053
|
# The unit of billing period duration.
|
3054
3054
|
#
|
3055
3055
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::BillingCycleConfiguration#duration_unit
|
3056
3056
|
module DurationUnit
|
3057
|
-
extend Orb::Enum
|
3057
|
+
extend Orb::Internal::Type::Enum
|
3058
3058
|
|
3059
3059
|
DAY = :day
|
3060
3060
|
MONTH = :month
|
@@ -3068,7 +3068,7 @@ module Orb
|
|
3068
3068
|
end
|
3069
3069
|
|
3070
3070
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice#invoicing_cycle_configuration
|
3071
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
3071
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3072
3072
|
# @!attribute duration
|
3073
3073
|
# The duration of the billing period.
|
3074
3074
|
#
|
@@ -3091,13 +3091,13 @@ module Orb
|
|
3091
3091
|
# #
|
3092
3092
|
# def initialize(duration:, duration_unit:, **) = super
|
3093
3093
|
|
3094
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3094
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3095
3095
|
|
3096
3096
|
# The unit of billing period duration.
|
3097
3097
|
#
|
3098
3098
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::InvoicingCycleConfiguration#duration_unit
|
3099
3099
|
module DurationUnit
|
3100
|
-
extend Orb::Enum
|
3100
|
+
extend Orb::Internal::Type::Enum
|
3101
3101
|
|
3102
3102
|
DAY = :day
|
3103
3103
|
MONTH = :month
|
@@ -3111,7 +3111,7 @@ module Orb
|
|
3111
3111
|
end
|
3112
3112
|
end
|
3113
3113
|
|
3114
|
-
class NewFloatingThresholdTotalAmountPrice < Orb::BaseModel
|
3114
|
+
class NewFloatingThresholdTotalAmountPrice < Orb::Internal::Type::BaseModel
|
3115
3115
|
# @!attribute cadence
|
3116
3116
|
# The cadence to bill for this price on.
|
3117
3117
|
#
|
@@ -3145,7 +3145,7 @@ module Orb
|
|
3145
3145
|
# @!attribute threshold_total_amount_config
|
3146
3146
|
#
|
3147
3147
|
# @return [Hash{Symbol=>Object}]
|
3148
|
-
required :threshold_total_amount_config, Orb::HashOf[Orb::Unknown]
|
3148
|
+
required :threshold_total_amount_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
3149
3149
|
|
3150
3150
|
# @!attribute billable_metric_id
|
3151
3151
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -3159,7 +3159,7 @@ module Orb
|
|
3159
3159
|
# this is true, and in-arrears if this is false.
|
3160
3160
|
#
|
3161
3161
|
# @return [Boolean, nil]
|
3162
|
-
optional :billed_in_advance, Orb::
|
3162
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
3163
3163
|
|
3164
3164
|
# @!attribute billing_cycle_configuration
|
3165
3165
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3210,7 +3210,7 @@ module Orb
|
|
3210
3210
|
# by setting `metadata` to `null`.
|
3211
3211
|
#
|
3212
3212
|
# @return [Hash{Symbol=>String, nil}, nil]
|
3213
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
3213
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
3214
3214
|
|
3215
3215
|
# @!parse
|
3216
3216
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingThresholdTotalAmountPrice::Cadence]
|
@@ -3250,13 +3250,13 @@ module Orb
|
|
3250
3250
|
# super
|
3251
3251
|
# end
|
3252
3252
|
|
3253
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3253
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3254
3254
|
|
3255
3255
|
# The cadence to bill for this price on.
|
3256
3256
|
#
|
3257
3257
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingThresholdTotalAmountPrice#cadence
|
3258
3258
|
module Cadence
|
3259
|
-
extend Orb::Enum
|
3259
|
+
extend Orb::Internal::Type::Enum
|
3260
3260
|
|
3261
3261
|
ANNUAL = :annual
|
3262
3262
|
SEMI_ANNUAL = :semi_annual
|
@@ -3273,7 +3273,7 @@ module Orb
|
|
3273
3273
|
end
|
3274
3274
|
|
3275
3275
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingThresholdTotalAmountPrice#billing_cycle_configuration
|
3276
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
3276
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3277
3277
|
# @!attribute duration
|
3278
3278
|
# The duration of the billing period.
|
3279
3279
|
#
|
@@ -3296,13 +3296,13 @@ module Orb
|
|
3296
3296
|
# #
|
3297
3297
|
# def initialize(duration:, duration_unit:, **) = super
|
3298
3298
|
|
3299
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3299
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3300
3300
|
|
3301
3301
|
# The unit of billing period duration.
|
3302
3302
|
#
|
3303
3303
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingThresholdTotalAmountPrice::BillingCycleConfiguration#duration_unit
|
3304
3304
|
module DurationUnit
|
3305
|
-
extend Orb::Enum
|
3305
|
+
extend Orb::Internal::Type::Enum
|
3306
3306
|
|
3307
3307
|
DAY = :day
|
3308
3308
|
MONTH = :month
|
@@ -3316,7 +3316,7 @@ module Orb
|
|
3316
3316
|
end
|
3317
3317
|
|
3318
3318
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingThresholdTotalAmountPrice#invoicing_cycle_configuration
|
3319
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
3319
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3320
3320
|
# @!attribute duration
|
3321
3321
|
# The duration of the billing period.
|
3322
3322
|
#
|
@@ -3339,13 +3339,13 @@ module Orb
|
|
3339
3339
|
# #
|
3340
3340
|
# def initialize(duration:, duration_unit:, **) = super
|
3341
3341
|
|
3342
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3342
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3343
3343
|
|
3344
3344
|
# The unit of billing period duration.
|
3345
3345
|
#
|
3346
3346
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingThresholdTotalAmountPrice::InvoicingCycleConfiguration#duration_unit
|
3347
3347
|
module DurationUnit
|
3348
|
-
extend Orb::Enum
|
3348
|
+
extend Orb::Internal::Type::Enum
|
3349
3349
|
|
3350
3350
|
DAY = :day
|
3351
3351
|
MONTH = :month
|
@@ -3359,7 +3359,7 @@ module Orb
|
|
3359
3359
|
end
|
3360
3360
|
end
|
3361
3361
|
|
3362
|
-
class NewFloatingTieredPackagePrice < Orb::BaseModel
|
3362
|
+
class NewFloatingTieredPackagePrice < Orb::Internal::Type::BaseModel
|
3363
3363
|
# @!attribute cadence
|
3364
3364
|
# The cadence to bill for this price on.
|
3365
3365
|
#
|
@@ -3393,7 +3393,7 @@ module Orb
|
|
3393
3393
|
# @!attribute tiered_package_config
|
3394
3394
|
#
|
3395
3395
|
# @return [Hash{Symbol=>Object}]
|
3396
|
-
required :tiered_package_config, Orb::HashOf[Orb::Unknown]
|
3396
|
+
required :tiered_package_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
3397
3397
|
|
3398
3398
|
# @!attribute billable_metric_id
|
3399
3399
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -3407,7 +3407,7 @@ module Orb
|
|
3407
3407
|
# this is true, and in-arrears if this is false.
|
3408
3408
|
#
|
3409
3409
|
# @return [Boolean, nil]
|
3410
|
-
optional :billed_in_advance, Orb::
|
3410
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
3411
3411
|
|
3412
3412
|
# @!attribute billing_cycle_configuration
|
3413
3413
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3458,7 +3458,7 @@ module Orb
|
|
3458
3458
|
# by setting `metadata` to `null`.
|
3459
3459
|
#
|
3460
3460
|
# @return [Hash{Symbol=>String, nil}, nil]
|
3461
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
3461
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
3462
3462
|
|
3463
3463
|
# @!parse
|
3464
3464
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackagePrice::Cadence]
|
@@ -3498,13 +3498,13 @@ module Orb
|
|
3498
3498
|
# super
|
3499
3499
|
# end
|
3500
3500
|
|
3501
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3501
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3502
3502
|
|
3503
3503
|
# The cadence to bill for this price on.
|
3504
3504
|
#
|
3505
3505
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackagePrice#cadence
|
3506
3506
|
module Cadence
|
3507
|
-
extend Orb::Enum
|
3507
|
+
extend Orb::Internal::Type::Enum
|
3508
3508
|
|
3509
3509
|
ANNUAL = :annual
|
3510
3510
|
SEMI_ANNUAL = :semi_annual
|
@@ -3521,7 +3521,7 @@ module Orb
|
|
3521
3521
|
end
|
3522
3522
|
|
3523
3523
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackagePrice#billing_cycle_configuration
|
3524
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
3524
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3525
3525
|
# @!attribute duration
|
3526
3526
|
# The duration of the billing period.
|
3527
3527
|
#
|
@@ -3544,13 +3544,13 @@ module Orb
|
|
3544
3544
|
# #
|
3545
3545
|
# def initialize(duration:, duration_unit:, **) = super
|
3546
3546
|
|
3547
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3547
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3548
3548
|
|
3549
3549
|
# The unit of billing period duration.
|
3550
3550
|
#
|
3551
3551
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackagePrice::BillingCycleConfiguration#duration_unit
|
3552
3552
|
module DurationUnit
|
3553
|
-
extend Orb::Enum
|
3553
|
+
extend Orb::Internal::Type::Enum
|
3554
3554
|
|
3555
3555
|
DAY = :day
|
3556
3556
|
MONTH = :month
|
@@ -3564,7 +3564,7 @@ module Orb
|
|
3564
3564
|
end
|
3565
3565
|
|
3566
3566
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackagePrice#invoicing_cycle_configuration
|
3567
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
3567
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3568
3568
|
# @!attribute duration
|
3569
3569
|
# The duration of the billing period.
|
3570
3570
|
#
|
@@ -3587,13 +3587,13 @@ module Orb
|
|
3587
3587
|
# #
|
3588
3588
|
# def initialize(duration:, duration_unit:, **) = super
|
3589
3589
|
|
3590
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3590
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3591
3591
|
|
3592
3592
|
# The unit of billing period duration.
|
3593
3593
|
#
|
3594
3594
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackagePrice::InvoicingCycleConfiguration#duration_unit
|
3595
3595
|
module DurationUnit
|
3596
|
-
extend Orb::Enum
|
3596
|
+
extend Orb::Internal::Type::Enum
|
3597
3597
|
|
3598
3598
|
DAY = :day
|
3599
3599
|
MONTH = :month
|
@@ -3607,7 +3607,7 @@ module Orb
|
|
3607
3607
|
end
|
3608
3608
|
end
|
3609
3609
|
|
3610
|
-
class NewFloatingGroupedTieredPrice < Orb::BaseModel
|
3610
|
+
class NewFloatingGroupedTieredPrice < Orb::Internal::Type::BaseModel
|
3611
3611
|
# @!attribute cadence
|
3612
3612
|
# The cadence to bill for this price on.
|
3613
3613
|
#
|
@@ -3624,7 +3624,7 @@ module Orb
|
|
3624
3624
|
# @!attribute grouped_tiered_config
|
3625
3625
|
#
|
3626
3626
|
# @return [Hash{Symbol=>Object}]
|
3627
|
-
required :grouped_tiered_config, Orb::HashOf[Orb::Unknown]
|
3627
|
+
required :grouped_tiered_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
3628
3628
|
|
3629
3629
|
# @!attribute item_id
|
3630
3630
|
# The id of the item the price will be associated with.
|
@@ -3655,7 +3655,7 @@ module Orb
|
|
3655
3655
|
# this is true, and in-arrears if this is false.
|
3656
3656
|
#
|
3657
3657
|
# @return [Boolean, nil]
|
3658
|
-
optional :billed_in_advance, Orb::
|
3658
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
3659
3659
|
|
3660
3660
|
# @!attribute billing_cycle_configuration
|
3661
3661
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3706,7 +3706,7 @@ module Orb
|
|
3706
3706
|
# by setting `metadata` to `null`.
|
3707
3707
|
#
|
3708
3708
|
# @return [Hash{Symbol=>String, nil}, nil]
|
3709
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
3709
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
3710
3710
|
|
3711
3711
|
# @!parse
|
3712
3712
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPrice::Cadence]
|
@@ -3746,13 +3746,13 @@ module Orb
|
|
3746
3746
|
# super
|
3747
3747
|
# end
|
3748
3748
|
|
3749
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3749
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3750
3750
|
|
3751
3751
|
# The cadence to bill for this price on.
|
3752
3752
|
#
|
3753
3753
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPrice#cadence
|
3754
3754
|
module Cadence
|
3755
|
-
extend Orb::Enum
|
3755
|
+
extend Orb::Internal::Type::Enum
|
3756
3756
|
|
3757
3757
|
ANNUAL = :annual
|
3758
3758
|
SEMI_ANNUAL = :semi_annual
|
@@ -3769,7 +3769,7 @@ module Orb
|
|
3769
3769
|
end
|
3770
3770
|
|
3771
3771
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPrice#billing_cycle_configuration
|
3772
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
3772
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3773
3773
|
# @!attribute duration
|
3774
3774
|
# The duration of the billing period.
|
3775
3775
|
#
|
@@ -3792,13 +3792,13 @@ module Orb
|
|
3792
3792
|
# #
|
3793
3793
|
# def initialize(duration:, duration_unit:, **) = super
|
3794
3794
|
|
3795
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3795
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3796
3796
|
|
3797
3797
|
# The unit of billing period duration.
|
3798
3798
|
#
|
3799
3799
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPrice::BillingCycleConfiguration#duration_unit
|
3800
3800
|
module DurationUnit
|
3801
|
-
extend Orb::Enum
|
3801
|
+
extend Orb::Internal::Type::Enum
|
3802
3802
|
|
3803
3803
|
DAY = :day
|
3804
3804
|
MONTH = :month
|
@@ -3812,7 +3812,7 @@ module Orb
|
|
3812
3812
|
end
|
3813
3813
|
|
3814
3814
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPrice#invoicing_cycle_configuration
|
3815
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
3815
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3816
3816
|
# @!attribute duration
|
3817
3817
|
# The duration of the billing period.
|
3818
3818
|
#
|
@@ -3835,13 +3835,13 @@ module Orb
|
|
3835
3835
|
# #
|
3836
3836
|
# def initialize(duration:, duration_unit:, **) = super
|
3837
3837
|
|
3838
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3838
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3839
3839
|
|
3840
3840
|
# The unit of billing period duration.
|
3841
3841
|
#
|
3842
3842
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPrice::InvoicingCycleConfiguration#duration_unit
|
3843
3843
|
module DurationUnit
|
3844
|
-
extend Orb::Enum
|
3844
|
+
extend Orb::Internal::Type::Enum
|
3845
3845
|
|
3846
3846
|
DAY = :day
|
3847
3847
|
MONTH = :month
|
@@ -3855,7 +3855,7 @@ module Orb
|
|
3855
3855
|
end
|
3856
3856
|
end
|
3857
3857
|
|
3858
|
-
class NewFloatingMaxGroupTieredPackagePrice < Orb::BaseModel
|
3858
|
+
class NewFloatingMaxGroupTieredPackagePrice < Orb::Internal::Type::BaseModel
|
3859
3859
|
# @!attribute cadence
|
3860
3860
|
# The cadence to bill for this price on.
|
3861
3861
|
#
|
@@ -3878,7 +3878,8 @@ module Orb
|
|
3878
3878
|
# @!attribute max_group_tiered_package_config
|
3879
3879
|
#
|
3880
3880
|
# @return [Hash{Symbol=>Object}]
|
3881
|
-
required :max_group_tiered_package_config,
|
3881
|
+
required :max_group_tiered_package_config,
|
3882
|
+
Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
3882
3883
|
|
3883
3884
|
# @!attribute model_type
|
3884
3885
|
#
|
@@ -3903,7 +3904,7 @@ module Orb
|
|
3903
3904
|
# this is true, and in-arrears if this is false.
|
3904
3905
|
#
|
3905
3906
|
# @return [Boolean, nil]
|
3906
|
-
optional :billed_in_advance, Orb::
|
3907
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
3907
3908
|
|
3908
3909
|
# @!attribute billing_cycle_configuration
|
3909
3910
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3954,7 +3955,7 @@ module Orb
|
|
3954
3955
|
# by setting `metadata` to `null`.
|
3955
3956
|
#
|
3956
3957
|
# @return [Hash{Symbol=>String, nil}, nil]
|
3957
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
3958
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
3958
3959
|
|
3959
3960
|
# @!parse
|
3960
3961
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMaxGroupTieredPackagePrice::Cadence]
|
@@ -3994,13 +3995,13 @@ module Orb
|
|
3994
3995
|
# super
|
3995
3996
|
# end
|
3996
3997
|
|
3997
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3998
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3998
3999
|
|
3999
4000
|
# The cadence to bill for this price on.
|
4000
4001
|
#
|
4001
4002
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMaxGroupTieredPackagePrice#cadence
|
4002
4003
|
module Cadence
|
4003
|
-
extend Orb::Enum
|
4004
|
+
extend Orb::Internal::Type::Enum
|
4004
4005
|
|
4005
4006
|
ANNUAL = :annual
|
4006
4007
|
SEMI_ANNUAL = :semi_annual
|
@@ -4017,7 +4018,7 @@ module Orb
|
|
4017
4018
|
end
|
4018
4019
|
|
4019
4020
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMaxGroupTieredPackagePrice#billing_cycle_configuration
|
4020
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
4021
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4021
4022
|
# @!attribute duration
|
4022
4023
|
# The duration of the billing period.
|
4023
4024
|
#
|
@@ -4040,13 +4041,13 @@ module Orb
|
|
4040
4041
|
# #
|
4041
4042
|
# def initialize(duration:, duration_unit:, **) = super
|
4042
4043
|
|
4043
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4044
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4044
4045
|
|
4045
4046
|
# The unit of billing period duration.
|
4046
4047
|
#
|
4047
4048
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMaxGroupTieredPackagePrice::BillingCycleConfiguration#duration_unit
|
4048
4049
|
module DurationUnit
|
4049
|
-
extend Orb::Enum
|
4050
|
+
extend Orb::Internal::Type::Enum
|
4050
4051
|
|
4051
4052
|
DAY = :day
|
4052
4053
|
MONTH = :month
|
@@ -4060,7 +4061,7 @@ module Orb
|
|
4060
4061
|
end
|
4061
4062
|
|
4062
4063
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMaxGroupTieredPackagePrice#invoicing_cycle_configuration
|
4063
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
4064
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4064
4065
|
# @!attribute duration
|
4065
4066
|
# The duration of the billing period.
|
4066
4067
|
#
|
@@ -4083,13 +4084,13 @@ module Orb
|
|
4083
4084
|
# #
|
4084
4085
|
# def initialize(duration:, duration_unit:, **) = super
|
4085
4086
|
|
4086
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4087
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4087
4088
|
|
4088
4089
|
# The unit of billing period duration.
|
4089
4090
|
#
|
4090
4091
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMaxGroupTieredPackagePrice::InvoicingCycleConfiguration#duration_unit
|
4091
4092
|
module DurationUnit
|
4092
|
-
extend Orb::Enum
|
4093
|
+
extend Orb::Internal::Type::Enum
|
4093
4094
|
|
4094
4095
|
DAY = :day
|
4095
4096
|
MONTH = :month
|
@@ -4103,7 +4104,7 @@ module Orb
|
|
4103
4104
|
end
|
4104
4105
|
end
|
4105
4106
|
|
4106
|
-
class NewFloatingTieredWithMinimumPrice < Orb::BaseModel
|
4107
|
+
class NewFloatingTieredWithMinimumPrice < Orb::Internal::Type::BaseModel
|
4107
4108
|
# @!attribute cadence
|
4108
4109
|
# The cadence to bill for this price on.
|
4109
4110
|
#
|
@@ -4137,7 +4138,7 @@ module Orb
|
|
4137
4138
|
# @!attribute tiered_with_minimum_config
|
4138
4139
|
#
|
4139
4140
|
# @return [Hash{Symbol=>Object}]
|
4140
|
-
required :tiered_with_minimum_config, Orb::HashOf[Orb::Unknown]
|
4141
|
+
required :tiered_with_minimum_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
4141
4142
|
|
4142
4143
|
# @!attribute billable_metric_id
|
4143
4144
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -4151,7 +4152,7 @@ module Orb
|
|
4151
4152
|
# this is true, and in-arrears if this is false.
|
4152
4153
|
#
|
4153
4154
|
# @return [Boolean, nil]
|
4154
|
-
optional :billed_in_advance, Orb::
|
4155
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
4155
4156
|
|
4156
4157
|
# @!attribute billing_cycle_configuration
|
4157
4158
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4202,7 +4203,7 @@ module Orb
|
|
4202
4203
|
# by setting `metadata` to `null`.
|
4203
4204
|
#
|
4204
4205
|
# @return [Hash{Symbol=>String, nil}, nil]
|
4205
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
4206
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
4206
4207
|
|
4207
4208
|
# @!parse
|
4208
4209
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithMinimumPrice::Cadence]
|
@@ -4242,13 +4243,13 @@ module Orb
|
|
4242
4243
|
# super
|
4243
4244
|
# end
|
4244
4245
|
|
4245
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4246
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4246
4247
|
|
4247
4248
|
# The cadence to bill for this price on.
|
4248
4249
|
#
|
4249
4250
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithMinimumPrice#cadence
|
4250
4251
|
module Cadence
|
4251
|
-
extend Orb::Enum
|
4252
|
+
extend Orb::Internal::Type::Enum
|
4252
4253
|
|
4253
4254
|
ANNUAL = :annual
|
4254
4255
|
SEMI_ANNUAL = :semi_annual
|
@@ -4265,7 +4266,7 @@ module Orb
|
|
4265
4266
|
end
|
4266
4267
|
|
4267
4268
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithMinimumPrice#billing_cycle_configuration
|
4268
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
4269
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4269
4270
|
# @!attribute duration
|
4270
4271
|
# The duration of the billing period.
|
4271
4272
|
#
|
@@ -4288,13 +4289,13 @@ module Orb
|
|
4288
4289
|
# #
|
4289
4290
|
# def initialize(duration:, duration_unit:, **) = super
|
4290
4291
|
|
4291
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4292
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4292
4293
|
|
4293
4294
|
# The unit of billing period duration.
|
4294
4295
|
#
|
4295
4296
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithMinimumPrice::BillingCycleConfiguration#duration_unit
|
4296
4297
|
module DurationUnit
|
4297
|
-
extend Orb::Enum
|
4298
|
+
extend Orb::Internal::Type::Enum
|
4298
4299
|
|
4299
4300
|
DAY = :day
|
4300
4301
|
MONTH = :month
|
@@ -4308,7 +4309,7 @@ module Orb
|
|
4308
4309
|
end
|
4309
4310
|
|
4310
4311
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithMinimumPrice#invoicing_cycle_configuration
|
4311
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
4312
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4312
4313
|
# @!attribute duration
|
4313
4314
|
# The duration of the billing period.
|
4314
4315
|
#
|
@@ -4331,13 +4332,13 @@ module Orb
|
|
4331
4332
|
# #
|
4332
4333
|
# def initialize(duration:, duration_unit:, **) = super
|
4333
4334
|
|
4334
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4335
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4335
4336
|
|
4336
4337
|
# The unit of billing period duration.
|
4337
4338
|
#
|
4338
4339
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithMinimumPrice::InvoicingCycleConfiguration#duration_unit
|
4339
4340
|
module DurationUnit
|
4340
|
-
extend Orb::Enum
|
4341
|
+
extend Orb::Internal::Type::Enum
|
4341
4342
|
|
4342
4343
|
DAY = :day
|
4343
4344
|
MONTH = :month
|
@@ -4351,7 +4352,7 @@ module Orb
|
|
4351
4352
|
end
|
4352
4353
|
end
|
4353
4354
|
|
4354
|
-
class NewFloatingPackageWithAllocationPrice < Orb::BaseModel
|
4355
|
+
class NewFloatingPackageWithAllocationPrice < Orb::Internal::Type::BaseModel
|
4355
4356
|
# @!attribute cadence
|
4356
4357
|
# The cadence to bill for this price on.
|
4357
4358
|
#
|
@@ -4385,7 +4386,8 @@ module Orb
|
|
4385
4386
|
# @!attribute package_with_allocation_config
|
4386
4387
|
#
|
4387
4388
|
# @return [Hash{Symbol=>Object}]
|
4388
|
-
required :package_with_allocation_config,
|
4389
|
+
required :package_with_allocation_config,
|
4390
|
+
Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
4389
4391
|
|
4390
4392
|
# @!attribute billable_metric_id
|
4391
4393
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -4399,7 +4401,7 @@ module Orb
|
|
4399
4401
|
# this is true, and in-arrears if this is false.
|
4400
4402
|
#
|
4401
4403
|
# @return [Boolean, nil]
|
4402
|
-
optional :billed_in_advance, Orb::
|
4404
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
4403
4405
|
|
4404
4406
|
# @!attribute billing_cycle_configuration
|
4405
4407
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4450,7 +4452,7 @@ module Orb
|
|
4450
4452
|
# by setting `metadata` to `null`.
|
4451
4453
|
#
|
4452
4454
|
# @return [Hash{Symbol=>String, nil}, nil]
|
4453
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
4455
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
4454
4456
|
|
4455
4457
|
# @!parse
|
4456
4458
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackageWithAllocationPrice::Cadence]
|
@@ -4490,13 +4492,13 @@ module Orb
|
|
4490
4492
|
# super
|
4491
4493
|
# end
|
4492
4494
|
|
4493
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4495
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4494
4496
|
|
4495
4497
|
# The cadence to bill for this price on.
|
4496
4498
|
#
|
4497
4499
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackageWithAllocationPrice#cadence
|
4498
4500
|
module Cadence
|
4499
|
-
extend Orb::Enum
|
4501
|
+
extend Orb::Internal::Type::Enum
|
4500
4502
|
|
4501
4503
|
ANNUAL = :annual
|
4502
4504
|
SEMI_ANNUAL = :semi_annual
|
@@ -4513,7 +4515,7 @@ module Orb
|
|
4513
4515
|
end
|
4514
4516
|
|
4515
4517
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackageWithAllocationPrice#billing_cycle_configuration
|
4516
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
4518
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4517
4519
|
# @!attribute duration
|
4518
4520
|
# The duration of the billing period.
|
4519
4521
|
#
|
@@ -4536,13 +4538,13 @@ module Orb
|
|
4536
4538
|
# #
|
4537
4539
|
# def initialize(duration:, duration_unit:, **) = super
|
4538
4540
|
|
4539
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4541
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4540
4542
|
|
4541
4543
|
# The unit of billing period duration.
|
4542
4544
|
#
|
4543
4545
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackageWithAllocationPrice::BillingCycleConfiguration#duration_unit
|
4544
4546
|
module DurationUnit
|
4545
|
-
extend Orb::Enum
|
4547
|
+
extend Orb::Internal::Type::Enum
|
4546
4548
|
|
4547
4549
|
DAY = :day
|
4548
4550
|
MONTH = :month
|
@@ -4556,7 +4558,7 @@ module Orb
|
|
4556
4558
|
end
|
4557
4559
|
|
4558
4560
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackageWithAllocationPrice#invoicing_cycle_configuration
|
4559
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
4561
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4560
4562
|
# @!attribute duration
|
4561
4563
|
# The duration of the billing period.
|
4562
4564
|
#
|
@@ -4579,13 +4581,13 @@ module Orb
|
|
4579
4581
|
# #
|
4580
4582
|
# def initialize(duration:, duration_unit:, **) = super
|
4581
4583
|
|
4582
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4584
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4583
4585
|
|
4584
4586
|
# The unit of billing period duration.
|
4585
4587
|
#
|
4586
4588
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackageWithAllocationPrice::InvoicingCycleConfiguration#duration_unit
|
4587
4589
|
module DurationUnit
|
4588
|
-
extend Orb::Enum
|
4590
|
+
extend Orb::Internal::Type::Enum
|
4589
4591
|
|
4590
4592
|
DAY = :day
|
4591
4593
|
MONTH = :month
|
@@ -4599,7 +4601,7 @@ module Orb
|
|
4599
4601
|
end
|
4600
4602
|
end
|
4601
4603
|
|
4602
|
-
class NewFloatingTieredPackageWithMinimumPrice < Orb::BaseModel
|
4604
|
+
class NewFloatingTieredPackageWithMinimumPrice < Orb::Internal::Type::BaseModel
|
4603
4605
|
# @!attribute cadence
|
4604
4606
|
# The cadence to bill for this price on.
|
4605
4607
|
#
|
@@ -4633,7 +4635,8 @@ module Orb
|
|
4633
4635
|
# @!attribute tiered_package_with_minimum_config
|
4634
4636
|
#
|
4635
4637
|
# @return [Hash{Symbol=>Object}]
|
4636
|
-
required :tiered_package_with_minimum_config,
|
4638
|
+
required :tiered_package_with_minimum_config,
|
4639
|
+
Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
4637
4640
|
|
4638
4641
|
# @!attribute billable_metric_id
|
4639
4642
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -4647,7 +4650,7 @@ module Orb
|
|
4647
4650
|
# this is true, and in-arrears if this is false.
|
4648
4651
|
#
|
4649
4652
|
# @return [Boolean, nil]
|
4650
|
-
optional :billed_in_advance, Orb::
|
4653
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
4651
4654
|
|
4652
4655
|
# @!attribute billing_cycle_configuration
|
4653
4656
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4698,7 +4701,7 @@ module Orb
|
|
4698
4701
|
# by setting `metadata` to `null`.
|
4699
4702
|
#
|
4700
4703
|
# @return [Hash{Symbol=>String, nil}, nil]
|
4701
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
4704
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
4702
4705
|
|
4703
4706
|
# @!parse
|
4704
4707
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackageWithMinimumPrice::Cadence]
|
@@ -4738,13 +4741,13 @@ module Orb
|
|
4738
4741
|
# super
|
4739
4742
|
# end
|
4740
4743
|
|
4741
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4744
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4742
4745
|
|
4743
4746
|
# The cadence to bill for this price on.
|
4744
4747
|
#
|
4745
4748
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackageWithMinimumPrice#cadence
|
4746
4749
|
module Cadence
|
4747
|
-
extend Orb::Enum
|
4750
|
+
extend Orb::Internal::Type::Enum
|
4748
4751
|
|
4749
4752
|
ANNUAL = :annual
|
4750
4753
|
SEMI_ANNUAL = :semi_annual
|
@@ -4761,7 +4764,7 @@ module Orb
|
|
4761
4764
|
end
|
4762
4765
|
|
4763
4766
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackageWithMinimumPrice#billing_cycle_configuration
|
4764
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
4767
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4765
4768
|
# @!attribute duration
|
4766
4769
|
# The duration of the billing period.
|
4767
4770
|
#
|
@@ -4784,13 +4787,13 @@ module Orb
|
|
4784
4787
|
# #
|
4785
4788
|
# def initialize(duration:, duration_unit:, **) = super
|
4786
4789
|
|
4787
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4790
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4788
4791
|
|
4789
4792
|
# The unit of billing period duration.
|
4790
4793
|
#
|
4791
4794
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackageWithMinimumPrice::BillingCycleConfiguration#duration_unit
|
4792
4795
|
module DurationUnit
|
4793
|
-
extend Orb::Enum
|
4796
|
+
extend Orb::Internal::Type::Enum
|
4794
4797
|
|
4795
4798
|
DAY = :day
|
4796
4799
|
MONTH = :month
|
@@ -4804,7 +4807,7 @@ module Orb
|
|
4804
4807
|
end
|
4805
4808
|
|
4806
4809
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackageWithMinimumPrice#invoicing_cycle_configuration
|
4807
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
4810
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4808
4811
|
# @!attribute duration
|
4809
4812
|
# The duration of the billing period.
|
4810
4813
|
#
|
@@ -4827,13 +4830,13 @@ module Orb
|
|
4827
4830
|
# #
|
4828
4831
|
# def initialize(duration:, duration_unit:, **) = super
|
4829
4832
|
|
4830
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4833
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4831
4834
|
|
4832
4835
|
# The unit of billing period duration.
|
4833
4836
|
#
|
4834
4837
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackageWithMinimumPrice::InvoicingCycleConfiguration#duration_unit
|
4835
4838
|
module DurationUnit
|
4836
|
-
extend Orb::Enum
|
4839
|
+
extend Orb::Internal::Type::Enum
|
4837
4840
|
|
4838
4841
|
DAY = :day
|
4839
4842
|
MONTH = :month
|
@@ -4847,7 +4850,7 @@ module Orb
|
|
4847
4850
|
end
|
4848
4851
|
end
|
4849
4852
|
|
4850
|
-
class NewFloatingUnitWithPercentPrice < Orb::BaseModel
|
4853
|
+
class NewFloatingUnitWithPercentPrice < Orb::Internal::Type::BaseModel
|
4851
4854
|
# @!attribute cadence
|
4852
4855
|
# The cadence to bill for this price on.
|
4853
4856
|
#
|
@@ -4881,7 +4884,7 @@ module Orb
|
|
4881
4884
|
# @!attribute unit_with_percent_config
|
4882
4885
|
#
|
4883
4886
|
# @return [Hash{Symbol=>Object}]
|
4884
|
-
required :unit_with_percent_config, Orb::HashOf[Orb::Unknown]
|
4887
|
+
required :unit_with_percent_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
4885
4888
|
|
4886
4889
|
# @!attribute billable_metric_id
|
4887
4890
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -4895,7 +4898,7 @@ module Orb
|
|
4895
4898
|
# this is true, and in-arrears if this is false.
|
4896
4899
|
#
|
4897
4900
|
# @return [Boolean, nil]
|
4898
|
-
optional :billed_in_advance, Orb::
|
4901
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
4899
4902
|
|
4900
4903
|
# @!attribute billing_cycle_configuration
|
4901
4904
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4946,7 +4949,7 @@ module Orb
|
|
4946
4949
|
# by setting `metadata` to `null`.
|
4947
4950
|
#
|
4948
4951
|
# @return [Hash{Symbol=>String, nil}, nil]
|
4949
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
4952
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
4950
4953
|
|
4951
4954
|
# @!parse
|
4952
4955
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithPercentPrice::Cadence]
|
@@ -4986,13 +4989,13 @@ module Orb
|
|
4986
4989
|
# super
|
4987
4990
|
# end
|
4988
4991
|
|
4989
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4992
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4990
4993
|
|
4991
4994
|
# The cadence to bill for this price on.
|
4992
4995
|
#
|
4993
4996
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithPercentPrice#cadence
|
4994
4997
|
module Cadence
|
4995
|
-
extend Orb::Enum
|
4998
|
+
extend Orb::Internal::Type::Enum
|
4996
4999
|
|
4997
5000
|
ANNUAL = :annual
|
4998
5001
|
SEMI_ANNUAL = :semi_annual
|
@@ -5009,7 +5012,7 @@ module Orb
|
|
5009
5012
|
end
|
5010
5013
|
|
5011
5014
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithPercentPrice#billing_cycle_configuration
|
5012
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
5015
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5013
5016
|
# @!attribute duration
|
5014
5017
|
# The duration of the billing period.
|
5015
5018
|
#
|
@@ -5032,13 +5035,13 @@ module Orb
|
|
5032
5035
|
# #
|
5033
5036
|
# def initialize(duration:, duration_unit:, **) = super
|
5034
5037
|
|
5035
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5038
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5036
5039
|
|
5037
5040
|
# The unit of billing period duration.
|
5038
5041
|
#
|
5039
5042
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithPercentPrice::BillingCycleConfiguration#duration_unit
|
5040
5043
|
module DurationUnit
|
5041
|
-
extend Orb::Enum
|
5044
|
+
extend Orb::Internal::Type::Enum
|
5042
5045
|
|
5043
5046
|
DAY = :day
|
5044
5047
|
MONTH = :month
|
@@ -5052,7 +5055,7 @@ module Orb
|
|
5052
5055
|
end
|
5053
5056
|
|
5054
5057
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithPercentPrice#invoicing_cycle_configuration
|
5055
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
5058
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5056
5059
|
# @!attribute duration
|
5057
5060
|
# The duration of the billing period.
|
5058
5061
|
#
|
@@ -5075,13 +5078,13 @@ module Orb
|
|
5075
5078
|
# #
|
5076
5079
|
# def initialize(duration:, duration_unit:, **) = super
|
5077
5080
|
|
5078
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5081
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5079
5082
|
|
5080
5083
|
# The unit of billing period duration.
|
5081
5084
|
#
|
5082
5085
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithPercentPrice::InvoicingCycleConfiguration#duration_unit
|
5083
5086
|
module DurationUnit
|
5084
|
-
extend Orb::Enum
|
5087
|
+
extend Orb::Internal::Type::Enum
|
5085
5088
|
|
5086
5089
|
DAY = :day
|
5087
5090
|
MONTH = :month
|
@@ -5095,7 +5098,7 @@ module Orb
|
|
5095
5098
|
end
|
5096
5099
|
end
|
5097
5100
|
|
5098
|
-
class NewFloatingTieredWithProrationPrice < Orb::BaseModel
|
5101
|
+
class NewFloatingTieredWithProrationPrice < Orb::Internal::Type::BaseModel
|
5099
5102
|
# @!attribute cadence
|
5100
5103
|
# The cadence to bill for this price on.
|
5101
5104
|
#
|
@@ -5129,7 +5132,7 @@ module Orb
|
|
5129
5132
|
# @!attribute tiered_with_proration_config
|
5130
5133
|
#
|
5131
5134
|
# @return [Hash{Symbol=>Object}]
|
5132
|
-
required :tiered_with_proration_config, Orb::HashOf[Orb::Unknown]
|
5135
|
+
required :tiered_with_proration_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
5133
5136
|
|
5134
5137
|
# @!attribute billable_metric_id
|
5135
5138
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -5143,7 +5146,7 @@ module Orb
|
|
5143
5146
|
# this is true, and in-arrears if this is false.
|
5144
5147
|
#
|
5145
5148
|
# @return [Boolean, nil]
|
5146
|
-
optional :billed_in_advance, Orb::
|
5149
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
5147
5150
|
|
5148
5151
|
# @!attribute billing_cycle_configuration
|
5149
5152
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5194,7 +5197,7 @@ module Orb
|
|
5194
5197
|
# by setting `metadata` to `null`.
|
5195
5198
|
#
|
5196
5199
|
# @return [Hash{Symbol=>String, nil}, nil]
|
5197
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
5200
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
5198
5201
|
|
5199
5202
|
# @!parse
|
5200
5203
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithProrationPrice::Cadence]
|
@@ -5234,13 +5237,13 @@ module Orb
|
|
5234
5237
|
# super
|
5235
5238
|
# end
|
5236
5239
|
|
5237
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5240
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5238
5241
|
|
5239
5242
|
# The cadence to bill for this price on.
|
5240
5243
|
#
|
5241
5244
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithProrationPrice#cadence
|
5242
5245
|
module Cadence
|
5243
|
-
extend Orb::Enum
|
5246
|
+
extend Orb::Internal::Type::Enum
|
5244
5247
|
|
5245
5248
|
ANNUAL = :annual
|
5246
5249
|
SEMI_ANNUAL = :semi_annual
|
@@ -5257,7 +5260,7 @@ module Orb
|
|
5257
5260
|
end
|
5258
5261
|
|
5259
5262
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithProrationPrice#billing_cycle_configuration
|
5260
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
5263
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5261
5264
|
# @!attribute duration
|
5262
5265
|
# The duration of the billing period.
|
5263
5266
|
#
|
@@ -5280,13 +5283,13 @@ module Orb
|
|
5280
5283
|
# #
|
5281
5284
|
# def initialize(duration:, duration_unit:, **) = super
|
5282
5285
|
|
5283
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5286
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5284
5287
|
|
5285
5288
|
# The unit of billing period duration.
|
5286
5289
|
#
|
5287
5290
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithProrationPrice::BillingCycleConfiguration#duration_unit
|
5288
5291
|
module DurationUnit
|
5289
|
-
extend Orb::Enum
|
5292
|
+
extend Orb::Internal::Type::Enum
|
5290
5293
|
|
5291
5294
|
DAY = :day
|
5292
5295
|
MONTH = :month
|
@@ -5300,7 +5303,7 @@ module Orb
|
|
5300
5303
|
end
|
5301
5304
|
|
5302
5305
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithProrationPrice#invoicing_cycle_configuration
|
5303
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
5306
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5304
5307
|
# @!attribute duration
|
5305
5308
|
# The duration of the billing period.
|
5306
5309
|
#
|
@@ -5323,13 +5326,13 @@ module Orb
|
|
5323
5326
|
# #
|
5324
5327
|
# def initialize(duration:, duration_unit:, **) = super
|
5325
5328
|
|
5326
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5329
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5327
5330
|
|
5328
5331
|
# The unit of billing period duration.
|
5329
5332
|
#
|
5330
5333
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithProrationPrice::InvoicingCycleConfiguration#duration_unit
|
5331
5334
|
module DurationUnit
|
5332
|
-
extend Orb::Enum
|
5335
|
+
extend Orb::Internal::Type::Enum
|
5333
5336
|
|
5334
5337
|
DAY = :day
|
5335
5338
|
MONTH = :month
|
@@ -5343,7 +5346,7 @@ module Orb
|
|
5343
5346
|
end
|
5344
5347
|
end
|
5345
5348
|
|
5346
|
-
class NewFloatingUnitWithProrationPrice < Orb::BaseModel
|
5349
|
+
class NewFloatingUnitWithProrationPrice < Orb::Internal::Type::BaseModel
|
5347
5350
|
# @!attribute cadence
|
5348
5351
|
# The cadence to bill for this price on.
|
5349
5352
|
#
|
@@ -5377,7 +5380,7 @@ module Orb
|
|
5377
5380
|
# @!attribute unit_with_proration_config
|
5378
5381
|
#
|
5379
5382
|
# @return [Hash{Symbol=>Object}]
|
5380
|
-
required :unit_with_proration_config, Orb::HashOf[Orb::Unknown]
|
5383
|
+
required :unit_with_proration_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
5381
5384
|
|
5382
5385
|
# @!attribute billable_metric_id
|
5383
5386
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -5391,7 +5394,7 @@ module Orb
|
|
5391
5394
|
# this is true, and in-arrears if this is false.
|
5392
5395
|
#
|
5393
5396
|
# @return [Boolean, nil]
|
5394
|
-
optional :billed_in_advance, Orb::
|
5397
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
5395
5398
|
|
5396
5399
|
# @!attribute billing_cycle_configuration
|
5397
5400
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5442,7 +5445,7 @@ module Orb
|
|
5442
5445
|
# by setting `metadata` to `null`.
|
5443
5446
|
#
|
5444
5447
|
# @return [Hash{Symbol=>String, nil}, nil]
|
5445
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
5448
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
5446
5449
|
|
5447
5450
|
# @!parse
|
5448
5451
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithProrationPrice::Cadence]
|
@@ -5482,13 +5485,13 @@ module Orb
|
|
5482
5485
|
# super
|
5483
5486
|
# end
|
5484
5487
|
|
5485
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5488
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5486
5489
|
|
5487
5490
|
# The cadence to bill for this price on.
|
5488
5491
|
#
|
5489
5492
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithProrationPrice#cadence
|
5490
5493
|
module Cadence
|
5491
|
-
extend Orb::Enum
|
5494
|
+
extend Orb::Internal::Type::Enum
|
5492
5495
|
|
5493
5496
|
ANNUAL = :annual
|
5494
5497
|
SEMI_ANNUAL = :semi_annual
|
@@ -5505,7 +5508,7 @@ module Orb
|
|
5505
5508
|
end
|
5506
5509
|
|
5507
5510
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithProrationPrice#billing_cycle_configuration
|
5508
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
5511
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5509
5512
|
# @!attribute duration
|
5510
5513
|
# The duration of the billing period.
|
5511
5514
|
#
|
@@ -5528,13 +5531,13 @@ module Orb
|
|
5528
5531
|
# #
|
5529
5532
|
# def initialize(duration:, duration_unit:, **) = super
|
5530
5533
|
|
5531
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5534
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5532
5535
|
|
5533
5536
|
# The unit of billing period duration.
|
5534
5537
|
#
|
5535
5538
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithProrationPrice::BillingCycleConfiguration#duration_unit
|
5536
5539
|
module DurationUnit
|
5537
|
-
extend Orb::Enum
|
5540
|
+
extend Orb::Internal::Type::Enum
|
5538
5541
|
|
5539
5542
|
DAY = :day
|
5540
5543
|
MONTH = :month
|
@@ -5548,7 +5551,7 @@ module Orb
|
|
5548
5551
|
end
|
5549
5552
|
|
5550
5553
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithProrationPrice#invoicing_cycle_configuration
|
5551
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
5554
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5552
5555
|
# @!attribute duration
|
5553
5556
|
# The duration of the billing period.
|
5554
5557
|
#
|
@@ -5571,13 +5574,13 @@ module Orb
|
|
5571
5574
|
# #
|
5572
5575
|
# def initialize(duration:, duration_unit:, **) = super
|
5573
5576
|
|
5574
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5577
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5575
5578
|
|
5576
5579
|
# The unit of billing period duration.
|
5577
5580
|
#
|
5578
5581
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithProrationPrice::InvoicingCycleConfiguration#duration_unit
|
5579
5582
|
module DurationUnit
|
5580
|
-
extend Orb::Enum
|
5583
|
+
extend Orb::Internal::Type::Enum
|
5581
5584
|
|
5582
5585
|
DAY = :day
|
5583
5586
|
MONTH = :month
|
@@ -5591,7 +5594,7 @@ module Orb
|
|
5591
5594
|
end
|
5592
5595
|
end
|
5593
5596
|
|
5594
|
-
class NewFloatingGroupedAllocationPrice < Orb::BaseModel
|
5597
|
+
class NewFloatingGroupedAllocationPrice < Orb::Internal::Type::BaseModel
|
5595
5598
|
# @!attribute cadence
|
5596
5599
|
# The cadence to bill for this price on.
|
5597
5600
|
#
|
@@ -5608,7 +5611,7 @@ module Orb
|
|
5608
5611
|
# @!attribute grouped_allocation_config
|
5609
5612
|
#
|
5610
5613
|
# @return [Hash{Symbol=>Object}]
|
5611
|
-
required :grouped_allocation_config, Orb::HashOf[Orb::Unknown]
|
5614
|
+
required :grouped_allocation_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
5612
5615
|
|
5613
5616
|
# @!attribute item_id
|
5614
5617
|
# The id of the item the price will be associated with.
|
@@ -5639,7 +5642,7 @@ module Orb
|
|
5639
5642
|
# this is true, and in-arrears if this is false.
|
5640
5643
|
#
|
5641
5644
|
# @return [Boolean, nil]
|
5642
|
-
optional :billed_in_advance, Orb::
|
5645
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
5643
5646
|
|
5644
5647
|
# @!attribute billing_cycle_configuration
|
5645
5648
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5690,7 +5693,7 @@ module Orb
|
|
5690
5693
|
# by setting `metadata` to `null`.
|
5691
5694
|
#
|
5692
5695
|
# @return [Hash{Symbol=>String, nil}, nil]
|
5693
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
5696
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
5694
5697
|
|
5695
5698
|
# @!parse
|
5696
5699
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedAllocationPrice::Cadence]
|
@@ -5730,13 +5733,13 @@ module Orb
|
|
5730
5733
|
# super
|
5731
5734
|
# end
|
5732
5735
|
|
5733
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5736
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5734
5737
|
|
5735
5738
|
# The cadence to bill for this price on.
|
5736
5739
|
#
|
5737
5740
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedAllocationPrice#cadence
|
5738
5741
|
module Cadence
|
5739
|
-
extend Orb::Enum
|
5742
|
+
extend Orb::Internal::Type::Enum
|
5740
5743
|
|
5741
5744
|
ANNUAL = :annual
|
5742
5745
|
SEMI_ANNUAL = :semi_annual
|
@@ -5753,7 +5756,7 @@ module Orb
|
|
5753
5756
|
end
|
5754
5757
|
|
5755
5758
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedAllocationPrice#billing_cycle_configuration
|
5756
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
5759
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5757
5760
|
# @!attribute duration
|
5758
5761
|
# The duration of the billing period.
|
5759
5762
|
#
|
@@ -5776,13 +5779,13 @@ module Orb
|
|
5776
5779
|
# #
|
5777
5780
|
# def initialize(duration:, duration_unit:, **) = super
|
5778
5781
|
|
5779
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5782
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5780
5783
|
|
5781
5784
|
# The unit of billing period duration.
|
5782
5785
|
#
|
5783
5786
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedAllocationPrice::BillingCycleConfiguration#duration_unit
|
5784
5787
|
module DurationUnit
|
5785
|
-
extend Orb::Enum
|
5788
|
+
extend Orb::Internal::Type::Enum
|
5786
5789
|
|
5787
5790
|
DAY = :day
|
5788
5791
|
MONTH = :month
|
@@ -5796,7 +5799,7 @@ module Orb
|
|
5796
5799
|
end
|
5797
5800
|
|
5798
5801
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedAllocationPrice#invoicing_cycle_configuration
|
5799
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
5802
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5800
5803
|
# @!attribute duration
|
5801
5804
|
# The duration of the billing period.
|
5802
5805
|
#
|
@@ -5819,13 +5822,13 @@ module Orb
|
|
5819
5822
|
# #
|
5820
5823
|
# def initialize(duration:, duration_unit:, **) = super
|
5821
5824
|
|
5822
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5825
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5823
5826
|
|
5824
5827
|
# The unit of billing period duration.
|
5825
5828
|
#
|
5826
5829
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedAllocationPrice::InvoicingCycleConfiguration#duration_unit
|
5827
5830
|
module DurationUnit
|
5828
|
-
extend Orb::Enum
|
5831
|
+
extend Orb::Internal::Type::Enum
|
5829
5832
|
|
5830
5833
|
DAY = :day
|
5831
5834
|
MONTH = :month
|
@@ -5839,7 +5842,7 @@ module Orb
|
|
5839
5842
|
end
|
5840
5843
|
end
|
5841
5844
|
|
5842
|
-
class NewFloatingGroupedWithProratedMinimumPrice < Orb::BaseModel
|
5845
|
+
class NewFloatingGroupedWithProratedMinimumPrice < Orb::Internal::Type::BaseModel
|
5843
5846
|
# @!attribute cadence
|
5844
5847
|
# The cadence to bill for this price on.
|
5845
5848
|
#
|
@@ -5856,7 +5859,8 @@ module Orb
|
|
5856
5859
|
# @!attribute grouped_with_prorated_minimum_config
|
5857
5860
|
#
|
5858
5861
|
# @return [Hash{Symbol=>Object}]
|
5859
|
-
required :grouped_with_prorated_minimum_config,
|
5862
|
+
required :grouped_with_prorated_minimum_config,
|
5863
|
+
Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
5860
5864
|
|
5861
5865
|
# @!attribute item_id
|
5862
5866
|
# The id of the item the price will be associated with.
|
@@ -5887,7 +5891,7 @@ module Orb
|
|
5887
5891
|
# this is true, and in-arrears if this is false.
|
5888
5892
|
#
|
5889
5893
|
# @return [Boolean, nil]
|
5890
|
-
optional :billed_in_advance, Orb::
|
5894
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
5891
5895
|
|
5892
5896
|
# @!attribute billing_cycle_configuration
|
5893
5897
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5938,7 +5942,7 @@ module Orb
|
|
5938
5942
|
# by setting `metadata` to `null`.
|
5939
5943
|
#
|
5940
5944
|
# @return [Hash{Symbol=>String, nil}, nil]
|
5941
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
5945
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
5942
5946
|
|
5943
5947
|
# @!parse
|
5944
5948
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithProratedMinimumPrice::Cadence]
|
@@ -5978,13 +5982,13 @@ module Orb
|
|
5978
5982
|
# super
|
5979
5983
|
# end
|
5980
5984
|
|
5981
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5985
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5982
5986
|
|
5983
5987
|
# The cadence to bill for this price on.
|
5984
5988
|
#
|
5985
5989
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithProratedMinimumPrice#cadence
|
5986
5990
|
module Cadence
|
5987
|
-
extend Orb::Enum
|
5991
|
+
extend Orb::Internal::Type::Enum
|
5988
5992
|
|
5989
5993
|
ANNUAL = :annual
|
5990
5994
|
SEMI_ANNUAL = :semi_annual
|
@@ -6001,7 +6005,7 @@ module Orb
|
|
6001
6005
|
end
|
6002
6006
|
|
6003
6007
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithProratedMinimumPrice#billing_cycle_configuration
|
6004
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
6008
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6005
6009
|
# @!attribute duration
|
6006
6010
|
# The duration of the billing period.
|
6007
6011
|
#
|
@@ -6024,13 +6028,13 @@ module Orb
|
|
6024
6028
|
# #
|
6025
6029
|
# def initialize(duration:, duration_unit:, **) = super
|
6026
6030
|
|
6027
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6031
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6028
6032
|
|
6029
6033
|
# The unit of billing period duration.
|
6030
6034
|
#
|
6031
6035
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithProratedMinimumPrice::BillingCycleConfiguration#duration_unit
|
6032
6036
|
module DurationUnit
|
6033
|
-
extend Orb::Enum
|
6037
|
+
extend Orb::Internal::Type::Enum
|
6034
6038
|
|
6035
6039
|
DAY = :day
|
6036
6040
|
MONTH = :month
|
@@ -6044,7 +6048,7 @@ module Orb
|
|
6044
6048
|
end
|
6045
6049
|
|
6046
6050
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithProratedMinimumPrice#invoicing_cycle_configuration
|
6047
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
6051
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6048
6052
|
# @!attribute duration
|
6049
6053
|
# The duration of the billing period.
|
6050
6054
|
#
|
@@ -6067,13 +6071,13 @@ module Orb
|
|
6067
6071
|
# #
|
6068
6072
|
# def initialize(duration:, duration_unit:, **) = super
|
6069
6073
|
|
6070
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6074
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6071
6075
|
|
6072
6076
|
# The unit of billing period duration.
|
6073
6077
|
#
|
6074
6078
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithProratedMinimumPrice::InvoicingCycleConfiguration#duration_unit
|
6075
6079
|
module DurationUnit
|
6076
|
-
extend Orb::Enum
|
6080
|
+
extend Orb::Internal::Type::Enum
|
6077
6081
|
|
6078
6082
|
DAY = :day
|
6079
6083
|
MONTH = :month
|
@@ -6087,7 +6091,7 @@ module Orb
|
|
6087
6091
|
end
|
6088
6092
|
end
|
6089
6093
|
|
6090
|
-
class NewFloatingGroupedWithMeteredMinimumPrice < Orb::BaseModel
|
6094
|
+
class NewFloatingGroupedWithMeteredMinimumPrice < Orb::Internal::Type::BaseModel
|
6091
6095
|
# @!attribute cadence
|
6092
6096
|
# The cadence to bill for this price on.
|
6093
6097
|
#
|
@@ -6104,7 +6108,8 @@ module Orb
|
|
6104
6108
|
# @!attribute grouped_with_metered_minimum_config
|
6105
6109
|
#
|
6106
6110
|
# @return [Hash{Symbol=>Object}]
|
6107
|
-
required :grouped_with_metered_minimum_config,
|
6111
|
+
required :grouped_with_metered_minimum_config,
|
6112
|
+
Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
6108
6113
|
|
6109
6114
|
# @!attribute item_id
|
6110
6115
|
# The id of the item the price will be associated with.
|
@@ -6135,7 +6140,7 @@ module Orb
|
|
6135
6140
|
# this is true, and in-arrears if this is false.
|
6136
6141
|
#
|
6137
6142
|
# @return [Boolean, nil]
|
6138
|
-
optional :billed_in_advance, Orb::
|
6143
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
6139
6144
|
|
6140
6145
|
# @!attribute billing_cycle_configuration
|
6141
6146
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -6186,7 +6191,7 @@ module Orb
|
|
6186
6191
|
# by setting `metadata` to `null`.
|
6187
6192
|
#
|
6188
6193
|
# @return [Hash{Symbol=>String, nil}, nil]
|
6189
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
6194
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
6190
6195
|
|
6191
6196
|
# @!parse
|
6192
6197
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithMeteredMinimumPrice::Cadence]
|
@@ -6226,13 +6231,13 @@ module Orb
|
|
6226
6231
|
# super
|
6227
6232
|
# end
|
6228
6233
|
|
6229
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6234
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6230
6235
|
|
6231
6236
|
# The cadence to bill for this price on.
|
6232
6237
|
#
|
6233
6238
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithMeteredMinimumPrice#cadence
|
6234
6239
|
module Cadence
|
6235
|
-
extend Orb::Enum
|
6240
|
+
extend Orb::Internal::Type::Enum
|
6236
6241
|
|
6237
6242
|
ANNUAL = :annual
|
6238
6243
|
SEMI_ANNUAL = :semi_annual
|
@@ -6249,7 +6254,7 @@ module Orb
|
|
6249
6254
|
end
|
6250
6255
|
|
6251
6256
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithMeteredMinimumPrice#billing_cycle_configuration
|
6252
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
6257
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6253
6258
|
# @!attribute duration
|
6254
6259
|
# The duration of the billing period.
|
6255
6260
|
#
|
@@ -6272,13 +6277,13 @@ module Orb
|
|
6272
6277
|
# #
|
6273
6278
|
# def initialize(duration:, duration_unit:, **) = super
|
6274
6279
|
|
6275
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6280
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6276
6281
|
|
6277
6282
|
# The unit of billing period duration.
|
6278
6283
|
#
|
6279
6284
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithMeteredMinimumPrice::BillingCycleConfiguration#duration_unit
|
6280
6285
|
module DurationUnit
|
6281
|
-
extend Orb::Enum
|
6286
|
+
extend Orb::Internal::Type::Enum
|
6282
6287
|
|
6283
6288
|
DAY = :day
|
6284
6289
|
MONTH = :month
|
@@ -6292,7 +6297,7 @@ module Orb
|
|
6292
6297
|
end
|
6293
6298
|
|
6294
6299
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithMeteredMinimumPrice#invoicing_cycle_configuration
|
6295
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
6300
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6296
6301
|
# @!attribute duration
|
6297
6302
|
# The duration of the billing period.
|
6298
6303
|
#
|
@@ -6315,13 +6320,13 @@ module Orb
|
|
6315
6320
|
# #
|
6316
6321
|
# def initialize(duration:, duration_unit:, **) = super
|
6317
6322
|
|
6318
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6323
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6319
6324
|
|
6320
6325
|
# The unit of billing period duration.
|
6321
6326
|
#
|
6322
6327
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithMeteredMinimumPrice::InvoicingCycleConfiguration#duration_unit
|
6323
6328
|
module DurationUnit
|
6324
|
-
extend Orb::Enum
|
6329
|
+
extend Orb::Internal::Type::Enum
|
6325
6330
|
|
6326
6331
|
DAY = :day
|
6327
6332
|
MONTH = :month
|
@@ -6335,7 +6340,7 @@ module Orb
|
|
6335
6340
|
end
|
6336
6341
|
end
|
6337
6342
|
|
6338
|
-
class NewFloatingMatrixWithDisplayNamePrice < Orb::BaseModel
|
6343
|
+
class NewFloatingMatrixWithDisplayNamePrice < Orb::Internal::Type::BaseModel
|
6339
6344
|
# @!attribute cadence
|
6340
6345
|
# The cadence to bill for this price on.
|
6341
6346
|
#
|
@@ -6358,7 +6363,8 @@ module Orb
|
|
6358
6363
|
# @!attribute matrix_with_display_name_config
|
6359
6364
|
#
|
6360
6365
|
# @return [Hash{Symbol=>Object}]
|
6361
|
-
required :matrix_with_display_name_config,
|
6366
|
+
required :matrix_with_display_name_config,
|
6367
|
+
Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
6362
6368
|
|
6363
6369
|
# @!attribute model_type
|
6364
6370
|
#
|
@@ -6383,7 +6389,7 @@ module Orb
|
|
6383
6389
|
# this is true, and in-arrears if this is false.
|
6384
6390
|
#
|
6385
6391
|
# @return [Boolean, nil]
|
6386
|
-
optional :billed_in_advance, Orb::
|
6392
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
6387
6393
|
|
6388
6394
|
# @!attribute billing_cycle_configuration
|
6389
6395
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -6434,7 +6440,7 @@ module Orb
|
|
6434
6440
|
# by setting `metadata` to `null`.
|
6435
6441
|
#
|
6436
6442
|
# @return [Hash{Symbol=>String, nil}, nil]
|
6437
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
6443
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
6438
6444
|
|
6439
6445
|
# @!parse
|
6440
6446
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithDisplayNamePrice::Cadence]
|
@@ -6474,13 +6480,13 @@ module Orb
|
|
6474
6480
|
# super
|
6475
6481
|
# end
|
6476
6482
|
|
6477
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6483
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6478
6484
|
|
6479
6485
|
# The cadence to bill for this price on.
|
6480
6486
|
#
|
6481
6487
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithDisplayNamePrice#cadence
|
6482
6488
|
module Cadence
|
6483
|
-
extend Orb::Enum
|
6489
|
+
extend Orb::Internal::Type::Enum
|
6484
6490
|
|
6485
6491
|
ANNUAL = :annual
|
6486
6492
|
SEMI_ANNUAL = :semi_annual
|
@@ -6497,7 +6503,7 @@ module Orb
|
|
6497
6503
|
end
|
6498
6504
|
|
6499
6505
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithDisplayNamePrice#billing_cycle_configuration
|
6500
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
6506
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6501
6507
|
# @!attribute duration
|
6502
6508
|
# The duration of the billing period.
|
6503
6509
|
#
|
@@ -6520,13 +6526,13 @@ module Orb
|
|
6520
6526
|
# #
|
6521
6527
|
# def initialize(duration:, duration_unit:, **) = super
|
6522
6528
|
|
6523
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6529
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6524
6530
|
|
6525
6531
|
# The unit of billing period duration.
|
6526
6532
|
#
|
6527
6533
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithDisplayNamePrice::BillingCycleConfiguration#duration_unit
|
6528
6534
|
module DurationUnit
|
6529
|
-
extend Orb::Enum
|
6535
|
+
extend Orb::Internal::Type::Enum
|
6530
6536
|
|
6531
6537
|
DAY = :day
|
6532
6538
|
MONTH = :month
|
@@ -6540,7 +6546,7 @@ module Orb
|
|
6540
6546
|
end
|
6541
6547
|
|
6542
6548
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithDisplayNamePrice#invoicing_cycle_configuration
|
6543
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
6549
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6544
6550
|
# @!attribute duration
|
6545
6551
|
# The duration of the billing period.
|
6546
6552
|
#
|
@@ -6563,13 +6569,13 @@ module Orb
|
|
6563
6569
|
# #
|
6564
6570
|
# def initialize(duration:, duration_unit:, **) = super
|
6565
6571
|
|
6566
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6572
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6567
6573
|
|
6568
6574
|
# The unit of billing period duration.
|
6569
6575
|
#
|
6570
6576
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithDisplayNamePrice::InvoicingCycleConfiguration#duration_unit
|
6571
6577
|
module DurationUnit
|
6572
|
-
extend Orb::Enum
|
6578
|
+
extend Orb::Internal::Type::Enum
|
6573
6579
|
|
6574
6580
|
DAY = :day
|
6575
6581
|
MONTH = :month
|
@@ -6583,11 +6589,11 @@ module Orb
|
|
6583
6589
|
end
|
6584
6590
|
end
|
6585
6591
|
|
6586
|
-
class NewFloatingBulkWithProrationPrice < Orb::BaseModel
|
6592
|
+
class NewFloatingBulkWithProrationPrice < Orb::Internal::Type::BaseModel
|
6587
6593
|
# @!attribute bulk_with_proration_config
|
6588
6594
|
#
|
6589
6595
|
# @return [Hash{Symbol=>Object}]
|
6590
|
-
required :bulk_with_proration_config, Orb::HashOf[Orb::Unknown]
|
6596
|
+
required :bulk_with_proration_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
6591
6597
|
|
6592
6598
|
# @!attribute cadence
|
6593
6599
|
# The cadence to bill for this price on.
|
@@ -6631,7 +6637,7 @@ module Orb
|
|
6631
6637
|
# this is true, and in-arrears if this is false.
|
6632
6638
|
#
|
6633
6639
|
# @return [Boolean, nil]
|
6634
|
-
optional :billed_in_advance, Orb::
|
6640
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
6635
6641
|
|
6636
6642
|
# @!attribute billing_cycle_configuration
|
6637
6643
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -6682,7 +6688,7 @@ module Orb
|
|
6682
6688
|
# by setting `metadata` to `null`.
|
6683
6689
|
#
|
6684
6690
|
# @return [Hash{Symbol=>String, nil}, nil]
|
6685
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
6691
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
6686
6692
|
|
6687
6693
|
# @!parse
|
6688
6694
|
# # @param bulk_with_proration_config [Hash{Symbol=>Object}]
|
@@ -6722,13 +6728,13 @@ module Orb
|
|
6722
6728
|
# super
|
6723
6729
|
# end
|
6724
6730
|
|
6725
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6731
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6726
6732
|
|
6727
6733
|
# The cadence to bill for this price on.
|
6728
6734
|
#
|
6729
6735
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkWithProrationPrice#cadence
|
6730
6736
|
module Cadence
|
6731
|
-
extend Orb::Enum
|
6737
|
+
extend Orb::Internal::Type::Enum
|
6732
6738
|
|
6733
6739
|
ANNUAL = :annual
|
6734
6740
|
SEMI_ANNUAL = :semi_annual
|
@@ -6745,7 +6751,7 @@ module Orb
|
|
6745
6751
|
end
|
6746
6752
|
|
6747
6753
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkWithProrationPrice#billing_cycle_configuration
|
6748
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
6754
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6749
6755
|
# @!attribute duration
|
6750
6756
|
# The duration of the billing period.
|
6751
6757
|
#
|
@@ -6768,13 +6774,13 @@ module Orb
|
|
6768
6774
|
# #
|
6769
6775
|
# def initialize(duration:, duration_unit:, **) = super
|
6770
6776
|
|
6771
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6777
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6772
6778
|
|
6773
6779
|
# The unit of billing period duration.
|
6774
6780
|
#
|
6775
6781
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkWithProrationPrice::BillingCycleConfiguration#duration_unit
|
6776
6782
|
module DurationUnit
|
6777
|
-
extend Orb::Enum
|
6783
|
+
extend Orb::Internal::Type::Enum
|
6778
6784
|
|
6779
6785
|
DAY = :day
|
6780
6786
|
MONTH = :month
|
@@ -6788,7 +6794,7 @@ module Orb
|
|
6788
6794
|
end
|
6789
6795
|
|
6790
6796
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkWithProrationPrice#invoicing_cycle_configuration
|
6791
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
6797
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6792
6798
|
# @!attribute duration
|
6793
6799
|
# The duration of the billing period.
|
6794
6800
|
#
|
@@ -6811,13 +6817,13 @@ module Orb
|
|
6811
6817
|
# #
|
6812
6818
|
# def initialize(duration:, duration_unit:, **) = super
|
6813
6819
|
|
6814
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6820
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6815
6821
|
|
6816
6822
|
# The unit of billing period duration.
|
6817
6823
|
#
|
6818
6824
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkWithProrationPrice::InvoicingCycleConfiguration#duration_unit
|
6819
6825
|
module DurationUnit
|
6820
|
-
extend Orb::Enum
|
6826
|
+
extend Orb::Internal::Type::Enum
|
6821
6827
|
|
6822
6828
|
DAY = :day
|
6823
6829
|
MONTH = :month
|
@@ -6831,7 +6837,7 @@ module Orb
|
|
6831
6837
|
end
|
6832
6838
|
end
|
6833
6839
|
|
6834
|
-
class NewFloatingGroupedTieredPackagePrice < Orb::BaseModel
|
6840
|
+
class NewFloatingGroupedTieredPackagePrice < Orb::Internal::Type::BaseModel
|
6835
6841
|
# @!attribute cadence
|
6836
6842
|
# The cadence to bill for this price on.
|
6837
6843
|
#
|
@@ -6848,7 +6854,7 @@ module Orb
|
|
6848
6854
|
# @!attribute grouped_tiered_package_config
|
6849
6855
|
#
|
6850
6856
|
# @return [Hash{Symbol=>Object}]
|
6851
|
-
required :grouped_tiered_package_config, Orb::HashOf[Orb::Unknown]
|
6857
|
+
required :grouped_tiered_package_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
6852
6858
|
|
6853
6859
|
# @!attribute item_id
|
6854
6860
|
# The id of the item the price will be associated with.
|
@@ -6879,7 +6885,7 @@ module Orb
|
|
6879
6885
|
# this is true, and in-arrears if this is false.
|
6880
6886
|
#
|
6881
6887
|
# @return [Boolean, nil]
|
6882
|
-
optional :billed_in_advance, Orb::
|
6888
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
6883
6889
|
|
6884
6890
|
# @!attribute billing_cycle_configuration
|
6885
6891
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -6930,7 +6936,7 @@ module Orb
|
|
6930
6936
|
# by setting `metadata` to `null`.
|
6931
6937
|
#
|
6932
6938
|
# @return [Hash{Symbol=>String, nil}, nil]
|
6933
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
6939
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
6934
6940
|
|
6935
6941
|
# @!parse
|
6936
6942
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPackagePrice::Cadence]
|
@@ -6970,13 +6976,13 @@ module Orb
|
|
6970
6976
|
# super
|
6971
6977
|
# end
|
6972
6978
|
|
6973
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6979
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6974
6980
|
|
6975
6981
|
# The cadence to bill for this price on.
|
6976
6982
|
#
|
6977
6983
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPackagePrice#cadence
|
6978
6984
|
module Cadence
|
6979
|
-
extend Orb::Enum
|
6985
|
+
extend Orb::Internal::Type::Enum
|
6980
6986
|
|
6981
6987
|
ANNUAL = :annual
|
6982
6988
|
SEMI_ANNUAL = :semi_annual
|
@@ -6993,7 +6999,7 @@ module Orb
|
|
6993
6999
|
end
|
6994
7000
|
|
6995
7001
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPackagePrice#billing_cycle_configuration
|
6996
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
7002
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6997
7003
|
# @!attribute duration
|
6998
7004
|
# The duration of the billing period.
|
6999
7005
|
#
|
@@ -7016,13 +7022,13 @@ module Orb
|
|
7016
7022
|
# #
|
7017
7023
|
# def initialize(duration:, duration_unit:, **) = super
|
7018
7024
|
|
7019
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
7025
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
7020
7026
|
|
7021
7027
|
# The unit of billing period duration.
|
7022
7028
|
#
|
7023
7029
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPackagePrice::BillingCycleConfiguration#duration_unit
|
7024
7030
|
module DurationUnit
|
7025
|
-
extend Orb::Enum
|
7031
|
+
extend Orb::Internal::Type::Enum
|
7026
7032
|
|
7027
7033
|
DAY = :day
|
7028
7034
|
MONTH = :month
|
@@ -7036,7 +7042,7 @@ module Orb
|
|
7036
7042
|
end
|
7037
7043
|
|
7038
7044
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPackagePrice#invoicing_cycle_configuration
|
7039
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
7045
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7040
7046
|
# @!attribute duration
|
7041
7047
|
# The duration of the billing period.
|
7042
7048
|
#
|
@@ -7059,13 +7065,13 @@ module Orb
|
|
7059
7065
|
# #
|
7060
7066
|
# def initialize(duration:, duration_unit:, **) = super
|
7061
7067
|
|
7062
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
7068
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
7063
7069
|
|
7064
7070
|
# The unit of billing period duration.
|
7065
7071
|
#
|
7066
7072
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPackagePrice::InvoicingCycleConfiguration#duration_unit
|
7067
7073
|
module DurationUnit
|
7068
|
-
extend Orb::Enum
|
7074
|
+
extend Orb::Internal::Type::Enum
|
7069
7075
|
|
7070
7076
|
DAY = :day
|
7071
7077
|
MONTH = :month
|
@@ -7079,7 +7085,7 @@ module Orb
|
|
7079
7085
|
end
|
7080
7086
|
end
|
7081
7087
|
|
7082
|
-
class NewFloatingScalableMatrixWithUnitPricingPrice < Orb::BaseModel
|
7088
|
+
class NewFloatingScalableMatrixWithUnitPricingPrice < Orb::Internal::Type::BaseModel
|
7083
7089
|
# @!attribute cadence
|
7084
7090
|
# The cadence to bill for this price on.
|
7085
7091
|
#
|
@@ -7113,7 +7119,8 @@ module Orb
|
|
7113
7119
|
# @!attribute scalable_matrix_with_unit_pricing_config
|
7114
7120
|
#
|
7115
7121
|
# @return [Hash{Symbol=>Object}]
|
7116
|
-
required :scalable_matrix_with_unit_pricing_config,
|
7122
|
+
required :scalable_matrix_with_unit_pricing_config,
|
7123
|
+
Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
7117
7124
|
|
7118
7125
|
# @!attribute billable_metric_id
|
7119
7126
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -7127,7 +7134,7 @@ module Orb
|
|
7127
7134
|
# this is true, and in-arrears if this is false.
|
7128
7135
|
#
|
7129
7136
|
# @return [Boolean, nil]
|
7130
|
-
optional :billed_in_advance, Orb::
|
7137
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
7131
7138
|
|
7132
7139
|
# @!attribute billing_cycle_configuration
|
7133
7140
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -7178,7 +7185,7 @@ module Orb
|
|
7178
7185
|
# by setting `metadata` to `null`.
|
7179
7186
|
#
|
7180
7187
|
# @return [Hash{Symbol=>String, nil}, nil]
|
7181
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
7188
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
7182
7189
|
|
7183
7190
|
# @!parse
|
7184
7191
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithUnitPricingPrice::Cadence]
|
@@ -7218,13 +7225,13 @@ module Orb
|
|
7218
7225
|
# super
|
7219
7226
|
# end
|
7220
7227
|
|
7221
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
7228
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
7222
7229
|
|
7223
7230
|
# The cadence to bill for this price on.
|
7224
7231
|
#
|
7225
7232
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithUnitPricingPrice#cadence
|
7226
7233
|
module Cadence
|
7227
|
-
extend Orb::Enum
|
7234
|
+
extend Orb::Internal::Type::Enum
|
7228
7235
|
|
7229
7236
|
ANNUAL = :annual
|
7230
7237
|
SEMI_ANNUAL = :semi_annual
|
@@ -7241,7 +7248,7 @@ module Orb
|
|
7241
7248
|
end
|
7242
7249
|
|
7243
7250
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithUnitPricingPrice#billing_cycle_configuration
|
7244
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
7251
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7245
7252
|
# @!attribute duration
|
7246
7253
|
# The duration of the billing period.
|
7247
7254
|
#
|
@@ -7264,13 +7271,13 @@ module Orb
|
|
7264
7271
|
# #
|
7265
7272
|
# def initialize(duration:, duration_unit:, **) = super
|
7266
7273
|
|
7267
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
7274
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
7268
7275
|
|
7269
7276
|
# The unit of billing period duration.
|
7270
7277
|
#
|
7271
7278
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithUnitPricingPrice::BillingCycleConfiguration#duration_unit
|
7272
7279
|
module DurationUnit
|
7273
|
-
extend Orb::Enum
|
7280
|
+
extend Orb::Internal::Type::Enum
|
7274
7281
|
|
7275
7282
|
DAY = :day
|
7276
7283
|
MONTH = :month
|
@@ -7284,7 +7291,7 @@ module Orb
|
|
7284
7291
|
end
|
7285
7292
|
|
7286
7293
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithUnitPricingPrice#invoicing_cycle_configuration
|
7287
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
7294
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7288
7295
|
# @!attribute duration
|
7289
7296
|
# The duration of the billing period.
|
7290
7297
|
#
|
@@ -7307,13 +7314,13 @@ module Orb
|
|
7307
7314
|
# #
|
7308
7315
|
# def initialize(duration:, duration_unit:, **) = super
|
7309
7316
|
|
7310
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
7317
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
7311
7318
|
|
7312
7319
|
# The unit of billing period duration.
|
7313
7320
|
#
|
7314
7321
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithUnitPricingPrice::InvoicingCycleConfiguration#duration_unit
|
7315
7322
|
module DurationUnit
|
7316
|
-
extend Orb::Enum
|
7323
|
+
extend Orb::Internal::Type::Enum
|
7317
7324
|
|
7318
7325
|
DAY = :day
|
7319
7326
|
MONTH = :month
|
@@ -7327,7 +7334,7 @@ module Orb
|
|
7327
7334
|
end
|
7328
7335
|
end
|
7329
7336
|
|
7330
|
-
class NewFloatingScalableMatrixWithTieredPricingPrice < Orb::BaseModel
|
7337
|
+
class NewFloatingScalableMatrixWithTieredPricingPrice < Orb::Internal::Type::BaseModel
|
7331
7338
|
# @!attribute cadence
|
7332
7339
|
# The cadence to bill for this price on.
|
7333
7340
|
#
|
@@ -7361,7 +7368,8 @@ module Orb
|
|
7361
7368
|
# @!attribute scalable_matrix_with_tiered_pricing_config
|
7362
7369
|
#
|
7363
7370
|
# @return [Hash{Symbol=>Object}]
|
7364
|
-
required :scalable_matrix_with_tiered_pricing_config,
|
7371
|
+
required :scalable_matrix_with_tiered_pricing_config,
|
7372
|
+
Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
7365
7373
|
|
7366
7374
|
# @!attribute billable_metric_id
|
7367
7375
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -7375,7 +7383,7 @@ module Orb
|
|
7375
7383
|
# this is true, and in-arrears if this is false.
|
7376
7384
|
#
|
7377
7385
|
# @return [Boolean, nil]
|
7378
|
-
optional :billed_in_advance, Orb::
|
7386
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
7379
7387
|
|
7380
7388
|
# @!attribute billing_cycle_configuration
|
7381
7389
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -7426,7 +7434,7 @@ module Orb
|
|
7426
7434
|
# by setting `metadata` to `null`.
|
7427
7435
|
#
|
7428
7436
|
# @return [Hash{Symbol=>String, nil}, nil]
|
7429
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
7437
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
7430
7438
|
|
7431
7439
|
# @!parse
|
7432
7440
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithTieredPricingPrice::Cadence]
|
@@ -7466,13 +7474,13 @@ module Orb
|
|
7466
7474
|
# super
|
7467
7475
|
# end
|
7468
7476
|
|
7469
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
7477
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
7470
7478
|
|
7471
7479
|
# The cadence to bill for this price on.
|
7472
7480
|
#
|
7473
7481
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithTieredPricingPrice#cadence
|
7474
7482
|
module Cadence
|
7475
|
-
extend Orb::Enum
|
7483
|
+
extend Orb::Internal::Type::Enum
|
7476
7484
|
|
7477
7485
|
ANNUAL = :annual
|
7478
7486
|
SEMI_ANNUAL = :semi_annual
|
@@ -7489,7 +7497,7 @@ module Orb
|
|
7489
7497
|
end
|
7490
7498
|
|
7491
7499
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithTieredPricingPrice#billing_cycle_configuration
|
7492
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
7500
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7493
7501
|
# @!attribute duration
|
7494
7502
|
# The duration of the billing period.
|
7495
7503
|
#
|
@@ -7512,13 +7520,13 @@ module Orb
|
|
7512
7520
|
# #
|
7513
7521
|
# def initialize(duration:, duration_unit:, **) = super
|
7514
7522
|
|
7515
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
7523
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
7516
7524
|
|
7517
7525
|
# The unit of billing period duration.
|
7518
7526
|
#
|
7519
7527
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithTieredPricingPrice::BillingCycleConfiguration#duration_unit
|
7520
7528
|
module DurationUnit
|
7521
|
-
extend Orb::Enum
|
7529
|
+
extend Orb::Internal::Type::Enum
|
7522
7530
|
|
7523
7531
|
DAY = :day
|
7524
7532
|
MONTH = :month
|
@@ -7532,7 +7540,7 @@ module Orb
|
|
7532
7540
|
end
|
7533
7541
|
|
7534
7542
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithTieredPricingPrice#invoicing_cycle_configuration
|
7535
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
7543
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7536
7544
|
# @!attribute duration
|
7537
7545
|
# The duration of the billing period.
|
7538
7546
|
#
|
@@ -7555,13 +7563,13 @@ module Orb
|
|
7555
7563
|
# #
|
7556
7564
|
# def initialize(duration:, duration_unit:, **) = super
|
7557
7565
|
|
7558
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
7566
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
7559
7567
|
|
7560
7568
|
# The unit of billing period duration.
|
7561
7569
|
#
|
7562
7570
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithTieredPricingPrice::InvoicingCycleConfiguration#duration_unit
|
7563
7571
|
module DurationUnit
|
7564
|
-
extend Orb::Enum
|
7572
|
+
extend Orb::Internal::Type::Enum
|
7565
7573
|
|
7566
7574
|
DAY = :day
|
7567
7575
|
MONTH = :month
|
@@ -7575,7 +7583,7 @@ module Orb
|
|
7575
7583
|
end
|
7576
7584
|
end
|
7577
7585
|
|
7578
|
-
class NewFloatingCumulativeGroupedBulkPrice < Orb::BaseModel
|
7586
|
+
class NewFloatingCumulativeGroupedBulkPrice < Orb::Internal::Type::BaseModel
|
7579
7587
|
# @!attribute cadence
|
7580
7588
|
# The cadence to bill for this price on.
|
7581
7589
|
#
|
@@ -7586,7 +7594,8 @@ module Orb
|
|
7586
7594
|
# @!attribute cumulative_grouped_bulk_config
|
7587
7595
|
#
|
7588
7596
|
# @return [Hash{Symbol=>Object}]
|
7589
|
-
required :cumulative_grouped_bulk_config,
|
7597
|
+
required :cumulative_grouped_bulk_config,
|
7598
|
+
Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
7590
7599
|
|
7591
7600
|
# @!attribute currency
|
7592
7601
|
# An ISO 4217 currency string for which this price is billed in.
|
@@ -7623,7 +7632,7 @@ module Orb
|
|
7623
7632
|
# this is true, and in-arrears if this is false.
|
7624
7633
|
#
|
7625
7634
|
# @return [Boolean, nil]
|
7626
|
-
optional :billed_in_advance, Orb::
|
7635
|
+
optional :billed_in_advance, Orb::Internal::Type::Boolean, nil?: true
|
7627
7636
|
|
7628
7637
|
# @!attribute billing_cycle_configuration
|
7629
7638
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -7674,7 +7683,7 @@ module Orb
|
|
7674
7683
|
# by setting `metadata` to `null`.
|
7675
7684
|
#
|
7676
7685
|
# @return [Hash{Symbol=>String, nil}, nil]
|
7677
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
7686
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
7678
7687
|
|
7679
7688
|
# @!parse
|
7680
7689
|
# # @param cadence [Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingCumulativeGroupedBulkPrice::Cadence]
|
@@ -7714,13 +7723,13 @@ module Orb
|
|
7714
7723
|
# super
|
7715
7724
|
# end
|
7716
7725
|
|
7717
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
7726
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
7718
7727
|
|
7719
7728
|
# The cadence to bill for this price on.
|
7720
7729
|
#
|
7721
7730
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingCumulativeGroupedBulkPrice#cadence
|
7722
7731
|
module Cadence
|
7723
|
-
extend Orb::Enum
|
7732
|
+
extend Orb::Internal::Type::Enum
|
7724
7733
|
|
7725
7734
|
ANNUAL = :annual
|
7726
7735
|
SEMI_ANNUAL = :semi_annual
|
@@ -7737,7 +7746,7 @@ module Orb
|
|
7737
7746
|
end
|
7738
7747
|
|
7739
7748
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingCumulativeGroupedBulkPrice#billing_cycle_configuration
|
7740
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
7749
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7741
7750
|
# @!attribute duration
|
7742
7751
|
# The duration of the billing period.
|
7743
7752
|
#
|
@@ -7760,13 +7769,13 @@ module Orb
|
|
7760
7769
|
# #
|
7761
7770
|
# def initialize(duration:, duration_unit:, **) = super
|
7762
7771
|
|
7763
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
7772
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
7764
7773
|
|
7765
7774
|
# The unit of billing period duration.
|
7766
7775
|
#
|
7767
7776
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingCumulativeGroupedBulkPrice::BillingCycleConfiguration#duration_unit
|
7768
7777
|
module DurationUnit
|
7769
|
-
extend Orb::Enum
|
7778
|
+
extend Orb::Internal::Type::Enum
|
7770
7779
|
|
7771
7780
|
DAY = :day
|
7772
7781
|
MONTH = :month
|
@@ -7780,7 +7789,7 @@ module Orb
|
|
7780
7789
|
end
|
7781
7790
|
|
7782
7791
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingCumulativeGroupedBulkPrice#invoicing_cycle_configuration
|
7783
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
7792
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7784
7793
|
# @!attribute duration
|
7785
7794
|
# The duration of the billing period.
|
7786
7795
|
#
|
@@ -7803,13 +7812,13 @@ module Orb
|
|
7803
7812
|
# #
|
7804
7813
|
# def initialize(duration:, duration_unit:, **) = super
|
7805
7814
|
|
7806
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
7815
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
7807
7816
|
|
7808
7817
|
# The unit of billing period duration.
|
7809
7818
|
#
|
7810
7819
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingCumulativeGroupedBulkPrice::InvoicingCycleConfiguration#duration_unit
|
7811
7820
|
module DurationUnit
|
7812
|
-
extend Orb::Enum
|
7821
|
+
extend Orb::Internal::Type::Enum
|
7813
7822
|
|
7814
7823
|
DAY = :day
|
7815
7824
|
MONTH = :month
|
@@ -7829,7 +7838,7 @@ module Orb
|
|
7829
7838
|
end
|
7830
7839
|
end
|
7831
7840
|
|
7832
|
-
class AddAdjustment < Orb::BaseModel
|
7841
|
+
class AddAdjustment < Orb::Internal::Type::BaseModel
|
7833
7842
|
# @!attribute adjustment
|
7834
7843
|
# The definition of a new adjustment to create and add to the subscription.
|
7835
7844
|
#
|
@@ -7865,13 +7874,13 @@ module Orb
|
|
7865
7874
|
# #
|
7866
7875
|
# def initialize(adjustment:, start_date:, end_date: nil, **) = super
|
7867
7876
|
|
7868
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
7877
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
7869
7878
|
|
7870
7879
|
# The definition of a new adjustment to create and add to the subscription.
|
7871
7880
|
#
|
7872
7881
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment#adjustment
|
7873
7882
|
module Adjustment
|
7874
|
-
extend Orb::Union
|
7883
|
+
extend Orb::Internal::Type::Union
|
7875
7884
|
|
7876
7885
|
discriminator :adjustment_type
|
7877
7886
|
|
@@ -7890,7 +7899,7 @@ module Orb
|
|
7890
7899
|
variant :maximum,
|
7891
7900
|
-> { Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::NewMaximum }
|
7892
7901
|
|
7893
|
-
class NewPercentageDiscount < Orb::BaseModel
|
7902
|
+
class NewPercentageDiscount < Orb::Internal::Type::BaseModel
|
7894
7903
|
# @!attribute adjustment_type
|
7895
7904
|
#
|
7896
7905
|
# @return [Symbol, :percentage_discount]
|
@@ -7900,7 +7909,7 @@ module Orb
|
|
7900
7909
|
# The set of price IDs to which this adjustment applies.
|
7901
7910
|
#
|
7902
7911
|
# @return [Array<String>]
|
7903
|
-
required :applies_to_price_ids, Orb::ArrayOf[String]
|
7912
|
+
required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
|
7904
7913
|
|
7905
7914
|
# @!attribute percentage_discount
|
7906
7915
|
#
|
@@ -7912,7 +7921,7 @@ module Orb
|
|
7912
7921
|
# will be applied at the invoice level, possibly to multiple prices.
|
7913
7922
|
#
|
7914
7923
|
# @return [Boolean, nil]
|
7915
|
-
optional :is_invoice_level, Orb::
|
7924
|
+
optional :is_invoice_level, Orb::Internal::Type::Boolean
|
7916
7925
|
|
7917
7926
|
# @!parse
|
7918
7927
|
# # @return [Boolean]
|
@@ -7934,10 +7943,10 @@ module Orb
|
|
7934
7943
|
# super
|
7935
7944
|
# end
|
7936
7945
|
|
7937
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
7946
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
7938
7947
|
end
|
7939
7948
|
|
7940
|
-
class NewUsageDiscount < Orb::BaseModel
|
7949
|
+
class NewUsageDiscount < Orb::Internal::Type::BaseModel
|
7941
7950
|
# @!attribute adjustment_type
|
7942
7951
|
#
|
7943
7952
|
# @return [Symbol, :usage_discount]
|
@@ -7947,7 +7956,7 @@ module Orb
|
|
7947
7956
|
# The set of price IDs to which this adjustment applies.
|
7948
7957
|
#
|
7949
7958
|
# @return [Array<String>]
|
7950
|
-
required :applies_to_price_ids, Orb::ArrayOf[String]
|
7959
|
+
required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
|
7951
7960
|
|
7952
7961
|
# @!attribute usage_discount
|
7953
7962
|
#
|
@@ -7959,7 +7968,7 @@ module Orb
|
|
7959
7968
|
# will be applied at the invoice level, possibly to multiple prices.
|
7960
7969
|
#
|
7961
7970
|
# @return [Boolean, nil]
|
7962
|
-
optional :is_invoice_level, Orb::
|
7971
|
+
optional :is_invoice_level, Orb::Internal::Type::Boolean
|
7963
7972
|
|
7964
7973
|
# @!parse
|
7965
7974
|
# # @return [Boolean]
|
@@ -7973,10 +7982,10 @@ module Orb
|
|
7973
7982
|
# #
|
7974
7983
|
# def initialize(applies_to_price_ids:, usage_discount:, is_invoice_level: nil, adjustment_type: :usage_discount, **) = super
|
7975
7984
|
|
7976
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
7985
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
7977
7986
|
end
|
7978
7987
|
|
7979
|
-
class NewAmountDiscount < Orb::BaseModel
|
7988
|
+
class NewAmountDiscount < Orb::Internal::Type::BaseModel
|
7980
7989
|
# @!attribute adjustment_type
|
7981
7990
|
#
|
7982
7991
|
# @return [Symbol, :amount_discount]
|
@@ -7991,14 +8000,14 @@ module Orb
|
|
7991
8000
|
# The set of price IDs to which this adjustment applies.
|
7992
8001
|
#
|
7993
8002
|
# @return [Array<String>]
|
7994
|
-
required :applies_to_price_ids, Orb::ArrayOf[String]
|
8003
|
+
required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
|
7995
8004
|
|
7996
8005
|
# @!attribute [r] is_invoice_level
|
7997
8006
|
# When false, this adjustment will be applied to a single price. Otherwise, it
|
7998
8007
|
# will be applied at the invoice level, possibly to multiple prices.
|
7999
8008
|
#
|
8000
8009
|
# @return [Boolean, nil]
|
8001
|
-
optional :is_invoice_level, Orb::
|
8010
|
+
optional :is_invoice_level, Orb::Internal::Type::Boolean
|
8002
8011
|
|
8003
8012
|
# @!parse
|
8004
8013
|
# # @return [Boolean]
|
@@ -8012,10 +8021,10 @@ module Orb
|
|
8012
8021
|
# #
|
8013
8022
|
# def initialize(amount_discount:, applies_to_price_ids:, is_invoice_level: nil, adjustment_type: :amount_discount, **) = super
|
8014
8023
|
|
8015
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
8024
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
8016
8025
|
end
|
8017
8026
|
|
8018
|
-
class NewMinimum < Orb::BaseModel
|
8027
|
+
class NewMinimum < Orb::Internal::Type::BaseModel
|
8019
8028
|
# @!attribute adjustment_type
|
8020
8029
|
#
|
8021
8030
|
# @return [Symbol, :minimum]
|
@@ -8025,7 +8034,7 @@ module Orb
|
|
8025
8034
|
# The set of price IDs to which this adjustment applies.
|
8026
8035
|
#
|
8027
8036
|
# @return [Array<String>]
|
8028
|
-
required :applies_to_price_ids, Orb::ArrayOf[String]
|
8037
|
+
required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
|
8029
8038
|
|
8030
8039
|
# @!attribute item_id
|
8031
8040
|
# The item ID that revenue from this minimum will be attributed to.
|
@@ -8043,7 +8052,7 @@ module Orb
|
|
8043
8052
|
# will be applied at the invoice level, possibly to multiple prices.
|
8044
8053
|
#
|
8045
8054
|
# @return [Boolean, nil]
|
8046
|
-
optional :is_invoice_level, Orb::
|
8055
|
+
optional :is_invoice_level, Orb::Internal::Type::Boolean
|
8047
8056
|
|
8048
8057
|
# @!parse
|
8049
8058
|
# # @return [Boolean]
|
@@ -8058,10 +8067,10 @@ module Orb
|
|
8058
8067
|
# #
|
8059
8068
|
# def initialize(applies_to_price_ids:, item_id:, minimum_amount:, is_invoice_level: nil, adjustment_type: :minimum, **) = super
|
8060
8069
|
|
8061
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
8070
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
8062
8071
|
end
|
8063
8072
|
|
8064
|
-
class NewMaximum < Orb::BaseModel
|
8073
|
+
class NewMaximum < Orb::Internal::Type::BaseModel
|
8065
8074
|
# @!attribute adjustment_type
|
8066
8075
|
#
|
8067
8076
|
# @return [Symbol, :maximum]
|
@@ -8071,7 +8080,7 @@ module Orb
|
|
8071
8080
|
# The set of price IDs to which this adjustment applies.
|
8072
8081
|
#
|
8073
8082
|
# @return [Array<String>]
|
8074
|
-
required :applies_to_price_ids, Orb::ArrayOf[String]
|
8083
|
+
required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
|
8075
8084
|
|
8076
8085
|
# @!attribute maximum_amount
|
8077
8086
|
#
|
@@ -8083,7 +8092,7 @@ module Orb
|
|
8083
8092
|
# will be applied at the invoice level, possibly to multiple prices.
|
8084
8093
|
#
|
8085
8094
|
# @return [Boolean, nil]
|
8086
|
-
optional :is_invoice_level, Orb::
|
8095
|
+
optional :is_invoice_level, Orb::Internal::Type::Boolean
|
8087
8096
|
|
8088
8097
|
# @!parse
|
8089
8098
|
# # @return [Boolean]
|
@@ -8097,7 +8106,7 @@ module Orb
|
|
8097
8106
|
# #
|
8098
8107
|
# def initialize(applies_to_price_ids:, maximum_amount:, is_invoice_level: nil, adjustment_type: :maximum, **) = super
|
8099
8108
|
|
8100
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
8109
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
8101
8110
|
end
|
8102
8111
|
|
8103
8112
|
# @!parse
|
@@ -8112,7 +8121,7 @@ module Orb
|
|
8112
8121
|
#
|
8113
8122
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment#start_date
|
8114
8123
|
module StartDate
|
8115
|
-
extend Orb::Union
|
8124
|
+
extend Orb::Internal::Type::Union
|
8116
8125
|
|
8117
8126
|
variant Time
|
8118
8127
|
|
@@ -8130,7 +8139,7 @@ module Orb
|
|
8130
8139
|
#
|
8131
8140
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment#end_date
|
8132
8141
|
module EndDate
|
8133
|
-
extend Orb::Union
|
8142
|
+
extend Orb::Internal::Type::Union
|
8134
8143
|
|
8135
8144
|
variant Time
|
8136
8145
|
|
@@ -8142,7 +8151,7 @@ module Orb
|
|
8142
8151
|
end
|
8143
8152
|
end
|
8144
8153
|
|
8145
|
-
class Edit < Orb::BaseModel
|
8154
|
+
class Edit < Orb::Internal::Type::BaseModel
|
8146
8155
|
# @!attribute price_interval_id
|
8147
8156
|
# The id of the price interval to edit.
|
8148
8157
|
#
|
@@ -8180,7 +8189,7 @@ module Orb
|
|
8180
8189
|
#
|
8181
8190
|
# @return [Array<Orb::Models::SubscriptionPriceIntervalsParams::Edit::FixedFeeQuantityTransition>, nil]
|
8182
8191
|
optional :fixed_fee_quantity_transitions,
|
8183
|
-
-> { Orb::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::Edit::FixedFeeQuantityTransition] },
|
8192
|
+
-> { Orb::Internal::Type::ArrayOf[Orb::Models::SubscriptionPriceIntervalsParams::Edit::FixedFeeQuantityTransition] },
|
8184
8193
|
nil?: true
|
8185
8194
|
|
8186
8195
|
# @!attribute [r] start_date
|
@@ -8203,7 +8212,7 @@ module Orb
|
|
8203
8212
|
# subscription itself, or any of that customer's children.
|
8204
8213
|
#
|
8205
8214
|
# @return [Array<String>, nil]
|
8206
|
-
optional :usage_customer_ids, Orb::ArrayOf[String], nil?: true
|
8215
|
+
optional :usage_customer_ids, Orb::Internal::Type::ArrayOf[String], nil?: true
|
8207
8216
|
|
8208
8217
|
# @!parse
|
8209
8218
|
# # @param price_interval_id [String]
|
@@ -8227,14 +8236,14 @@ module Orb
|
|
8227
8236
|
# super
|
8228
8237
|
# end
|
8229
8238
|
|
8230
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
8239
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
8231
8240
|
|
8232
8241
|
# The updated end date of this price interval. If not specified, the start date
|
8233
8242
|
# will not be updated.
|
8234
8243
|
#
|
8235
8244
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Edit#end_date
|
8236
8245
|
module EndDate
|
8237
|
-
extend Orb::Union
|
8246
|
+
extend Orb::Internal::Type::Union
|
8238
8247
|
|
8239
8248
|
variant Time
|
8240
8249
|
|
@@ -8245,7 +8254,7 @@ module Orb
|
|
8245
8254
|
# def self.variants; end
|
8246
8255
|
end
|
8247
8256
|
|
8248
|
-
class FixedFeeQuantityTransition < Orb::BaseModel
|
8257
|
+
class FixedFeeQuantityTransition < Orb::Internal::Type::BaseModel
|
8249
8258
|
# @!attribute effective_date
|
8250
8259
|
# The date that the fixed fee quantity transition should take effect.
|
8251
8260
|
#
|
@@ -8264,7 +8273,7 @@ module Orb
|
|
8264
8273
|
# #
|
8265
8274
|
# def initialize(effective_date:, quantity:, **) = super
|
8266
8275
|
|
8267
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
8276
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
8268
8277
|
end
|
8269
8278
|
|
8270
8279
|
# The updated start date of this price interval. If not specified, the start date
|
@@ -8272,7 +8281,7 @@ module Orb
|
|
8272
8281
|
#
|
8273
8282
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::Edit#start_date
|
8274
8283
|
module StartDate
|
8275
|
-
extend Orb::Union
|
8284
|
+
extend Orb::Internal::Type::Union
|
8276
8285
|
|
8277
8286
|
variant Time
|
8278
8287
|
|
@@ -8284,7 +8293,7 @@ module Orb
|
|
8284
8293
|
end
|
8285
8294
|
end
|
8286
8295
|
|
8287
|
-
class EditAdjustment < Orb::BaseModel
|
8296
|
+
class EditAdjustment < Orb::Internal::Type::BaseModel
|
8288
8297
|
# @!attribute adjustment_interval_id
|
8289
8298
|
# The id of the adjustment interval to edit.
|
8290
8299
|
#
|
@@ -8319,14 +8328,14 @@ module Orb
|
|
8319
8328
|
# #
|
8320
8329
|
# def initialize(adjustment_interval_id:, end_date: nil, start_date: nil, **) = super
|
8321
8330
|
|
8322
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
8331
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
8323
8332
|
|
8324
8333
|
# The updated end date of this adjustment interval. If not specified, the start
|
8325
8334
|
# date will not be updated.
|
8326
8335
|
#
|
8327
8336
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::EditAdjustment#end_date
|
8328
8337
|
module EndDate
|
8329
|
-
extend Orb::Union
|
8338
|
+
extend Orb::Internal::Type::Union
|
8330
8339
|
|
8331
8340
|
variant Time
|
8332
8341
|
|
@@ -8342,7 +8351,7 @@ module Orb
|
|
8342
8351
|
#
|
8343
8352
|
# @see Orb::Models::SubscriptionPriceIntervalsParams::EditAdjustment#start_date
|
8344
8353
|
module StartDate
|
8345
|
-
extend Orb::Union
|
8354
|
+
extend Orb::Internal::Type::Union
|
8346
8355
|
|
8347
8356
|
variant Time
|
8348
8357
|
|