orb-billing 0.1.0.pre.alpha.36 → 0.1.0.pre.alpha.37
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 +31 -4
- data/lib/orb/client.rb +1 -1
- data/lib/orb/errors.rb +1 -53
- data/lib/orb/internal/page.rb +108 -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 +116 -0
- data/lib/orb/internal/type/base_model.rb +369 -0
- data/lib/orb/internal/type/base_page.rb +43 -0
- data/lib/orb/internal/type/boolean_model.rb +54 -0
- data/lib/orb/internal/type/converter.rb +219 -0
- data/lib/orb/internal/type/enum.rb +103 -0
- data/lib/orb/internal/type/hash_of.rb +142 -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 +717 -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 +2 -2
- data/lib/orb/resources/coupons/subscriptions.rb +2 -2
- data/lib/orb/resources/coupons.rb +2 -2
- data/lib/orb/resources/credit_notes.rb +2 -2
- data/lib/orb/resources/customers/balance_transactions.rb +2 -2
- data/lib/orb/resources/customers/credits/ledger.rb +4 -4
- 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 +2 -2
- 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 +2 -2
- data/lib/orb/resources/items.rb +2 -2
- data/lib/orb/resources/metrics.rb +2 -2
- data/lib/orb/resources/plans.rb +2 -2
- data/lib/orb/resources/prices.rb +2 -2
- data/lib/orb/resources/subscriptions.rb +4 -4
- 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_model.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 +280 -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_model.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,10 +3,10 @@
|
|
3
3
|
module Orb
|
4
4
|
module Models
|
5
5
|
# @see Orb::Resources::Plans#create
|
6
|
-
class PlanCreateParams < Orb::BaseModel
|
6
|
+
class PlanCreateParams < 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 currency
|
12
12
|
# An ISO 4217 currency string for invoices generated by subscriptions on this
|
@@ -25,7 +25,7 @@ module Orb
|
|
25
25
|
# phases of the plan.
|
26
26
|
#
|
27
27
|
# @return [Array<Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice, Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice, Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice, Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice, Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice, Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice, Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice, Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice, Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice, Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice, Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice, Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice, Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice, Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice, Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice, Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice, Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice, Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice, Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice, Orb::Models::PlanCreateParams::Price::NewPlanBulkWithProrationPrice, Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice, Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice, Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithUnitPricingPrice, Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithTieredPricingPrice, Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice>]
|
28
|
-
required :prices, -> { Orb::ArrayOf[union: Orb::Models::PlanCreateParams::Price] }
|
28
|
+
required :prices, -> { Orb::Internal::Type::ArrayOf[union: Orb::Models::PlanCreateParams::Price] }
|
29
29
|
|
30
30
|
# @!attribute default_invoice_memo
|
31
31
|
# Free-form text which is available on the invoice PDF and the Orb invoice portal.
|
@@ -44,7 +44,7 @@ module Orb
|
|
44
44
|
# by setting `metadata` to `null`.
|
45
45
|
#
|
46
46
|
# @return [Hash{Symbol=>String, nil}, nil]
|
47
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
47
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
48
48
|
|
49
49
|
# @!attribute net_terms
|
50
50
|
# The net terms determines the difference between the invoice date and the issue
|
@@ -91,10 +91,10 @@ module Orb
|
|
91
91
|
# super
|
92
92
|
# end
|
93
93
|
|
94
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
94
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
95
95
|
|
96
96
|
module Price
|
97
|
-
extend Orb::Union
|
97
|
+
extend Orb::Internal::Type::Union
|
98
98
|
|
99
99
|
discriminator :model_type
|
100
100
|
|
@@ -158,7 +158,7 @@ module Orb
|
|
158
158
|
variant :cumulative_grouped_bulk,
|
159
159
|
-> { Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice }
|
160
160
|
|
161
|
-
class NewPlanUnitPrice < Orb::BaseModel
|
161
|
+
class NewPlanUnitPrice < Orb::Internal::Type::BaseModel
|
162
162
|
# @!attribute cadence
|
163
163
|
# The cadence to bill for this price on.
|
164
164
|
#
|
@@ -199,7 +199,7 @@ module Orb
|
|
199
199
|
# this is true, and in-arrears if this is false.
|
200
200
|
#
|
201
201
|
# @return [Boolean, nil]
|
202
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
202
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
203
203
|
|
204
204
|
# @!attribute billing_cycle_configuration
|
205
205
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -257,7 +257,7 @@ module Orb
|
|
257
257
|
# by setting `metadata` to `null`.
|
258
258
|
#
|
259
259
|
# @return [Hash{Symbol=>String, nil}, nil]
|
260
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
260
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
261
261
|
|
262
262
|
# @!parse
|
263
263
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice::Cadence]
|
@@ -297,13 +297,13 @@ module Orb
|
|
297
297
|
# super
|
298
298
|
# end
|
299
299
|
|
300
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
300
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
301
301
|
|
302
302
|
# The cadence to bill for this price on.
|
303
303
|
#
|
304
304
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice#cadence
|
305
305
|
module Cadence
|
306
|
-
extend Orb::Enum
|
306
|
+
extend Orb::Internal::Type::Enum
|
307
307
|
|
308
308
|
ANNUAL = :annual
|
309
309
|
SEMI_ANNUAL = :semi_annual
|
@@ -320,7 +320,7 @@ module Orb
|
|
320
320
|
end
|
321
321
|
|
322
322
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice#unit_config
|
323
|
-
class UnitConfig < Orb::BaseModel
|
323
|
+
class UnitConfig < Orb::Internal::Type::BaseModel
|
324
324
|
# @!attribute unit_amount
|
325
325
|
# Rate per unit of usage
|
326
326
|
#
|
@@ -332,11 +332,11 @@ module Orb
|
|
332
332
|
# #
|
333
333
|
# def initialize(unit_amount:, **) = super
|
334
334
|
|
335
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
335
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
336
336
|
end
|
337
337
|
|
338
338
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice#billing_cycle_configuration
|
339
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
339
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
340
340
|
# @!attribute duration
|
341
341
|
# The duration of the billing period.
|
342
342
|
#
|
@@ -359,13 +359,13 @@ module Orb
|
|
359
359
|
# #
|
360
360
|
# def initialize(duration:, duration_unit:, **) = super
|
361
361
|
|
362
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
362
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
363
363
|
|
364
364
|
# The unit of billing period duration.
|
365
365
|
#
|
366
366
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice::BillingCycleConfiguration#duration_unit
|
367
367
|
module DurationUnit
|
368
|
-
extend Orb::Enum
|
368
|
+
extend Orb::Internal::Type::Enum
|
369
369
|
|
370
370
|
DAY = :day
|
371
371
|
MONTH = :month
|
@@ -379,7 +379,7 @@ module Orb
|
|
379
379
|
end
|
380
380
|
|
381
381
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice#invoicing_cycle_configuration
|
382
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
382
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
383
383
|
# @!attribute duration
|
384
384
|
# The duration of the billing period.
|
385
385
|
#
|
@@ -402,13 +402,13 @@ module Orb
|
|
402
402
|
# #
|
403
403
|
# def initialize(duration:, duration_unit:, **) = super
|
404
404
|
|
405
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
405
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
406
406
|
|
407
407
|
# The unit of billing period duration.
|
408
408
|
#
|
409
409
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitPrice::InvoicingCycleConfiguration#duration_unit
|
410
410
|
module DurationUnit
|
411
|
-
extend Orb::Enum
|
411
|
+
extend Orb::Internal::Type::Enum
|
412
412
|
|
413
413
|
DAY = :day
|
414
414
|
MONTH = :month
|
@@ -422,7 +422,7 @@ module Orb
|
|
422
422
|
end
|
423
423
|
end
|
424
424
|
|
425
|
-
class NewPlanPackagePrice < Orb::BaseModel
|
425
|
+
class NewPlanPackagePrice < Orb::Internal::Type::BaseModel
|
426
426
|
# @!attribute cadence
|
427
427
|
# The cadence to bill for this price on.
|
428
428
|
#
|
@@ -463,7 +463,7 @@ module Orb
|
|
463
463
|
# this is true, and in-arrears if this is false.
|
464
464
|
#
|
465
465
|
# @return [Boolean, nil]
|
466
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
466
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
467
467
|
|
468
468
|
# @!attribute billing_cycle_configuration
|
469
469
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -521,7 +521,7 @@ module Orb
|
|
521
521
|
# by setting `metadata` to `null`.
|
522
522
|
#
|
523
523
|
# @return [Hash{Symbol=>String, nil}, nil]
|
524
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
524
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
525
525
|
|
526
526
|
# @!parse
|
527
527
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice::Cadence]
|
@@ -561,13 +561,13 @@ module Orb
|
|
561
561
|
# super
|
562
562
|
# end
|
563
563
|
|
564
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
564
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
565
565
|
|
566
566
|
# The cadence to bill for this price on.
|
567
567
|
#
|
568
568
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice#cadence
|
569
569
|
module Cadence
|
570
|
-
extend Orb::Enum
|
570
|
+
extend Orb::Internal::Type::Enum
|
571
571
|
|
572
572
|
ANNUAL = :annual
|
573
573
|
SEMI_ANNUAL = :semi_annual
|
@@ -584,7 +584,7 @@ module Orb
|
|
584
584
|
end
|
585
585
|
|
586
586
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice#package_config
|
587
|
-
class PackageConfig < Orb::BaseModel
|
587
|
+
class PackageConfig < Orb::Internal::Type::BaseModel
|
588
588
|
# @!attribute package_amount
|
589
589
|
# A currency amount to rate usage by
|
590
590
|
#
|
@@ -604,11 +604,11 @@ module Orb
|
|
604
604
|
# #
|
605
605
|
# def initialize(package_amount:, package_size:, **) = super
|
606
606
|
|
607
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
607
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
608
608
|
end
|
609
609
|
|
610
610
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice#billing_cycle_configuration
|
611
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
611
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
612
612
|
# @!attribute duration
|
613
613
|
# The duration of the billing period.
|
614
614
|
#
|
@@ -631,13 +631,13 @@ module Orb
|
|
631
631
|
# #
|
632
632
|
# def initialize(duration:, duration_unit:, **) = super
|
633
633
|
|
634
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
634
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
635
635
|
|
636
636
|
# The unit of billing period duration.
|
637
637
|
#
|
638
638
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice::BillingCycleConfiguration#duration_unit
|
639
639
|
module DurationUnit
|
640
|
-
extend Orb::Enum
|
640
|
+
extend Orb::Internal::Type::Enum
|
641
641
|
|
642
642
|
DAY = :day
|
643
643
|
MONTH = :month
|
@@ -651,7 +651,7 @@ module Orb
|
|
651
651
|
end
|
652
652
|
|
653
653
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice#invoicing_cycle_configuration
|
654
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
654
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
655
655
|
# @!attribute duration
|
656
656
|
# The duration of the billing period.
|
657
657
|
#
|
@@ -674,13 +674,13 @@ module Orb
|
|
674
674
|
# #
|
675
675
|
# def initialize(duration:, duration_unit:, **) = super
|
676
676
|
|
677
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
677
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
678
678
|
|
679
679
|
# The unit of billing period duration.
|
680
680
|
#
|
681
681
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanPackagePrice::InvoicingCycleConfiguration#duration_unit
|
682
682
|
module DurationUnit
|
683
|
-
extend Orb::Enum
|
683
|
+
extend Orb::Internal::Type::Enum
|
684
684
|
|
685
685
|
DAY = :day
|
686
686
|
MONTH = :month
|
@@ -694,7 +694,7 @@ module Orb
|
|
694
694
|
end
|
695
695
|
end
|
696
696
|
|
697
|
-
class NewPlanMatrixPrice < Orb::BaseModel
|
697
|
+
class NewPlanMatrixPrice < Orb::Internal::Type::BaseModel
|
698
698
|
# @!attribute cadence
|
699
699
|
# The cadence to bill for this price on.
|
700
700
|
#
|
@@ -735,7 +735,7 @@ module Orb
|
|
735
735
|
# this is true, and in-arrears if this is false.
|
736
736
|
#
|
737
737
|
# @return [Boolean, nil]
|
738
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
738
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
739
739
|
|
740
740
|
# @!attribute billing_cycle_configuration
|
741
741
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -793,7 +793,7 @@ module Orb
|
|
793
793
|
# by setting `metadata` to `null`.
|
794
794
|
#
|
795
795
|
# @return [Hash{Symbol=>String, nil}, nil]
|
796
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
796
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
797
797
|
|
798
798
|
# @!parse
|
799
799
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::Cadence]
|
@@ -833,13 +833,13 @@ module Orb
|
|
833
833
|
# super
|
834
834
|
# end
|
835
835
|
|
836
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
836
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
837
837
|
|
838
838
|
# The cadence to bill for this price on.
|
839
839
|
#
|
840
840
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice#cadence
|
841
841
|
module Cadence
|
842
|
-
extend Orb::Enum
|
842
|
+
extend Orb::Internal::Type::Enum
|
843
843
|
|
844
844
|
ANNUAL = :annual
|
845
845
|
SEMI_ANNUAL = :semi_annual
|
@@ -856,7 +856,7 @@ module Orb
|
|
856
856
|
end
|
857
857
|
|
858
858
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice#matrix_config
|
859
|
-
class MatrixConfig < Orb::BaseModel
|
859
|
+
class MatrixConfig < Orb::Internal::Type::BaseModel
|
860
860
|
# @!attribute default_unit_amount
|
861
861
|
# Default per unit rate for any usage not bucketed into a specified matrix_value
|
862
862
|
#
|
@@ -867,14 +867,14 @@ module Orb
|
|
867
867
|
# One or two event property values to evaluate matrix groups by
|
868
868
|
#
|
869
869
|
# @return [Array<String, nil>]
|
870
|
-
required :dimensions, Orb::ArrayOf[String, nil?: true]
|
870
|
+
required :dimensions, Orb::Internal::Type::ArrayOf[String, nil?: true]
|
871
871
|
|
872
872
|
# @!attribute matrix_values
|
873
873
|
# Matrix values for specified matrix grouping keys
|
874
874
|
#
|
875
875
|
# @return [Array<Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::MatrixConfig::MatrixValue>]
|
876
876
|
required :matrix_values,
|
877
|
-
-> { Orb::ArrayOf[Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::MatrixConfig::MatrixValue] }
|
877
|
+
-> { Orb::Internal::Type::ArrayOf[Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::MatrixConfig::MatrixValue] }
|
878
878
|
|
879
879
|
# @!parse
|
880
880
|
# # @param default_unit_amount [String]
|
@@ -883,16 +883,16 @@ module Orb
|
|
883
883
|
# #
|
884
884
|
# def initialize(default_unit_amount:, dimensions:, matrix_values:, **) = super
|
885
885
|
|
886
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
886
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
887
887
|
|
888
|
-
class MatrixValue < Orb::BaseModel
|
888
|
+
class MatrixValue < Orb::Internal::Type::BaseModel
|
889
889
|
# @!attribute dimension_values
|
890
890
|
# One or two matrix keys to filter usage to this Matrix value by. For example,
|
891
891
|
# ["region", "tier"] could be used to filter cloud usage by a cloud region and an
|
892
892
|
# instance tier.
|
893
893
|
#
|
894
894
|
# @return [Array<String, nil>]
|
895
|
-
required :dimension_values, Orb::ArrayOf[String, nil?: true]
|
895
|
+
required :dimension_values, Orb::Internal::Type::ArrayOf[String, nil?: true]
|
896
896
|
|
897
897
|
# @!attribute unit_amount
|
898
898
|
# Unit price for the specified dimension_values
|
@@ -906,12 +906,12 @@ module Orb
|
|
906
906
|
# #
|
907
907
|
# def initialize(dimension_values:, unit_amount:, **) = super
|
908
908
|
|
909
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
909
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
910
910
|
end
|
911
911
|
end
|
912
912
|
|
913
913
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice#billing_cycle_configuration
|
914
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
914
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
915
915
|
# @!attribute duration
|
916
916
|
# The duration of the billing period.
|
917
917
|
#
|
@@ -934,13 +934,13 @@ module Orb
|
|
934
934
|
# #
|
935
935
|
# def initialize(duration:, duration_unit:, **) = super
|
936
936
|
|
937
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
937
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
938
938
|
|
939
939
|
# The unit of billing period duration.
|
940
940
|
#
|
941
941
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::BillingCycleConfiguration#duration_unit
|
942
942
|
module DurationUnit
|
943
|
-
extend Orb::Enum
|
943
|
+
extend Orb::Internal::Type::Enum
|
944
944
|
|
945
945
|
DAY = :day
|
946
946
|
MONTH = :month
|
@@ -954,7 +954,7 @@ module Orb
|
|
954
954
|
end
|
955
955
|
|
956
956
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice#invoicing_cycle_configuration
|
957
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
957
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
958
958
|
# @!attribute duration
|
959
959
|
# The duration of the billing period.
|
960
960
|
#
|
@@ -977,13 +977,13 @@ module Orb
|
|
977
977
|
# #
|
978
978
|
# def initialize(duration:, duration_unit:, **) = super
|
979
979
|
|
980
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
980
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
981
981
|
|
982
982
|
# The unit of billing period duration.
|
983
983
|
#
|
984
984
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMatrixPrice::InvoicingCycleConfiguration#duration_unit
|
985
985
|
module DurationUnit
|
986
|
-
extend Orb::Enum
|
986
|
+
extend Orb::Internal::Type::Enum
|
987
987
|
|
988
988
|
DAY = :day
|
989
989
|
MONTH = :month
|
@@ -997,7 +997,7 @@ module Orb
|
|
997
997
|
end
|
998
998
|
end
|
999
999
|
|
1000
|
-
class NewPlanTieredPrice < Orb::BaseModel
|
1000
|
+
class NewPlanTieredPrice < Orb::Internal::Type::BaseModel
|
1001
1001
|
# @!attribute cadence
|
1002
1002
|
# The cadence to bill for this price on.
|
1003
1003
|
#
|
@@ -1038,7 +1038,7 @@ module Orb
|
|
1038
1038
|
# this is true, and in-arrears if this is false.
|
1039
1039
|
#
|
1040
1040
|
# @return [Boolean, nil]
|
1041
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
1041
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
1042
1042
|
|
1043
1043
|
# @!attribute billing_cycle_configuration
|
1044
1044
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -1096,7 +1096,7 @@ module Orb
|
|
1096
1096
|
# by setting `metadata` to `null`.
|
1097
1097
|
#
|
1098
1098
|
# @return [Hash{Symbol=>String, nil}, nil]
|
1099
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
1099
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
1100
1100
|
|
1101
1101
|
# @!parse
|
1102
1102
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::Cadence]
|
@@ -1136,13 +1136,13 @@ module Orb
|
|
1136
1136
|
# super
|
1137
1137
|
# end
|
1138
1138
|
|
1139
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1139
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1140
1140
|
|
1141
1141
|
# The cadence to bill for this price on.
|
1142
1142
|
#
|
1143
1143
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice#cadence
|
1144
1144
|
module Cadence
|
1145
|
-
extend Orb::Enum
|
1145
|
+
extend Orb::Internal::Type::Enum
|
1146
1146
|
|
1147
1147
|
ANNUAL = :annual
|
1148
1148
|
SEMI_ANNUAL = :semi_annual
|
@@ -1159,22 +1159,22 @@ module Orb
|
|
1159
1159
|
end
|
1160
1160
|
|
1161
1161
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice#tiered_config
|
1162
|
-
class TieredConfig < Orb::BaseModel
|
1162
|
+
class TieredConfig < Orb::Internal::Type::BaseModel
|
1163
1163
|
# @!attribute tiers
|
1164
1164
|
# Tiers for rating based on total usage quantities into the specified tier
|
1165
1165
|
#
|
1166
1166
|
# @return [Array<Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::TieredConfig::Tier>]
|
1167
1167
|
required :tiers,
|
1168
|
-
-> { Orb::ArrayOf[Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::TieredConfig::Tier] }
|
1168
|
+
-> { Orb::Internal::Type::ArrayOf[Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::TieredConfig::Tier] }
|
1169
1169
|
|
1170
1170
|
# @!parse
|
1171
1171
|
# # @param tiers [Array<Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::TieredConfig::Tier>]
|
1172
1172
|
# #
|
1173
1173
|
# def initialize(tiers:, **) = super
|
1174
1174
|
|
1175
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1175
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1176
1176
|
|
1177
|
-
class Tier < Orb::BaseModel
|
1177
|
+
class Tier < Orb::Internal::Type::BaseModel
|
1178
1178
|
# @!attribute first_unit
|
1179
1179
|
# Inclusive tier starting value
|
1180
1180
|
#
|
@@ -1200,12 +1200,12 @@ module Orb
|
|
1200
1200
|
# #
|
1201
1201
|
# def initialize(first_unit:, unit_amount:, last_unit: nil, **) = super
|
1202
1202
|
|
1203
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1203
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1204
1204
|
end
|
1205
1205
|
end
|
1206
1206
|
|
1207
1207
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice#billing_cycle_configuration
|
1208
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
1208
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1209
1209
|
# @!attribute duration
|
1210
1210
|
# The duration of the billing period.
|
1211
1211
|
#
|
@@ -1228,13 +1228,13 @@ module Orb
|
|
1228
1228
|
# #
|
1229
1229
|
# def initialize(duration:, duration_unit:, **) = super
|
1230
1230
|
|
1231
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1231
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1232
1232
|
|
1233
1233
|
# The unit of billing period duration.
|
1234
1234
|
#
|
1235
1235
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::BillingCycleConfiguration#duration_unit
|
1236
1236
|
module DurationUnit
|
1237
|
-
extend Orb::Enum
|
1237
|
+
extend Orb::Internal::Type::Enum
|
1238
1238
|
|
1239
1239
|
DAY = :day
|
1240
1240
|
MONTH = :month
|
@@ -1248,7 +1248,7 @@ module Orb
|
|
1248
1248
|
end
|
1249
1249
|
|
1250
1250
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice#invoicing_cycle_configuration
|
1251
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
1251
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1252
1252
|
# @!attribute duration
|
1253
1253
|
# The duration of the billing period.
|
1254
1254
|
#
|
@@ -1271,13 +1271,13 @@ module Orb
|
|
1271
1271
|
# #
|
1272
1272
|
# def initialize(duration:, duration_unit:, **) = super
|
1273
1273
|
|
1274
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1274
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1275
1275
|
|
1276
1276
|
# The unit of billing period duration.
|
1277
1277
|
#
|
1278
1278
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredPrice::InvoicingCycleConfiguration#duration_unit
|
1279
1279
|
module DurationUnit
|
1280
|
-
extend Orb::Enum
|
1280
|
+
extend Orb::Internal::Type::Enum
|
1281
1281
|
|
1282
1282
|
DAY = :day
|
1283
1283
|
MONTH = :month
|
@@ -1291,7 +1291,7 @@ module Orb
|
|
1291
1291
|
end
|
1292
1292
|
end
|
1293
1293
|
|
1294
|
-
class NewPlanTieredBpsPrice < Orb::BaseModel
|
1294
|
+
class NewPlanTieredBpsPrice < Orb::Internal::Type::BaseModel
|
1295
1295
|
# @!attribute cadence
|
1296
1296
|
# The cadence to bill for this price on.
|
1297
1297
|
#
|
@@ -1333,7 +1333,7 @@ module Orb
|
|
1333
1333
|
# this is true, and in-arrears if this is false.
|
1334
1334
|
#
|
1335
1335
|
# @return [Boolean, nil]
|
1336
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
1336
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
1337
1337
|
|
1338
1338
|
# @!attribute billing_cycle_configuration
|
1339
1339
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -1391,7 +1391,7 @@ module Orb
|
|
1391
1391
|
# by setting `metadata` to `null`.
|
1392
1392
|
#
|
1393
1393
|
# @return [Hash{Symbol=>String, nil}, nil]
|
1394
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
1394
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
1395
1395
|
|
1396
1396
|
# @!parse
|
1397
1397
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::Cadence]
|
@@ -1431,13 +1431,13 @@ module Orb
|
|
1431
1431
|
# super
|
1432
1432
|
# end
|
1433
1433
|
|
1434
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1434
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1435
1435
|
|
1436
1436
|
# The cadence to bill for this price on.
|
1437
1437
|
#
|
1438
1438
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice#cadence
|
1439
1439
|
module Cadence
|
1440
|
-
extend Orb::Enum
|
1440
|
+
extend Orb::Internal::Type::Enum
|
1441
1441
|
|
1442
1442
|
ANNUAL = :annual
|
1443
1443
|
SEMI_ANNUAL = :semi_annual
|
@@ -1454,23 +1454,23 @@ module Orb
|
|
1454
1454
|
end
|
1455
1455
|
|
1456
1456
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice#tiered_bps_config
|
1457
|
-
class TieredBpsConfig < Orb::BaseModel
|
1457
|
+
class TieredBpsConfig < Orb::Internal::Type::BaseModel
|
1458
1458
|
# @!attribute tiers
|
1459
1459
|
# Tiers for a Graduated BPS pricing model, where usage is bucketed into specified
|
1460
1460
|
# tiers
|
1461
1461
|
#
|
1462
1462
|
# @return [Array<Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::TieredBpsConfig::Tier>]
|
1463
1463
|
required :tiers,
|
1464
|
-
-> { Orb::ArrayOf[Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::TieredBpsConfig::Tier] }
|
1464
|
+
-> { Orb::Internal::Type::ArrayOf[Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::TieredBpsConfig::Tier] }
|
1465
1465
|
|
1466
1466
|
# @!parse
|
1467
1467
|
# # @param tiers [Array<Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::TieredBpsConfig::Tier>]
|
1468
1468
|
# #
|
1469
1469
|
# def initialize(tiers:, **) = super
|
1470
1470
|
|
1471
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1471
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1472
1472
|
|
1473
|
-
class Tier < Orb::BaseModel
|
1473
|
+
class Tier < Orb::Internal::Type::BaseModel
|
1474
1474
|
# @!attribute bps
|
1475
1475
|
# Per-event basis point rate
|
1476
1476
|
#
|
@@ -1503,12 +1503,12 @@ module Orb
|
|
1503
1503
|
# #
|
1504
1504
|
# def initialize(bps:, minimum_amount:, maximum_amount: nil, per_unit_maximum: nil, **) = super
|
1505
1505
|
|
1506
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1506
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1507
1507
|
end
|
1508
1508
|
end
|
1509
1509
|
|
1510
1510
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice#billing_cycle_configuration
|
1511
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
1511
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1512
1512
|
# @!attribute duration
|
1513
1513
|
# The duration of the billing period.
|
1514
1514
|
#
|
@@ -1531,13 +1531,13 @@ module Orb
|
|
1531
1531
|
# #
|
1532
1532
|
# def initialize(duration:, duration_unit:, **) = super
|
1533
1533
|
|
1534
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1534
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1535
1535
|
|
1536
1536
|
# The unit of billing period duration.
|
1537
1537
|
#
|
1538
1538
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::BillingCycleConfiguration#duration_unit
|
1539
1539
|
module DurationUnit
|
1540
|
-
extend Orb::Enum
|
1540
|
+
extend Orb::Internal::Type::Enum
|
1541
1541
|
|
1542
1542
|
DAY = :day
|
1543
1543
|
MONTH = :month
|
@@ -1551,7 +1551,7 @@ module Orb
|
|
1551
1551
|
end
|
1552
1552
|
|
1553
1553
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice#invoicing_cycle_configuration
|
1554
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
1554
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1555
1555
|
# @!attribute duration
|
1556
1556
|
# The duration of the billing period.
|
1557
1557
|
#
|
@@ -1574,13 +1574,13 @@ module Orb
|
|
1574
1574
|
# #
|
1575
1575
|
# def initialize(duration:, duration_unit:, **) = super
|
1576
1576
|
|
1577
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1577
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1578
1578
|
|
1579
1579
|
# The unit of billing period duration.
|
1580
1580
|
#
|
1581
1581
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredBpsPrice::InvoicingCycleConfiguration#duration_unit
|
1582
1582
|
module DurationUnit
|
1583
|
-
extend Orb::Enum
|
1583
|
+
extend Orb::Internal::Type::Enum
|
1584
1584
|
|
1585
1585
|
DAY = :day
|
1586
1586
|
MONTH = :month
|
@@ -1594,7 +1594,7 @@ module Orb
|
|
1594
1594
|
end
|
1595
1595
|
end
|
1596
1596
|
|
1597
|
-
class NewPlanBpsPrice < Orb::BaseModel
|
1597
|
+
class NewPlanBpsPrice < Orb::Internal::Type::BaseModel
|
1598
1598
|
# @!attribute bps_config
|
1599
1599
|
#
|
1600
1600
|
# @return [Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::BpsConfig]
|
@@ -1635,7 +1635,7 @@ module Orb
|
|
1635
1635
|
# this is true, and in-arrears if this is false.
|
1636
1636
|
#
|
1637
1637
|
# @return [Boolean, nil]
|
1638
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
1638
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
1639
1639
|
|
1640
1640
|
# @!attribute billing_cycle_configuration
|
1641
1641
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -1693,7 +1693,7 @@ module Orb
|
|
1693
1693
|
# by setting `metadata` to `null`.
|
1694
1694
|
#
|
1695
1695
|
# @return [Hash{Symbol=>String, nil}, nil]
|
1696
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
1696
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
1697
1697
|
|
1698
1698
|
# @!parse
|
1699
1699
|
# # @param bps_config [Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::BpsConfig]
|
@@ -1733,10 +1733,10 @@ module Orb
|
|
1733
1733
|
# super
|
1734
1734
|
# end
|
1735
1735
|
|
1736
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1736
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1737
1737
|
|
1738
1738
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice#bps_config
|
1739
|
-
class BpsConfig < Orb::BaseModel
|
1739
|
+
class BpsConfig < Orb::Internal::Type::BaseModel
|
1740
1740
|
# @!attribute bps
|
1741
1741
|
# Basis point take rate per event
|
1742
1742
|
#
|
@@ -1755,14 +1755,14 @@ module Orb
|
|
1755
1755
|
# #
|
1756
1756
|
# def initialize(bps:, per_unit_maximum: nil, **) = super
|
1757
1757
|
|
1758
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1758
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1759
1759
|
end
|
1760
1760
|
|
1761
1761
|
# The cadence to bill for this price on.
|
1762
1762
|
#
|
1763
1763
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice#cadence
|
1764
1764
|
module Cadence
|
1765
|
-
extend Orb::Enum
|
1765
|
+
extend Orb::Internal::Type::Enum
|
1766
1766
|
|
1767
1767
|
ANNUAL = :annual
|
1768
1768
|
SEMI_ANNUAL = :semi_annual
|
@@ -1779,7 +1779,7 @@ module Orb
|
|
1779
1779
|
end
|
1780
1780
|
|
1781
1781
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice#billing_cycle_configuration
|
1782
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
1782
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1783
1783
|
# @!attribute duration
|
1784
1784
|
# The duration of the billing period.
|
1785
1785
|
#
|
@@ -1802,13 +1802,13 @@ module Orb
|
|
1802
1802
|
# #
|
1803
1803
|
# def initialize(duration:, duration_unit:, **) = super
|
1804
1804
|
|
1805
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1805
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1806
1806
|
|
1807
1807
|
# The unit of billing period duration.
|
1808
1808
|
#
|
1809
1809
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::BillingCycleConfiguration#duration_unit
|
1810
1810
|
module DurationUnit
|
1811
|
-
extend Orb::Enum
|
1811
|
+
extend Orb::Internal::Type::Enum
|
1812
1812
|
|
1813
1813
|
DAY = :day
|
1814
1814
|
MONTH = :month
|
@@ -1822,7 +1822,7 @@ module Orb
|
|
1822
1822
|
end
|
1823
1823
|
|
1824
1824
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice#invoicing_cycle_configuration
|
1825
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
1825
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1826
1826
|
# @!attribute duration
|
1827
1827
|
# The duration of the billing period.
|
1828
1828
|
#
|
@@ -1845,13 +1845,13 @@ module Orb
|
|
1845
1845
|
# #
|
1846
1846
|
# def initialize(duration:, duration_unit:, **) = super
|
1847
1847
|
|
1848
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
1848
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
1849
1849
|
|
1850
1850
|
# The unit of billing period duration.
|
1851
1851
|
#
|
1852
1852
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBpsPrice::InvoicingCycleConfiguration#duration_unit
|
1853
1853
|
module DurationUnit
|
1854
|
-
extend Orb::Enum
|
1854
|
+
extend Orb::Internal::Type::Enum
|
1855
1855
|
|
1856
1856
|
DAY = :day
|
1857
1857
|
MONTH = :month
|
@@ -1865,7 +1865,7 @@ module Orb
|
|
1865
1865
|
end
|
1866
1866
|
end
|
1867
1867
|
|
1868
|
-
class NewPlanBulkBpsPrice < Orb::BaseModel
|
1868
|
+
class NewPlanBulkBpsPrice < Orb::Internal::Type::BaseModel
|
1869
1869
|
# @!attribute bulk_bps_config
|
1870
1870
|
#
|
1871
1871
|
# @return [Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BulkBpsConfig]
|
@@ -1906,7 +1906,7 @@ module Orb
|
|
1906
1906
|
# this is true, and in-arrears if this is false.
|
1907
1907
|
#
|
1908
1908
|
# @return [Boolean, nil]
|
1909
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
1909
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
1910
1910
|
|
1911
1911
|
# @!attribute billing_cycle_configuration
|
1912
1912
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -1964,7 +1964,7 @@ module Orb
|
|
1964
1964
|
# by setting `metadata` to `null`.
|
1965
1965
|
#
|
1966
1966
|
# @return [Hash{Symbol=>String, nil}, nil]
|
1967
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
1967
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
1968
1968
|
|
1969
1969
|
# @!parse
|
1970
1970
|
# # @param bulk_bps_config [Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BulkBpsConfig]
|
@@ -2004,26 +2004,26 @@ module Orb
|
|
2004
2004
|
# super
|
2005
2005
|
# end
|
2006
2006
|
|
2007
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2007
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2008
2008
|
|
2009
2009
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice#bulk_bps_config
|
2010
|
-
class BulkBpsConfig < Orb::BaseModel
|
2010
|
+
class BulkBpsConfig < Orb::Internal::Type::BaseModel
|
2011
2011
|
# @!attribute tiers
|
2012
2012
|
# Tiers for a bulk BPS pricing model where all usage is aggregated to a single
|
2013
2013
|
# tier based on total volume
|
2014
2014
|
#
|
2015
2015
|
# @return [Array<Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BulkBpsConfig::Tier>]
|
2016
2016
|
required :tiers,
|
2017
|
-
-> { Orb::ArrayOf[Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BulkBpsConfig::Tier] }
|
2017
|
+
-> { Orb::Internal::Type::ArrayOf[Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BulkBpsConfig::Tier] }
|
2018
2018
|
|
2019
2019
|
# @!parse
|
2020
2020
|
# # @param tiers [Array<Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BulkBpsConfig::Tier>]
|
2021
2021
|
# #
|
2022
2022
|
# def initialize(tiers:, **) = super
|
2023
2023
|
|
2024
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2024
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2025
2025
|
|
2026
|
-
class Tier < Orb::BaseModel
|
2026
|
+
class Tier < Orb::Internal::Type::BaseModel
|
2027
2027
|
# @!attribute bps
|
2028
2028
|
# Basis points to rate on
|
2029
2029
|
#
|
@@ -2049,7 +2049,7 @@ module Orb
|
|
2049
2049
|
# #
|
2050
2050
|
# def initialize(bps:, maximum_amount: nil, per_unit_maximum: nil, **) = super
|
2051
2051
|
|
2052
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2052
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2053
2053
|
end
|
2054
2054
|
end
|
2055
2055
|
|
@@ -2057,7 +2057,7 @@ module Orb
|
|
2057
2057
|
#
|
2058
2058
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice#cadence
|
2059
2059
|
module Cadence
|
2060
|
-
extend Orb::Enum
|
2060
|
+
extend Orb::Internal::Type::Enum
|
2061
2061
|
|
2062
2062
|
ANNUAL = :annual
|
2063
2063
|
SEMI_ANNUAL = :semi_annual
|
@@ -2074,7 +2074,7 @@ module Orb
|
|
2074
2074
|
end
|
2075
2075
|
|
2076
2076
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice#billing_cycle_configuration
|
2077
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
2077
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2078
2078
|
# @!attribute duration
|
2079
2079
|
# The duration of the billing period.
|
2080
2080
|
#
|
@@ -2097,13 +2097,13 @@ module Orb
|
|
2097
2097
|
# #
|
2098
2098
|
# def initialize(duration:, duration_unit:, **) = super
|
2099
2099
|
|
2100
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2100
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2101
2101
|
|
2102
2102
|
# The unit of billing period duration.
|
2103
2103
|
#
|
2104
2104
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::BillingCycleConfiguration#duration_unit
|
2105
2105
|
module DurationUnit
|
2106
|
-
extend Orb::Enum
|
2106
|
+
extend Orb::Internal::Type::Enum
|
2107
2107
|
|
2108
2108
|
DAY = :day
|
2109
2109
|
MONTH = :month
|
@@ -2117,7 +2117,7 @@ module Orb
|
|
2117
2117
|
end
|
2118
2118
|
|
2119
2119
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice#invoicing_cycle_configuration
|
2120
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
2120
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2121
2121
|
# @!attribute duration
|
2122
2122
|
# The duration of the billing period.
|
2123
2123
|
#
|
@@ -2140,13 +2140,13 @@ module Orb
|
|
2140
2140
|
# #
|
2141
2141
|
# def initialize(duration:, duration_unit:, **) = super
|
2142
2142
|
|
2143
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2143
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2144
2144
|
|
2145
2145
|
# The unit of billing period duration.
|
2146
2146
|
#
|
2147
2147
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkBpsPrice::InvoicingCycleConfiguration#duration_unit
|
2148
2148
|
module DurationUnit
|
2149
|
-
extend Orb::Enum
|
2149
|
+
extend Orb::Internal::Type::Enum
|
2150
2150
|
|
2151
2151
|
DAY = :day
|
2152
2152
|
MONTH = :month
|
@@ -2160,7 +2160,7 @@ module Orb
|
|
2160
2160
|
end
|
2161
2161
|
end
|
2162
2162
|
|
2163
|
-
class NewPlanBulkPrice < Orb::BaseModel
|
2163
|
+
class NewPlanBulkPrice < Orb::Internal::Type::BaseModel
|
2164
2164
|
# @!attribute bulk_config
|
2165
2165
|
#
|
2166
2166
|
# @return [Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BulkConfig]
|
@@ -2201,7 +2201,7 @@ module Orb
|
|
2201
2201
|
# this is true, and in-arrears if this is false.
|
2202
2202
|
#
|
2203
2203
|
# @return [Boolean, nil]
|
2204
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
2204
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
2205
2205
|
|
2206
2206
|
# @!attribute billing_cycle_configuration
|
2207
2207
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -2259,7 +2259,7 @@ module Orb
|
|
2259
2259
|
# by setting `metadata` to `null`.
|
2260
2260
|
#
|
2261
2261
|
# @return [Hash{Symbol=>String, nil}, nil]
|
2262
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
2262
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
2263
2263
|
|
2264
2264
|
# @!parse
|
2265
2265
|
# # @param bulk_config [Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BulkConfig]
|
@@ -2299,25 +2299,25 @@ module Orb
|
|
2299
2299
|
# super
|
2300
2300
|
# end
|
2301
2301
|
|
2302
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2302
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2303
2303
|
|
2304
2304
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice#bulk_config
|
2305
|
-
class BulkConfig < Orb::BaseModel
|
2305
|
+
class BulkConfig < Orb::Internal::Type::BaseModel
|
2306
2306
|
# @!attribute tiers
|
2307
2307
|
# Bulk tiers for rating based on total usage volume
|
2308
2308
|
#
|
2309
2309
|
# @return [Array<Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BulkConfig::Tier>]
|
2310
2310
|
required :tiers,
|
2311
|
-
-> { Orb::ArrayOf[Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BulkConfig::Tier] }
|
2311
|
+
-> { Orb::Internal::Type::ArrayOf[Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BulkConfig::Tier] }
|
2312
2312
|
|
2313
2313
|
# @!parse
|
2314
2314
|
# # @param tiers [Array<Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BulkConfig::Tier>]
|
2315
2315
|
# #
|
2316
2316
|
# def initialize(tiers:, **) = super
|
2317
2317
|
|
2318
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2318
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2319
2319
|
|
2320
|
-
class Tier < Orb::BaseModel
|
2320
|
+
class Tier < Orb::Internal::Type::BaseModel
|
2321
2321
|
# @!attribute unit_amount
|
2322
2322
|
# Amount per unit
|
2323
2323
|
#
|
@@ -2336,7 +2336,7 @@ module Orb
|
|
2336
2336
|
# #
|
2337
2337
|
# def initialize(unit_amount:, maximum_units: nil, **) = super
|
2338
2338
|
|
2339
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2339
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2340
2340
|
end
|
2341
2341
|
end
|
2342
2342
|
|
@@ -2344,7 +2344,7 @@ module Orb
|
|
2344
2344
|
#
|
2345
2345
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice#cadence
|
2346
2346
|
module Cadence
|
2347
|
-
extend Orb::Enum
|
2347
|
+
extend Orb::Internal::Type::Enum
|
2348
2348
|
|
2349
2349
|
ANNUAL = :annual
|
2350
2350
|
SEMI_ANNUAL = :semi_annual
|
@@ -2361,7 +2361,7 @@ module Orb
|
|
2361
2361
|
end
|
2362
2362
|
|
2363
2363
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice#billing_cycle_configuration
|
2364
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
2364
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2365
2365
|
# @!attribute duration
|
2366
2366
|
# The duration of the billing period.
|
2367
2367
|
#
|
@@ -2384,13 +2384,13 @@ module Orb
|
|
2384
2384
|
# #
|
2385
2385
|
# def initialize(duration:, duration_unit:, **) = super
|
2386
2386
|
|
2387
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2387
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2388
2388
|
|
2389
2389
|
# The unit of billing period duration.
|
2390
2390
|
#
|
2391
2391
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::BillingCycleConfiguration#duration_unit
|
2392
2392
|
module DurationUnit
|
2393
|
-
extend Orb::Enum
|
2393
|
+
extend Orb::Internal::Type::Enum
|
2394
2394
|
|
2395
2395
|
DAY = :day
|
2396
2396
|
MONTH = :month
|
@@ -2404,7 +2404,7 @@ module Orb
|
|
2404
2404
|
end
|
2405
2405
|
|
2406
2406
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice#invoicing_cycle_configuration
|
2407
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
2407
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2408
2408
|
# @!attribute duration
|
2409
2409
|
# The duration of the billing period.
|
2410
2410
|
#
|
@@ -2427,13 +2427,13 @@ module Orb
|
|
2427
2427
|
# #
|
2428
2428
|
# def initialize(duration:, duration_unit:, **) = super
|
2429
2429
|
|
2430
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2430
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2431
2431
|
|
2432
2432
|
# The unit of billing period duration.
|
2433
2433
|
#
|
2434
2434
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkPrice::InvoicingCycleConfiguration#duration_unit
|
2435
2435
|
module DurationUnit
|
2436
|
-
extend Orb::Enum
|
2436
|
+
extend Orb::Internal::Type::Enum
|
2437
2437
|
|
2438
2438
|
DAY = :day
|
2439
2439
|
MONTH = :month
|
@@ -2447,7 +2447,7 @@ module Orb
|
|
2447
2447
|
end
|
2448
2448
|
end
|
2449
2449
|
|
2450
|
-
class NewPlanThresholdTotalAmountPrice < Orb::BaseModel
|
2450
|
+
class NewPlanThresholdTotalAmountPrice < Orb::Internal::Type::BaseModel
|
2451
2451
|
# @!attribute cadence
|
2452
2452
|
# The cadence to bill for this price on.
|
2453
2453
|
#
|
@@ -2475,7 +2475,7 @@ module Orb
|
|
2475
2475
|
# @!attribute threshold_total_amount_config
|
2476
2476
|
#
|
2477
2477
|
# @return [Hash{Symbol=>Object}]
|
2478
|
-
required :threshold_total_amount_config, Orb::HashOf[Orb::Unknown]
|
2478
|
+
required :threshold_total_amount_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
2479
2479
|
|
2480
2480
|
# @!attribute billable_metric_id
|
2481
2481
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -2489,7 +2489,7 @@ module Orb
|
|
2489
2489
|
# this is true, and in-arrears if this is false.
|
2490
2490
|
#
|
2491
2491
|
# @return [Boolean, nil]
|
2492
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
2492
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
2493
2493
|
|
2494
2494
|
# @!attribute billing_cycle_configuration
|
2495
2495
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -2547,7 +2547,7 @@ module Orb
|
|
2547
2547
|
# by setting `metadata` to `null`.
|
2548
2548
|
#
|
2549
2549
|
# @return [Hash{Symbol=>String, nil}, nil]
|
2550
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
2550
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
2551
2551
|
|
2552
2552
|
# @!parse
|
2553
2553
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice::Cadence]
|
@@ -2587,13 +2587,13 @@ module Orb
|
|
2587
2587
|
# super
|
2588
2588
|
# end
|
2589
2589
|
|
2590
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2590
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2591
2591
|
|
2592
2592
|
# The cadence to bill for this price on.
|
2593
2593
|
#
|
2594
2594
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice#cadence
|
2595
2595
|
module Cadence
|
2596
|
-
extend Orb::Enum
|
2596
|
+
extend Orb::Internal::Type::Enum
|
2597
2597
|
|
2598
2598
|
ANNUAL = :annual
|
2599
2599
|
SEMI_ANNUAL = :semi_annual
|
@@ -2610,7 +2610,7 @@ module Orb
|
|
2610
2610
|
end
|
2611
2611
|
|
2612
2612
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice#billing_cycle_configuration
|
2613
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
2613
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2614
2614
|
# @!attribute duration
|
2615
2615
|
# The duration of the billing period.
|
2616
2616
|
#
|
@@ -2633,13 +2633,13 @@ module Orb
|
|
2633
2633
|
# #
|
2634
2634
|
# def initialize(duration:, duration_unit:, **) = super
|
2635
2635
|
|
2636
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2636
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2637
2637
|
|
2638
2638
|
# The unit of billing period duration.
|
2639
2639
|
#
|
2640
2640
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice::BillingCycleConfiguration#duration_unit
|
2641
2641
|
module DurationUnit
|
2642
|
-
extend Orb::Enum
|
2642
|
+
extend Orb::Internal::Type::Enum
|
2643
2643
|
|
2644
2644
|
DAY = :day
|
2645
2645
|
MONTH = :month
|
@@ -2653,7 +2653,7 @@ module Orb
|
|
2653
2653
|
end
|
2654
2654
|
|
2655
2655
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice#invoicing_cycle_configuration
|
2656
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
2656
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2657
2657
|
# @!attribute duration
|
2658
2658
|
# The duration of the billing period.
|
2659
2659
|
#
|
@@ -2676,13 +2676,13 @@ module Orb
|
|
2676
2676
|
# #
|
2677
2677
|
# def initialize(duration:, duration_unit:, **) = super
|
2678
2678
|
|
2679
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2679
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2680
2680
|
|
2681
2681
|
# The unit of billing period duration.
|
2682
2682
|
#
|
2683
2683
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanThresholdTotalAmountPrice::InvoicingCycleConfiguration#duration_unit
|
2684
2684
|
module DurationUnit
|
2685
|
-
extend Orb::Enum
|
2685
|
+
extend Orb::Internal::Type::Enum
|
2686
2686
|
|
2687
2687
|
DAY = :day
|
2688
2688
|
MONTH = :month
|
@@ -2696,7 +2696,7 @@ module Orb
|
|
2696
2696
|
end
|
2697
2697
|
end
|
2698
2698
|
|
2699
|
-
class NewPlanTieredPackagePrice < Orb::BaseModel
|
2699
|
+
class NewPlanTieredPackagePrice < Orb::Internal::Type::BaseModel
|
2700
2700
|
# @!attribute cadence
|
2701
2701
|
# The cadence to bill for this price on.
|
2702
2702
|
#
|
@@ -2723,7 +2723,7 @@ module Orb
|
|
2723
2723
|
# @!attribute tiered_package_config
|
2724
2724
|
#
|
2725
2725
|
# @return [Hash{Symbol=>Object}]
|
2726
|
-
required :tiered_package_config, Orb::HashOf[Orb::Unknown]
|
2726
|
+
required :tiered_package_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
2727
2727
|
|
2728
2728
|
# @!attribute billable_metric_id
|
2729
2729
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -2737,7 +2737,7 @@ module Orb
|
|
2737
2737
|
# this is true, and in-arrears if this is false.
|
2738
2738
|
#
|
2739
2739
|
# @return [Boolean, nil]
|
2740
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
2740
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
2741
2741
|
|
2742
2742
|
# @!attribute billing_cycle_configuration
|
2743
2743
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -2795,7 +2795,7 @@ module Orb
|
|
2795
2795
|
# by setting `metadata` to `null`.
|
2796
2796
|
#
|
2797
2797
|
# @return [Hash{Symbol=>String, nil}, nil]
|
2798
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
2798
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
2799
2799
|
|
2800
2800
|
# @!parse
|
2801
2801
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice::Cadence]
|
@@ -2835,13 +2835,13 @@ module Orb
|
|
2835
2835
|
# super
|
2836
2836
|
# end
|
2837
2837
|
|
2838
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2838
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2839
2839
|
|
2840
2840
|
# The cadence to bill for this price on.
|
2841
2841
|
#
|
2842
2842
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice#cadence
|
2843
2843
|
module Cadence
|
2844
|
-
extend Orb::Enum
|
2844
|
+
extend Orb::Internal::Type::Enum
|
2845
2845
|
|
2846
2846
|
ANNUAL = :annual
|
2847
2847
|
SEMI_ANNUAL = :semi_annual
|
@@ -2858,7 +2858,7 @@ module Orb
|
|
2858
2858
|
end
|
2859
2859
|
|
2860
2860
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice#billing_cycle_configuration
|
2861
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
2861
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2862
2862
|
# @!attribute duration
|
2863
2863
|
# The duration of the billing period.
|
2864
2864
|
#
|
@@ -2881,13 +2881,13 @@ module Orb
|
|
2881
2881
|
# #
|
2882
2882
|
# def initialize(duration:, duration_unit:, **) = super
|
2883
2883
|
|
2884
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2884
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2885
2885
|
|
2886
2886
|
# The unit of billing period duration.
|
2887
2887
|
#
|
2888
2888
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice::BillingCycleConfiguration#duration_unit
|
2889
2889
|
module DurationUnit
|
2890
|
-
extend Orb::Enum
|
2890
|
+
extend Orb::Internal::Type::Enum
|
2891
2891
|
|
2892
2892
|
DAY = :day
|
2893
2893
|
MONTH = :month
|
@@ -2901,7 +2901,7 @@ module Orb
|
|
2901
2901
|
end
|
2902
2902
|
|
2903
2903
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice#invoicing_cycle_configuration
|
2904
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
2904
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2905
2905
|
# @!attribute duration
|
2906
2906
|
# The duration of the billing period.
|
2907
2907
|
#
|
@@ -2924,13 +2924,13 @@ module Orb
|
|
2924
2924
|
# #
|
2925
2925
|
# def initialize(duration:, duration_unit:, **) = super
|
2926
2926
|
|
2927
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
2927
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
2928
2928
|
|
2929
2929
|
# The unit of billing period duration.
|
2930
2930
|
#
|
2931
2931
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredPackagePrice::InvoicingCycleConfiguration#duration_unit
|
2932
2932
|
module DurationUnit
|
2933
|
-
extend Orb::Enum
|
2933
|
+
extend Orb::Internal::Type::Enum
|
2934
2934
|
|
2935
2935
|
DAY = :day
|
2936
2936
|
MONTH = :month
|
@@ -2944,7 +2944,7 @@ module Orb
|
|
2944
2944
|
end
|
2945
2945
|
end
|
2946
2946
|
|
2947
|
-
class NewPlanTieredWithMinimumPrice < Orb::BaseModel
|
2947
|
+
class NewPlanTieredWithMinimumPrice < Orb::Internal::Type::BaseModel
|
2948
2948
|
# @!attribute cadence
|
2949
2949
|
# The cadence to bill for this price on.
|
2950
2950
|
#
|
@@ -2972,7 +2972,7 @@ module Orb
|
|
2972
2972
|
# @!attribute tiered_with_minimum_config
|
2973
2973
|
#
|
2974
2974
|
# @return [Hash{Symbol=>Object}]
|
2975
|
-
required :tiered_with_minimum_config, Orb::HashOf[Orb::Unknown]
|
2975
|
+
required :tiered_with_minimum_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
2976
2976
|
|
2977
2977
|
# @!attribute billable_metric_id
|
2978
2978
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -2986,7 +2986,7 @@ module Orb
|
|
2986
2986
|
# this is true, and in-arrears if this is false.
|
2987
2987
|
#
|
2988
2988
|
# @return [Boolean, nil]
|
2989
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
2989
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
2990
2990
|
|
2991
2991
|
# @!attribute billing_cycle_configuration
|
2992
2992
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3044,7 +3044,7 @@ module Orb
|
|
3044
3044
|
# by setting `metadata` to `null`.
|
3045
3045
|
#
|
3046
3046
|
# @return [Hash{Symbol=>String, nil}, nil]
|
3047
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
3047
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
3048
3048
|
|
3049
3049
|
# @!parse
|
3050
3050
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice::Cadence]
|
@@ -3084,13 +3084,13 @@ module Orb
|
|
3084
3084
|
# super
|
3085
3085
|
# end
|
3086
3086
|
|
3087
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3087
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3088
3088
|
|
3089
3089
|
# The cadence to bill for this price on.
|
3090
3090
|
#
|
3091
3091
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice#cadence
|
3092
3092
|
module Cadence
|
3093
|
-
extend Orb::Enum
|
3093
|
+
extend Orb::Internal::Type::Enum
|
3094
3094
|
|
3095
3095
|
ANNUAL = :annual
|
3096
3096
|
SEMI_ANNUAL = :semi_annual
|
@@ -3107,7 +3107,7 @@ module Orb
|
|
3107
3107
|
end
|
3108
3108
|
|
3109
3109
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice#billing_cycle_configuration
|
3110
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
3110
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3111
3111
|
# @!attribute duration
|
3112
3112
|
# The duration of the billing period.
|
3113
3113
|
#
|
@@ -3130,13 +3130,13 @@ module Orb
|
|
3130
3130
|
# #
|
3131
3131
|
# def initialize(duration:, duration_unit:, **) = super
|
3132
3132
|
|
3133
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3133
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3134
3134
|
|
3135
3135
|
# The unit of billing period duration.
|
3136
3136
|
#
|
3137
3137
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice::BillingCycleConfiguration#duration_unit
|
3138
3138
|
module DurationUnit
|
3139
|
-
extend Orb::Enum
|
3139
|
+
extend Orb::Internal::Type::Enum
|
3140
3140
|
|
3141
3141
|
DAY = :day
|
3142
3142
|
MONTH = :month
|
@@ -3150,7 +3150,7 @@ module Orb
|
|
3150
3150
|
end
|
3151
3151
|
|
3152
3152
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice#invoicing_cycle_configuration
|
3153
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
3153
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3154
3154
|
# @!attribute duration
|
3155
3155
|
# The duration of the billing period.
|
3156
3156
|
#
|
@@ -3173,13 +3173,13 @@ module Orb
|
|
3173
3173
|
# #
|
3174
3174
|
# def initialize(duration:, duration_unit:, **) = super
|
3175
3175
|
|
3176
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3176
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3177
3177
|
|
3178
3178
|
# The unit of billing period duration.
|
3179
3179
|
#
|
3180
3180
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTieredWithMinimumPrice::InvoicingCycleConfiguration#duration_unit
|
3181
3181
|
module DurationUnit
|
3182
|
-
extend Orb::Enum
|
3182
|
+
extend Orb::Internal::Type::Enum
|
3183
3183
|
|
3184
3184
|
DAY = :day
|
3185
3185
|
MONTH = :month
|
@@ -3193,7 +3193,7 @@ module Orb
|
|
3193
3193
|
end
|
3194
3194
|
end
|
3195
3195
|
|
3196
|
-
class NewPlanUnitWithPercentPrice < Orb::BaseModel
|
3196
|
+
class NewPlanUnitWithPercentPrice < Orb::Internal::Type::BaseModel
|
3197
3197
|
# @!attribute cadence
|
3198
3198
|
# The cadence to bill for this price on.
|
3199
3199
|
#
|
@@ -3220,7 +3220,7 @@ module Orb
|
|
3220
3220
|
# @!attribute unit_with_percent_config
|
3221
3221
|
#
|
3222
3222
|
# @return [Hash{Symbol=>Object}]
|
3223
|
-
required :unit_with_percent_config, Orb::HashOf[Orb::Unknown]
|
3223
|
+
required :unit_with_percent_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
3224
3224
|
|
3225
3225
|
# @!attribute billable_metric_id
|
3226
3226
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -3234,7 +3234,7 @@ module Orb
|
|
3234
3234
|
# this is true, and in-arrears if this is false.
|
3235
3235
|
#
|
3236
3236
|
# @return [Boolean, nil]
|
3237
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
3237
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
3238
3238
|
|
3239
3239
|
# @!attribute billing_cycle_configuration
|
3240
3240
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3292,7 +3292,7 @@ module Orb
|
|
3292
3292
|
# by setting `metadata` to `null`.
|
3293
3293
|
#
|
3294
3294
|
# @return [Hash{Symbol=>String, nil}, nil]
|
3295
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
3295
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
3296
3296
|
|
3297
3297
|
# @!parse
|
3298
3298
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice::Cadence]
|
@@ -3332,13 +3332,13 @@ module Orb
|
|
3332
3332
|
# super
|
3333
3333
|
# end
|
3334
3334
|
|
3335
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3335
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3336
3336
|
|
3337
3337
|
# The cadence to bill for this price on.
|
3338
3338
|
#
|
3339
3339
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice#cadence
|
3340
3340
|
module Cadence
|
3341
|
-
extend Orb::Enum
|
3341
|
+
extend Orb::Internal::Type::Enum
|
3342
3342
|
|
3343
3343
|
ANNUAL = :annual
|
3344
3344
|
SEMI_ANNUAL = :semi_annual
|
@@ -3355,7 +3355,7 @@ module Orb
|
|
3355
3355
|
end
|
3356
3356
|
|
3357
3357
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice#billing_cycle_configuration
|
3358
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
3358
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3359
3359
|
# @!attribute duration
|
3360
3360
|
# The duration of the billing period.
|
3361
3361
|
#
|
@@ -3378,13 +3378,13 @@ module Orb
|
|
3378
3378
|
# #
|
3379
3379
|
# def initialize(duration:, duration_unit:, **) = super
|
3380
3380
|
|
3381
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3381
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3382
3382
|
|
3383
3383
|
# The unit of billing period duration.
|
3384
3384
|
#
|
3385
3385
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice::BillingCycleConfiguration#duration_unit
|
3386
3386
|
module DurationUnit
|
3387
|
-
extend Orb::Enum
|
3387
|
+
extend Orb::Internal::Type::Enum
|
3388
3388
|
|
3389
3389
|
DAY = :day
|
3390
3390
|
MONTH = :month
|
@@ -3398,7 +3398,7 @@ module Orb
|
|
3398
3398
|
end
|
3399
3399
|
|
3400
3400
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice#invoicing_cycle_configuration
|
3401
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
3401
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3402
3402
|
# @!attribute duration
|
3403
3403
|
# The duration of the billing period.
|
3404
3404
|
#
|
@@ -3421,13 +3421,13 @@ module Orb
|
|
3421
3421
|
# #
|
3422
3422
|
# def initialize(duration:, duration_unit:, **) = super
|
3423
3423
|
|
3424
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3424
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3425
3425
|
|
3426
3426
|
# The unit of billing period duration.
|
3427
3427
|
#
|
3428
3428
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitWithPercentPrice::InvoicingCycleConfiguration#duration_unit
|
3429
3429
|
module DurationUnit
|
3430
|
-
extend Orb::Enum
|
3430
|
+
extend Orb::Internal::Type::Enum
|
3431
3431
|
|
3432
3432
|
DAY = :day
|
3433
3433
|
MONTH = :month
|
@@ -3441,7 +3441,7 @@ module Orb
|
|
3441
3441
|
end
|
3442
3442
|
end
|
3443
3443
|
|
3444
|
-
class NewPlanPackageWithAllocationPrice < Orb::BaseModel
|
3444
|
+
class NewPlanPackageWithAllocationPrice < Orb::Internal::Type::BaseModel
|
3445
3445
|
# @!attribute cadence
|
3446
3446
|
# The cadence to bill for this price on.
|
3447
3447
|
#
|
@@ -3469,7 +3469,7 @@ module Orb
|
|
3469
3469
|
# @!attribute package_with_allocation_config
|
3470
3470
|
#
|
3471
3471
|
# @return [Hash{Symbol=>Object}]
|
3472
|
-
required :package_with_allocation_config, Orb::HashOf[Orb::Unknown]
|
3472
|
+
required :package_with_allocation_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
3473
3473
|
|
3474
3474
|
# @!attribute billable_metric_id
|
3475
3475
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -3483,7 +3483,7 @@ module Orb
|
|
3483
3483
|
# this is true, and in-arrears if this is false.
|
3484
3484
|
#
|
3485
3485
|
# @return [Boolean, nil]
|
3486
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
3486
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
3487
3487
|
|
3488
3488
|
# @!attribute billing_cycle_configuration
|
3489
3489
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3541,7 +3541,7 @@ module Orb
|
|
3541
3541
|
# by setting `metadata` to `null`.
|
3542
3542
|
#
|
3543
3543
|
# @return [Hash{Symbol=>String, nil}, nil]
|
3544
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
3544
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
3545
3545
|
|
3546
3546
|
# @!parse
|
3547
3547
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice::Cadence]
|
@@ -3581,13 +3581,13 @@ module Orb
|
|
3581
3581
|
# super
|
3582
3582
|
# end
|
3583
3583
|
|
3584
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3584
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3585
3585
|
|
3586
3586
|
# The cadence to bill for this price on.
|
3587
3587
|
#
|
3588
3588
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice#cadence
|
3589
3589
|
module Cadence
|
3590
|
-
extend Orb::Enum
|
3590
|
+
extend Orb::Internal::Type::Enum
|
3591
3591
|
|
3592
3592
|
ANNUAL = :annual
|
3593
3593
|
SEMI_ANNUAL = :semi_annual
|
@@ -3604,7 +3604,7 @@ module Orb
|
|
3604
3604
|
end
|
3605
3605
|
|
3606
3606
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice#billing_cycle_configuration
|
3607
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
3607
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3608
3608
|
# @!attribute duration
|
3609
3609
|
# The duration of the billing period.
|
3610
3610
|
#
|
@@ -3627,13 +3627,13 @@ module Orb
|
|
3627
3627
|
# #
|
3628
3628
|
# def initialize(duration:, duration_unit:, **) = super
|
3629
3629
|
|
3630
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3630
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3631
3631
|
|
3632
3632
|
# The unit of billing period duration.
|
3633
3633
|
#
|
3634
3634
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice::BillingCycleConfiguration#duration_unit
|
3635
3635
|
module DurationUnit
|
3636
|
-
extend Orb::Enum
|
3636
|
+
extend Orb::Internal::Type::Enum
|
3637
3637
|
|
3638
3638
|
DAY = :day
|
3639
3639
|
MONTH = :month
|
@@ -3647,7 +3647,7 @@ module Orb
|
|
3647
3647
|
end
|
3648
3648
|
|
3649
3649
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice#invoicing_cycle_configuration
|
3650
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
3650
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3651
3651
|
# @!attribute duration
|
3652
3652
|
# The duration of the billing period.
|
3653
3653
|
#
|
@@ -3670,13 +3670,13 @@ module Orb
|
|
3670
3670
|
# #
|
3671
3671
|
# def initialize(duration:, duration_unit:, **) = super
|
3672
3672
|
|
3673
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3673
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3674
3674
|
|
3675
3675
|
# The unit of billing period duration.
|
3676
3676
|
#
|
3677
3677
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanPackageWithAllocationPrice::InvoicingCycleConfiguration#duration_unit
|
3678
3678
|
module DurationUnit
|
3679
|
-
extend Orb::Enum
|
3679
|
+
extend Orb::Internal::Type::Enum
|
3680
3680
|
|
3681
3681
|
DAY = :day
|
3682
3682
|
MONTH = :month
|
@@ -3690,7 +3690,7 @@ module Orb
|
|
3690
3690
|
end
|
3691
3691
|
end
|
3692
3692
|
|
3693
|
-
class NewPlanTierWithProrationPrice < Orb::BaseModel
|
3693
|
+
class NewPlanTierWithProrationPrice < Orb::Internal::Type::BaseModel
|
3694
3694
|
# @!attribute cadence
|
3695
3695
|
# The cadence to bill for this price on.
|
3696
3696
|
#
|
@@ -3718,7 +3718,7 @@ module Orb
|
|
3718
3718
|
# @!attribute tiered_with_proration_config
|
3719
3719
|
#
|
3720
3720
|
# @return [Hash{Symbol=>Object}]
|
3721
|
-
required :tiered_with_proration_config, Orb::HashOf[Orb::Unknown]
|
3721
|
+
required :tiered_with_proration_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
3722
3722
|
|
3723
3723
|
# @!attribute billable_metric_id
|
3724
3724
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -3732,7 +3732,7 @@ module Orb
|
|
3732
3732
|
# this is true, and in-arrears if this is false.
|
3733
3733
|
#
|
3734
3734
|
# @return [Boolean, nil]
|
3735
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
3735
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
3736
3736
|
|
3737
3737
|
# @!attribute billing_cycle_configuration
|
3738
3738
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -3790,7 +3790,7 @@ module Orb
|
|
3790
3790
|
# by setting `metadata` to `null`.
|
3791
3791
|
#
|
3792
3792
|
# @return [Hash{Symbol=>String, nil}, nil]
|
3793
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
3793
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
3794
3794
|
|
3795
3795
|
# @!parse
|
3796
3796
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice::Cadence]
|
@@ -3830,13 +3830,13 @@ module Orb
|
|
3830
3830
|
# super
|
3831
3831
|
# end
|
3832
3832
|
|
3833
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3833
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3834
3834
|
|
3835
3835
|
# The cadence to bill for this price on.
|
3836
3836
|
#
|
3837
3837
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice#cadence
|
3838
3838
|
module Cadence
|
3839
|
-
extend Orb::Enum
|
3839
|
+
extend Orb::Internal::Type::Enum
|
3840
3840
|
|
3841
3841
|
ANNUAL = :annual
|
3842
3842
|
SEMI_ANNUAL = :semi_annual
|
@@ -3853,7 +3853,7 @@ module Orb
|
|
3853
3853
|
end
|
3854
3854
|
|
3855
3855
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice#billing_cycle_configuration
|
3856
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
3856
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3857
3857
|
# @!attribute duration
|
3858
3858
|
# The duration of the billing period.
|
3859
3859
|
#
|
@@ -3876,13 +3876,13 @@ module Orb
|
|
3876
3876
|
# #
|
3877
3877
|
# def initialize(duration:, duration_unit:, **) = super
|
3878
3878
|
|
3879
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3879
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3880
3880
|
|
3881
3881
|
# The unit of billing period duration.
|
3882
3882
|
#
|
3883
3883
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice::BillingCycleConfiguration#duration_unit
|
3884
3884
|
module DurationUnit
|
3885
|
-
extend Orb::Enum
|
3885
|
+
extend Orb::Internal::Type::Enum
|
3886
3886
|
|
3887
3887
|
DAY = :day
|
3888
3888
|
MONTH = :month
|
@@ -3896,7 +3896,7 @@ module Orb
|
|
3896
3896
|
end
|
3897
3897
|
|
3898
3898
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice#invoicing_cycle_configuration
|
3899
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
3899
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3900
3900
|
# @!attribute duration
|
3901
3901
|
# The duration of the billing period.
|
3902
3902
|
#
|
@@ -3919,13 +3919,13 @@ module Orb
|
|
3919
3919
|
# #
|
3920
3920
|
# def initialize(duration:, duration_unit:, **) = super
|
3921
3921
|
|
3922
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
3922
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
3923
3923
|
|
3924
3924
|
# The unit of billing period duration.
|
3925
3925
|
#
|
3926
3926
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanTierWithProrationPrice::InvoicingCycleConfiguration#duration_unit
|
3927
3927
|
module DurationUnit
|
3928
|
-
extend Orb::Enum
|
3928
|
+
extend Orb::Internal::Type::Enum
|
3929
3929
|
|
3930
3930
|
DAY = :day
|
3931
3931
|
MONTH = :month
|
@@ -3939,7 +3939,7 @@ module Orb
|
|
3939
3939
|
end
|
3940
3940
|
end
|
3941
3941
|
|
3942
|
-
class NewPlanUnitWithProrationPrice < Orb::BaseModel
|
3942
|
+
class NewPlanUnitWithProrationPrice < Orb::Internal::Type::BaseModel
|
3943
3943
|
# @!attribute cadence
|
3944
3944
|
# The cadence to bill for this price on.
|
3945
3945
|
#
|
@@ -3967,7 +3967,7 @@ module Orb
|
|
3967
3967
|
# @!attribute unit_with_proration_config
|
3968
3968
|
#
|
3969
3969
|
# @return [Hash{Symbol=>Object}]
|
3970
|
-
required :unit_with_proration_config, Orb::HashOf[Orb::Unknown]
|
3970
|
+
required :unit_with_proration_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
3971
3971
|
|
3972
3972
|
# @!attribute billable_metric_id
|
3973
3973
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -3981,7 +3981,7 @@ module Orb
|
|
3981
3981
|
# this is true, and in-arrears if this is false.
|
3982
3982
|
#
|
3983
3983
|
# @return [Boolean, nil]
|
3984
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
3984
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
3985
3985
|
|
3986
3986
|
# @!attribute billing_cycle_configuration
|
3987
3987
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4039,7 +4039,7 @@ module Orb
|
|
4039
4039
|
# by setting `metadata` to `null`.
|
4040
4040
|
#
|
4041
4041
|
# @return [Hash{Symbol=>String, nil}, nil]
|
4042
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
4042
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
4043
4043
|
|
4044
4044
|
# @!parse
|
4045
4045
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice::Cadence]
|
@@ -4079,13 +4079,13 @@ module Orb
|
|
4079
4079
|
# super
|
4080
4080
|
# end
|
4081
4081
|
|
4082
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4082
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4083
4083
|
|
4084
4084
|
# The cadence to bill for this price on.
|
4085
4085
|
#
|
4086
4086
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice#cadence
|
4087
4087
|
module Cadence
|
4088
|
-
extend Orb::Enum
|
4088
|
+
extend Orb::Internal::Type::Enum
|
4089
4089
|
|
4090
4090
|
ANNUAL = :annual
|
4091
4091
|
SEMI_ANNUAL = :semi_annual
|
@@ -4102,7 +4102,7 @@ module Orb
|
|
4102
4102
|
end
|
4103
4103
|
|
4104
4104
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice#billing_cycle_configuration
|
4105
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
4105
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4106
4106
|
# @!attribute duration
|
4107
4107
|
# The duration of the billing period.
|
4108
4108
|
#
|
@@ -4125,13 +4125,13 @@ module Orb
|
|
4125
4125
|
# #
|
4126
4126
|
# def initialize(duration:, duration_unit:, **) = super
|
4127
4127
|
|
4128
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4128
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4129
4129
|
|
4130
4130
|
# The unit of billing period duration.
|
4131
4131
|
#
|
4132
4132
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice::BillingCycleConfiguration#duration_unit
|
4133
4133
|
module DurationUnit
|
4134
|
-
extend Orb::Enum
|
4134
|
+
extend Orb::Internal::Type::Enum
|
4135
4135
|
|
4136
4136
|
DAY = :day
|
4137
4137
|
MONTH = :month
|
@@ -4145,7 +4145,7 @@ module Orb
|
|
4145
4145
|
end
|
4146
4146
|
|
4147
4147
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice#invoicing_cycle_configuration
|
4148
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
4148
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4149
4149
|
# @!attribute duration
|
4150
4150
|
# The duration of the billing period.
|
4151
4151
|
#
|
@@ -4168,13 +4168,13 @@ module Orb
|
|
4168
4168
|
# #
|
4169
4169
|
# def initialize(duration:, duration_unit:, **) = super
|
4170
4170
|
|
4171
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4171
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4172
4172
|
|
4173
4173
|
# The unit of billing period duration.
|
4174
4174
|
#
|
4175
4175
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanUnitWithProrationPrice::InvoicingCycleConfiguration#duration_unit
|
4176
4176
|
module DurationUnit
|
4177
|
-
extend Orb::Enum
|
4177
|
+
extend Orb::Internal::Type::Enum
|
4178
4178
|
|
4179
4179
|
DAY = :day
|
4180
4180
|
MONTH = :month
|
@@ -4188,7 +4188,7 @@ module Orb
|
|
4188
4188
|
end
|
4189
4189
|
end
|
4190
4190
|
|
4191
|
-
class NewPlanGroupedAllocationPrice < Orb::BaseModel
|
4191
|
+
class NewPlanGroupedAllocationPrice < Orb::Internal::Type::BaseModel
|
4192
4192
|
# @!attribute cadence
|
4193
4193
|
# The cadence to bill for this price on.
|
4194
4194
|
#
|
@@ -4199,7 +4199,7 @@ module Orb
|
|
4199
4199
|
# @!attribute grouped_allocation_config
|
4200
4200
|
#
|
4201
4201
|
# @return [Hash{Symbol=>Object}]
|
4202
|
-
required :grouped_allocation_config, Orb::HashOf[Orb::Unknown]
|
4202
|
+
required :grouped_allocation_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
4203
4203
|
|
4204
4204
|
# @!attribute item_id
|
4205
4205
|
# The id of the item the price will be associated with.
|
@@ -4230,7 +4230,7 @@ module Orb
|
|
4230
4230
|
# this is true, and in-arrears if this is false.
|
4231
4231
|
#
|
4232
4232
|
# @return [Boolean, nil]
|
4233
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
4233
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
4234
4234
|
|
4235
4235
|
# @!attribute billing_cycle_configuration
|
4236
4236
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4288,7 +4288,7 @@ module Orb
|
|
4288
4288
|
# by setting `metadata` to `null`.
|
4289
4289
|
#
|
4290
4290
|
# @return [Hash{Symbol=>String, nil}, nil]
|
4291
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
4291
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
4292
4292
|
|
4293
4293
|
# @!parse
|
4294
4294
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice::Cadence]
|
@@ -4328,13 +4328,13 @@ module Orb
|
|
4328
4328
|
# super
|
4329
4329
|
# end
|
4330
4330
|
|
4331
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4331
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4332
4332
|
|
4333
4333
|
# The cadence to bill for this price on.
|
4334
4334
|
#
|
4335
4335
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice#cadence
|
4336
4336
|
module Cadence
|
4337
|
-
extend Orb::Enum
|
4337
|
+
extend Orb::Internal::Type::Enum
|
4338
4338
|
|
4339
4339
|
ANNUAL = :annual
|
4340
4340
|
SEMI_ANNUAL = :semi_annual
|
@@ -4351,7 +4351,7 @@ module Orb
|
|
4351
4351
|
end
|
4352
4352
|
|
4353
4353
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice#billing_cycle_configuration
|
4354
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
4354
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4355
4355
|
# @!attribute duration
|
4356
4356
|
# The duration of the billing period.
|
4357
4357
|
#
|
@@ -4374,13 +4374,13 @@ module Orb
|
|
4374
4374
|
# #
|
4375
4375
|
# def initialize(duration:, duration_unit:, **) = super
|
4376
4376
|
|
4377
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4377
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4378
4378
|
|
4379
4379
|
# The unit of billing period duration.
|
4380
4380
|
#
|
4381
4381
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice::BillingCycleConfiguration#duration_unit
|
4382
4382
|
module DurationUnit
|
4383
|
-
extend Orb::Enum
|
4383
|
+
extend Orb::Internal::Type::Enum
|
4384
4384
|
|
4385
4385
|
DAY = :day
|
4386
4386
|
MONTH = :month
|
@@ -4394,7 +4394,7 @@ module Orb
|
|
4394
4394
|
end
|
4395
4395
|
|
4396
4396
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice#invoicing_cycle_configuration
|
4397
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
4397
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4398
4398
|
# @!attribute duration
|
4399
4399
|
# The duration of the billing period.
|
4400
4400
|
#
|
@@ -4417,13 +4417,13 @@ module Orb
|
|
4417
4417
|
# #
|
4418
4418
|
# def initialize(duration:, duration_unit:, **) = super
|
4419
4419
|
|
4420
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4420
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4421
4421
|
|
4422
4422
|
# The unit of billing period duration.
|
4423
4423
|
#
|
4424
4424
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedAllocationPrice::InvoicingCycleConfiguration#duration_unit
|
4425
4425
|
module DurationUnit
|
4426
|
-
extend Orb::Enum
|
4426
|
+
extend Orb::Internal::Type::Enum
|
4427
4427
|
|
4428
4428
|
DAY = :day
|
4429
4429
|
MONTH = :month
|
@@ -4437,7 +4437,7 @@ module Orb
|
|
4437
4437
|
end
|
4438
4438
|
end
|
4439
4439
|
|
4440
|
-
class NewPlanGroupedWithProratedMinimumPrice < Orb::BaseModel
|
4440
|
+
class NewPlanGroupedWithProratedMinimumPrice < Orb::Internal::Type::BaseModel
|
4441
4441
|
# @!attribute cadence
|
4442
4442
|
# The cadence to bill for this price on.
|
4443
4443
|
#
|
@@ -4448,7 +4448,8 @@ module Orb
|
|
4448
4448
|
# @!attribute grouped_with_prorated_minimum_config
|
4449
4449
|
#
|
4450
4450
|
# @return [Hash{Symbol=>Object}]
|
4451
|
-
required :grouped_with_prorated_minimum_config,
|
4451
|
+
required :grouped_with_prorated_minimum_config,
|
4452
|
+
Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
4452
4453
|
|
4453
4454
|
# @!attribute item_id
|
4454
4455
|
# The id of the item the price will be associated with.
|
@@ -4479,7 +4480,7 @@ module Orb
|
|
4479
4480
|
# this is true, and in-arrears if this is false.
|
4480
4481
|
#
|
4481
4482
|
# @return [Boolean, nil]
|
4482
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
4483
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
4483
4484
|
|
4484
4485
|
# @!attribute billing_cycle_configuration
|
4485
4486
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4537,7 +4538,7 @@ module Orb
|
|
4537
4538
|
# by setting `metadata` to `null`.
|
4538
4539
|
#
|
4539
4540
|
# @return [Hash{Symbol=>String, nil}, nil]
|
4540
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
4541
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
4541
4542
|
|
4542
4543
|
# @!parse
|
4543
4544
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice::Cadence]
|
@@ -4577,13 +4578,13 @@ module Orb
|
|
4577
4578
|
# super
|
4578
4579
|
# end
|
4579
4580
|
|
4580
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4581
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4581
4582
|
|
4582
4583
|
# The cadence to bill for this price on.
|
4583
4584
|
#
|
4584
4585
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice#cadence
|
4585
4586
|
module Cadence
|
4586
|
-
extend Orb::Enum
|
4587
|
+
extend Orb::Internal::Type::Enum
|
4587
4588
|
|
4588
4589
|
ANNUAL = :annual
|
4589
4590
|
SEMI_ANNUAL = :semi_annual
|
@@ -4600,7 +4601,7 @@ module Orb
|
|
4600
4601
|
end
|
4601
4602
|
|
4602
4603
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice#billing_cycle_configuration
|
4603
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
4604
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4604
4605
|
# @!attribute duration
|
4605
4606
|
# The duration of the billing period.
|
4606
4607
|
#
|
@@ -4623,13 +4624,13 @@ module Orb
|
|
4623
4624
|
# #
|
4624
4625
|
# def initialize(duration:, duration_unit:, **) = super
|
4625
4626
|
|
4626
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4627
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4627
4628
|
|
4628
4629
|
# The unit of billing period duration.
|
4629
4630
|
#
|
4630
4631
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice::BillingCycleConfiguration#duration_unit
|
4631
4632
|
module DurationUnit
|
4632
|
-
extend Orb::Enum
|
4633
|
+
extend Orb::Internal::Type::Enum
|
4633
4634
|
|
4634
4635
|
DAY = :day
|
4635
4636
|
MONTH = :month
|
@@ -4643,7 +4644,7 @@ module Orb
|
|
4643
4644
|
end
|
4644
4645
|
|
4645
4646
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice#invoicing_cycle_configuration
|
4646
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
4647
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4647
4648
|
# @!attribute duration
|
4648
4649
|
# The duration of the billing period.
|
4649
4650
|
#
|
@@ -4666,13 +4667,13 @@ module Orb
|
|
4666
4667
|
# #
|
4667
4668
|
# def initialize(duration:, duration_unit:, **) = super
|
4668
4669
|
|
4669
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4670
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4670
4671
|
|
4671
4672
|
# The unit of billing period duration.
|
4672
4673
|
#
|
4673
4674
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithProratedMinimumPrice::InvoicingCycleConfiguration#duration_unit
|
4674
4675
|
module DurationUnit
|
4675
|
-
extend Orb::Enum
|
4676
|
+
extend Orb::Internal::Type::Enum
|
4676
4677
|
|
4677
4678
|
DAY = :day
|
4678
4679
|
MONTH = :month
|
@@ -4686,7 +4687,7 @@ module Orb
|
|
4686
4687
|
end
|
4687
4688
|
end
|
4688
4689
|
|
4689
|
-
class NewPlanGroupedWithMeteredMinimumPrice < Orb::BaseModel
|
4690
|
+
class NewPlanGroupedWithMeteredMinimumPrice < Orb::Internal::Type::BaseModel
|
4690
4691
|
# @!attribute cadence
|
4691
4692
|
# The cadence to bill for this price on.
|
4692
4693
|
#
|
@@ -4697,7 +4698,8 @@ module Orb
|
|
4697
4698
|
# @!attribute grouped_with_metered_minimum_config
|
4698
4699
|
#
|
4699
4700
|
# @return [Hash{Symbol=>Object}]
|
4700
|
-
required :grouped_with_metered_minimum_config,
|
4701
|
+
required :grouped_with_metered_minimum_config,
|
4702
|
+
Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
4701
4703
|
|
4702
4704
|
# @!attribute item_id
|
4703
4705
|
# The id of the item the price will be associated with.
|
@@ -4728,7 +4730,7 @@ module Orb
|
|
4728
4730
|
# this is true, and in-arrears if this is false.
|
4729
4731
|
#
|
4730
4732
|
# @return [Boolean, nil]
|
4731
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
4733
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
4732
4734
|
|
4733
4735
|
# @!attribute billing_cycle_configuration
|
4734
4736
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -4786,7 +4788,7 @@ module Orb
|
|
4786
4788
|
# by setting `metadata` to `null`.
|
4787
4789
|
#
|
4788
4790
|
# @return [Hash{Symbol=>String, nil}, nil]
|
4789
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
4791
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
4790
4792
|
|
4791
4793
|
# @!parse
|
4792
4794
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice::Cadence]
|
@@ -4826,13 +4828,13 @@ module Orb
|
|
4826
4828
|
# super
|
4827
4829
|
# end
|
4828
4830
|
|
4829
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4831
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4830
4832
|
|
4831
4833
|
# The cadence to bill for this price on.
|
4832
4834
|
#
|
4833
4835
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice#cadence
|
4834
4836
|
module Cadence
|
4835
|
-
extend Orb::Enum
|
4837
|
+
extend Orb::Internal::Type::Enum
|
4836
4838
|
|
4837
4839
|
ANNUAL = :annual
|
4838
4840
|
SEMI_ANNUAL = :semi_annual
|
@@ -4849,7 +4851,7 @@ module Orb
|
|
4849
4851
|
end
|
4850
4852
|
|
4851
4853
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice#billing_cycle_configuration
|
4852
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
4854
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4853
4855
|
# @!attribute duration
|
4854
4856
|
# The duration of the billing period.
|
4855
4857
|
#
|
@@ -4872,13 +4874,13 @@ module Orb
|
|
4872
4874
|
# #
|
4873
4875
|
# def initialize(duration:, duration_unit:, **) = super
|
4874
4876
|
|
4875
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4877
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4876
4878
|
|
4877
4879
|
# The unit of billing period duration.
|
4878
4880
|
#
|
4879
4881
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice::BillingCycleConfiguration#duration_unit
|
4880
4882
|
module DurationUnit
|
4881
|
-
extend Orb::Enum
|
4883
|
+
extend Orb::Internal::Type::Enum
|
4882
4884
|
|
4883
4885
|
DAY = :day
|
4884
4886
|
MONTH = :month
|
@@ -4892,7 +4894,7 @@ module Orb
|
|
4892
4894
|
end
|
4893
4895
|
|
4894
4896
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice#invoicing_cycle_configuration
|
4895
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
4897
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4896
4898
|
# @!attribute duration
|
4897
4899
|
# The duration of the billing period.
|
4898
4900
|
#
|
@@ -4915,13 +4917,13 @@ module Orb
|
|
4915
4917
|
# #
|
4916
4918
|
# def initialize(duration:, duration_unit:, **) = super
|
4917
4919
|
|
4918
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
4920
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
4919
4921
|
|
4920
4922
|
# The unit of billing period duration.
|
4921
4923
|
#
|
4922
4924
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedWithMeteredMinimumPrice::InvoicingCycleConfiguration#duration_unit
|
4923
4925
|
module DurationUnit
|
4924
|
-
extend Orb::Enum
|
4926
|
+
extend Orb::Internal::Type::Enum
|
4925
4927
|
|
4926
4928
|
DAY = :day
|
4927
4929
|
MONTH = :month
|
@@ -4935,7 +4937,7 @@ module Orb
|
|
4935
4937
|
end
|
4936
4938
|
end
|
4937
4939
|
|
4938
|
-
class NewPlanMatrixWithDisplayNamePrice < Orb::BaseModel
|
4940
|
+
class NewPlanMatrixWithDisplayNamePrice < Orb::Internal::Type::BaseModel
|
4939
4941
|
# @!attribute cadence
|
4940
4942
|
# The cadence to bill for this price on.
|
4941
4943
|
#
|
@@ -4952,7 +4954,7 @@ module Orb
|
|
4952
4954
|
# @!attribute matrix_with_display_name_config
|
4953
4955
|
#
|
4954
4956
|
# @return [Hash{Symbol=>Object}]
|
4955
|
-
required :matrix_with_display_name_config, Orb::HashOf[Orb::Unknown]
|
4957
|
+
required :matrix_with_display_name_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
4956
4958
|
|
4957
4959
|
# @!attribute model_type
|
4958
4960
|
#
|
@@ -4977,7 +4979,7 @@ module Orb
|
|
4977
4979
|
# this is true, and in-arrears if this is false.
|
4978
4980
|
#
|
4979
4981
|
# @return [Boolean, nil]
|
4980
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
4982
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
4981
4983
|
|
4982
4984
|
# @!attribute billing_cycle_configuration
|
4983
4985
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5035,7 +5037,7 @@ module Orb
|
|
5035
5037
|
# by setting `metadata` to `null`.
|
5036
5038
|
#
|
5037
5039
|
# @return [Hash{Symbol=>String, nil}, nil]
|
5038
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
5040
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
5039
5041
|
|
5040
5042
|
# @!parse
|
5041
5043
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice::Cadence]
|
@@ -5075,13 +5077,13 @@ module Orb
|
|
5075
5077
|
# super
|
5076
5078
|
# end
|
5077
5079
|
|
5078
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5080
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5079
5081
|
|
5080
5082
|
# The cadence to bill for this price on.
|
5081
5083
|
#
|
5082
5084
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice#cadence
|
5083
5085
|
module Cadence
|
5084
|
-
extend Orb::Enum
|
5086
|
+
extend Orb::Internal::Type::Enum
|
5085
5087
|
|
5086
5088
|
ANNUAL = :annual
|
5087
5089
|
SEMI_ANNUAL = :semi_annual
|
@@ -5098,7 +5100,7 @@ module Orb
|
|
5098
5100
|
end
|
5099
5101
|
|
5100
5102
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice#billing_cycle_configuration
|
5101
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
5103
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5102
5104
|
# @!attribute duration
|
5103
5105
|
# The duration of the billing period.
|
5104
5106
|
#
|
@@ -5121,13 +5123,13 @@ module Orb
|
|
5121
5123
|
# #
|
5122
5124
|
# def initialize(duration:, duration_unit:, **) = super
|
5123
5125
|
|
5124
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5126
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5125
5127
|
|
5126
5128
|
# The unit of billing period duration.
|
5127
5129
|
#
|
5128
5130
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice::BillingCycleConfiguration#duration_unit
|
5129
5131
|
module DurationUnit
|
5130
|
-
extend Orb::Enum
|
5132
|
+
extend Orb::Internal::Type::Enum
|
5131
5133
|
|
5132
5134
|
DAY = :day
|
5133
5135
|
MONTH = :month
|
@@ -5141,7 +5143,7 @@ module Orb
|
|
5141
5143
|
end
|
5142
5144
|
|
5143
5145
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice#invoicing_cycle_configuration
|
5144
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
5146
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5145
5147
|
# @!attribute duration
|
5146
5148
|
# The duration of the billing period.
|
5147
5149
|
#
|
@@ -5164,13 +5166,13 @@ module Orb
|
|
5164
5166
|
# #
|
5165
5167
|
# def initialize(duration:, duration_unit:, **) = super
|
5166
5168
|
|
5167
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5169
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5168
5170
|
|
5169
5171
|
# The unit of billing period duration.
|
5170
5172
|
#
|
5171
5173
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMatrixWithDisplayNamePrice::InvoicingCycleConfiguration#duration_unit
|
5172
5174
|
module DurationUnit
|
5173
|
-
extend Orb::Enum
|
5175
|
+
extend Orb::Internal::Type::Enum
|
5174
5176
|
|
5175
5177
|
DAY = :day
|
5176
5178
|
MONTH = :month
|
@@ -5184,11 +5186,11 @@ module Orb
|
|
5184
5186
|
end
|
5185
5187
|
end
|
5186
5188
|
|
5187
|
-
class NewPlanBulkWithProrationPrice < Orb::BaseModel
|
5189
|
+
class NewPlanBulkWithProrationPrice < Orb::Internal::Type::BaseModel
|
5188
5190
|
# @!attribute bulk_with_proration_config
|
5189
5191
|
#
|
5190
5192
|
# @return [Hash{Symbol=>Object}]
|
5191
|
-
required :bulk_with_proration_config, Orb::HashOf[Orb::Unknown]
|
5193
|
+
required :bulk_with_proration_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
5192
5194
|
|
5193
5195
|
# @!attribute cadence
|
5194
5196
|
# The cadence to bill for this price on.
|
@@ -5226,7 +5228,7 @@ module Orb
|
|
5226
5228
|
# this is true, and in-arrears if this is false.
|
5227
5229
|
#
|
5228
5230
|
# @return [Boolean, nil]
|
5229
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
5231
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
5230
5232
|
|
5231
5233
|
# @!attribute billing_cycle_configuration
|
5232
5234
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5284,7 +5286,7 @@ module Orb
|
|
5284
5286
|
# by setting `metadata` to `null`.
|
5285
5287
|
#
|
5286
5288
|
# @return [Hash{Symbol=>String, nil}, nil]
|
5287
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
5289
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
5288
5290
|
|
5289
5291
|
# @!parse
|
5290
5292
|
# # @param bulk_with_proration_config [Hash{Symbol=>Object}]
|
@@ -5324,13 +5326,13 @@ module Orb
|
|
5324
5326
|
# super
|
5325
5327
|
# end
|
5326
5328
|
|
5327
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5329
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5328
5330
|
|
5329
5331
|
# The cadence to bill for this price on.
|
5330
5332
|
#
|
5331
5333
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkWithProrationPrice#cadence
|
5332
5334
|
module Cadence
|
5333
|
-
extend Orb::Enum
|
5335
|
+
extend Orb::Internal::Type::Enum
|
5334
5336
|
|
5335
5337
|
ANNUAL = :annual
|
5336
5338
|
SEMI_ANNUAL = :semi_annual
|
@@ -5347,7 +5349,7 @@ module Orb
|
|
5347
5349
|
end
|
5348
5350
|
|
5349
5351
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkWithProrationPrice#billing_cycle_configuration
|
5350
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
5352
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5351
5353
|
# @!attribute duration
|
5352
5354
|
# The duration of the billing period.
|
5353
5355
|
#
|
@@ -5370,13 +5372,13 @@ module Orb
|
|
5370
5372
|
# #
|
5371
5373
|
# def initialize(duration:, duration_unit:, **) = super
|
5372
5374
|
|
5373
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5375
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5374
5376
|
|
5375
5377
|
# The unit of billing period duration.
|
5376
5378
|
#
|
5377
5379
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkWithProrationPrice::BillingCycleConfiguration#duration_unit
|
5378
5380
|
module DurationUnit
|
5379
|
-
extend Orb::Enum
|
5381
|
+
extend Orb::Internal::Type::Enum
|
5380
5382
|
|
5381
5383
|
DAY = :day
|
5382
5384
|
MONTH = :month
|
@@ -5390,7 +5392,7 @@ module Orb
|
|
5390
5392
|
end
|
5391
5393
|
|
5392
5394
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkWithProrationPrice#invoicing_cycle_configuration
|
5393
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
5395
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5394
5396
|
# @!attribute duration
|
5395
5397
|
# The duration of the billing period.
|
5396
5398
|
#
|
@@ -5413,13 +5415,13 @@ module Orb
|
|
5413
5415
|
# #
|
5414
5416
|
# def initialize(duration:, duration_unit:, **) = super
|
5415
5417
|
|
5416
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5418
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5417
5419
|
|
5418
5420
|
# The unit of billing period duration.
|
5419
5421
|
#
|
5420
5422
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanBulkWithProrationPrice::InvoicingCycleConfiguration#duration_unit
|
5421
5423
|
module DurationUnit
|
5422
|
-
extend Orb::Enum
|
5424
|
+
extend Orb::Internal::Type::Enum
|
5423
5425
|
|
5424
5426
|
DAY = :day
|
5425
5427
|
MONTH = :month
|
@@ -5433,7 +5435,7 @@ module Orb
|
|
5433
5435
|
end
|
5434
5436
|
end
|
5435
5437
|
|
5436
|
-
class NewPlanGroupedTieredPackagePrice < Orb::BaseModel
|
5438
|
+
class NewPlanGroupedTieredPackagePrice < Orb::Internal::Type::BaseModel
|
5437
5439
|
# @!attribute cadence
|
5438
5440
|
# The cadence to bill for this price on.
|
5439
5441
|
#
|
@@ -5444,7 +5446,7 @@ module Orb
|
|
5444
5446
|
# @!attribute grouped_tiered_package_config
|
5445
5447
|
#
|
5446
5448
|
# @return [Hash{Symbol=>Object}]
|
5447
|
-
required :grouped_tiered_package_config, Orb::HashOf[Orb::Unknown]
|
5449
|
+
required :grouped_tiered_package_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
5448
5450
|
|
5449
5451
|
# @!attribute item_id
|
5450
5452
|
# The id of the item the price will be associated with.
|
@@ -5475,7 +5477,7 @@ module Orb
|
|
5475
5477
|
# this is true, and in-arrears if this is false.
|
5476
5478
|
#
|
5477
5479
|
# @return [Boolean, nil]
|
5478
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
5480
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
5479
5481
|
|
5480
5482
|
# @!attribute billing_cycle_configuration
|
5481
5483
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5533,7 +5535,7 @@ module Orb
|
|
5533
5535
|
# by setting `metadata` to `null`.
|
5534
5536
|
#
|
5535
5537
|
# @return [Hash{Symbol=>String, nil}, nil]
|
5536
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
5538
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
5537
5539
|
|
5538
5540
|
# @!parse
|
5539
5541
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice::Cadence]
|
@@ -5573,13 +5575,13 @@ module Orb
|
|
5573
5575
|
# super
|
5574
5576
|
# end
|
5575
5577
|
|
5576
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5578
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5577
5579
|
|
5578
5580
|
# The cadence to bill for this price on.
|
5579
5581
|
#
|
5580
5582
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice#cadence
|
5581
5583
|
module Cadence
|
5582
|
-
extend Orb::Enum
|
5584
|
+
extend Orb::Internal::Type::Enum
|
5583
5585
|
|
5584
5586
|
ANNUAL = :annual
|
5585
5587
|
SEMI_ANNUAL = :semi_annual
|
@@ -5596,7 +5598,7 @@ module Orb
|
|
5596
5598
|
end
|
5597
5599
|
|
5598
5600
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice#billing_cycle_configuration
|
5599
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
5601
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5600
5602
|
# @!attribute duration
|
5601
5603
|
# The duration of the billing period.
|
5602
5604
|
#
|
@@ -5619,13 +5621,13 @@ module Orb
|
|
5619
5621
|
# #
|
5620
5622
|
# def initialize(duration:, duration_unit:, **) = super
|
5621
5623
|
|
5622
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5624
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5623
5625
|
|
5624
5626
|
# The unit of billing period duration.
|
5625
5627
|
#
|
5626
5628
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice::BillingCycleConfiguration#duration_unit
|
5627
5629
|
module DurationUnit
|
5628
|
-
extend Orb::Enum
|
5630
|
+
extend Orb::Internal::Type::Enum
|
5629
5631
|
|
5630
5632
|
DAY = :day
|
5631
5633
|
MONTH = :month
|
@@ -5639,7 +5641,7 @@ module Orb
|
|
5639
5641
|
end
|
5640
5642
|
|
5641
5643
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice#invoicing_cycle_configuration
|
5642
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
5644
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5643
5645
|
# @!attribute duration
|
5644
5646
|
# The duration of the billing period.
|
5645
5647
|
#
|
@@ -5662,13 +5664,13 @@ module Orb
|
|
5662
5664
|
# #
|
5663
5665
|
# def initialize(duration:, duration_unit:, **) = super
|
5664
5666
|
|
5665
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5667
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5666
5668
|
|
5667
5669
|
# The unit of billing period duration.
|
5668
5670
|
#
|
5669
5671
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanGroupedTieredPackagePrice::InvoicingCycleConfiguration#duration_unit
|
5670
5672
|
module DurationUnit
|
5671
|
-
extend Orb::Enum
|
5673
|
+
extend Orb::Internal::Type::Enum
|
5672
5674
|
|
5673
5675
|
DAY = :day
|
5674
5676
|
MONTH = :month
|
@@ -5682,7 +5684,7 @@ module Orb
|
|
5682
5684
|
end
|
5683
5685
|
end
|
5684
5686
|
|
5685
|
-
class NewPlanMaxGroupTieredPackagePrice < Orb::BaseModel
|
5687
|
+
class NewPlanMaxGroupTieredPackagePrice < Orb::Internal::Type::BaseModel
|
5686
5688
|
# @!attribute cadence
|
5687
5689
|
# The cadence to bill for this price on.
|
5688
5690
|
#
|
@@ -5699,7 +5701,7 @@ module Orb
|
|
5699
5701
|
# @!attribute max_group_tiered_package_config
|
5700
5702
|
#
|
5701
5703
|
# @return [Hash{Symbol=>Object}]
|
5702
|
-
required :max_group_tiered_package_config, Orb::HashOf[Orb::Unknown]
|
5704
|
+
required :max_group_tiered_package_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
5703
5705
|
|
5704
5706
|
# @!attribute model_type
|
5705
5707
|
#
|
@@ -5724,7 +5726,7 @@ module Orb
|
|
5724
5726
|
# this is true, and in-arrears if this is false.
|
5725
5727
|
#
|
5726
5728
|
# @return [Boolean, nil]
|
5727
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
5729
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
5728
5730
|
|
5729
5731
|
# @!attribute billing_cycle_configuration
|
5730
5732
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -5782,7 +5784,7 @@ module Orb
|
|
5782
5784
|
# by setting `metadata` to `null`.
|
5783
5785
|
#
|
5784
5786
|
# @return [Hash{Symbol=>String, nil}, nil]
|
5785
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
5787
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
5786
5788
|
|
5787
5789
|
# @!parse
|
5788
5790
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice::Cadence]
|
@@ -5822,13 +5824,13 @@ module Orb
|
|
5822
5824
|
# super
|
5823
5825
|
# end
|
5824
5826
|
|
5825
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5827
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5826
5828
|
|
5827
5829
|
# The cadence to bill for this price on.
|
5828
5830
|
#
|
5829
5831
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice#cadence
|
5830
5832
|
module Cadence
|
5831
|
-
extend Orb::Enum
|
5833
|
+
extend Orb::Internal::Type::Enum
|
5832
5834
|
|
5833
5835
|
ANNUAL = :annual
|
5834
5836
|
SEMI_ANNUAL = :semi_annual
|
@@ -5845,7 +5847,7 @@ module Orb
|
|
5845
5847
|
end
|
5846
5848
|
|
5847
5849
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice#billing_cycle_configuration
|
5848
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
5850
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5849
5851
|
# @!attribute duration
|
5850
5852
|
# The duration of the billing period.
|
5851
5853
|
#
|
@@ -5868,13 +5870,13 @@ module Orb
|
|
5868
5870
|
# #
|
5869
5871
|
# def initialize(duration:, duration_unit:, **) = super
|
5870
5872
|
|
5871
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5873
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5872
5874
|
|
5873
5875
|
# The unit of billing period duration.
|
5874
5876
|
#
|
5875
5877
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice::BillingCycleConfiguration#duration_unit
|
5876
5878
|
module DurationUnit
|
5877
|
-
extend Orb::Enum
|
5879
|
+
extend Orb::Internal::Type::Enum
|
5878
5880
|
|
5879
5881
|
DAY = :day
|
5880
5882
|
MONTH = :month
|
@@ -5888,7 +5890,7 @@ module Orb
|
|
5888
5890
|
end
|
5889
5891
|
|
5890
5892
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice#invoicing_cycle_configuration
|
5891
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
5893
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5892
5894
|
# @!attribute duration
|
5893
5895
|
# The duration of the billing period.
|
5894
5896
|
#
|
@@ -5911,13 +5913,13 @@ module Orb
|
|
5911
5913
|
# #
|
5912
5914
|
# def initialize(duration:, duration_unit:, **) = super
|
5913
5915
|
|
5914
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
5916
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
5915
5917
|
|
5916
5918
|
# The unit of billing period duration.
|
5917
5919
|
#
|
5918
5920
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanMaxGroupTieredPackagePrice::InvoicingCycleConfiguration#duration_unit
|
5919
5921
|
module DurationUnit
|
5920
|
-
extend Orb::Enum
|
5922
|
+
extend Orb::Internal::Type::Enum
|
5921
5923
|
|
5922
5924
|
DAY = :day
|
5923
5925
|
MONTH = :month
|
@@ -5931,7 +5933,7 @@ module Orb
|
|
5931
5933
|
end
|
5932
5934
|
end
|
5933
5935
|
|
5934
|
-
class NewPlanScalableMatrixWithUnitPricingPrice < Orb::BaseModel
|
5936
|
+
class NewPlanScalableMatrixWithUnitPricingPrice < Orb::Internal::Type::BaseModel
|
5935
5937
|
# @!attribute cadence
|
5936
5938
|
# The cadence to bill for this price on.
|
5937
5939
|
#
|
@@ -5959,7 +5961,8 @@ module Orb
|
|
5959
5961
|
# @!attribute scalable_matrix_with_unit_pricing_config
|
5960
5962
|
#
|
5961
5963
|
# @return [Hash{Symbol=>Object}]
|
5962
|
-
required :scalable_matrix_with_unit_pricing_config,
|
5964
|
+
required :scalable_matrix_with_unit_pricing_config,
|
5965
|
+
Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
5963
5966
|
|
5964
5967
|
# @!attribute billable_metric_id
|
5965
5968
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -5973,7 +5976,7 @@ module Orb
|
|
5973
5976
|
# this is true, and in-arrears if this is false.
|
5974
5977
|
#
|
5975
5978
|
# @return [Boolean, nil]
|
5976
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
5979
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
5977
5980
|
|
5978
5981
|
# @!attribute billing_cycle_configuration
|
5979
5982
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -6031,7 +6034,7 @@ module Orb
|
|
6031
6034
|
# by setting `metadata` to `null`.
|
6032
6035
|
#
|
6033
6036
|
# @return [Hash{Symbol=>String, nil}, nil]
|
6034
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
6037
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
6035
6038
|
|
6036
6039
|
# @!parse
|
6037
6040
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithUnitPricingPrice::Cadence]
|
@@ -6071,13 +6074,13 @@ module Orb
|
|
6071
6074
|
# super
|
6072
6075
|
# end
|
6073
6076
|
|
6074
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6077
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6075
6078
|
|
6076
6079
|
# The cadence to bill for this price on.
|
6077
6080
|
#
|
6078
6081
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithUnitPricingPrice#cadence
|
6079
6082
|
module Cadence
|
6080
|
-
extend Orb::Enum
|
6083
|
+
extend Orb::Internal::Type::Enum
|
6081
6084
|
|
6082
6085
|
ANNUAL = :annual
|
6083
6086
|
SEMI_ANNUAL = :semi_annual
|
@@ -6094,7 +6097,7 @@ module Orb
|
|
6094
6097
|
end
|
6095
6098
|
|
6096
6099
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithUnitPricingPrice#billing_cycle_configuration
|
6097
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
6100
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6098
6101
|
# @!attribute duration
|
6099
6102
|
# The duration of the billing period.
|
6100
6103
|
#
|
@@ -6117,13 +6120,13 @@ module Orb
|
|
6117
6120
|
# #
|
6118
6121
|
# def initialize(duration:, duration_unit:, **) = super
|
6119
6122
|
|
6120
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6123
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6121
6124
|
|
6122
6125
|
# The unit of billing period duration.
|
6123
6126
|
#
|
6124
6127
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithUnitPricingPrice::BillingCycleConfiguration#duration_unit
|
6125
6128
|
module DurationUnit
|
6126
|
-
extend Orb::Enum
|
6129
|
+
extend Orb::Internal::Type::Enum
|
6127
6130
|
|
6128
6131
|
DAY = :day
|
6129
6132
|
MONTH = :month
|
@@ -6137,7 +6140,7 @@ module Orb
|
|
6137
6140
|
end
|
6138
6141
|
|
6139
6142
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithUnitPricingPrice#invoicing_cycle_configuration
|
6140
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
6143
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6141
6144
|
# @!attribute duration
|
6142
6145
|
# The duration of the billing period.
|
6143
6146
|
#
|
@@ -6160,13 +6163,13 @@ module Orb
|
|
6160
6163
|
# #
|
6161
6164
|
# def initialize(duration:, duration_unit:, **) = super
|
6162
6165
|
|
6163
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6166
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6164
6167
|
|
6165
6168
|
# The unit of billing period duration.
|
6166
6169
|
#
|
6167
6170
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithUnitPricingPrice::InvoicingCycleConfiguration#duration_unit
|
6168
6171
|
module DurationUnit
|
6169
|
-
extend Orb::Enum
|
6172
|
+
extend Orb::Internal::Type::Enum
|
6170
6173
|
|
6171
6174
|
DAY = :day
|
6172
6175
|
MONTH = :month
|
@@ -6180,7 +6183,7 @@ module Orb
|
|
6180
6183
|
end
|
6181
6184
|
end
|
6182
6185
|
|
6183
|
-
class NewPlanScalableMatrixWithTieredPricingPrice < Orb::BaseModel
|
6186
|
+
class NewPlanScalableMatrixWithTieredPricingPrice < Orb::Internal::Type::BaseModel
|
6184
6187
|
# @!attribute cadence
|
6185
6188
|
# The cadence to bill for this price on.
|
6186
6189
|
#
|
@@ -6208,7 +6211,8 @@ module Orb
|
|
6208
6211
|
# @!attribute scalable_matrix_with_tiered_pricing_config
|
6209
6212
|
#
|
6210
6213
|
# @return [Hash{Symbol=>Object}]
|
6211
|
-
required :scalable_matrix_with_tiered_pricing_config,
|
6214
|
+
required :scalable_matrix_with_tiered_pricing_config,
|
6215
|
+
Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
6212
6216
|
|
6213
6217
|
# @!attribute billable_metric_id
|
6214
6218
|
# The id of the billable metric for the price. Only needed if the price is
|
@@ -6222,7 +6226,7 @@ module Orb
|
|
6222
6226
|
# this is true, and in-arrears if this is false.
|
6223
6227
|
#
|
6224
6228
|
# @return [Boolean, nil]
|
6225
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
6229
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
6226
6230
|
|
6227
6231
|
# @!attribute billing_cycle_configuration
|
6228
6232
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -6280,7 +6284,7 @@ module Orb
|
|
6280
6284
|
# by setting `metadata` to `null`.
|
6281
6285
|
#
|
6282
6286
|
# @return [Hash{Symbol=>String, nil}, nil]
|
6283
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
6287
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
6284
6288
|
|
6285
6289
|
# @!parse
|
6286
6290
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithTieredPricingPrice::Cadence]
|
@@ -6320,13 +6324,13 @@ module Orb
|
|
6320
6324
|
# super
|
6321
6325
|
# end
|
6322
6326
|
|
6323
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6327
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6324
6328
|
|
6325
6329
|
# The cadence to bill for this price on.
|
6326
6330
|
#
|
6327
6331
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithTieredPricingPrice#cadence
|
6328
6332
|
module Cadence
|
6329
|
-
extend Orb::Enum
|
6333
|
+
extend Orb::Internal::Type::Enum
|
6330
6334
|
|
6331
6335
|
ANNUAL = :annual
|
6332
6336
|
SEMI_ANNUAL = :semi_annual
|
@@ -6343,7 +6347,7 @@ module Orb
|
|
6343
6347
|
end
|
6344
6348
|
|
6345
6349
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithTieredPricingPrice#billing_cycle_configuration
|
6346
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
6350
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6347
6351
|
# @!attribute duration
|
6348
6352
|
# The duration of the billing period.
|
6349
6353
|
#
|
@@ -6366,13 +6370,13 @@ module Orb
|
|
6366
6370
|
# #
|
6367
6371
|
# def initialize(duration:, duration_unit:, **) = super
|
6368
6372
|
|
6369
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6373
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6370
6374
|
|
6371
6375
|
# The unit of billing period duration.
|
6372
6376
|
#
|
6373
6377
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithTieredPricingPrice::BillingCycleConfiguration#duration_unit
|
6374
6378
|
module DurationUnit
|
6375
|
-
extend Orb::Enum
|
6379
|
+
extend Orb::Internal::Type::Enum
|
6376
6380
|
|
6377
6381
|
DAY = :day
|
6378
6382
|
MONTH = :month
|
@@ -6386,7 +6390,7 @@ module Orb
|
|
6386
6390
|
end
|
6387
6391
|
|
6388
6392
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithTieredPricingPrice#invoicing_cycle_configuration
|
6389
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
6393
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6390
6394
|
# @!attribute duration
|
6391
6395
|
# The duration of the billing period.
|
6392
6396
|
#
|
@@ -6409,13 +6413,13 @@ module Orb
|
|
6409
6413
|
# #
|
6410
6414
|
# def initialize(duration:, duration_unit:, **) = super
|
6411
6415
|
|
6412
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6416
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6413
6417
|
|
6414
6418
|
# The unit of billing period duration.
|
6415
6419
|
#
|
6416
6420
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanScalableMatrixWithTieredPricingPrice::InvoicingCycleConfiguration#duration_unit
|
6417
6421
|
module DurationUnit
|
6418
|
-
extend Orb::Enum
|
6422
|
+
extend Orb::Internal::Type::Enum
|
6419
6423
|
|
6420
6424
|
DAY = :day
|
6421
6425
|
MONTH = :month
|
@@ -6429,7 +6433,7 @@ module Orb
|
|
6429
6433
|
end
|
6430
6434
|
end
|
6431
6435
|
|
6432
|
-
class NewPlanCumulativeGroupedBulkPrice < Orb::BaseModel
|
6436
|
+
class NewPlanCumulativeGroupedBulkPrice < Orb::Internal::Type::BaseModel
|
6433
6437
|
# @!attribute cadence
|
6434
6438
|
# The cadence to bill for this price on.
|
6435
6439
|
#
|
@@ -6440,7 +6444,7 @@ module Orb
|
|
6440
6444
|
# @!attribute cumulative_grouped_bulk_config
|
6441
6445
|
#
|
6442
6446
|
# @return [Hash{Symbol=>Object}]
|
6443
|
-
required :cumulative_grouped_bulk_config, Orb::HashOf[Orb::Unknown]
|
6447
|
+
required :cumulative_grouped_bulk_config, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown]
|
6444
6448
|
|
6445
6449
|
# @!attribute item_id
|
6446
6450
|
# The id of the item the price will be associated with.
|
@@ -6471,7 +6475,7 @@ module Orb
|
|
6471
6475
|
# this is true, and in-arrears if this is false.
|
6472
6476
|
#
|
6473
6477
|
# @return [Boolean, nil]
|
6474
|
-
optional :billed_in_advance, Orb::BooleanModel, nil?: true
|
6478
|
+
optional :billed_in_advance, Orb::Internal::Type::BooleanModel, nil?: true
|
6475
6479
|
|
6476
6480
|
# @!attribute billing_cycle_configuration
|
6477
6481
|
# For custom cadence: specifies the duration of the billing period in days or
|
@@ -6529,7 +6533,7 @@ module Orb
|
|
6529
6533
|
# by setting `metadata` to `null`.
|
6530
6534
|
#
|
6531
6535
|
# @return [Hash{Symbol=>String, nil}, nil]
|
6532
|
-
optional :metadata, Orb::HashOf[String, nil?: true], nil?: true
|
6536
|
+
optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true
|
6533
6537
|
|
6534
6538
|
# @!parse
|
6535
6539
|
# # @param cadence [Symbol, Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice::Cadence]
|
@@ -6569,13 +6573,13 @@ module Orb
|
|
6569
6573
|
# super
|
6570
6574
|
# end
|
6571
6575
|
|
6572
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6576
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6573
6577
|
|
6574
6578
|
# The cadence to bill for this price on.
|
6575
6579
|
#
|
6576
6580
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice#cadence
|
6577
6581
|
module Cadence
|
6578
|
-
extend Orb::Enum
|
6582
|
+
extend Orb::Internal::Type::Enum
|
6579
6583
|
|
6580
6584
|
ANNUAL = :annual
|
6581
6585
|
SEMI_ANNUAL = :semi_annual
|
@@ -6592,7 +6596,7 @@ module Orb
|
|
6592
6596
|
end
|
6593
6597
|
|
6594
6598
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice#billing_cycle_configuration
|
6595
|
-
class BillingCycleConfiguration < Orb::BaseModel
|
6599
|
+
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6596
6600
|
# @!attribute duration
|
6597
6601
|
# The duration of the billing period.
|
6598
6602
|
#
|
@@ -6615,13 +6619,13 @@ module Orb
|
|
6615
6619
|
# #
|
6616
6620
|
# def initialize(duration:, duration_unit:, **) = super
|
6617
6621
|
|
6618
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6622
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6619
6623
|
|
6620
6624
|
# The unit of billing period duration.
|
6621
6625
|
#
|
6622
6626
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice::BillingCycleConfiguration#duration_unit
|
6623
6627
|
module DurationUnit
|
6624
|
-
extend Orb::Enum
|
6628
|
+
extend Orb::Internal::Type::Enum
|
6625
6629
|
|
6626
6630
|
DAY = :day
|
6627
6631
|
MONTH = :month
|
@@ -6635,7 +6639,7 @@ module Orb
|
|
6635
6639
|
end
|
6636
6640
|
|
6637
6641
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice#invoicing_cycle_configuration
|
6638
|
-
class InvoicingCycleConfiguration < Orb::BaseModel
|
6642
|
+
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6639
6643
|
# @!attribute duration
|
6640
6644
|
# The duration of the billing period.
|
6641
6645
|
#
|
@@ -6658,13 +6662,13 @@ module Orb
|
|
6658
6662
|
# #
|
6659
6663
|
# def initialize(duration:, duration_unit:, **) = super
|
6660
6664
|
|
6661
|
-
# def initialize: (Hash | Orb::BaseModel) -> void
|
6665
|
+
# def initialize: (Hash | Orb::Internal::Type::BaseModel) -> void
|
6662
6666
|
|
6663
6667
|
# The unit of billing period duration.
|
6664
6668
|
#
|
6665
6669
|
# @see Orb::Models::PlanCreateParams::Price::NewPlanCumulativeGroupedBulkPrice::InvoicingCycleConfiguration#duration_unit
|
6666
6670
|
module DurationUnit
|
6667
|
-
extend Orb::Enum
|
6671
|
+
extend Orb::Internal::Type::Enum
|
6668
6672
|
|
6669
6673
|
DAY = :day
|
6670
6674
|
MONTH = :month
|
@@ -6686,7 +6690,7 @@ module Orb
|
|
6686
6690
|
# The status of the plan to create (either active or draft). If not specified,
|
6687
6691
|
# this defaults to active.
|
6688
6692
|
module Status
|
6689
|
-
extend Orb::Enum
|
6693
|
+
extend Orb::Internal::Type::Enum
|
6690
6694
|
|
6691
6695
|
ACTIVE = :active
|
6692
6696
|
DRAFT = :draft
|