orb-billing 0.3.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +39 -0
- data/README.md +95 -55
- data/lib/orb/client.rb +4 -4
- data/lib/orb/errors.rb +1 -1
- data/lib/orb/internal/transport/base_client.rb +74 -5
- data/lib/orb/internal/transport/pooled_net_requester.rb +17 -1
- data/lib/orb/internal/type/array_of.rb +1 -1
- data/lib/orb/internal/type/base_model.rb +70 -30
- data/lib/orb/internal/type/converter.rb +18 -0
- data/lib/orb/internal/type/enum.rb +1 -0
- data/lib/orb/internal/type/hash_of.rb +1 -1
- data/lib/orb/internal/type/union.rb +1 -0
- data/lib/orb/internal/util.rb +56 -0
- data/lib/orb/internal.rb +6 -0
- data/lib/orb/models/coupon.rb +4 -0
- data/lib/orb/models/coupon_create_params.rb +6 -0
- data/lib/orb/models/customer_create_params.rb +9 -0
- data/lib/orb/models/customer_update_by_external_id_params.rb +9 -0
- data/lib/orb/models/customer_update_params.rb +9 -0
- data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +14 -0
- data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +14 -0
- data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +14 -0
- data/lib/orb/models/customers/credits/ledger_list_response.rb +14 -0
- data/lib/orb/models/discount.rb +6 -0
- data/lib/orb/models/evaluate_price_group.rb +4 -0
- data/lib/orb/models/invoice.rb +22 -0
- data/lib/orb/models/invoice_fetch_upcoming_response.rb +22 -0
- data/lib/orb/models/invoice_level_discount.rb +4 -0
- data/lib/orb/models/invoice_line_item_create_response.rb +22 -0
- data/lib/orb/models/plan.rb +12 -0
- data/lib/orb/models/plan_create_params.rb +32 -0
- data/lib/orb/models/price.rb +35 -0
- data/lib/orb/models/subscription.rb +22 -0
- data/lib/orb/models/subscription_cancel_response.rb +22 -0
- data/lib/orb/models/subscription_change_apply_response.rb +22 -0
- data/lib/orb/models/subscription_change_cancel_response.rb +22 -0
- data/lib/orb/models/subscription_change_retrieve_response.rb +22 -0
- data/lib/orb/models/subscription_create_params.rb +88 -0
- data/lib/orb/models/subscription_create_response.rb +22 -0
- data/lib/orb/models/subscription_price_intervals_params.rb +89 -0
- data/lib/orb/models/subscription_price_intervals_response.rb +22 -0
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +88 -0
- data/lib/orb/models/subscription_schedule_plan_change_response.rb +22 -0
- data/lib/orb/models/subscription_trigger_phase_response.rb +22 -0
- data/lib/orb/models/subscription_unschedule_cancellation_response.rb +22 -0
- data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +22 -0
- data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +22 -0
- data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +22 -0
- data/lib/orb/models/subscription_update_trial_params.rb +4 -0
- data/lib/orb/models/subscription_update_trial_response.rb +22 -0
- data/lib/orb/models/subscription_usage.rb +9 -0
- data/lib/orb/models.rb +24 -0
- data/lib/orb/request_options.rb +4 -0
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +2 -0
- data/rbi/orb/internal/page.rbi +2 -1
- data/rbi/orb/internal/transport/base_client.rbi +31 -8
- data/rbi/orb/internal/transport/pooled_net_requester.rbi +10 -5
- data/rbi/orb/internal/type/base_model.rbi +31 -15
- data/rbi/orb/internal/type/base_page.rbi +1 -1
- data/rbi/orb/internal/type/converter.rbi +2 -0
- data/rbi/orb/internal/type/enum.rbi +1 -0
- data/rbi/orb/internal/type/union.rbi +1 -0
- data/rbi/orb/internal/util.rbi +28 -7
- data/rbi/orb/internal.rbi +2 -0
- data/rbi/orb/models/alert.rbi +13 -6
- data/rbi/orb/models/alert_create_for_customer_params.rbi +11 -2
- data/rbi/orb/models/alert_create_for_external_customer_params.rbi +14 -2
- data/rbi/orb/models/alert_create_for_subscription_params.rbi +11 -2
- data/rbi/orb/models/alert_disable_params.rbi +2 -1
- data/rbi/orb/models/alert_enable_params.rbi +2 -1
- data/rbi/orb/models/alert_list_params.rbi +2 -1
- data/rbi/orb/models/alert_retrieve_params.rbi +2 -1
- data/rbi/orb/models/alert_update_params.rbi +6 -2
- data/rbi/orb/models/amount_discount.rbi +2 -1
- data/rbi/orb/models/billable_metric.rbi +2 -1
- data/rbi/orb/models/coupon.rbi +1 -1
- data/rbi/orb/models/coupon_archive_params.rbi +2 -1
- data/rbi/orb/models/coupon_create_params.rbi +16 -3
- data/rbi/orb/models/coupon_fetch_params.rbi +2 -1
- data/rbi/orb/models/coupon_list_params.rbi +2 -1
- data/rbi/orb/models/coupons/subscription_list_params.rbi +4 -1
- data/rbi/orb/models/credit_note.rbi +45 -9
- data/rbi/orb/models/credit_note_create_params.rbi +8 -2
- data/rbi/orb/models/credit_note_fetch_params.rbi +4 -1
- data/rbi/orb/models/credit_note_list_params.rbi +4 -1
- data/rbi/orb/models/customer.rbi +41 -10
- data/rbi/orb/models/customer_create_params.rbi +61 -10
- data/rbi/orb/models/customer_delete_params.rbi +4 -1
- data/rbi/orb/models/customer_fetch_by_external_id_params.rbi +4 -1
- data/rbi/orb/models/customer_fetch_params.rbi +2 -1
- data/rbi/orb/models/customer_list_params.rbi +2 -1
- data/rbi/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rbi +7 -1
- data/rbi/orb/models/customer_sync_payment_methods_from_gateway_params.rbi +7 -1
- data/rbi/orb/models/customer_update_by_external_id_params.rbi +67 -10
- data/rbi/orb/models/customer_update_params.rbi +61 -10
- data/rbi/orb/models/customers/balance_transaction_create_params.rbi +7 -1
- data/rbi/orb/models/customers/balance_transaction_create_response.rbi +21 -3
- data/rbi/orb/models/customers/balance_transaction_list_params.rbi +7 -1
- data/rbi/orb/models/customers/balance_transaction_list_response.rbi +21 -3
- data/rbi/orb/models/customers/cost_list_by_external_id_params.rbi +7 -1
- data/rbi/orb/models/customers/cost_list_by_external_id_response.rbi +21 -3
- data/rbi/orb/models/customers/cost_list_params.rbi +4 -1
- data/rbi/orb/models/customers/cost_list_response.rbi +21 -3
- data/rbi/orb/models/customers/credit_list_by_external_id_params.rbi +7 -1
- data/rbi/orb/models/customers/credit_list_by_external_id_response.rbi +7 -1
- data/rbi/orb/models/customers/credit_list_params.rbi +4 -1
- data/rbi/orb/models/customers/credit_list_response.rbi +7 -1
- data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbi +14 -2
- data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +133 -21
- data/rbi/orb/models/customers/credits/ledger_create_entry_params.rbi +14 -2
- data/rbi/orb/models/customers/credits/ledger_create_entry_response.rbi +133 -21
- data/rbi/orb/models/customers/credits/ledger_list_by_external_id_params.rbi +7 -1
- data/rbi/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +133 -21
- data/rbi/orb/models/customers/credits/ledger_list_params.rbi +7 -1
- data/rbi/orb/models/customers/credits/ledger_list_response.rbi +133 -21
- data/rbi/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +14 -2
- data/rbi/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +14 -2
- data/rbi/orb/models/customers/credits/top_up_create_params.rbi +14 -2
- data/rbi/orb/models/customers/credits/top_up_create_response.rbi +14 -2
- data/rbi/orb/models/customers/credits/top_up_delete_by_external_id_params.rbi +7 -1
- data/rbi/orb/models/customers/credits/top_up_delete_params.rbi +7 -1
- data/rbi/orb/models/customers/credits/top_up_list_by_external_id_params.rbi +7 -1
- data/rbi/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +14 -2
- data/rbi/orb/models/customers/credits/top_up_list_params.rbi +7 -1
- data/rbi/orb/models/customers/credits/top_up_list_response.rbi +14 -2
- data/rbi/orb/models/dimensional_price_group.rbi +4 -1
- data/rbi/orb/models/dimensional_price_group_create_params.rbi +4 -1
- data/rbi/orb/models/dimensional_price_group_list_params.rbi +4 -1
- data/rbi/orb/models/dimensional_price_group_retrieve_params.rbi +7 -1
- data/rbi/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rbi +7 -1
- data/rbi/orb/models/dimensional_price_groups.rbi +4 -1
- data/rbi/orb/models/evaluate_price_group.rbi +2 -1
- data/rbi/orb/models/event_deprecate_params.rbi +4 -1
- data/rbi/orb/models/event_deprecate_response.rbi +4 -1
- data/rbi/orb/models/event_ingest_params.rbi +6 -2
- data/rbi/orb/models/event_ingest_response.rbi +18 -3
- data/rbi/orb/models/event_search_params.rbi +2 -1
- data/rbi/orb/models/event_search_response.rbi +11 -2
- data/rbi/orb/models/event_update_params.rbi +2 -1
- data/rbi/orb/models/event_update_response.rbi +4 -1
- data/rbi/orb/models/events/backfill_close_params.rbi +4 -1
- data/rbi/orb/models/events/backfill_close_response.rbi +7 -1
- data/rbi/orb/models/events/backfill_create_params.rbi +4 -1
- data/rbi/orb/models/events/backfill_create_response.rbi +7 -1
- data/rbi/orb/models/events/backfill_fetch_params.rbi +4 -1
- data/rbi/orb/models/events/backfill_fetch_response.rbi +7 -1
- data/rbi/orb/models/events/backfill_list_params.rbi +4 -1
- data/rbi/orb/models/events/backfill_list_response.rbi +7 -1
- data/rbi/orb/models/events/backfill_revert_params.rbi +4 -1
- data/rbi/orb/models/events/backfill_revert_response.rbi +7 -1
- data/rbi/orb/models/events/event_volumes.rbi +8 -2
- data/rbi/orb/models/events/volume_list_params.rbi +4 -1
- data/rbi/orb/models/invoice.rbi +156 -31
- data/rbi/orb/models/invoice_create_params.rbi +13 -3
- data/rbi/orb/models/invoice_fetch_params.rbi +2 -1
- data/rbi/orb/models/invoice_fetch_upcoming_params.rbi +4 -1
- data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +212 -31
- data/rbi/orb/models/invoice_issue_params.rbi +2 -1
- data/rbi/orb/models/invoice_line_item_create_params.rbi +4 -1
- data/rbi/orb/models/invoice_line_item_create_response.rbi +119 -17
- data/rbi/orb/models/invoice_list_params.rbi +2 -1
- data/rbi/orb/models/invoice_mark_paid_params.rbi +4 -1
- data/rbi/orb/models/invoice_pay_params.rbi +2 -1
- data/rbi/orb/models/invoice_update_params.rbi +2 -1
- data/rbi/orb/models/invoice_void_params.rbi +2 -1
- data/rbi/orb/models/item.rbi +5 -2
- data/rbi/orb/models/item_create_params.rbi +2 -1
- data/rbi/orb/models/item_fetch_params.rbi +2 -1
- data/rbi/orb/models/item_list_params.rbi +2 -1
- data/rbi/orb/models/item_update_params.rbi +9 -2
- data/rbi/orb/models/metric_create_params.rbi +2 -1
- data/rbi/orb/models/metric_fetch_params.rbi +2 -1
- data/rbi/orb/models/metric_list_params.rbi +2 -1
- data/rbi/orb/models/metric_update_params.rbi +2 -1
- data/rbi/orb/models/pagination_metadata.rbi +2 -1
- data/rbi/orb/models/percentage_discount.rbi +2 -1
- data/rbi/orb/models/plan.rbi +50 -14
- data/rbi/orb/models/plan_create_params.rbi +604 -89
- data/rbi/orb/models/plan_fetch_params.rbi +2 -1
- data/rbi/orb/models/plan_list_params.rbi +2 -1
- data/rbi/orb/models/plan_update_params.rbi +2 -1
- data/rbi/orb/models/plans/external_plan_id_fetch_params.rbi +4 -1
- data/rbi/orb/models/plans/external_plan_id_update_params.rbi +7 -1
- data/rbi/orb/models/price.rbi +1624 -270
- data/rbi/orb/models/price_create_params.rbi +100 -18
- data/rbi/orb/models/price_evaluate_params.rbi +2 -1
- data/rbi/orb/models/price_evaluate_response.rbi +4 -1
- data/rbi/orb/models/price_fetch_params.rbi +2 -1
- data/rbi/orb/models/price_list_params.rbi +2 -1
- data/rbi/orb/models/price_update_params.rbi +2 -1
- data/rbi/orb/models/prices/external_price_id_fetch_params.rbi +7 -1
- data/rbi/orb/models/prices/external_price_id_update_params.rbi +7 -1
- data/rbi/orb/models/subscription.rbi +109 -19
- data/rbi/orb/models/subscription_cancel_params.rbi +4 -1
- data/rbi/orb/models/subscription_cancel_response.rbi +137 -20
- data/rbi/orb/models/subscription_change_apply_params.rbi +4 -1
- data/rbi/orb/models/subscription_change_apply_response.rbi +142 -21
- data/rbi/orb/models/subscription_change_cancel_params.rbi +4 -1
- data/rbi/orb/models/subscription_change_cancel_response.rbi +142 -21
- data/rbi/orb/models/subscription_change_retrieve_params.rbi +4 -1
- data/rbi/orb/models/subscription_change_retrieve_response.rbi +142 -21
- data/rbi/orb/models/subscription_create_params.rbi +1257 -198
- data/rbi/orb/models/subscription_create_response.rbi +137 -20
- data/rbi/orb/models/subscription_fetch_costs_params.rbi +4 -1
- data/rbi/orb/models/subscription_fetch_costs_response.rbi +21 -3
- data/rbi/orb/models/subscription_fetch_params.rbi +4 -1
- data/rbi/orb/models/subscription_fetch_schedule_params.rbi +4 -1
- data/rbi/orb/models/subscription_fetch_schedule_response.rbi +14 -2
- data/rbi/orb/models/subscription_fetch_usage_params.rbi +4 -1
- data/rbi/orb/models/subscription_list_params.rbi +4 -1
- data/rbi/orb/models/subscription_price_intervals_params.rbi +731 -115
- data/rbi/orb/models/subscription_price_intervals_response.rbi +140 -20
- data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +1260 -198
- data/rbi/orb/models/subscription_schedule_plan_change_response.rbi +140 -20
- data/rbi/orb/models/subscription_trigger_phase_params.rbi +4 -1
- data/rbi/orb/models/subscription_trigger_phase_response.rbi +140 -20
- data/rbi/orb/models/subscription_unschedule_cancellation_params.rbi +7 -1
- data/rbi/orb/models/subscription_unschedule_cancellation_response.rbi +140 -20
- data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbi +7 -1
- data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +140 -20
- data/rbi/orb/models/subscription_unschedule_pending_plan_changes_params.rbi +7 -1
- data/rbi/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +140 -20
- data/rbi/orb/models/subscription_update_fixed_fee_quantity_params.rbi +7 -1
- data/rbi/orb/models/subscription_update_fixed_fee_quantity_response.rbi +140 -20
- data/rbi/orb/models/subscription_update_params.rbi +4 -1
- data/rbi/orb/models/subscription_update_trial_params.rbi +4 -1
- data/rbi/orb/models/subscription_update_trial_response.rbi +140 -20
- data/rbi/orb/models/subscription_usage.rbi +63 -9
- data/rbi/orb/models/subscriptions.rbi +2 -1
- data/rbi/orb/models/top_level_ping_params.rbi +2 -1
- data/rbi/orb/models/top_level_ping_response.rbi +4 -1
- data/rbi/orb/models/trial_discount.rbi +2 -1
- data/rbi/orb/models/usage_discount.rbi +2 -1
- data/rbi/orb/request_options.rbi +1 -1
- data/sig/orb/internal/transport/base_client.rbs +16 -1
- data/sig/orb/internal/transport/pooled_net_requester.rbs +4 -0
- data/sig/orb/internal/type/base_model.rbs +11 -5
- data/sig/orb/internal/type/base_page.rbs +1 -1
- data/sig/orb/internal/type/converter.rbs +2 -0
- data/sig/orb/internal/type/enum.rbs +1 -0
- data/sig/orb/internal/type/union.rbs +1 -0
- data/sig/orb/internal/util.rbs +13 -0
- data/sig/orb/internal.rbs +2 -0
- metadata +2 -2
@@ -724,6 +724,18 @@ module Orb
|
|
724
724
|
|
725
725
|
# @!method self.variants
|
726
726
|
# @return [Array(Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::UsageDiscount, Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::AmountDiscount, Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::PercentageDiscount, Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::Minimum, Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::Maximum)]
|
727
|
+
|
728
|
+
define_sorbet_constant!(:Variants) do
|
729
|
+
T.type_alias do
|
730
|
+
T.any(
|
731
|
+
Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::UsageDiscount,
|
732
|
+
Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::AmountDiscount,
|
733
|
+
Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::PercentageDiscount,
|
734
|
+
Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::Minimum,
|
735
|
+
Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::Maximum
|
736
|
+
)
|
737
|
+
end
|
738
|
+
end
|
727
739
|
end
|
728
740
|
end
|
729
741
|
|
@@ -940,6 +952,16 @@ module Orb
|
|
940
952
|
|
941
953
|
# @!method self.variants
|
942
954
|
# @return [Array(Orb::Models::SubscriptionChangeApplyResponse::Subscription::DiscountInterval::Amount, Orb::Models::SubscriptionChangeApplyResponse::Subscription::DiscountInterval::Percentage, Orb::Models::SubscriptionChangeApplyResponse::Subscription::DiscountInterval::Usage)]
|
955
|
+
|
956
|
+
define_sorbet_constant!(:Variants) do
|
957
|
+
T.type_alias do
|
958
|
+
T.any(
|
959
|
+
Orb::Models::SubscriptionChangeApplyResponse::Subscription::DiscountInterval::Amount,
|
960
|
+
Orb::Models::SubscriptionChangeApplyResponse::Subscription::DiscountInterval::Percentage,
|
961
|
+
Orb::Models::SubscriptionChangeApplyResponse::Subscription::DiscountInterval::Usage
|
962
|
+
)
|
963
|
+
end
|
964
|
+
end
|
943
965
|
end
|
944
966
|
|
945
967
|
class FixedFeeQuantitySchedule < Orb::Internal::Type::BaseModel
|
@@ -724,6 +724,18 @@ module Orb
|
|
724
724
|
|
725
725
|
# @!method self.variants
|
726
726
|
# @return [Array(Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::UsageDiscount, Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::AmountDiscount, Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::PercentageDiscount, Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::Minimum, Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::Maximum)]
|
727
|
+
|
728
|
+
define_sorbet_constant!(:Variants) do
|
729
|
+
T.type_alias do
|
730
|
+
T.any(
|
731
|
+
Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::UsageDiscount,
|
732
|
+
Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::AmountDiscount,
|
733
|
+
Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::PercentageDiscount,
|
734
|
+
Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::Minimum,
|
735
|
+
Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::Maximum
|
736
|
+
)
|
737
|
+
end
|
738
|
+
end
|
727
739
|
end
|
728
740
|
end
|
729
741
|
|
@@ -941,6 +953,16 @@ module Orb
|
|
941
953
|
|
942
954
|
# @!method self.variants
|
943
955
|
# @return [Array(Orb::Models::SubscriptionChangeCancelResponse::Subscription::DiscountInterval::Amount, Orb::Models::SubscriptionChangeCancelResponse::Subscription::DiscountInterval::Percentage, Orb::Models::SubscriptionChangeCancelResponse::Subscription::DiscountInterval::Usage)]
|
956
|
+
|
957
|
+
define_sorbet_constant!(:Variants) do
|
958
|
+
T.type_alias do
|
959
|
+
T.any(
|
960
|
+
Orb::Models::SubscriptionChangeCancelResponse::Subscription::DiscountInterval::Amount,
|
961
|
+
Orb::Models::SubscriptionChangeCancelResponse::Subscription::DiscountInterval::Percentage,
|
962
|
+
Orb::Models::SubscriptionChangeCancelResponse::Subscription::DiscountInterval::Usage
|
963
|
+
)
|
964
|
+
end
|
965
|
+
end
|
944
966
|
end
|
945
967
|
|
946
968
|
class FixedFeeQuantitySchedule < Orb::Internal::Type::BaseModel
|
@@ -725,6 +725,18 @@ module Orb
|
|
725
725
|
|
726
726
|
# @!method self.variants
|
727
727
|
# @return [Array(Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::UsageDiscount, Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::AmountDiscount, Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::PercentageDiscount, Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::Minimum, Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::Maximum)]
|
728
|
+
|
729
|
+
define_sorbet_constant!(:Variants) do
|
730
|
+
T.type_alias do
|
731
|
+
T.any(
|
732
|
+
Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::UsageDiscount,
|
733
|
+
Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::AmountDiscount,
|
734
|
+
Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::PercentageDiscount,
|
735
|
+
Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::Minimum,
|
736
|
+
Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::Maximum
|
737
|
+
)
|
738
|
+
end
|
739
|
+
end
|
728
740
|
end
|
729
741
|
end
|
730
742
|
|
@@ -942,6 +954,16 @@ module Orb
|
|
942
954
|
|
943
955
|
# @!method self.variants
|
944
956
|
# @return [Array(Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::DiscountInterval::Amount, Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::DiscountInterval::Percentage, Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::DiscountInterval::Usage)]
|
957
|
+
|
958
|
+
define_sorbet_constant!(:Variants) do
|
959
|
+
T.type_alias do
|
960
|
+
T.any(
|
961
|
+
Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::DiscountInterval::Amount,
|
962
|
+
Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::DiscountInterval::Percentage,
|
963
|
+
Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::DiscountInterval::Usage
|
964
|
+
)
|
965
|
+
end
|
966
|
+
end
|
945
967
|
end
|
946
968
|
|
947
969
|
class FixedFeeQuantitySchedule < Orb::Internal::Type::BaseModel
|
@@ -569,6 +569,18 @@ module Orb
|
|
569
569
|
|
570
570
|
# @!method self.variants
|
571
571
|
# @return [Array(Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::PercentageDiscount, Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::UsageDiscount, Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::AmountDiscount, Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::Minimum, Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::Maximum)]
|
572
|
+
|
573
|
+
define_sorbet_constant!(:Variants) do
|
574
|
+
T.type_alias do
|
575
|
+
T.any(
|
576
|
+
Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::PercentageDiscount,
|
577
|
+
Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::UsageDiscount,
|
578
|
+
Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::AmountDiscount,
|
579
|
+
Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::Minimum,
|
580
|
+
Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::Maximum
|
581
|
+
)
|
582
|
+
end
|
583
|
+
end
|
572
584
|
end
|
573
585
|
end
|
574
586
|
|
@@ -7337,6 +7349,38 @@ module Orb
|
|
7337
7349
|
|
7338
7350
|
# @!method self.variants
|
7339
7351
|
# @return [Array(Orb::SubscriptionCreateParams::AddPrice::Price::Unit, Orb::SubscriptionCreateParams::AddPrice::Price::Package, Orb::SubscriptionCreateParams::AddPrice::Price::Matrix, Orb::SubscriptionCreateParams::AddPrice::Price::Tiered, Orb::SubscriptionCreateParams::AddPrice::Price::TieredBps, Orb::SubscriptionCreateParams::AddPrice::Price::Bps, Orb::SubscriptionCreateParams::AddPrice::Price::BulkBps, Orb::SubscriptionCreateParams::AddPrice::Price::Bulk, Orb::SubscriptionCreateParams::AddPrice::Price::ThresholdTotalAmount, Orb::SubscriptionCreateParams::AddPrice::Price::TieredPackage, Orb::SubscriptionCreateParams::AddPrice::Price::TieredWithMinimum, Orb::SubscriptionCreateParams::AddPrice::Price::UnitWithPercent, Orb::SubscriptionCreateParams::AddPrice::Price::PackageWithAllocation, Orb::SubscriptionCreateParams::AddPrice::Price::TieredWithProration, Orb::SubscriptionCreateParams::AddPrice::Price::UnitWithProration, Orb::SubscriptionCreateParams::AddPrice::Price::GroupedAllocation, Orb::SubscriptionCreateParams::AddPrice::Price::GroupedWithProratedMinimum, Orb::SubscriptionCreateParams::AddPrice::Price::BulkWithProration, Orb::SubscriptionCreateParams::AddPrice::Price::ScalableMatrixWithUnitPricing, Orb::SubscriptionCreateParams::AddPrice::Price::ScalableMatrixWithTieredPricing, Orb::SubscriptionCreateParams::AddPrice::Price::CumulativeGroupedBulk, Orb::SubscriptionCreateParams::AddPrice::Price::MaxGroupTieredPackage, Orb::SubscriptionCreateParams::AddPrice::Price::GroupedWithMeteredMinimum, Orb::SubscriptionCreateParams::AddPrice::Price::MatrixWithDisplayName, Orb::SubscriptionCreateParams::AddPrice::Price::GroupedTieredPackage)]
|
7352
|
+
|
7353
|
+
define_sorbet_constant!(:Variants) do
|
7354
|
+
T.type_alias do
|
7355
|
+
T.any(
|
7356
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Unit,
|
7357
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Package,
|
7358
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Matrix,
|
7359
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Tiered,
|
7360
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredBps,
|
7361
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Bps,
|
7362
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::BulkBps,
|
7363
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Bulk,
|
7364
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::ThresholdTotalAmount,
|
7365
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredPackage,
|
7366
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredWithMinimum,
|
7367
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::UnitWithPercent,
|
7368
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::PackageWithAllocation,
|
7369
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredWithProration,
|
7370
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::UnitWithProration,
|
7371
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedAllocation,
|
7372
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedWithProratedMinimum,
|
7373
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::BulkWithProration,
|
7374
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::ScalableMatrixWithUnitPricing,
|
7375
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::ScalableMatrixWithTieredPricing,
|
7376
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::CumulativeGroupedBulk,
|
7377
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::MaxGroupTieredPackage,
|
7378
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedWithMeteredMinimum,
|
7379
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::MatrixWithDisplayName,
|
7380
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedTieredPackage
|
7381
|
+
)
|
7382
|
+
end
|
7383
|
+
end
|
7340
7384
|
end
|
7341
7385
|
end
|
7342
7386
|
|
@@ -7658,6 +7702,18 @@ module Orb
|
|
7658
7702
|
|
7659
7703
|
# @!method self.variants
|
7660
7704
|
# @return [Array(Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::PercentageDiscount, Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::UsageDiscount, Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::AmountDiscount, Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::Minimum, Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::Maximum)]
|
7705
|
+
|
7706
|
+
define_sorbet_constant!(:Variants) do
|
7707
|
+
T.type_alias do
|
7708
|
+
T.any(
|
7709
|
+
Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::PercentageDiscount,
|
7710
|
+
Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::UsageDiscount,
|
7711
|
+
Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::AmountDiscount,
|
7712
|
+
Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::Minimum,
|
7713
|
+
Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::Maximum
|
7714
|
+
)
|
7715
|
+
end
|
7716
|
+
end
|
7661
7717
|
end
|
7662
7718
|
end
|
7663
7719
|
|
@@ -14444,6 +14500,38 @@ module Orb
|
|
14444
14500
|
|
14445
14501
|
# @!method self.variants
|
14446
14502
|
# @return [Array(Orb::SubscriptionCreateParams::ReplacePrice::Price::Unit, Orb::SubscriptionCreateParams::ReplacePrice::Price::Package, Orb::SubscriptionCreateParams::ReplacePrice::Price::Matrix, Orb::SubscriptionCreateParams::ReplacePrice::Price::Tiered, Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredBps, Orb::SubscriptionCreateParams::ReplacePrice::Price::Bps, Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkBps, Orb::SubscriptionCreateParams::ReplacePrice::Price::Bulk, Orb::SubscriptionCreateParams::ReplacePrice::Price::ThresholdTotalAmount, Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredPackage, Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredWithMinimum, Orb::SubscriptionCreateParams::ReplacePrice::Price::UnitWithPercent, Orb::SubscriptionCreateParams::ReplacePrice::Price::PackageWithAllocation, Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredWithProration, Orb::SubscriptionCreateParams::ReplacePrice::Price::UnitWithProration, Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedAllocation, Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithProratedMinimum, Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkWithProration, Orb::SubscriptionCreateParams::ReplacePrice::Price::ScalableMatrixWithUnitPricing, Orb::SubscriptionCreateParams::ReplacePrice::Price::ScalableMatrixWithTieredPricing, Orb::SubscriptionCreateParams::ReplacePrice::Price::CumulativeGroupedBulk, Orb::SubscriptionCreateParams::ReplacePrice::Price::MaxGroupTieredPackage, Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithMeteredMinimum, Orb::SubscriptionCreateParams::ReplacePrice::Price::MatrixWithDisplayName, Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedTieredPackage)]
|
14503
|
+
|
14504
|
+
define_sorbet_constant!(:Variants) do
|
14505
|
+
T.type_alias do
|
14506
|
+
T.any(
|
14507
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Unit,
|
14508
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Package,
|
14509
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Matrix,
|
14510
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Tiered,
|
14511
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredBps,
|
14512
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Bps,
|
14513
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkBps,
|
14514
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Bulk,
|
14515
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::ThresholdTotalAmount,
|
14516
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredPackage,
|
14517
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredWithMinimum,
|
14518
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::UnitWithPercent,
|
14519
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::PackageWithAllocation,
|
14520
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredWithProration,
|
14521
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::UnitWithProration,
|
14522
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedAllocation,
|
14523
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithProratedMinimum,
|
14524
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkWithProration,
|
14525
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::ScalableMatrixWithUnitPricing,
|
14526
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::ScalableMatrixWithTieredPricing,
|
14527
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::CumulativeGroupedBulk,
|
14528
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::MaxGroupTieredPackage,
|
14529
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithMeteredMinimum,
|
14530
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::MatrixWithDisplayName,
|
14531
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedTieredPackage
|
14532
|
+
)
|
14533
|
+
end
|
14534
|
+
end
|
14447
14535
|
end
|
14448
14536
|
end
|
14449
14537
|
end
|
@@ -650,6 +650,18 @@ module Orb
|
|
650
650
|
|
651
651
|
# @!method self.variants
|
652
652
|
# @return [Array(Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::UsageDiscount, Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::AmountDiscount, Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::PercentageDiscount, Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::Minimum, Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::Maximum)]
|
653
|
+
|
654
|
+
define_sorbet_constant!(:Variants) do
|
655
|
+
T.type_alias do
|
656
|
+
T.any(
|
657
|
+
Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::UsageDiscount,
|
658
|
+
Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::AmountDiscount,
|
659
|
+
Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::PercentageDiscount,
|
660
|
+
Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::Minimum,
|
661
|
+
Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::Maximum
|
662
|
+
)
|
663
|
+
end
|
664
|
+
end
|
653
665
|
end
|
654
666
|
end
|
655
667
|
|
@@ -864,6 +876,16 @@ module Orb
|
|
864
876
|
|
865
877
|
# @!method self.variants
|
866
878
|
# @return [Array(Orb::Models::SubscriptionCreateResponse::DiscountInterval::Amount, Orb::Models::SubscriptionCreateResponse::DiscountInterval::Percentage, Orb::Models::SubscriptionCreateResponse::DiscountInterval::Usage)]
|
879
|
+
|
880
|
+
define_sorbet_constant!(:Variants) do
|
881
|
+
T.type_alias do
|
882
|
+
T.any(
|
883
|
+
Orb::Models::SubscriptionCreateResponse::DiscountInterval::Amount,
|
884
|
+
Orb::Models::SubscriptionCreateResponse::DiscountInterval::Percentage,
|
885
|
+
Orb::Models::SubscriptionCreateResponse::DiscountInterval::Usage
|
886
|
+
)
|
887
|
+
end
|
888
|
+
end
|
867
889
|
end
|
868
890
|
|
869
891
|
class FixedFeeQuantitySchedule < Orb::Internal::Type::BaseModel
|
@@ -195,6 +195,10 @@ module Orb
|
|
195
195
|
|
196
196
|
# @!method self.variants
|
197
197
|
# @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
|
198
|
+
|
199
|
+
define_sorbet_constant!(:Variants) do
|
200
|
+
T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
|
201
|
+
end
|
198
202
|
end
|
199
203
|
|
200
204
|
# @see Orb::SubscriptionPriceIntervalsParams::Add#allocation_price
|
@@ -333,6 +337,16 @@ module Orb
|
|
333
337
|
|
334
338
|
# @!method self.variants
|
335
339
|
# @return [Array(Orb::SubscriptionPriceIntervalsParams::Add::Discount::Amount, Orb::SubscriptionPriceIntervalsParams::Add::Discount::Percentage, Orb::SubscriptionPriceIntervalsParams::Add::Discount::Usage)]
|
340
|
+
|
341
|
+
define_sorbet_constant!(:Variants) do
|
342
|
+
T.type_alias do
|
343
|
+
T.any(
|
344
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Discount::Amount,
|
345
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Discount::Percentage,
|
346
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Discount::Usage
|
347
|
+
)
|
348
|
+
end
|
349
|
+
end
|
336
350
|
end
|
337
351
|
|
338
352
|
# The end date of the price interval. This is the date that the price will stop
|
@@ -348,6 +362,10 @@ module Orb
|
|
348
362
|
|
349
363
|
# @!method self.variants
|
350
364
|
# @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
|
365
|
+
|
366
|
+
define_sorbet_constant!(:Variants) do
|
367
|
+
T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
|
368
|
+
end
|
351
369
|
end
|
352
370
|
|
353
371
|
class FixedFeeQuantityTransition < Orb::Internal::Type::BaseModel
|
@@ -7480,6 +7498,41 @@ module Orb
|
|
7480
7498
|
|
7481
7499
|
# @!method self.variants
|
7482
7500
|
# @return [Array(Orb::SubscriptionPriceIntervalsParams::Add::Price::Unit, Orb::SubscriptionPriceIntervalsParams::Add::Price::Package, Orb::SubscriptionPriceIntervalsParams::Add::Price::Matrix, Orb::SubscriptionPriceIntervalsParams::Add::Price::MatrixWithAllocation, Orb::SubscriptionPriceIntervalsParams::Add::Price::Tiered, Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredBps, Orb::SubscriptionPriceIntervalsParams::Add::Price::Bps, Orb::SubscriptionPriceIntervalsParams::Add::Price::BulkBps, Orb::SubscriptionPriceIntervalsParams::Add::Price::Bulk, Orb::SubscriptionPriceIntervalsParams::Add::Price::ThresholdTotalAmount, Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredPackage, Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedTiered, Orb::SubscriptionPriceIntervalsParams::Add::Price::MaxGroupTieredPackage, Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredWithMinimum, Orb::SubscriptionPriceIntervalsParams::Add::Price::PackageWithAllocation, Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredPackageWithMinimum, Orb::SubscriptionPriceIntervalsParams::Add::Price::UnitWithPercent, Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredWithProration, Orb::SubscriptionPriceIntervalsParams::Add::Price::UnitWithProration, Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedAllocation, Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedWithProratedMinimum, Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedWithMeteredMinimum, Orb::SubscriptionPriceIntervalsParams::Add::Price::MatrixWithDisplayName, Orb::SubscriptionPriceIntervalsParams::Add::Price::BulkWithProration, Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedTieredPackage, Orb::SubscriptionPriceIntervalsParams::Add::Price::ScalableMatrixWithUnitPricing, Orb::SubscriptionPriceIntervalsParams::Add::Price::ScalableMatrixWithTieredPricing, Orb::SubscriptionPriceIntervalsParams::Add::Price::CumulativeGroupedBulk)]
|
7501
|
+
|
7502
|
+
define_sorbet_constant!(:Variants) do
|
7503
|
+
T.type_alias do
|
7504
|
+
T.any(
|
7505
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::Unit,
|
7506
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::Package,
|
7507
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::Matrix,
|
7508
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::MatrixWithAllocation,
|
7509
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::Tiered,
|
7510
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredBps,
|
7511
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::Bps,
|
7512
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::BulkBps,
|
7513
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::Bulk,
|
7514
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::ThresholdTotalAmount,
|
7515
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredPackage,
|
7516
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedTiered,
|
7517
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::MaxGroupTieredPackage,
|
7518
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredWithMinimum,
|
7519
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::PackageWithAllocation,
|
7520
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredPackageWithMinimum,
|
7521
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::UnitWithPercent,
|
7522
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredWithProration,
|
7523
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::UnitWithProration,
|
7524
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedAllocation,
|
7525
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedWithProratedMinimum,
|
7526
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedWithMeteredMinimum,
|
7527
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::MatrixWithDisplayName,
|
7528
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::BulkWithProration,
|
7529
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedTieredPackage,
|
7530
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::ScalableMatrixWithUnitPricing,
|
7531
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::ScalableMatrixWithTieredPricing,
|
7532
|
+
Orb::SubscriptionPriceIntervalsParams::Add::Price::CumulativeGroupedBulk
|
7533
|
+
)
|
7534
|
+
end
|
7535
|
+
end
|
7483
7536
|
end
|
7484
7537
|
end
|
7485
7538
|
|
@@ -7741,6 +7794,18 @@ module Orb
|
|
7741
7794
|
|
7742
7795
|
# @!method self.variants
|
7743
7796
|
# @return [Array(Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::PercentageDiscount, Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::UsageDiscount, Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::AmountDiscount, Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::Minimum, Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::Maximum)]
|
7797
|
+
|
7798
|
+
define_sorbet_constant!(:Variants) do
|
7799
|
+
T.type_alias do
|
7800
|
+
T.any(
|
7801
|
+
Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::PercentageDiscount,
|
7802
|
+
Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::UsageDiscount,
|
7803
|
+
Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::AmountDiscount,
|
7804
|
+
Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::Minimum,
|
7805
|
+
Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::Maximum
|
7806
|
+
)
|
7807
|
+
end
|
7808
|
+
end
|
7744
7809
|
end
|
7745
7810
|
|
7746
7811
|
# The start date of the adjustment interval. This is the date that the adjustment
|
@@ -7758,6 +7823,10 @@ module Orb
|
|
7758
7823
|
|
7759
7824
|
# @!method self.variants
|
7760
7825
|
# @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
|
7826
|
+
|
7827
|
+
define_sorbet_constant!(:Variants) do
|
7828
|
+
T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
|
7829
|
+
end
|
7761
7830
|
end
|
7762
7831
|
|
7763
7832
|
# The end date of the adjustment interval. This is the date that the adjustment
|
@@ -7775,6 +7844,10 @@ module Orb
|
|
7775
7844
|
|
7776
7845
|
# @!method self.variants
|
7777
7846
|
# @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
|
7847
|
+
|
7848
|
+
define_sorbet_constant!(:Variants) do
|
7849
|
+
T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
|
7850
|
+
end
|
7778
7851
|
end
|
7779
7852
|
end
|
7780
7853
|
|
@@ -7870,6 +7943,10 @@ module Orb
|
|
7870
7943
|
|
7871
7944
|
# @!method self.variants
|
7872
7945
|
# @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
|
7946
|
+
|
7947
|
+
define_sorbet_constant!(:Variants) do
|
7948
|
+
T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
|
7949
|
+
end
|
7873
7950
|
end
|
7874
7951
|
|
7875
7952
|
class FixedFeeQuantityTransition < Orb::Internal::Type::BaseModel
|
@@ -7904,6 +7981,10 @@ module Orb
|
|
7904
7981
|
|
7905
7982
|
# @!method self.variants
|
7906
7983
|
# @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
|
7984
|
+
|
7985
|
+
define_sorbet_constant!(:Variants) do
|
7986
|
+
T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
|
7987
|
+
end
|
7907
7988
|
end
|
7908
7989
|
end
|
7909
7990
|
|
@@ -7953,6 +8034,10 @@ module Orb
|
|
7953
8034
|
|
7954
8035
|
# @!method self.variants
|
7955
8036
|
# @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
|
8037
|
+
|
8038
|
+
define_sorbet_constant!(:Variants) do
|
8039
|
+
T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
|
8040
|
+
end
|
7956
8041
|
end
|
7957
8042
|
|
7958
8043
|
# The updated start date of this adjustment interval. If not specified, the start
|
@@ -7968,6 +8053,10 @@ module Orb
|
|
7968
8053
|
|
7969
8054
|
# @!method self.variants
|
7970
8055
|
# @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
|
8056
|
+
|
8057
|
+
define_sorbet_constant!(:Variants) do
|
8058
|
+
T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
|
8059
|
+
end
|
7971
8060
|
end
|
7972
8061
|
end
|
7973
8062
|
end
|
@@ -656,6 +656,18 @@ module Orb
|
|
656
656
|
|
657
657
|
# @!method self.variants
|
658
658
|
# @return [Array(Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount, Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount, Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount, Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum, Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum)]
|
659
|
+
|
660
|
+
define_sorbet_constant!(:Variants) do
|
661
|
+
T.type_alias do
|
662
|
+
T.any(
|
663
|
+
Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount,
|
664
|
+
Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount,
|
665
|
+
Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount,
|
666
|
+
Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum,
|
667
|
+
Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum
|
668
|
+
)
|
669
|
+
end
|
670
|
+
end
|
659
671
|
end
|
660
672
|
end
|
661
673
|
|
@@ -870,6 +882,16 @@ module Orb
|
|
870
882
|
|
871
883
|
# @!method self.variants
|
872
884
|
# @return [Array(Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount, Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage, Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage)]
|
885
|
+
|
886
|
+
define_sorbet_constant!(:Variants) do
|
887
|
+
T.type_alias do
|
888
|
+
T.any(
|
889
|
+
Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount,
|
890
|
+
Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage,
|
891
|
+
Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage
|
892
|
+
)
|
893
|
+
end
|
894
|
+
end
|
873
895
|
end
|
874
896
|
|
875
897
|
class FixedFeeQuantitySchedule < Orb::Internal::Type::BaseModel
|
@@ -558,6 +558,18 @@ module Orb
|
|
558
558
|
|
559
559
|
# @!method self.variants
|
560
560
|
# @return [Array(Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::PercentageDiscount, Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::UsageDiscount, Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::AmountDiscount, Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::Minimum, Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::Maximum)]
|
561
|
+
|
562
|
+
define_sorbet_constant!(:Variants) do
|
563
|
+
T.type_alias do
|
564
|
+
T.any(
|
565
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::PercentageDiscount,
|
566
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::UsageDiscount,
|
567
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::AmountDiscount,
|
568
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::Minimum,
|
569
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::Maximum
|
570
|
+
)
|
571
|
+
end
|
572
|
+
end
|
561
573
|
end
|
562
574
|
end
|
563
575
|
|
@@ -7372,6 +7384,38 @@ module Orb
|
|
7372
7384
|
|
7373
7385
|
# @!method self.variants
|
7374
7386
|
# @return [Array(Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Unit, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Package, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Matrix, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Tiered, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredBps, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Bps, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkBps, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Bulk, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::ThresholdTotalAmount, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredPackage, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredWithMinimum, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::UnitWithPercent, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::PackageWithAllocation, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredWithProration, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::UnitWithProration, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedAllocation, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedWithProratedMinimum, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkWithProration, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::ScalableMatrixWithUnitPricing, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::ScalableMatrixWithTieredPricing, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::CumulativeGroupedBulk, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MaxGroupTieredPackage, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedWithMeteredMinimum, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MatrixWithDisplayName, Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedTieredPackage)]
|
7387
|
+
|
7388
|
+
define_sorbet_constant!(:Variants) do
|
7389
|
+
T.type_alias do
|
7390
|
+
T.any(
|
7391
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Unit,
|
7392
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Package,
|
7393
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Matrix,
|
7394
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Tiered,
|
7395
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredBps,
|
7396
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Bps,
|
7397
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkBps,
|
7398
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Bulk,
|
7399
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::ThresholdTotalAmount,
|
7400
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredPackage,
|
7401
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredWithMinimum,
|
7402
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::UnitWithPercent,
|
7403
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::PackageWithAllocation,
|
7404
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredWithProration,
|
7405
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::UnitWithProration,
|
7406
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedAllocation,
|
7407
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedWithProratedMinimum,
|
7408
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkWithProration,
|
7409
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::ScalableMatrixWithUnitPricing,
|
7410
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::ScalableMatrixWithTieredPricing,
|
7411
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::CumulativeGroupedBulk,
|
7412
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MaxGroupTieredPackage,
|
7413
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedWithMeteredMinimum,
|
7414
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MatrixWithDisplayName,
|
7415
|
+
Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedTieredPackage
|
7416
|
+
)
|
7417
|
+
end
|
7418
|
+
end
|
7375
7419
|
end
|
7376
7420
|
end
|
7377
7421
|
|
@@ -7708,6 +7752,18 @@ module Orb
|
|
7708
7752
|
|
7709
7753
|
# @!method self.variants
|
7710
7754
|
# @return [Array(Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::PercentageDiscount, Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::UsageDiscount, Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::AmountDiscount, Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::Minimum, Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::Maximum)]
|
7755
|
+
|
7756
|
+
define_sorbet_constant!(:Variants) do
|
7757
|
+
T.type_alias do
|
7758
|
+
T.any(
|
7759
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::PercentageDiscount,
|
7760
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::UsageDiscount,
|
7761
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::AmountDiscount,
|
7762
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::Minimum,
|
7763
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::Maximum
|
7764
|
+
)
|
7765
|
+
end
|
7766
|
+
end
|
7711
7767
|
end
|
7712
7768
|
end
|
7713
7769
|
|
@@ -14529,6 +14585,38 @@ module Orb
|
|
14529
14585
|
|
14530
14586
|
# @!method self.variants
|
14531
14587
|
# @return [Array(Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Unit, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Package, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Matrix, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Tiered, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredBps, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Bps, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkBps, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Bulk, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::ThresholdTotalAmount, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredPackage, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredWithMinimum, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::UnitWithPercent, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::PackageWithAllocation, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredWithProration, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::UnitWithProration, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedAllocation, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedWithProratedMinimum, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkWithProration, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::ScalableMatrixWithUnitPricing, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::ScalableMatrixWithTieredPricing, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::CumulativeGroupedBulk, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MaxGroupTieredPackage, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedWithMeteredMinimum, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MatrixWithDisplayName, Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedTieredPackage)]
|
14588
|
+
|
14589
|
+
define_sorbet_constant!(:Variants) do
|
14590
|
+
T.type_alias do
|
14591
|
+
T.any(
|
14592
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Unit,
|
14593
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Package,
|
14594
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Matrix,
|
14595
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Tiered,
|
14596
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredBps,
|
14597
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Bps,
|
14598
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkBps,
|
14599
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Bulk,
|
14600
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::ThresholdTotalAmount,
|
14601
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredPackage,
|
14602
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredWithMinimum,
|
14603
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::UnitWithPercent,
|
14604
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::PackageWithAllocation,
|
14605
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredWithProration,
|
14606
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::UnitWithProration,
|
14607
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedAllocation,
|
14608
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedWithProratedMinimum,
|
14609
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkWithProration,
|
14610
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::ScalableMatrixWithUnitPricing,
|
14611
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::ScalableMatrixWithTieredPricing,
|
14612
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::CumulativeGroupedBulk,
|
14613
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MaxGroupTieredPackage,
|
14614
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedWithMeteredMinimum,
|
14615
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MatrixWithDisplayName,
|
14616
|
+
Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedTieredPackage
|
14617
|
+
)
|
14618
|
+
end
|
14619
|
+
end
|
14532
14620
|
end
|
14533
14621
|
end
|
14534
14622
|
end
|
@@ -656,6 +656,18 @@ module Orb
|
|
656
656
|
|
657
657
|
# @!method self.variants
|
658
658
|
# @return [Array(Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::UsageDiscount, Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::AmountDiscount, Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::PercentageDiscount, Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::Minimum, Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::Maximum)]
|
659
|
+
|
660
|
+
define_sorbet_constant!(:Variants) do
|
661
|
+
T.type_alias do
|
662
|
+
T.any(
|
663
|
+
Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::UsageDiscount,
|
664
|
+
Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::AmountDiscount,
|
665
|
+
Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::PercentageDiscount,
|
666
|
+
Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::Minimum,
|
667
|
+
Orb::Models::SubscriptionSchedulePlanChangeResponse::AdjustmentInterval::Adjustment::Maximum
|
668
|
+
)
|
669
|
+
end
|
670
|
+
end
|
659
671
|
end
|
660
672
|
end
|
661
673
|
|
@@ -871,6 +883,16 @@ module Orb
|
|
871
883
|
|
872
884
|
# @!method self.variants
|
873
885
|
# @return [Array(Orb::Models::SubscriptionSchedulePlanChangeResponse::DiscountInterval::Amount, Orb::Models::SubscriptionSchedulePlanChangeResponse::DiscountInterval::Percentage, Orb::Models::SubscriptionSchedulePlanChangeResponse::DiscountInterval::Usage)]
|
886
|
+
|
887
|
+
define_sorbet_constant!(:Variants) do
|
888
|
+
T.type_alias do
|
889
|
+
T.any(
|
890
|
+
Orb::Models::SubscriptionSchedulePlanChangeResponse::DiscountInterval::Amount,
|
891
|
+
Orb::Models::SubscriptionSchedulePlanChangeResponse::DiscountInterval::Percentage,
|
892
|
+
Orb::Models::SubscriptionSchedulePlanChangeResponse::DiscountInterval::Usage
|
893
|
+
)
|
894
|
+
end
|
895
|
+
end
|
874
896
|
end
|
875
897
|
|
876
898
|
class FixedFeeQuantitySchedule < Orb::Internal::Type::BaseModel
|