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
@@ -6,7 +6,10 @@ module Orb
|
|
6
6
|
extend Orb::Internal::Type::RequestParameters::Converter
|
7
7
|
include Orb::Internal::Type::RequestParameters
|
8
8
|
|
9
|
-
OrHash =
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(Orb::SubscriptionCreateParams, Orb::Internal::AnyHash)
|
12
|
+
end
|
10
13
|
|
11
14
|
# Additional adjustments to be added to the subscription. (Only available for
|
12
15
|
# accounts that have migrated off of legacy subscription overrides)
|
@@ -404,7 +407,13 @@ module Orb
|
|
404
407
|
end
|
405
408
|
|
406
409
|
class AddAdjustment < Orb::Internal::Type::BaseModel
|
407
|
-
OrHash =
|
410
|
+
OrHash =
|
411
|
+
T.type_alias do
|
412
|
+
T.any(
|
413
|
+
Orb::SubscriptionCreateParams::AddAdjustment,
|
414
|
+
Orb::Internal::AnyHash
|
415
|
+
)
|
416
|
+
end
|
408
417
|
|
409
418
|
# The definition of a new adjustment to create and add to the subscription.
|
410
419
|
sig do
|
@@ -501,7 +510,13 @@ module Orb
|
|
501
510
|
end
|
502
511
|
|
503
512
|
class PercentageDiscount < Orb::Internal::Type::BaseModel
|
504
|
-
OrHash =
|
513
|
+
OrHash =
|
514
|
+
T.type_alias do
|
515
|
+
T.any(
|
516
|
+
Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::PercentageDiscount,
|
517
|
+
Orb::Internal::AnyHash
|
518
|
+
)
|
519
|
+
end
|
505
520
|
|
506
521
|
sig { returns(Symbol) }
|
507
522
|
attr_accessor :adjustment_type
|
@@ -555,7 +570,13 @@ module Orb
|
|
555
570
|
end
|
556
571
|
|
557
572
|
class UsageDiscount < Orb::Internal::Type::BaseModel
|
558
|
-
OrHash =
|
573
|
+
OrHash =
|
574
|
+
T.type_alias do
|
575
|
+
T.any(
|
576
|
+
Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::UsageDiscount,
|
577
|
+
Orb::Internal::AnyHash
|
578
|
+
)
|
579
|
+
end
|
559
580
|
|
560
581
|
sig { returns(Symbol) }
|
561
582
|
attr_accessor :adjustment_type
|
@@ -609,7 +630,13 @@ module Orb
|
|
609
630
|
end
|
610
631
|
|
611
632
|
class AmountDiscount < Orb::Internal::Type::BaseModel
|
612
|
-
OrHash =
|
633
|
+
OrHash =
|
634
|
+
T.type_alias do
|
635
|
+
T.any(
|
636
|
+
Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::AmountDiscount,
|
637
|
+
Orb::Internal::AnyHash
|
638
|
+
)
|
639
|
+
end
|
613
640
|
|
614
641
|
sig { returns(Symbol) }
|
615
642
|
attr_accessor :adjustment_type
|
@@ -663,7 +690,13 @@ module Orb
|
|
663
690
|
end
|
664
691
|
|
665
692
|
class Minimum < Orb::Internal::Type::BaseModel
|
666
|
-
OrHash =
|
693
|
+
OrHash =
|
694
|
+
T.type_alias do
|
695
|
+
T.any(
|
696
|
+
Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::Minimum,
|
697
|
+
Orb::Internal::AnyHash
|
698
|
+
)
|
699
|
+
end
|
667
700
|
|
668
701
|
sig { returns(Symbol) }
|
669
702
|
attr_accessor :adjustment_type
|
@@ -725,7 +758,13 @@ module Orb
|
|
725
758
|
end
|
726
759
|
|
727
760
|
class Maximum < Orb::Internal::Type::BaseModel
|
728
|
-
OrHash =
|
761
|
+
OrHash =
|
762
|
+
T.type_alias do
|
763
|
+
T.any(
|
764
|
+
Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::Maximum,
|
765
|
+
Orb::Internal::AnyHash
|
766
|
+
)
|
767
|
+
end
|
729
768
|
|
730
769
|
sig { returns(Symbol) }
|
731
770
|
attr_accessor :adjustment_type
|
@@ -791,7 +830,13 @@ module Orb
|
|
791
830
|
end
|
792
831
|
|
793
832
|
class AddPrice < Orb::Internal::Type::BaseModel
|
794
|
-
OrHash =
|
833
|
+
OrHash =
|
834
|
+
T.type_alias do
|
835
|
+
T.any(
|
836
|
+
Orb::SubscriptionCreateParams::AddPrice,
|
837
|
+
Orb::Internal::AnyHash
|
838
|
+
)
|
839
|
+
end
|
795
840
|
|
796
841
|
# The definition of a new allocation price to create and add to the subscription.
|
797
842
|
sig do
|
@@ -1029,7 +1074,13 @@ module Orb
|
|
1029
1074
|
end
|
1030
1075
|
|
1031
1076
|
class AllocationPrice < Orb::Internal::Type::BaseModel
|
1032
|
-
OrHash =
|
1077
|
+
OrHash =
|
1078
|
+
T.type_alias do
|
1079
|
+
T.any(
|
1080
|
+
Orb::SubscriptionCreateParams::AddPrice::AllocationPrice,
|
1081
|
+
Orb::Internal::AnyHash
|
1082
|
+
)
|
1083
|
+
end
|
1033
1084
|
|
1034
1085
|
# An amount of the currency to allocate to the customer at the specified cadence.
|
1035
1086
|
sig { returns(String) }
|
@@ -1148,7 +1199,13 @@ module Orb
|
|
1148
1199
|
end
|
1149
1200
|
|
1150
1201
|
class Discount < Orb::Internal::Type::BaseModel
|
1151
|
-
OrHash =
|
1202
|
+
OrHash =
|
1203
|
+
T.type_alias do
|
1204
|
+
T.any(
|
1205
|
+
Orb::SubscriptionCreateParams::AddPrice::Discount,
|
1206
|
+
Orb::Internal::AnyHash
|
1207
|
+
)
|
1208
|
+
end
|
1152
1209
|
|
1153
1210
|
sig do
|
1154
1211
|
returns(
|
@@ -1283,7 +1340,13 @@ module Orb
|
|
1283
1340
|
end
|
1284
1341
|
|
1285
1342
|
class Unit < Orb::Internal::Type::BaseModel
|
1286
|
-
OrHash =
|
1343
|
+
OrHash =
|
1344
|
+
T.type_alias do
|
1345
|
+
T.any(
|
1346
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Unit,
|
1347
|
+
Orb::Internal::AnyHash
|
1348
|
+
)
|
1349
|
+
end
|
1287
1350
|
|
1288
1351
|
# The cadence to bill for this price on.
|
1289
1352
|
sig do
|
@@ -1565,7 +1628,12 @@ module Orb
|
|
1565
1628
|
|
1566
1629
|
class UnitConfig < Orb::Internal::Type::BaseModel
|
1567
1630
|
OrHash =
|
1568
|
-
T.type_alias
|
1631
|
+
T.type_alias do
|
1632
|
+
T.any(
|
1633
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Unit::UnitConfig,
|
1634
|
+
Orb::Internal::AnyHash
|
1635
|
+
)
|
1636
|
+
end
|
1569
1637
|
|
1570
1638
|
# Rate per unit of usage
|
1571
1639
|
sig { returns(String) }
|
@@ -1585,7 +1653,12 @@ module Orb
|
|
1585
1653
|
|
1586
1654
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1587
1655
|
OrHash =
|
1588
|
-
T.type_alias
|
1656
|
+
T.type_alias do
|
1657
|
+
T.any(
|
1658
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Unit::BillingCycleConfiguration,
|
1659
|
+
Orb::Internal::AnyHash
|
1660
|
+
)
|
1661
|
+
end
|
1589
1662
|
|
1590
1663
|
# The duration of the billing period.
|
1591
1664
|
sig { returns(Integer) }
|
@@ -1666,7 +1739,12 @@ module Orb
|
|
1666
1739
|
|
1667
1740
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
1668
1741
|
OrHash =
|
1669
|
-
T.type_alias
|
1742
|
+
T.type_alias do
|
1743
|
+
T.any(
|
1744
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Unit::InvoicingCycleConfiguration,
|
1745
|
+
Orb::Internal::AnyHash
|
1746
|
+
)
|
1747
|
+
end
|
1670
1748
|
|
1671
1749
|
# The duration of the billing period.
|
1672
1750
|
sig { returns(Integer) }
|
@@ -1747,7 +1825,13 @@ module Orb
|
|
1747
1825
|
end
|
1748
1826
|
|
1749
1827
|
class Package < Orb::Internal::Type::BaseModel
|
1750
|
-
OrHash =
|
1828
|
+
OrHash =
|
1829
|
+
T.type_alias do
|
1830
|
+
T.any(
|
1831
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Package,
|
1832
|
+
Orb::Internal::AnyHash
|
1833
|
+
)
|
1834
|
+
end
|
1751
1835
|
|
1752
1836
|
# The cadence to bill for this price on.
|
1753
1837
|
sig do
|
@@ -2029,7 +2113,12 @@ module Orb
|
|
2029
2113
|
|
2030
2114
|
class PackageConfig < Orb::Internal::Type::BaseModel
|
2031
2115
|
OrHash =
|
2032
|
-
T.type_alias
|
2116
|
+
T.type_alias do
|
2117
|
+
T.any(
|
2118
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Package::PackageConfig,
|
2119
|
+
Orb::Internal::AnyHash
|
2120
|
+
)
|
2121
|
+
end
|
2033
2122
|
|
2034
2123
|
# A currency amount to rate usage by
|
2035
2124
|
sig { returns(String) }
|
@@ -2065,7 +2154,12 @@ module Orb
|
|
2065
2154
|
|
2066
2155
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2067
2156
|
OrHash =
|
2068
|
-
T.type_alias
|
2157
|
+
T.type_alias do
|
2158
|
+
T.any(
|
2159
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Package::BillingCycleConfiguration,
|
2160
|
+
Orb::Internal::AnyHash
|
2161
|
+
)
|
2162
|
+
end
|
2069
2163
|
|
2070
2164
|
# The duration of the billing period.
|
2071
2165
|
sig { returns(Integer) }
|
@@ -2146,7 +2240,12 @@ module Orb
|
|
2146
2240
|
|
2147
2241
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2148
2242
|
OrHash =
|
2149
|
-
T.type_alias
|
2243
|
+
T.type_alias do
|
2244
|
+
T.any(
|
2245
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Package::InvoicingCycleConfiguration,
|
2246
|
+
Orb::Internal::AnyHash
|
2247
|
+
)
|
2248
|
+
end
|
2150
2249
|
|
2151
2250
|
# The duration of the billing period.
|
2152
2251
|
sig { returns(Integer) }
|
@@ -2227,7 +2326,13 @@ module Orb
|
|
2227
2326
|
end
|
2228
2327
|
|
2229
2328
|
class Matrix < Orb::Internal::Type::BaseModel
|
2230
|
-
OrHash =
|
2329
|
+
OrHash =
|
2330
|
+
T.type_alias do
|
2331
|
+
T.any(
|
2332
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Matrix,
|
2333
|
+
Orb::Internal::AnyHash
|
2334
|
+
)
|
2335
|
+
end
|
2231
2336
|
|
2232
2337
|
# The cadence to bill for this price on.
|
2233
2338
|
sig do
|
@@ -2509,7 +2614,12 @@ module Orb
|
|
2509
2614
|
|
2510
2615
|
class MatrixConfig < Orb::Internal::Type::BaseModel
|
2511
2616
|
OrHash =
|
2512
|
-
T.type_alias
|
2617
|
+
T.type_alias do
|
2618
|
+
T.any(
|
2619
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Matrix::MatrixConfig,
|
2620
|
+
Orb::Internal::AnyHash
|
2621
|
+
)
|
2622
|
+
end
|
2513
2623
|
|
2514
2624
|
# Default per unit rate for any usage not bucketed into a specified matrix_value
|
2515
2625
|
sig { returns(String) }
|
@@ -2566,7 +2676,12 @@ module Orb
|
|
2566
2676
|
|
2567
2677
|
class MatrixValue < Orb::Internal::Type::BaseModel
|
2568
2678
|
OrHash =
|
2569
|
-
T.type_alias
|
2679
|
+
T.type_alias do
|
2680
|
+
T.any(
|
2681
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Matrix::MatrixConfig::MatrixValue,
|
2682
|
+
Orb::Internal::AnyHash
|
2683
|
+
)
|
2684
|
+
end
|
2570
2685
|
|
2571
2686
|
# One or two matrix keys to filter usage to this Matrix value by. For example,
|
2572
2687
|
# ["region", "tier"] could be used to filter cloud usage by a cloud region and an
|
@@ -2609,7 +2724,12 @@ module Orb
|
|
2609
2724
|
|
2610
2725
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2611
2726
|
OrHash =
|
2612
|
-
T.type_alias
|
2727
|
+
T.type_alias do
|
2728
|
+
T.any(
|
2729
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Matrix::BillingCycleConfiguration,
|
2730
|
+
Orb::Internal::AnyHash
|
2731
|
+
)
|
2732
|
+
end
|
2613
2733
|
|
2614
2734
|
# The duration of the billing period.
|
2615
2735
|
sig { returns(Integer) }
|
@@ -2690,7 +2810,12 @@ module Orb
|
|
2690
2810
|
|
2691
2811
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
2692
2812
|
OrHash =
|
2693
|
-
T.type_alias
|
2813
|
+
T.type_alias do
|
2814
|
+
T.any(
|
2815
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Matrix::InvoicingCycleConfiguration,
|
2816
|
+
Orb::Internal::AnyHash
|
2817
|
+
)
|
2818
|
+
end
|
2694
2819
|
|
2695
2820
|
# The duration of the billing period.
|
2696
2821
|
sig { returns(Integer) }
|
@@ -2771,7 +2896,13 @@ module Orb
|
|
2771
2896
|
end
|
2772
2897
|
|
2773
2898
|
class Tiered < Orb::Internal::Type::BaseModel
|
2774
|
-
OrHash =
|
2899
|
+
OrHash =
|
2900
|
+
T.type_alias do
|
2901
|
+
T.any(
|
2902
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Tiered,
|
2903
|
+
Orb::Internal::AnyHash
|
2904
|
+
)
|
2905
|
+
end
|
2775
2906
|
|
2776
2907
|
# The cadence to bill for this price on.
|
2777
2908
|
sig do
|
@@ -3053,7 +3184,12 @@ module Orb
|
|
3053
3184
|
|
3054
3185
|
class TieredConfig < Orb::Internal::Type::BaseModel
|
3055
3186
|
OrHash =
|
3056
|
-
T.type_alias
|
3187
|
+
T.type_alias do
|
3188
|
+
T.any(
|
3189
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Tiered::TieredConfig,
|
3190
|
+
Orb::Internal::AnyHash
|
3191
|
+
)
|
3192
|
+
end
|
3057
3193
|
|
3058
3194
|
# Tiers for rating based on total usage quantities into the specified tier
|
3059
3195
|
sig do
|
@@ -3094,7 +3230,12 @@ module Orb
|
|
3094
3230
|
|
3095
3231
|
class Tier < Orb::Internal::Type::BaseModel
|
3096
3232
|
OrHash =
|
3097
|
-
T.type_alias
|
3233
|
+
T.type_alias do
|
3234
|
+
T.any(
|
3235
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Tiered::TieredConfig::Tier,
|
3236
|
+
Orb::Internal::AnyHash
|
3237
|
+
)
|
3238
|
+
end
|
3098
3239
|
|
3099
3240
|
# Exclusive tier starting value
|
3100
3241
|
sig { returns(Float) }
|
@@ -3141,7 +3282,12 @@ module Orb
|
|
3141
3282
|
|
3142
3283
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3143
3284
|
OrHash =
|
3144
|
-
T.type_alias
|
3285
|
+
T.type_alias do
|
3286
|
+
T.any(
|
3287
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Tiered::BillingCycleConfiguration,
|
3288
|
+
Orb::Internal::AnyHash
|
3289
|
+
)
|
3290
|
+
end
|
3145
3291
|
|
3146
3292
|
# The duration of the billing period.
|
3147
3293
|
sig { returns(Integer) }
|
@@ -3222,7 +3368,12 @@ module Orb
|
|
3222
3368
|
|
3223
3369
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3224
3370
|
OrHash =
|
3225
|
-
T.type_alias
|
3371
|
+
T.type_alias do
|
3372
|
+
T.any(
|
3373
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Tiered::InvoicingCycleConfiguration,
|
3374
|
+
Orb::Internal::AnyHash
|
3375
|
+
)
|
3376
|
+
end
|
3226
3377
|
|
3227
3378
|
# The duration of the billing period.
|
3228
3379
|
sig { returns(Integer) }
|
@@ -3303,7 +3454,13 @@ module Orb
|
|
3303
3454
|
end
|
3304
3455
|
|
3305
3456
|
class TieredBps < Orb::Internal::Type::BaseModel
|
3306
|
-
OrHash =
|
3457
|
+
OrHash =
|
3458
|
+
T.type_alias do
|
3459
|
+
T.any(
|
3460
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredBps,
|
3461
|
+
Orb::Internal::AnyHash
|
3462
|
+
)
|
3463
|
+
end
|
3307
3464
|
|
3308
3465
|
# The cadence to bill for this price on.
|
3309
3466
|
sig do
|
@@ -3585,7 +3742,12 @@ module Orb
|
|
3585
3742
|
|
3586
3743
|
class TieredBpsConfig < Orb::Internal::Type::BaseModel
|
3587
3744
|
OrHash =
|
3588
|
-
T.type_alias
|
3745
|
+
T.type_alias do
|
3746
|
+
T.any(
|
3747
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredBps::TieredBpsConfig,
|
3748
|
+
Orb::Internal::AnyHash
|
3749
|
+
)
|
3750
|
+
end
|
3589
3751
|
|
3590
3752
|
# Tiers for a Graduated BPS pricing model, where usage is bucketed into specified
|
3591
3753
|
# tiers
|
@@ -3628,7 +3790,12 @@ module Orb
|
|
3628
3790
|
|
3629
3791
|
class Tier < Orb::Internal::Type::BaseModel
|
3630
3792
|
OrHash =
|
3631
|
-
T.type_alias
|
3793
|
+
T.type_alias do
|
3794
|
+
T.any(
|
3795
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredBps::TieredBpsConfig::Tier,
|
3796
|
+
Orb::Internal::AnyHash
|
3797
|
+
)
|
3798
|
+
end
|
3632
3799
|
|
3633
3800
|
# Per-event basis point rate
|
3634
3801
|
sig { returns(Float) }
|
@@ -3683,7 +3850,12 @@ module Orb
|
|
3683
3850
|
|
3684
3851
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3685
3852
|
OrHash =
|
3686
|
-
T.type_alias
|
3853
|
+
T.type_alias do
|
3854
|
+
T.any(
|
3855
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredBps::BillingCycleConfiguration,
|
3856
|
+
Orb::Internal::AnyHash
|
3857
|
+
)
|
3858
|
+
end
|
3687
3859
|
|
3688
3860
|
# The duration of the billing period.
|
3689
3861
|
sig { returns(Integer) }
|
@@ -3764,7 +3936,12 @@ module Orb
|
|
3764
3936
|
|
3765
3937
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
3766
3938
|
OrHash =
|
3767
|
-
T.type_alias
|
3939
|
+
T.type_alias do
|
3940
|
+
T.any(
|
3941
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredBps::InvoicingCycleConfiguration,
|
3942
|
+
Orb::Internal::AnyHash
|
3943
|
+
)
|
3944
|
+
end
|
3768
3945
|
|
3769
3946
|
# The duration of the billing period.
|
3770
3947
|
sig { returns(Integer) }
|
@@ -3845,7 +4022,13 @@ module Orb
|
|
3845
4022
|
end
|
3846
4023
|
|
3847
4024
|
class Bps < Orb::Internal::Type::BaseModel
|
3848
|
-
OrHash =
|
4025
|
+
OrHash =
|
4026
|
+
T.type_alias do
|
4027
|
+
T.any(
|
4028
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Bps,
|
4029
|
+
Orb::Internal::AnyHash
|
4030
|
+
)
|
4031
|
+
end
|
3849
4032
|
|
3850
4033
|
sig do
|
3851
4034
|
returns(
|
@@ -4072,7 +4255,12 @@ module Orb
|
|
4072
4255
|
|
4073
4256
|
class BpsConfig < Orb::Internal::Type::BaseModel
|
4074
4257
|
OrHash =
|
4075
|
-
T.type_alias
|
4258
|
+
T.type_alias do
|
4259
|
+
T.any(
|
4260
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Bps::BpsConfig,
|
4261
|
+
Orb::Internal::AnyHash
|
4262
|
+
)
|
4263
|
+
end
|
4076
4264
|
|
4077
4265
|
# Basis point take rate per event
|
4078
4266
|
sig { returns(Float) }
|
@@ -4161,7 +4349,12 @@ module Orb
|
|
4161
4349
|
|
4162
4350
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4163
4351
|
OrHash =
|
4164
|
-
T.type_alias
|
4352
|
+
T.type_alias do
|
4353
|
+
T.any(
|
4354
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Bps::BillingCycleConfiguration,
|
4355
|
+
Orb::Internal::AnyHash
|
4356
|
+
)
|
4357
|
+
end
|
4165
4358
|
|
4166
4359
|
# The duration of the billing period.
|
4167
4360
|
sig { returns(Integer) }
|
@@ -4242,7 +4435,12 @@ module Orb
|
|
4242
4435
|
|
4243
4436
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4244
4437
|
OrHash =
|
4245
|
-
T.type_alias
|
4438
|
+
T.type_alias do
|
4439
|
+
T.any(
|
4440
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Bps::InvoicingCycleConfiguration,
|
4441
|
+
Orb::Internal::AnyHash
|
4442
|
+
)
|
4443
|
+
end
|
4246
4444
|
|
4247
4445
|
# The duration of the billing period.
|
4248
4446
|
sig { returns(Integer) }
|
@@ -4323,7 +4521,13 @@ module Orb
|
|
4323
4521
|
end
|
4324
4522
|
|
4325
4523
|
class BulkBps < Orb::Internal::Type::BaseModel
|
4326
|
-
OrHash =
|
4524
|
+
OrHash =
|
4525
|
+
T.type_alias do
|
4526
|
+
T.any(
|
4527
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::BulkBps,
|
4528
|
+
Orb::Internal::AnyHash
|
4529
|
+
)
|
4530
|
+
end
|
4327
4531
|
|
4328
4532
|
sig do
|
4329
4533
|
returns(
|
@@ -4550,7 +4754,12 @@ module Orb
|
|
4550
4754
|
|
4551
4755
|
class BulkBpsConfig < Orb::Internal::Type::BaseModel
|
4552
4756
|
OrHash =
|
4553
|
-
T.type_alias
|
4757
|
+
T.type_alias do
|
4758
|
+
T.any(
|
4759
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::BulkBps::BulkBpsConfig,
|
4760
|
+
Orb::Internal::AnyHash
|
4761
|
+
)
|
4762
|
+
end
|
4554
4763
|
|
4555
4764
|
# Tiers for a bulk BPS pricing model where all usage is aggregated to a single
|
4556
4765
|
# tier based on total volume
|
@@ -4593,7 +4802,12 @@ module Orb
|
|
4593
4802
|
|
4594
4803
|
class Tier < Orb::Internal::Type::BaseModel
|
4595
4804
|
OrHash =
|
4596
|
-
T.type_alias
|
4805
|
+
T.type_alias do
|
4806
|
+
T.any(
|
4807
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::BulkBps::BulkBpsConfig::Tier,
|
4808
|
+
Orb::Internal::AnyHash
|
4809
|
+
)
|
4810
|
+
end
|
4597
4811
|
|
4598
4812
|
# Basis points to rate on
|
4599
4813
|
sig { returns(Float) }
|
@@ -4695,7 +4909,12 @@ module Orb
|
|
4695
4909
|
|
4696
4910
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4697
4911
|
OrHash =
|
4698
|
-
T.type_alias
|
4912
|
+
T.type_alias do
|
4913
|
+
T.any(
|
4914
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::BulkBps::BillingCycleConfiguration,
|
4915
|
+
Orb::Internal::AnyHash
|
4916
|
+
)
|
4917
|
+
end
|
4699
4918
|
|
4700
4919
|
# The duration of the billing period.
|
4701
4920
|
sig { returns(Integer) }
|
@@ -4776,7 +4995,12 @@ module Orb
|
|
4776
4995
|
|
4777
4996
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
4778
4997
|
OrHash =
|
4779
|
-
T.type_alias
|
4998
|
+
T.type_alias do
|
4999
|
+
T.any(
|
5000
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::BulkBps::InvoicingCycleConfiguration,
|
5001
|
+
Orb::Internal::AnyHash
|
5002
|
+
)
|
5003
|
+
end
|
4780
5004
|
|
4781
5005
|
# The duration of the billing period.
|
4782
5006
|
sig { returns(Integer) }
|
@@ -4857,7 +5081,13 @@ module Orb
|
|
4857
5081
|
end
|
4858
5082
|
|
4859
5083
|
class Bulk < Orb::Internal::Type::BaseModel
|
4860
|
-
OrHash =
|
5084
|
+
OrHash =
|
5085
|
+
T.type_alias do
|
5086
|
+
T.any(
|
5087
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Bulk,
|
5088
|
+
Orb::Internal::AnyHash
|
5089
|
+
)
|
5090
|
+
end
|
4861
5091
|
|
4862
5092
|
sig do
|
4863
5093
|
returns(
|
@@ -5084,7 +5314,12 @@ module Orb
|
|
5084
5314
|
|
5085
5315
|
class BulkConfig < Orb::Internal::Type::BaseModel
|
5086
5316
|
OrHash =
|
5087
|
-
T.type_alias
|
5317
|
+
T.type_alias do
|
5318
|
+
T.any(
|
5319
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Bulk::BulkConfig,
|
5320
|
+
Orb::Internal::AnyHash
|
5321
|
+
)
|
5322
|
+
end
|
5088
5323
|
|
5089
5324
|
# Bulk tiers for rating based on total usage volume
|
5090
5325
|
sig do
|
@@ -5125,7 +5360,12 @@ module Orb
|
|
5125
5360
|
|
5126
5361
|
class Tier < Orb::Internal::Type::BaseModel
|
5127
5362
|
OrHash =
|
5128
|
-
T.type_alias
|
5363
|
+
T.type_alias do
|
5364
|
+
T.any(
|
5365
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Bulk::BulkConfig::Tier,
|
5366
|
+
Orb::Internal::AnyHash
|
5367
|
+
)
|
5368
|
+
end
|
5129
5369
|
|
5130
5370
|
# Amount per unit
|
5131
5371
|
sig { returns(String) }
|
@@ -5216,7 +5456,12 @@ module Orb
|
|
5216
5456
|
|
5217
5457
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5218
5458
|
OrHash =
|
5219
|
-
T.type_alias
|
5459
|
+
T.type_alias do
|
5460
|
+
T.any(
|
5461
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Bulk::BillingCycleConfiguration,
|
5462
|
+
Orb::Internal::AnyHash
|
5463
|
+
)
|
5464
|
+
end
|
5220
5465
|
|
5221
5466
|
# The duration of the billing period.
|
5222
5467
|
sig { returns(Integer) }
|
@@ -5297,7 +5542,12 @@ module Orb
|
|
5297
5542
|
|
5298
5543
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5299
5544
|
OrHash =
|
5300
|
-
T.type_alias
|
5545
|
+
T.type_alias do
|
5546
|
+
T.any(
|
5547
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::Bulk::InvoicingCycleConfiguration,
|
5548
|
+
Orb::Internal::AnyHash
|
5549
|
+
)
|
5550
|
+
end
|
5301
5551
|
|
5302
5552
|
# The duration of the billing period.
|
5303
5553
|
sig { returns(Integer) }
|
@@ -5378,7 +5628,13 @@ module Orb
|
|
5378
5628
|
end
|
5379
5629
|
|
5380
5630
|
class ThresholdTotalAmount < Orb::Internal::Type::BaseModel
|
5381
|
-
OrHash =
|
5631
|
+
OrHash =
|
5632
|
+
T.type_alias do
|
5633
|
+
T.any(
|
5634
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::ThresholdTotalAmount,
|
5635
|
+
Orb::Internal::AnyHash
|
5636
|
+
)
|
5637
|
+
end
|
5382
5638
|
|
5383
5639
|
# The cadence to bill for this price on.
|
5384
5640
|
sig do
|
@@ -5646,7 +5902,12 @@ module Orb
|
|
5646
5902
|
|
5647
5903
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5648
5904
|
OrHash =
|
5649
|
-
T.type_alias
|
5905
|
+
T.type_alias do
|
5906
|
+
T.any(
|
5907
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::ThresholdTotalAmount::BillingCycleConfiguration,
|
5908
|
+
Orb::Internal::AnyHash
|
5909
|
+
)
|
5910
|
+
end
|
5650
5911
|
|
5651
5912
|
# The duration of the billing period.
|
5652
5913
|
sig { returns(Integer) }
|
@@ -5727,7 +5988,12 @@ module Orb
|
|
5727
5988
|
|
5728
5989
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
5729
5990
|
OrHash =
|
5730
|
-
T.type_alias
|
5991
|
+
T.type_alias do
|
5992
|
+
T.any(
|
5993
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::ThresholdTotalAmount::InvoicingCycleConfiguration,
|
5994
|
+
Orb::Internal::AnyHash
|
5995
|
+
)
|
5996
|
+
end
|
5731
5997
|
|
5732
5998
|
# The duration of the billing period.
|
5733
5999
|
sig { returns(Integer) }
|
@@ -5808,7 +6074,13 @@ module Orb
|
|
5808
6074
|
end
|
5809
6075
|
|
5810
6076
|
class TieredPackage < Orb::Internal::Type::BaseModel
|
5811
|
-
OrHash =
|
6077
|
+
OrHash =
|
6078
|
+
T.type_alias do
|
6079
|
+
T.any(
|
6080
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredPackage,
|
6081
|
+
Orb::Internal::AnyHash
|
6082
|
+
)
|
6083
|
+
end
|
5812
6084
|
|
5813
6085
|
# The cadence to bill for this price on.
|
5814
6086
|
sig do
|
@@ -6076,7 +6348,12 @@ module Orb
|
|
6076
6348
|
|
6077
6349
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6078
6350
|
OrHash =
|
6079
|
-
T.type_alias
|
6351
|
+
T.type_alias do
|
6352
|
+
T.any(
|
6353
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredPackage::BillingCycleConfiguration,
|
6354
|
+
Orb::Internal::AnyHash
|
6355
|
+
)
|
6356
|
+
end
|
6080
6357
|
|
6081
6358
|
# The duration of the billing period.
|
6082
6359
|
sig { returns(Integer) }
|
@@ -6157,7 +6434,12 @@ module Orb
|
|
6157
6434
|
|
6158
6435
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6159
6436
|
OrHash =
|
6160
|
-
T.type_alias
|
6437
|
+
T.type_alias do
|
6438
|
+
T.any(
|
6439
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredPackage::InvoicingCycleConfiguration,
|
6440
|
+
Orb::Internal::AnyHash
|
6441
|
+
)
|
6442
|
+
end
|
6161
6443
|
|
6162
6444
|
# The duration of the billing period.
|
6163
6445
|
sig { returns(Integer) }
|
@@ -6238,7 +6520,13 @@ module Orb
|
|
6238
6520
|
end
|
6239
6521
|
|
6240
6522
|
class TieredWithMinimum < Orb::Internal::Type::BaseModel
|
6241
|
-
OrHash =
|
6523
|
+
OrHash =
|
6524
|
+
T.type_alias do
|
6525
|
+
T.any(
|
6526
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredWithMinimum,
|
6527
|
+
Orb::Internal::AnyHash
|
6528
|
+
)
|
6529
|
+
end
|
6242
6530
|
|
6243
6531
|
# The cadence to bill for this price on.
|
6244
6532
|
sig do
|
@@ -6506,7 +6794,12 @@ module Orb
|
|
6506
6794
|
|
6507
6795
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6508
6796
|
OrHash =
|
6509
|
-
T.type_alias
|
6797
|
+
T.type_alias do
|
6798
|
+
T.any(
|
6799
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredWithMinimum::BillingCycleConfiguration,
|
6800
|
+
Orb::Internal::AnyHash
|
6801
|
+
)
|
6802
|
+
end
|
6510
6803
|
|
6511
6804
|
# The duration of the billing period.
|
6512
6805
|
sig { returns(Integer) }
|
@@ -6587,7 +6880,12 @@ module Orb
|
|
6587
6880
|
|
6588
6881
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6589
6882
|
OrHash =
|
6590
|
-
T.type_alias
|
6883
|
+
T.type_alias do
|
6884
|
+
T.any(
|
6885
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredWithMinimum::InvoicingCycleConfiguration,
|
6886
|
+
Orb::Internal::AnyHash
|
6887
|
+
)
|
6888
|
+
end
|
6591
6889
|
|
6592
6890
|
# The duration of the billing period.
|
6593
6891
|
sig { returns(Integer) }
|
@@ -6668,7 +6966,13 @@ module Orb
|
|
6668
6966
|
end
|
6669
6967
|
|
6670
6968
|
class UnitWithPercent < Orb::Internal::Type::BaseModel
|
6671
|
-
OrHash =
|
6969
|
+
OrHash =
|
6970
|
+
T.type_alias do
|
6971
|
+
T.any(
|
6972
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::UnitWithPercent,
|
6973
|
+
Orb::Internal::AnyHash
|
6974
|
+
)
|
6975
|
+
end
|
6672
6976
|
|
6673
6977
|
# The cadence to bill for this price on.
|
6674
6978
|
sig do
|
@@ -6936,7 +7240,12 @@ module Orb
|
|
6936
7240
|
|
6937
7241
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
6938
7242
|
OrHash =
|
6939
|
-
T.type_alias
|
7243
|
+
T.type_alias do
|
7244
|
+
T.any(
|
7245
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::UnitWithPercent::BillingCycleConfiguration,
|
7246
|
+
Orb::Internal::AnyHash
|
7247
|
+
)
|
7248
|
+
end
|
6940
7249
|
|
6941
7250
|
# The duration of the billing period.
|
6942
7251
|
sig { returns(Integer) }
|
@@ -7017,7 +7326,12 @@ module Orb
|
|
7017
7326
|
|
7018
7327
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7019
7328
|
OrHash =
|
7020
|
-
T.type_alias
|
7329
|
+
T.type_alias do
|
7330
|
+
T.any(
|
7331
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::UnitWithPercent::InvoicingCycleConfiguration,
|
7332
|
+
Orb::Internal::AnyHash
|
7333
|
+
)
|
7334
|
+
end
|
7021
7335
|
|
7022
7336
|
# The duration of the billing period.
|
7023
7337
|
sig { returns(Integer) }
|
@@ -7098,7 +7412,13 @@ module Orb
|
|
7098
7412
|
end
|
7099
7413
|
|
7100
7414
|
class PackageWithAllocation < Orb::Internal::Type::BaseModel
|
7101
|
-
OrHash =
|
7415
|
+
OrHash =
|
7416
|
+
T.type_alias do
|
7417
|
+
T.any(
|
7418
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::PackageWithAllocation,
|
7419
|
+
Orb::Internal::AnyHash
|
7420
|
+
)
|
7421
|
+
end
|
7102
7422
|
|
7103
7423
|
# The cadence to bill for this price on.
|
7104
7424
|
sig do
|
@@ -7366,7 +7686,12 @@ module Orb
|
|
7366
7686
|
|
7367
7687
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7368
7688
|
OrHash =
|
7369
|
-
T.type_alias
|
7689
|
+
T.type_alias do
|
7690
|
+
T.any(
|
7691
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::PackageWithAllocation::BillingCycleConfiguration,
|
7692
|
+
Orb::Internal::AnyHash
|
7693
|
+
)
|
7694
|
+
end
|
7370
7695
|
|
7371
7696
|
# The duration of the billing period.
|
7372
7697
|
sig { returns(Integer) }
|
@@ -7447,7 +7772,12 @@ module Orb
|
|
7447
7772
|
|
7448
7773
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7449
7774
|
OrHash =
|
7450
|
-
T.type_alias
|
7775
|
+
T.type_alias do
|
7776
|
+
T.any(
|
7777
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::PackageWithAllocation::InvoicingCycleConfiguration,
|
7778
|
+
Orb::Internal::AnyHash
|
7779
|
+
)
|
7780
|
+
end
|
7451
7781
|
|
7452
7782
|
# The duration of the billing period.
|
7453
7783
|
sig { returns(Integer) }
|
@@ -7528,7 +7858,13 @@ module Orb
|
|
7528
7858
|
end
|
7529
7859
|
|
7530
7860
|
class TieredWithProration < Orb::Internal::Type::BaseModel
|
7531
|
-
OrHash =
|
7861
|
+
OrHash =
|
7862
|
+
T.type_alias do
|
7863
|
+
T.any(
|
7864
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredWithProration,
|
7865
|
+
Orb::Internal::AnyHash
|
7866
|
+
)
|
7867
|
+
end
|
7532
7868
|
|
7533
7869
|
# The cadence to bill for this price on.
|
7534
7870
|
sig do
|
@@ -7796,7 +8132,12 @@ module Orb
|
|
7796
8132
|
|
7797
8133
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7798
8134
|
OrHash =
|
7799
|
-
T.type_alias
|
8135
|
+
T.type_alias do
|
8136
|
+
T.any(
|
8137
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredWithProration::BillingCycleConfiguration,
|
8138
|
+
Orb::Internal::AnyHash
|
8139
|
+
)
|
8140
|
+
end
|
7800
8141
|
|
7801
8142
|
# The duration of the billing period.
|
7802
8143
|
sig { returns(Integer) }
|
@@ -7877,7 +8218,12 @@ module Orb
|
|
7877
8218
|
|
7878
8219
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
7879
8220
|
OrHash =
|
7880
|
-
T.type_alias
|
8221
|
+
T.type_alias do
|
8222
|
+
T.any(
|
8223
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::TieredWithProration::InvoicingCycleConfiguration,
|
8224
|
+
Orb::Internal::AnyHash
|
8225
|
+
)
|
8226
|
+
end
|
7881
8227
|
|
7882
8228
|
# The duration of the billing period.
|
7883
8229
|
sig { returns(Integer) }
|
@@ -7958,7 +8304,13 @@ module Orb
|
|
7958
8304
|
end
|
7959
8305
|
|
7960
8306
|
class UnitWithProration < Orb::Internal::Type::BaseModel
|
7961
|
-
OrHash =
|
8307
|
+
OrHash =
|
8308
|
+
T.type_alias do
|
8309
|
+
T.any(
|
8310
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::UnitWithProration,
|
8311
|
+
Orb::Internal::AnyHash
|
8312
|
+
)
|
8313
|
+
end
|
7962
8314
|
|
7963
8315
|
# The cadence to bill for this price on.
|
7964
8316
|
sig do
|
@@ -8226,7 +8578,12 @@ module Orb
|
|
8226
8578
|
|
8227
8579
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
8228
8580
|
OrHash =
|
8229
|
-
T.type_alias
|
8581
|
+
T.type_alias do
|
8582
|
+
T.any(
|
8583
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::UnitWithProration::BillingCycleConfiguration,
|
8584
|
+
Orb::Internal::AnyHash
|
8585
|
+
)
|
8586
|
+
end
|
8230
8587
|
|
8231
8588
|
# The duration of the billing period.
|
8232
8589
|
sig { returns(Integer) }
|
@@ -8307,7 +8664,12 @@ module Orb
|
|
8307
8664
|
|
8308
8665
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
8309
8666
|
OrHash =
|
8310
|
-
T.type_alias
|
8667
|
+
T.type_alias do
|
8668
|
+
T.any(
|
8669
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::UnitWithProration::InvoicingCycleConfiguration,
|
8670
|
+
Orb::Internal::AnyHash
|
8671
|
+
)
|
8672
|
+
end
|
8311
8673
|
|
8312
8674
|
# The duration of the billing period.
|
8313
8675
|
sig { returns(Integer) }
|
@@ -8388,7 +8750,13 @@ module Orb
|
|
8388
8750
|
end
|
8389
8751
|
|
8390
8752
|
class GroupedAllocation < Orb::Internal::Type::BaseModel
|
8391
|
-
OrHash =
|
8753
|
+
OrHash =
|
8754
|
+
T.type_alias do
|
8755
|
+
T.any(
|
8756
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedAllocation,
|
8757
|
+
Orb::Internal::AnyHash
|
8758
|
+
)
|
8759
|
+
end
|
8392
8760
|
|
8393
8761
|
# The cadence to bill for this price on.
|
8394
8762
|
sig do
|
@@ -8656,7 +9024,12 @@ module Orb
|
|
8656
9024
|
|
8657
9025
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
8658
9026
|
OrHash =
|
8659
|
-
T.type_alias
|
9027
|
+
T.type_alias do
|
9028
|
+
T.any(
|
9029
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedAllocation::BillingCycleConfiguration,
|
9030
|
+
Orb::Internal::AnyHash
|
9031
|
+
)
|
9032
|
+
end
|
8660
9033
|
|
8661
9034
|
# The duration of the billing period.
|
8662
9035
|
sig { returns(Integer) }
|
@@ -8737,7 +9110,12 @@ module Orb
|
|
8737
9110
|
|
8738
9111
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
8739
9112
|
OrHash =
|
8740
|
-
T.type_alias
|
9113
|
+
T.type_alias do
|
9114
|
+
T.any(
|
9115
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedAllocation::InvoicingCycleConfiguration,
|
9116
|
+
Orb::Internal::AnyHash
|
9117
|
+
)
|
9118
|
+
end
|
8741
9119
|
|
8742
9120
|
# The duration of the billing period.
|
8743
9121
|
sig { returns(Integer) }
|
@@ -8818,7 +9196,13 @@ module Orb
|
|
8818
9196
|
end
|
8819
9197
|
|
8820
9198
|
class GroupedWithProratedMinimum < Orb::Internal::Type::BaseModel
|
8821
|
-
OrHash =
|
9199
|
+
OrHash =
|
9200
|
+
T.type_alias do
|
9201
|
+
T.any(
|
9202
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedWithProratedMinimum,
|
9203
|
+
Orb::Internal::AnyHash
|
9204
|
+
)
|
9205
|
+
end
|
8822
9206
|
|
8823
9207
|
# The cadence to bill for this price on.
|
8824
9208
|
sig do
|
@@ -9088,7 +9472,12 @@ module Orb
|
|
9088
9472
|
|
9089
9473
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
9090
9474
|
OrHash =
|
9091
|
-
T.type_alias
|
9475
|
+
T.type_alias do
|
9476
|
+
T.any(
|
9477
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedWithProratedMinimum::BillingCycleConfiguration,
|
9478
|
+
Orb::Internal::AnyHash
|
9479
|
+
)
|
9480
|
+
end
|
9092
9481
|
|
9093
9482
|
# The duration of the billing period.
|
9094
9483
|
sig { returns(Integer) }
|
@@ -9169,7 +9558,12 @@ module Orb
|
|
9169
9558
|
|
9170
9559
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
9171
9560
|
OrHash =
|
9172
|
-
T.type_alias
|
9561
|
+
T.type_alias do
|
9562
|
+
T.any(
|
9563
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedWithProratedMinimum::InvoicingCycleConfiguration,
|
9564
|
+
Orb::Internal::AnyHash
|
9565
|
+
)
|
9566
|
+
end
|
9173
9567
|
|
9174
9568
|
# The duration of the billing period.
|
9175
9569
|
sig { returns(Integer) }
|
@@ -9250,7 +9644,13 @@ module Orb
|
|
9250
9644
|
end
|
9251
9645
|
|
9252
9646
|
class BulkWithProration < Orb::Internal::Type::BaseModel
|
9253
|
-
OrHash =
|
9647
|
+
OrHash =
|
9648
|
+
T.type_alias do
|
9649
|
+
T.any(
|
9650
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::BulkWithProration,
|
9651
|
+
Orb::Internal::AnyHash
|
9652
|
+
)
|
9653
|
+
end
|
9254
9654
|
|
9255
9655
|
sig { returns(T::Hash[Symbol, T.anything]) }
|
9256
9656
|
attr_accessor :bulk_with_proration_config
|
@@ -9518,7 +9918,12 @@ module Orb
|
|
9518
9918
|
|
9519
9919
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
9520
9920
|
OrHash =
|
9521
|
-
T.type_alias
|
9921
|
+
T.type_alias do
|
9922
|
+
T.any(
|
9923
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::BulkWithProration::BillingCycleConfiguration,
|
9924
|
+
Orb::Internal::AnyHash
|
9925
|
+
)
|
9926
|
+
end
|
9522
9927
|
|
9523
9928
|
# The duration of the billing period.
|
9524
9929
|
sig { returns(Integer) }
|
@@ -9599,7 +10004,12 @@ module Orb
|
|
9599
10004
|
|
9600
10005
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
9601
10006
|
OrHash =
|
9602
|
-
T.type_alias
|
10007
|
+
T.type_alias do
|
10008
|
+
T.any(
|
10009
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::BulkWithProration::InvoicingCycleConfiguration,
|
10010
|
+
Orb::Internal::AnyHash
|
10011
|
+
)
|
10012
|
+
end
|
9603
10013
|
|
9604
10014
|
# The duration of the billing period.
|
9605
10015
|
sig { returns(Integer) }
|
@@ -9680,7 +10090,13 @@ module Orb
|
|
9680
10090
|
end
|
9681
10091
|
|
9682
10092
|
class ScalableMatrixWithUnitPricing < Orb::Internal::Type::BaseModel
|
9683
|
-
OrHash =
|
10093
|
+
OrHash =
|
10094
|
+
T.type_alias do
|
10095
|
+
T.any(
|
10096
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::ScalableMatrixWithUnitPricing,
|
10097
|
+
Orb::Internal::AnyHash
|
10098
|
+
)
|
10099
|
+
end
|
9684
10100
|
|
9685
10101
|
# The cadence to bill for this price on.
|
9686
10102
|
sig do
|
@@ -9950,7 +10366,12 @@ module Orb
|
|
9950
10366
|
|
9951
10367
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
9952
10368
|
OrHash =
|
9953
|
-
T.type_alias
|
10369
|
+
T.type_alias do
|
10370
|
+
T.any(
|
10371
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::ScalableMatrixWithUnitPricing::BillingCycleConfiguration,
|
10372
|
+
Orb::Internal::AnyHash
|
10373
|
+
)
|
10374
|
+
end
|
9954
10375
|
|
9955
10376
|
# The duration of the billing period.
|
9956
10377
|
sig { returns(Integer) }
|
@@ -10031,7 +10452,12 @@ module Orb
|
|
10031
10452
|
|
10032
10453
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
10033
10454
|
OrHash =
|
10034
|
-
T.type_alias
|
10455
|
+
T.type_alias do
|
10456
|
+
T.any(
|
10457
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::ScalableMatrixWithUnitPricing::InvoicingCycleConfiguration,
|
10458
|
+
Orb::Internal::AnyHash
|
10459
|
+
)
|
10460
|
+
end
|
10035
10461
|
|
10036
10462
|
# The duration of the billing period.
|
10037
10463
|
sig { returns(Integer) }
|
@@ -10112,7 +10538,13 @@ module Orb
|
|
10112
10538
|
end
|
10113
10539
|
|
10114
10540
|
class ScalableMatrixWithTieredPricing < Orb::Internal::Type::BaseModel
|
10115
|
-
OrHash =
|
10541
|
+
OrHash =
|
10542
|
+
T.type_alias do
|
10543
|
+
T.any(
|
10544
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::ScalableMatrixWithTieredPricing,
|
10545
|
+
Orb::Internal::AnyHash
|
10546
|
+
)
|
10547
|
+
end
|
10116
10548
|
|
10117
10549
|
# The cadence to bill for this price on.
|
10118
10550
|
sig do
|
@@ -10382,7 +10814,12 @@ module Orb
|
|
10382
10814
|
|
10383
10815
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
10384
10816
|
OrHash =
|
10385
|
-
T.type_alias
|
10817
|
+
T.type_alias do
|
10818
|
+
T.any(
|
10819
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::ScalableMatrixWithTieredPricing::BillingCycleConfiguration,
|
10820
|
+
Orb::Internal::AnyHash
|
10821
|
+
)
|
10822
|
+
end
|
10386
10823
|
|
10387
10824
|
# The duration of the billing period.
|
10388
10825
|
sig { returns(Integer) }
|
@@ -10463,7 +10900,12 @@ module Orb
|
|
10463
10900
|
|
10464
10901
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
10465
10902
|
OrHash =
|
10466
|
-
T.type_alias
|
10903
|
+
T.type_alias do
|
10904
|
+
T.any(
|
10905
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::ScalableMatrixWithTieredPricing::InvoicingCycleConfiguration,
|
10906
|
+
Orb::Internal::AnyHash
|
10907
|
+
)
|
10908
|
+
end
|
10467
10909
|
|
10468
10910
|
# The duration of the billing period.
|
10469
10911
|
sig { returns(Integer) }
|
@@ -10544,7 +10986,13 @@ module Orb
|
|
10544
10986
|
end
|
10545
10987
|
|
10546
10988
|
class CumulativeGroupedBulk < Orb::Internal::Type::BaseModel
|
10547
|
-
OrHash =
|
10989
|
+
OrHash =
|
10990
|
+
T.type_alias do
|
10991
|
+
T.any(
|
10992
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::CumulativeGroupedBulk,
|
10993
|
+
Orb::Internal::AnyHash
|
10994
|
+
)
|
10995
|
+
end
|
10548
10996
|
|
10549
10997
|
# The cadence to bill for this price on.
|
10550
10998
|
sig do
|
@@ -10812,7 +11260,12 @@ module Orb
|
|
10812
11260
|
|
10813
11261
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
10814
11262
|
OrHash =
|
10815
|
-
T.type_alias
|
11263
|
+
T.type_alias do
|
11264
|
+
T.any(
|
11265
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::CumulativeGroupedBulk::BillingCycleConfiguration,
|
11266
|
+
Orb::Internal::AnyHash
|
11267
|
+
)
|
11268
|
+
end
|
10816
11269
|
|
10817
11270
|
# The duration of the billing period.
|
10818
11271
|
sig { returns(Integer) }
|
@@ -10893,7 +11346,12 @@ module Orb
|
|
10893
11346
|
|
10894
11347
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
10895
11348
|
OrHash =
|
10896
|
-
T.type_alias
|
11349
|
+
T.type_alias do
|
11350
|
+
T.any(
|
11351
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::CumulativeGroupedBulk::InvoicingCycleConfiguration,
|
11352
|
+
Orb::Internal::AnyHash
|
11353
|
+
)
|
11354
|
+
end
|
10897
11355
|
|
10898
11356
|
# The duration of the billing period.
|
10899
11357
|
sig { returns(Integer) }
|
@@ -10974,7 +11432,13 @@ module Orb
|
|
10974
11432
|
end
|
10975
11433
|
|
10976
11434
|
class MaxGroupTieredPackage < Orb::Internal::Type::BaseModel
|
10977
|
-
OrHash =
|
11435
|
+
OrHash =
|
11436
|
+
T.type_alias do
|
11437
|
+
T.any(
|
11438
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::MaxGroupTieredPackage,
|
11439
|
+
Orb::Internal::AnyHash
|
11440
|
+
)
|
11441
|
+
end
|
10978
11442
|
|
10979
11443
|
# The cadence to bill for this price on.
|
10980
11444
|
sig do
|
@@ -11242,7 +11706,12 @@ module Orb
|
|
11242
11706
|
|
11243
11707
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
11244
11708
|
OrHash =
|
11245
|
-
T.type_alias
|
11709
|
+
T.type_alias do
|
11710
|
+
T.any(
|
11711
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::MaxGroupTieredPackage::BillingCycleConfiguration,
|
11712
|
+
Orb::Internal::AnyHash
|
11713
|
+
)
|
11714
|
+
end
|
11246
11715
|
|
11247
11716
|
# The duration of the billing period.
|
11248
11717
|
sig { returns(Integer) }
|
@@ -11323,7 +11792,12 @@ module Orb
|
|
11323
11792
|
|
11324
11793
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
11325
11794
|
OrHash =
|
11326
|
-
T.type_alias
|
11795
|
+
T.type_alias do
|
11796
|
+
T.any(
|
11797
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::MaxGroupTieredPackage::InvoicingCycleConfiguration,
|
11798
|
+
Orb::Internal::AnyHash
|
11799
|
+
)
|
11800
|
+
end
|
11327
11801
|
|
11328
11802
|
# The duration of the billing period.
|
11329
11803
|
sig { returns(Integer) }
|
@@ -11404,7 +11878,13 @@ module Orb
|
|
11404
11878
|
end
|
11405
11879
|
|
11406
11880
|
class GroupedWithMeteredMinimum < Orb::Internal::Type::BaseModel
|
11407
|
-
OrHash =
|
11881
|
+
OrHash =
|
11882
|
+
T.type_alias do
|
11883
|
+
T.any(
|
11884
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedWithMeteredMinimum,
|
11885
|
+
Orb::Internal::AnyHash
|
11886
|
+
)
|
11887
|
+
end
|
11408
11888
|
|
11409
11889
|
# The cadence to bill for this price on.
|
11410
11890
|
sig do
|
@@ -11674,7 +12154,12 @@ module Orb
|
|
11674
12154
|
|
11675
12155
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
11676
12156
|
OrHash =
|
11677
|
-
T.type_alias
|
12157
|
+
T.type_alias do
|
12158
|
+
T.any(
|
12159
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedWithMeteredMinimum::BillingCycleConfiguration,
|
12160
|
+
Orb::Internal::AnyHash
|
12161
|
+
)
|
12162
|
+
end
|
11678
12163
|
|
11679
12164
|
# The duration of the billing period.
|
11680
12165
|
sig { returns(Integer) }
|
@@ -11755,7 +12240,12 @@ module Orb
|
|
11755
12240
|
|
11756
12241
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
11757
12242
|
OrHash =
|
11758
|
-
T.type_alias
|
12243
|
+
T.type_alias do
|
12244
|
+
T.any(
|
12245
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedWithMeteredMinimum::InvoicingCycleConfiguration,
|
12246
|
+
Orb::Internal::AnyHash
|
12247
|
+
)
|
12248
|
+
end
|
11759
12249
|
|
11760
12250
|
# The duration of the billing period.
|
11761
12251
|
sig { returns(Integer) }
|
@@ -11836,7 +12326,13 @@ module Orb
|
|
11836
12326
|
end
|
11837
12327
|
|
11838
12328
|
class MatrixWithDisplayName < Orb::Internal::Type::BaseModel
|
11839
|
-
OrHash =
|
12329
|
+
OrHash =
|
12330
|
+
T.type_alias do
|
12331
|
+
T.any(
|
12332
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::MatrixWithDisplayName,
|
12333
|
+
Orb::Internal::AnyHash
|
12334
|
+
)
|
12335
|
+
end
|
11840
12336
|
|
11841
12337
|
# The cadence to bill for this price on.
|
11842
12338
|
sig do
|
@@ -12104,7 +12600,12 @@ module Orb
|
|
12104
12600
|
|
12105
12601
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
12106
12602
|
OrHash =
|
12107
|
-
T.type_alias
|
12603
|
+
T.type_alias do
|
12604
|
+
T.any(
|
12605
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::MatrixWithDisplayName::BillingCycleConfiguration,
|
12606
|
+
Orb::Internal::AnyHash
|
12607
|
+
)
|
12608
|
+
end
|
12108
12609
|
|
12109
12610
|
# The duration of the billing period.
|
12110
12611
|
sig { returns(Integer) }
|
@@ -12185,7 +12686,12 @@ module Orb
|
|
12185
12686
|
|
12186
12687
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
12187
12688
|
OrHash =
|
12188
|
-
T.type_alias
|
12689
|
+
T.type_alias do
|
12690
|
+
T.any(
|
12691
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::MatrixWithDisplayName::InvoicingCycleConfiguration,
|
12692
|
+
Orb::Internal::AnyHash
|
12693
|
+
)
|
12694
|
+
end
|
12189
12695
|
|
12190
12696
|
# The duration of the billing period.
|
12191
12697
|
sig { returns(Integer) }
|
@@ -12266,7 +12772,13 @@ module Orb
|
|
12266
12772
|
end
|
12267
12773
|
|
12268
12774
|
class GroupedTieredPackage < Orb::Internal::Type::BaseModel
|
12269
|
-
OrHash =
|
12775
|
+
OrHash =
|
12776
|
+
T.type_alias do
|
12777
|
+
T.any(
|
12778
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedTieredPackage,
|
12779
|
+
Orb::Internal::AnyHash
|
12780
|
+
)
|
12781
|
+
end
|
12270
12782
|
|
12271
12783
|
# The cadence to bill for this price on.
|
12272
12784
|
sig do
|
@@ -12534,7 +13046,12 @@ module Orb
|
|
12534
13046
|
|
12535
13047
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
12536
13048
|
OrHash =
|
12537
|
-
T.type_alias
|
13049
|
+
T.type_alias do
|
13050
|
+
T.any(
|
13051
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedTieredPackage::BillingCycleConfiguration,
|
13052
|
+
Orb::Internal::AnyHash
|
13053
|
+
)
|
13054
|
+
end
|
12538
13055
|
|
12539
13056
|
# The duration of the billing period.
|
12540
13057
|
sig { returns(Integer) }
|
@@ -12615,7 +13132,12 @@ module Orb
|
|
12615
13132
|
|
12616
13133
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
12617
13134
|
OrHash =
|
12618
|
-
T.type_alias
|
13135
|
+
T.type_alias do
|
13136
|
+
T.any(
|
13137
|
+
Orb::SubscriptionCreateParams::AddPrice::Price::GroupedTieredPackage::InvoicingCycleConfiguration,
|
13138
|
+
Orb::Internal::AnyHash
|
13139
|
+
)
|
13140
|
+
end
|
12619
13141
|
|
12620
13142
|
# The duration of the billing period.
|
12621
13143
|
sig { returns(Integer) }
|
@@ -12706,7 +13228,13 @@ module Orb
|
|
12706
13228
|
end
|
12707
13229
|
|
12708
13230
|
class BillingCycleAnchorConfiguration < Orb::Internal::Type::BaseModel
|
12709
|
-
OrHash =
|
13231
|
+
OrHash =
|
13232
|
+
T.type_alias do
|
13233
|
+
T.any(
|
13234
|
+
Orb::SubscriptionCreateParams::BillingCycleAnchorConfiguration,
|
13235
|
+
Orb::Internal::AnyHash
|
13236
|
+
)
|
13237
|
+
end
|
12710
13238
|
|
12711
13239
|
# The day of the month on which the billing cycle is anchored. If the maximum
|
12712
13240
|
# number of days in a month is greater than this value, the last day of the month
|
@@ -12799,7 +13327,13 @@ module Orb
|
|
12799
13327
|
end
|
12800
13328
|
|
12801
13329
|
class RemoveAdjustment < Orb::Internal::Type::BaseModel
|
12802
|
-
OrHash =
|
13330
|
+
OrHash =
|
13331
|
+
T.type_alias do
|
13332
|
+
T.any(
|
13333
|
+
Orb::SubscriptionCreateParams::RemoveAdjustment,
|
13334
|
+
Orb::Internal::AnyHash
|
13335
|
+
)
|
13336
|
+
end
|
12803
13337
|
|
12804
13338
|
# The id of the adjustment to remove on the subscription.
|
12805
13339
|
sig { returns(String) }
|
@@ -12818,7 +13352,13 @@ module Orb
|
|
12818
13352
|
end
|
12819
13353
|
|
12820
13354
|
class RemovePrice < Orb::Internal::Type::BaseModel
|
12821
|
-
OrHash =
|
13355
|
+
OrHash =
|
13356
|
+
T.type_alias do
|
13357
|
+
T.any(
|
13358
|
+
Orb::SubscriptionCreateParams::RemovePrice,
|
13359
|
+
Orb::Internal::AnyHash
|
13360
|
+
)
|
13361
|
+
end
|
12822
13362
|
|
12823
13363
|
# The external price id of the price to remove on the subscription.
|
12824
13364
|
sig { returns(T.nilable(String)) }
|
@@ -12855,7 +13395,13 @@ module Orb
|
|
12855
13395
|
end
|
12856
13396
|
|
12857
13397
|
class ReplaceAdjustment < Orb::Internal::Type::BaseModel
|
12858
|
-
OrHash =
|
13398
|
+
OrHash =
|
13399
|
+
T.type_alias do
|
13400
|
+
T.any(
|
13401
|
+
Orb::SubscriptionCreateParams::ReplaceAdjustment,
|
13402
|
+
Orb::Internal::AnyHash
|
13403
|
+
)
|
13404
|
+
end
|
12859
13405
|
|
12860
13406
|
# The definition of a new adjustment to create and add to the subscription.
|
12861
13407
|
sig do
|
@@ -12930,7 +13476,13 @@ module Orb
|
|
12930
13476
|
end
|
12931
13477
|
|
12932
13478
|
class PercentageDiscount < Orb::Internal::Type::BaseModel
|
12933
|
-
OrHash =
|
13479
|
+
OrHash =
|
13480
|
+
T.type_alias do
|
13481
|
+
T.any(
|
13482
|
+
Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::PercentageDiscount,
|
13483
|
+
Orb::Internal::AnyHash
|
13484
|
+
)
|
13485
|
+
end
|
12934
13486
|
|
12935
13487
|
sig { returns(Symbol) }
|
12936
13488
|
attr_accessor :adjustment_type
|
@@ -12984,7 +13536,13 @@ module Orb
|
|
12984
13536
|
end
|
12985
13537
|
|
12986
13538
|
class UsageDiscount < Orb::Internal::Type::BaseModel
|
12987
|
-
OrHash =
|
13539
|
+
OrHash =
|
13540
|
+
T.type_alias do
|
13541
|
+
T.any(
|
13542
|
+
Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::UsageDiscount,
|
13543
|
+
Orb::Internal::AnyHash
|
13544
|
+
)
|
13545
|
+
end
|
12988
13546
|
|
12989
13547
|
sig { returns(Symbol) }
|
12990
13548
|
attr_accessor :adjustment_type
|
@@ -13038,7 +13596,13 @@ module Orb
|
|
13038
13596
|
end
|
13039
13597
|
|
13040
13598
|
class AmountDiscount < Orb::Internal::Type::BaseModel
|
13041
|
-
OrHash =
|
13599
|
+
OrHash =
|
13600
|
+
T.type_alias do
|
13601
|
+
T.any(
|
13602
|
+
Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::AmountDiscount,
|
13603
|
+
Orb::Internal::AnyHash
|
13604
|
+
)
|
13605
|
+
end
|
13042
13606
|
|
13043
13607
|
sig { returns(Symbol) }
|
13044
13608
|
attr_accessor :adjustment_type
|
@@ -13092,7 +13656,13 @@ module Orb
|
|
13092
13656
|
end
|
13093
13657
|
|
13094
13658
|
class Minimum < Orb::Internal::Type::BaseModel
|
13095
|
-
OrHash =
|
13659
|
+
OrHash =
|
13660
|
+
T.type_alias do
|
13661
|
+
T.any(
|
13662
|
+
Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::Minimum,
|
13663
|
+
Orb::Internal::AnyHash
|
13664
|
+
)
|
13665
|
+
end
|
13096
13666
|
|
13097
13667
|
sig { returns(Symbol) }
|
13098
13668
|
attr_accessor :adjustment_type
|
@@ -13154,7 +13724,13 @@ module Orb
|
|
13154
13724
|
end
|
13155
13725
|
|
13156
13726
|
class Maximum < Orb::Internal::Type::BaseModel
|
13157
|
-
OrHash =
|
13727
|
+
OrHash =
|
13728
|
+
T.type_alias do
|
13729
|
+
T.any(
|
13730
|
+
Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::Maximum,
|
13731
|
+
Orb::Internal::AnyHash
|
13732
|
+
)
|
13733
|
+
end
|
13158
13734
|
|
13159
13735
|
sig { returns(Symbol) }
|
13160
13736
|
attr_accessor :adjustment_type
|
@@ -13220,7 +13796,13 @@ module Orb
|
|
13220
13796
|
end
|
13221
13797
|
|
13222
13798
|
class ReplacePrice < Orb::Internal::Type::BaseModel
|
13223
|
-
OrHash =
|
13799
|
+
OrHash =
|
13800
|
+
T.type_alias do
|
13801
|
+
T.any(
|
13802
|
+
Orb::SubscriptionCreateParams::ReplacePrice,
|
13803
|
+
Orb::Internal::AnyHash
|
13804
|
+
)
|
13805
|
+
end
|
13224
13806
|
|
13225
13807
|
# The id of the price on the plan to replace in the subscription.
|
13226
13808
|
sig { returns(String) }
|
@@ -13446,7 +14028,13 @@ module Orb
|
|
13446
14028
|
end
|
13447
14029
|
|
13448
14030
|
class AllocationPrice < Orb::Internal::Type::BaseModel
|
13449
|
-
OrHash =
|
14031
|
+
OrHash =
|
14032
|
+
T.type_alias do
|
14033
|
+
T.any(
|
14034
|
+
Orb::SubscriptionCreateParams::ReplacePrice::AllocationPrice,
|
14035
|
+
Orb::Internal::AnyHash
|
14036
|
+
)
|
14037
|
+
end
|
13450
14038
|
|
13451
14039
|
# An amount of the currency to allocate to the customer at the specified cadence.
|
13452
14040
|
sig { returns(String) }
|
@@ -13565,7 +14153,13 @@ module Orb
|
|
13565
14153
|
end
|
13566
14154
|
|
13567
14155
|
class Discount < Orb::Internal::Type::BaseModel
|
13568
|
-
OrHash =
|
14156
|
+
OrHash =
|
14157
|
+
T.type_alias do
|
14158
|
+
T.any(
|
14159
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Discount,
|
14160
|
+
Orb::Internal::AnyHash
|
14161
|
+
)
|
14162
|
+
end
|
13569
14163
|
|
13570
14164
|
sig do
|
13571
14165
|
returns(
|
@@ -13700,7 +14294,13 @@ module Orb
|
|
13700
14294
|
end
|
13701
14295
|
|
13702
14296
|
class Unit < Orb::Internal::Type::BaseModel
|
13703
|
-
OrHash =
|
14297
|
+
OrHash =
|
14298
|
+
T.type_alias do
|
14299
|
+
T.any(
|
14300
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Unit,
|
14301
|
+
Orb::Internal::AnyHash
|
14302
|
+
)
|
14303
|
+
end
|
13704
14304
|
|
13705
14305
|
# The cadence to bill for this price on.
|
13706
14306
|
sig do
|
@@ -13982,7 +14582,12 @@ module Orb
|
|
13982
14582
|
|
13983
14583
|
class UnitConfig < Orb::Internal::Type::BaseModel
|
13984
14584
|
OrHash =
|
13985
|
-
T.type_alias
|
14585
|
+
T.type_alias do
|
14586
|
+
T.any(
|
14587
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Unit::UnitConfig,
|
14588
|
+
Orb::Internal::AnyHash
|
14589
|
+
)
|
14590
|
+
end
|
13986
14591
|
|
13987
14592
|
# Rate per unit of usage
|
13988
14593
|
sig { returns(String) }
|
@@ -14002,7 +14607,12 @@ module Orb
|
|
14002
14607
|
|
14003
14608
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
14004
14609
|
OrHash =
|
14005
|
-
T.type_alias
|
14610
|
+
T.type_alias do
|
14611
|
+
T.any(
|
14612
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Unit::BillingCycleConfiguration,
|
14613
|
+
Orb::Internal::AnyHash
|
14614
|
+
)
|
14615
|
+
end
|
14006
14616
|
|
14007
14617
|
# The duration of the billing period.
|
14008
14618
|
sig { returns(Integer) }
|
@@ -14083,7 +14693,12 @@ module Orb
|
|
14083
14693
|
|
14084
14694
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
14085
14695
|
OrHash =
|
14086
|
-
T.type_alias
|
14696
|
+
T.type_alias do
|
14697
|
+
T.any(
|
14698
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Unit::InvoicingCycleConfiguration,
|
14699
|
+
Orb::Internal::AnyHash
|
14700
|
+
)
|
14701
|
+
end
|
14087
14702
|
|
14088
14703
|
# The duration of the billing period.
|
14089
14704
|
sig { returns(Integer) }
|
@@ -14164,7 +14779,13 @@ module Orb
|
|
14164
14779
|
end
|
14165
14780
|
|
14166
14781
|
class Package < Orb::Internal::Type::BaseModel
|
14167
|
-
OrHash =
|
14782
|
+
OrHash =
|
14783
|
+
T.type_alias do
|
14784
|
+
T.any(
|
14785
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Package,
|
14786
|
+
Orb::Internal::AnyHash
|
14787
|
+
)
|
14788
|
+
end
|
14168
14789
|
|
14169
14790
|
# The cadence to bill for this price on.
|
14170
14791
|
sig do
|
@@ -14446,7 +15067,12 @@ module Orb
|
|
14446
15067
|
|
14447
15068
|
class PackageConfig < Orb::Internal::Type::BaseModel
|
14448
15069
|
OrHash =
|
14449
|
-
T.type_alias
|
15070
|
+
T.type_alias do
|
15071
|
+
T.any(
|
15072
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Package::PackageConfig,
|
15073
|
+
Orb::Internal::AnyHash
|
15074
|
+
)
|
15075
|
+
end
|
14450
15076
|
|
14451
15077
|
# A currency amount to rate usage by
|
14452
15078
|
sig { returns(String) }
|
@@ -14482,7 +15108,12 @@ module Orb
|
|
14482
15108
|
|
14483
15109
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
14484
15110
|
OrHash =
|
14485
|
-
T.type_alias
|
15111
|
+
T.type_alias do
|
15112
|
+
T.any(
|
15113
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Package::BillingCycleConfiguration,
|
15114
|
+
Orb::Internal::AnyHash
|
15115
|
+
)
|
15116
|
+
end
|
14486
15117
|
|
14487
15118
|
# The duration of the billing period.
|
14488
15119
|
sig { returns(Integer) }
|
@@ -14563,7 +15194,12 @@ module Orb
|
|
14563
15194
|
|
14564
15195
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
14565
15196
|
OrHash =
|
14566
|
-
T.type_alias
|
15197
|
+
T.type_alias do
|
15198
|
+
T.any(
|
15199
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Package::InvoicingCycleConfiguration,
|
15200
|
+
Orb::Internal::AnyHash
|
15201
|
+
)
|
15202
|
+
end
|
14567
15203
|
|
14568
15204
|
# The duration of the billing period.
|
14569
15205
|
sig { returns(Integer) }
|
@@ -14644,7 +15280,13 @@ module Orb
|
|
14644
15280
|
end
|
14645
15281
|
|
14646
15282
|
class Matrix < Orb::Internal::Type::BaseModel
|
14647
|
-
OrHash =
|
15283
|
+
OrHash =
|
15284
|
+
T.type_alias do
|
15285
|
+
T.any(
|
15286
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Matrix,
|
15287
|
+
Orb::Internal::AnyHash
|
15288
|
+
)
|
15289
|
+
end
|
14648
15290
|
|
14649
15291
|
# The cadence to bill for this price on.
|
14650
15292
|
sig do
|
@@ -14926,7 +15568,12 @@ module Orb
|
|
14926
15568
|
|
14927
15569
|
class MatrixConfig < Orb::Internal::Type::BaseModel
|
14928
15570
|
OrHash =
|
14929
|
-
T.type_alias
|
15571
|
+
T.type_alias do
|
15572
|
+
T.any(
|
15573
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Matrix::MatrixConfig,
|
15574
|
+
Orb::Internal::AnyHash
|
15575
|
+
)
|
15576
|
+
end
|
14930
15577
|
|
14931
15578
|
# Default per unit rate for any usage not bucketed into a specified matrix_value
|
14932
15579
|
sig { returns(String) }
|
@@ -14983,7 +15630,12 @@ module Orb
|
|
14983
15630
|
|
14984
15631
|
class MatrixValue < Orb::Internal::Type::BaseModel
|
14985
15632
|
OrHash =
|
14986
|
-
T.type_alias
|
15633
|
+
T.type_alias do
|
15634
|
+
T.any(
|
15635
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Matrix::MatrixConfig::MatrixValue,
|
15636
|
+
Orb::Internal::AnyHash
|
15637
|
+
)
|
15638
|
+
end
|
14987
15639
|
|
14988
15640
|
# One or two matrix keys to filter usage to this Matrix value by. For example,
|
14989
15641
|
# ["region", "tier"] could be used to filter cloud usage by a cloud region and an
|
@@ -15026,7 +15678,12 @@ module Orb
|
|
15026
15678
|
|
15027
15679
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
15028
15680
|
OrHash =
|
15029
|
-
T.type_alias
|
15681
|
+
T.type_alias do
|
15682
|
+
T.any(
|
15683
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Matrix::BillingCycleConfiguration,
|
15684
|
+
Orb::Internal::AnyHash
|
15685
|
+
)
|
15686
|
+
end
|
15030
15687
|
|
15031
15688
|
# The duration of the billing period.
|
15032
15689
|
sig { returns(Integer) }
|
@@ -15107,7 +15764,12 @@ module Orb
|
|
15107
15764
|
|
15108
15765
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
15109
15766
|
OrHash =
|
15110
|
-
T.type_alias
|
15767
|
+
T.type_alias do
|
15768
|
+
T.any(
|
15769
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Matrix::InvoicingCycleConfiguration,
|
15770
|
+
Orb::Internal::AnyHash
|
15771
|
+
)
|
15772
|
+
end
|
15111
15773
|
|
15112
15774
|
# The duration of the billing period.
|
15113
15775
|
sig { returns(Integer) }
|
@@ -15188,7 +15850,13 @@ module Orb
|
|
15188
15850
|
end
|
15189
15851
|
|
15190
15852
|
class Tiered < Orb::Internal::Type::BaseModel
|
15191
|
-
OrHash =
|
15853
|
+
OrHash =
|
15854
|
+
T.type_alias do
|
15855
|
+
T.any(
|
15856
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Tiered,
|
15857
|
+
Orb::Internal::AnyHash
|
15858
|
+
)
|
15859
|
+
end
|
15192
15860
|
|
15193
15861
|
# The cadence to bill for this price on.
|
15194
15862
|
sig do
|
@@ -15470,7 +16138,12 @@ module Orb
|
|
15470
16138
|
|
15471
16139
|
class TieredConfig < Orb::Internal::Type::BaseModel
|
15472
16140
|
OrHash =
|
15473
|
-
T.type_alias
|
16141
|
+
T.type_alias do
|
16142
|
+
T.any(
|
16143
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Tiered::TieredConfig,
|
16144
|
+
Orb::Internal::AnyHash
|
16145
|
+
)
|
16146
|
+
end
|
15474
16147
|
|
15475
16148
|
# Tiers for rating based on total usage quantities into the specified tier
|
15476
16149
|
sig do
|
@@ -15511,7 +16184,12 @@ module Orb
|
|
15511
16184
|
|
15512
16185
|
class Tier < Orb::Internal::Type::BaseModel
|
15513
16186
|
OrHash =
|
15514
|
-
T.type_alias
|
16187
|
+
T.type_alias do
|
16188
|
+
T.any(
|
16189
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Tiered::TieredConfig::Tier,
|
16190
|
+
Orb::Internal::AnyHash
|
16191
|
+
)
|
16192
|
+
end
|
15515
16193
|
|
15516
16194
|
# Exclusive tier starting value
|
15517
16195
|
sig { returns(Float) }
|
@@ -15558,7 +16236,12 @@ module Orb
|
|
15558
16236
|
|
15559
16237
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
15560
16238
|
OrHash =
|
15561
|
-
T.type_alias
|
16239
|
+
T.type_alias do
|
16240
|
+
T.any(
|
16241
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Tiered::BillingCycleConfiguration,
|
16242
|
+
Orb::Internal::AnyHash
|
16243
|
+
)
|
16244
|
+
end
|
15562
16245
|
|
15563
16246
|
# The duration of the billing period.
|
15564
16247
|
sig { returns(Integer) }
|
@@ -15639,7 +16322,12 @@ module Orb
|
|
15639
16322
|
|
15640
16323
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
15641
16324
|
OrHash =
|
15642
|
-
T.type_alias
|
16325
|
+
T.type_alias do
|
16326
|
+
T.any(
|
16327
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Tiered::InvoicingCycleConfiguration,
|
16328
|
+
Orb::Internal::AnyHash
|
16329
|
+
)
|
16330
|
+
end
|
15643
16331
|
|
15644
16332
|
# The duration of the billing period.
|
15645
16333
|
sig { returns(Integer) }
|
@@ -15720,7 +16408,13 @@ module Orb
|
|
15720
16408
|
end
|
15721
16409
|
|
15722
16410
|
class TieredBps < Orb::Internal::Type::BaseModel
|
15723
|
-
OrHash =
|
16411
|
+
OrHash =
|
16412
|
+
T.type_alias do
|
16413
|
+
T.any(
|
16414
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredBps,
|
16415
|
+
Orb::Internal::AnyHash
|
16416
|
+
)
|
16417
|
+
end
|
15724
16418
|
|
15725
16419
|
# The cadence to bill for this price on.
|
15726
16420
|
sig do
|
@@ -16002,7 +16696,12 @@ module Orb
|
|
16002
16696
|
|
16003
16697
|
class TieredBpsConfig < Orb::Internal::Type::BaseModel
|
16004
16698
|
OrHash =
|
16005
|
-
T.type_alias
|
16699
|
+
T.type_alias do
|
16700
|
+
T.any(
|
16701
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredBps::TieredBpsConfig,
|
16702
|
+
Orb::Internal::AnyHash
|
16703
|
+
)
|
16704
|
+
end
|
16006
16705
|
|
16007
16706
|
# Tiers for a Graduated BPS pricing model, where usage is bucketed into specified
|
16008
16707
|
# tiers
|
@@ -16045,7 +16744,12 @@ module Orb
|
|
16045
16744
|
|
16046
16745
|
class Tier < Orb::Internal::Type::BaseModel
|
16047
16746
|
OrHash =
|
16048
|
-
T.type_alias
|
16747
|
+
T.type_alias do
|
16748
|
+
T.any(
|
16749
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredBps::TieredBpsConfig::Tier,
|
16750
|
+
Orb::Internal::AnyHash
|
16751
|
+
)
|
16752
|
+
end
|
16049
16753
|
|
16050
16754
|
# Per-event basis point rate
|
16051
16755
|
sig { returns(Float) }
|
@@ -16100,7 +16804,12 @@ module Orb
|
|
16100
16804
|
|
16101
16805
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
16102
16806
|
OrHash =
|
16103
|
-
T.type_alias
|
16807
|
+
T.type_alias do
|
16808
|
+
T.any(
|
16809
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredBps::BillingCycleConfiguration,
|
16810
|
+
Orb::Internal::AnyHash
|
16811
|
+
)
|
16812
|
+
end
|
16104
16813
|
|
16105
16814
|
# The duration of the billing period.
|
16106
16815
|
sig { returns(Integer) }
|
@@ -16181,7 +16890,12 @@ module Orb
|
|
16181
16890
|
|
16182
16891
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
16183
16892
|
OrHash =
|
16184
|
-
T.type_alias
|
16893
|
+
T.type_alias do
|
16894
|
+
T.any(
|
16895
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredBps::InvoicingCycleConfiguration,
|
16896
|
+
Orb::Internal::AnyHash
|
16897
|
+
)
|
16898
|
+
end
|
16185
16899
|
|
16186
16900
|
# The duration of the billing period.
|
16187
16901
|
sig { returns(Integer) }
|
@@ -16262,7 +16976,13 @@ module Orb
|
|
16262
16976
|
end
|
16263
16977
|
|
16264
16978
|
class Bps < Orb::Internal::Type::BaseModel
|
16265
|
-
OrHash =
|
16979
|
+
OrHash =
|
16980
|
+
T.type_alias do
|
16981
|
+
T.any(
|
16982
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Bps,
|
16983
|
+
Orb::Internal::AnyHash
|
16984
|
+
)
|
16985
|
+
end
|
16266
16986
|
|
16267
16987
|
sig do
|
16268
16988
|
returns(
|
@@ -16489,7 +17209,12 @@ module Orb
|
|
16489
17209
|
|
16490
17210
|
class BpsConfig < Orb::Internal::Type::BaseModel
|
16491
17211
|
OrHash =
|
16492
|
-
T.type_alias
|
17212
|
+
T.type_alias do
|
17213
|
+
T.any(
|
17214
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Bps::BpsConfig,
|
17215
|
+
Orb::Internal::AnyHash
|
17216
|
+
)
|
17217
|
+
end
|
16493
17218
|
|
16494
17219
|
# Basis point take rate per event
|
16495
17220
|
sig { returns(Float) }
|
@@ -16578,7 +17303,12 @@ module Orb
|
|
16578
17303
|
|
16579
17304
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
16580
17305
|
OrHash =
|
16581
|
-
T.type_alias
|
17306
|
+
T.type_alias do
|
17307
|
+
T.any(
|
17308
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Bps::BillingCycleConfiguration,
|
17309
|
+
Orb::Internal::AnyHash
|
17310
|
+
)
|
17311
|
+
end
|
16582
17312
|
|
16583
17313
|
# The duration of the billing period.
|
16584
17314
|
sig { returns(Integer) }
|
@@ -16659,7 +17389,12 @@ module Orb
|
|
16659
17389
|
|
16660
17390
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
16661
17391
|
OrHash =
|
16662
|
-
T.type_alias
|
17392
|
+
T.type_alias do
|
17393
|
+
T.any(
|
17394
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Bps::InvoicingCycleConfiguration,
|
17395
|
+
Orb::Internal::AnyHash
|
17396
|
+
)
|
17397
|
+
end
|
16663
17398
|
|
16664
17399
|
# The duration of the billing period.
|
16665
17400
|
sig { returns(Integer) }
|
@@ -16740,7 +17475,13 @@ module Orb
|
|
16740
17475
|
end
|
16741
17476
|
|
16742
17477
|
class BulkBps < Orb::Internal::Type::BaseModel
|
16743
|
-
OrHash =
|
17478
|
+
OrHash =
|
17479
|
+
T.type_alias do
|
17480
|
+
T.any(
|
17481
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkBps,
|
17482
|
+
Orb::Internal::AnyHash
|
17483
|
+
)
|
17484
|
+
end
|
16744
17485
|
|
16745
17486
|
sig do
|
16746
17487
|
returns(
|
@@ -16967,7 +17708,12 @@ module Orb
|
|
16967
17708
|
|
16968
17709
|
class BulkBpsConfig < Orb::Internal::Type::BaseModel
|
16969
17710
|
OrHash =
|
16970
|
-
T.type_alias
|
17711
|
+
T.type_alias do
|
17712
|
+
T.any(
|
17713
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkBps::BulkBpsConfig,
|
17714
|
+
Orb::Internal::AnyHash
|
17715
|
+
)
|
17716
|
+
end
|
16971
17717
|
|
16972
17718
|
# Tiers for a bulk BPS pricing model where all usage is aggregated to a single
|
16973
17719
|
# tier based on total volume
|
@@ -17010,7 +17756,12 @@ module Orb
|
|
17010
17756
|
|
17011
17757
|
class Tier < Orb::Internal::Type::BaseModel
|
17012
17758
|
OrHash =
|
17013
|
-
T.type_alias
|
17759
|
+
T.type_alias do
|
17760
|
+
T.any(
|
17761
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkBps::BulkBpsConfig::Tier,
|
17762
|
+
Orb::Internal::AnyHash
|
17763
|
+
)
|
17764
|
+
end
|
17014
17765
|
|
17015
17766
|
# Basis points to rate on
|
17016
17767
|
sig { returns(Float) }
|
@@ -17112,7 +17863,12 @@ module Orb
|
|
17112
17863
|
|
17113
17864
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
17114
17865
|
OrHash =
|
17115
|
-
T.type_alias
|
17866
|
+
T.type_alias do
|
17867
|
+
T.any(
|
17868
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkBps::BillingCycleConfiguration,
|
17869
|
+
Orb::Internal::AnyHash
|
17870
|
+
)
|
17871
|
+
end
|
17116
17872
|
|
17117
17873
|
# The duration of the billing period.
|
17118
17874
|
sig { returns(Integer) }
|
@@ -17193,7 +17949,12 @@ module Orb
|
|
17193
17949
|
|
17194
17950
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
17195
17951
|
OrHash =
|
17196
|
-
T.type_alias
|
17952
|
+
T.type_alias do
|
17953
|
+
T.any(
|
17954
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkBps::InvoicingCycleConfiguration,
|
17955
|
+
Orb::Internal::AnyHash
|
17956
|
+
)
|
17957
|
+
end
|
17197
17958
|
|
17198
17959
|
# The duration of the billing period.
|
17199
17960
|
sig { returns(Integer) }
|
@@ -17274,7 +18035,13 @@ module Orb
|
|
17274
18035
|
end
|
17275
18036
|
|
17276
18037
|
class Bulk < Orb::Internal::Type::BaseModel
|
17277
|
-
OrHash =
|
18038
|
+
OrHash =
|
18039
|
+
T.type_alias do
|
18040
|
+
T.any(
|
18041
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Bulk,
|
18042
|
+
Orb::Internal::AnyHash
|
18043
|
+
)
|
18044
|
+
end
|
17278
18045
|
|
17279
18046
|
sig do
|
17280
18047
|
returns(
|
@@ -17501,7 +18268,12 @@ module Orb
|
|
17501
18268
|
|
17502
18269
|
class BulkConfig < Orb::Internal::Type::BaseModel
|
17503
18270
|
OrHash =
|
17504
|
-
T.type_alias
|
18271
|
+
T.type_alias do
|
18272
|
+
T.any(
|
18273
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Bulk::BulkConfig,
|
18274
|
+
Orb::Internal::AnyHash
|
18275
|
+
)
|
18276
|
+
end
|
17505
18277
|
|
17506
18278
|
# Bulk tiers for rating based on total usage volume
|
17507
18279
|
sig do
|
@@ -17542,7 +18314,12 @@ module Orb
|
|
17542
18314
|
|
17543
18315
|
class Tier < Orb::Internal::Type::BaseModel
|
17544
18316
|
OrHash =
|
17545
|
-
T.type_alias
|
18317
|
+
T.type_alias do
|
18318
|
+
T.any(
|
18319
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Bulk::BulkConfig::Tier,
|
18320
|
+
Orb::Internal::AnyHash
|
18321
|
+
)
|
18322
|
+
end
|
17546
18323
|
|
17547
18324
|
# Amount per unit
|
17548
18325
|
sig { returns(String) }
|
@@ -17633,7 +18410,12 @@ module Orb
|
|
17633
18410
|
|
17634
18411
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
17635
18412
|
OrHash =
|
17636
|
-
T.type_alias
|
18413
|
+
T.type_alias do
|
18414
|
+
T.any(
|
18415
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Bulk::BillingCycleConfiguration,
|
18416
|
+
Orb::Internal::AnyHash
|
18417
|
+
)
|
18418
|
+
end
|
17637
18419
|
|
17638
18420
|
# The duration of the billing period.
|
17639
18421
|
sig { returns(Integer) }
|
@@ -17714,7 +18496,12 @@ module Orb
|
|
17714
18496
|
|
17715
18497
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
17716
18498
|
OrHash =
|
17717
|
-
T.type_alias
|
18499
|
+
T.type_alias do
|
18500
|
+
T.any(
|
18501
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::Bulk::InvoicingCycleConfiguration,
|
18502
|
+
Orb::Internal::AnyHash
|
18503
|
+
)
|
18504
|
+
end
|
17718
18505
|
|
17719
18506
|
# The duration of the billing period.
|
17720
18507
|
sig { returns(Integer) }
|
@@ -17795,7 +18582,13 @@ module Orb
|
|
17795
18582
|
end
|
17796
18583
|
|
17797
18584
|
class ThresholdTotalAmount < Orb::Internal::Type::BaseModel
|
17798
|
-
OrHash =
|
18585
|
+
OrHash =
|
18586
|
+
T.type_alias do
|
18587
|
+
T.any(
|
18588
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::ThresholdTotalAmount,
|
18589
|
+
Orb::Internal::AnyHash
|
18590
|
+
)
|
18591
|
+
end
|
17799
18592
|
|
17800
18593
|
# The cadence to bill for this price on.
|
17801
18594
|
sig do
|
@@ -18063,7 +18856,12 @@ module Orb
|
|
18063
18856
|
|
18064
18857
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
18065
18858
|
OrHash =
|
18066
|
-
T.type_alias
|
18859
|
+
T.type_alias do
|
18860
|
+
T.any(
|
18861
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::ThresholdTotalAmount::BillingCycleConfiguration,
|
18862
|
+
Orb::Internal::AnyHash
|
18863
|
+
)
|
18864
|
+
end
|
18067
18865
|
|
18068
18866
|
# The duration of the billing period.
|
18069
18867
|
sig { returns(Integer) }
|
@@ -18144,7 +18942,12 @@ module Orb
|
|
18144
18942
|
|
18145
18943
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
18146
18944
|
OrHash =
|
18147
|
-
T.type_alias
|
18945
|
+
T.type_alias do
|
18946
|
+
T.any(
|
18947
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::ThresholdTotalAmount::InvoicingCycleConfiguration,
|
18948
|
+
Orb::Internal::AnyHash
|
18949
|
+
)
|
18950
|
+
end
|
18148
18951
|
|
18149
18952
|
# The duration of the billing period.
|
18150
18953
|
sig { returns(Integer) }
|
@@ -18225,7 +19028,13 @@ module Orb
|
|
18225
19028
|
end
|
18226
19029
|
|
18227
19030
|
class TieredPackage < Orb::Internal::Type::BaseModel
|
18228
|
-
OrHash =
|
19031
|
+
OrHash =
|
19032
|
+
T.type_alias do
|
19033
|
+
T.any(
|
19034
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredPackage,
|
19035
|
+
Orb::Internal::AnyHash
|
19036
|
+
)
|
19037
|
+
end
|
18229
19038
|
|
18230
19039
|
# The cadence to bill for this price on.
|
18231
19040
|
sig do
|
@@ -18493,7 +19302,12 @@ module Orb
|
|
18493
19302
|
|
18494
19303
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
18495
19304
|
OrHash =
|
18496
|
-
T.type_alias
|
19305
|
+
T.type_alias do
|
19306
|
+
T.any(
|
19307
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredPackage::BillingCycleConfiguration,
|
19308
|
+
Orb::Internal::AnyHash
|
19309
|
+
)
|
19310
|
+
end
|
18497
19311
|
|
18498
19312
|
# The duration of the billing period.
|
18499
19313
|
sig { returns(Integer) }
|
@@ -18574,7 +19388,12 @@ module Orb
|
|
18574
19388
|
|
18575
19389
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
18576
19390
|
OrHash =
|
18577
|
-
T.type_alias
|
19391
|
+
T.type_alias do
|
19392
|
+
T.any(
|
19393
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredPackage::InvoicingCycleConfiguration,
|
19394
|
+
Orb::Internal::AnyHash
|
19395
|
+
)
|
19396
|
+
end
|
18578
19397
|
|
18579
19398
|
# The duration of the billing period.
|
18580
19399
|
sig { returns(Integer) }
|
@@ -18655,7 +19474,13 @@ module Orb
|
|
18655
19474
|
end
|
18656
19475
|
|
18657
19476
|
class TieredWithMinimum < Orb::Internal::Type::BaseModel
|
18658
|
-
OrHash =
|
19477
|
+
OrHash =
|
19478
|
+
T.type_alias do
|
19479
|
+
T.any(
|
19480
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredWithMinimum,
|
19481
|
+
Orb::Internal::AnyHash
|
19482
|
+
)
|
19483
|
+
end
|
18659
19484
|
|
18660
19485
|
# The cadence to bill for this price on.
|
18661
19486
|
sig do
|
@@ -18923,7 +19748,12 @@ module Orb
|
|
18923
19748
|
|
18924
19749
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
18925
19750
|
OrHash =
|
18926
|
-
T.type_alias
|
19751
|
+
T.type_alias do
|
19752
|
+
T.any(
|
19753
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredWithMinimum::BillingCycleConfiguration,
|
19754
|
+
Orb::Internal::AnyHash
|
19755
|
+
)
|
19756
|
+
end
|
18927
19757
|
|
18928
19758
|
# The duration of the billing period.
|
18929
19759
|
sig { returns(Integer) }
|
@@ -19004,7 +19834,12 @@ module Orb
|
|
19004
19834
|
|
19005
19835
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
19006
19836
|
OrHash =
|
19007
|
-
T.type_alias
|
19837
|
+
T.type_alias do
|
19838
|
+
T.any(
|
19839
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredWithMinimum::InvoicingCycleConfiguration,
|
19840
|
+
Orb::Internal::AnyHash
|
19841
|
+
)
|
19842
|
+
end
|
19008
19843
|
|
19009
19844
|
# The duration of the billing period.
|
19010
19845
|
sig { returns(Integer) }
|
@@ -19085,7 +19920,13 @@ module Orb
|
|
19085
19920
|
end
|
19086
19921
|
|
19087
19922
|
class UnitWithPercent < Orb::Internal::Type::BaseModel
|
19088
|
-
OrHash =
|
19923
|
+
OrHash =
|
19924
|
+
T.type_alias do
|
19925
|
+
T.any(
|
19926
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::UnitWithPercent,
|
19927
|
+
Orb::Internal::AnyHash
|
19928
|
+
)
|
19929
|
+
end
|
19089
19930
|
|
19090
19931
|
# The cadence to bill for this price on.
|
19091
19932
|
sig do
|
@@ -19353,7 +20194,12 @@ module Orb
|
|
19353
20194
|
|
19354
20195
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
19355
20196
|
OrHash =
|
19356
|
-
T.type_alias
|
20197
|
+
T.type_alias do
|
20198
|
+
T.any(
|
20199
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::UnitWithPercent::BillingCycleConfiguration,
|
20200
|
+
Orb::Internal::AnyHash
|
20201
|
+
)
|
20202
|
+
end
|
19357
20203
|
|
19358
20204
|
# The duration of the billing period.
|
19359
20205
|
sig { returns(Integer) }
|
@@ -19434,7 +20280,12 @@ module Orb
|
|
19434
20280
|
|
19435
20281
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
19436
20282
|
OrHash =
|
19437
|
-
T.type_alias
|
20283
|
+
T.type_alias do
|
20284
|
+
T.any(
|
20285
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::UnitWithPercent::InvoicingCycleConfiguration,
|
20286
|
+
Orb::Internal::AnyHash
|
20287
|
+
)
|
20288
|
+
end
|
19438
20289
|
|
19439
20290
|
# The duration of the billing period.
|
19440
20291
|
sig { returns(Integer) }
|
@@ -19515,7 +20366,13 @@ module Orb
|
|
19515
20366
|
end
|
19516
20367
|
|
19517
20368
|
class PackageWithAllocation < Orb::Internal::Type::BaseModel
|
19518
|
-
OrHash =
|
20369
|
+
OrHash =
|
20370
|
+
T.type_alias do
|
20371
|
+
T.any(
|
20372
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::PackageWithAllocation,
|
20373
|
+
Orb::Internal::AnyHash
|
20374
|
+
)
|
20375
|
+
end
|
19519
20376
|
|
19520
20377
|
# The cadence to bill for this price on.
|
19521
20378
|
sig do
|
@@ -19783,7 +20640,12 @@ module Orb
|
|
19783
20640
|
|
19784
20641
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
19785
20642
|
OrHash =
|
19786
|
-
T.type_alias
|
20643
|
+
T.type_alias do
|
20644
|
+
T.any(
|
20645
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::PackageWithAllocation::BillingCycleConfiguration,
|
20646
|
+
Orb::Internal::AnyHash
|
20647
|
+
)
|
20648
|
+
end
|
19787
20649
|
|
19788
20650
|
# The duration of the billing period.
|
19789
20651
|
sig { returns(Integer) }
|
@@ -19864,7 +20726,12 @@ module Orb
|
|
19864
20726
|
|
19865
20727
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
19866
20728
|
OrHash =
|
19867
|
-
T.type_alias
|
20729
|
+
T.type_alias do
|
20730
|
+
T.any(
|
20731
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::PackageWithAllocation::InvoicingCycleConfiguration,
|
20732
|
+
Orb::Internal::AnyHash
|
20733
|
+
)
|
20734
|
+
end
|
19868
20735
|
|
19869
20736
|
# The duration of the billing period.
|
19870
20737
|
sig { returns(Integer) }
|
@@ -19945,7 +20812,13 @@ module Orb
|
|
19945
20812
|
end
|
19946
20813
|
|
19947
20814
|
class TieredWithProration < Orb::Internal::Type::BaseModel
|
19948
|
-
OrHash =
|
20815
|
+
OrHash =
|
20816
|
+
T.type_alias do
|
20817
|
+
T.any(
|
20818
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredWithProration,
|
20819
|
+
Orb::Internal::AnyHash
|
20820
|
+
)
|
20821
|
+
end
|
19949
20822
|
|
19950
20823
|
# The cadence to bill for this price on.
|
19951
20824
|
sig do
|
@@ -20213,7 +21086,12 @@ module Orb
|
|
20213
21086
|
|
20214
21087
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
20215
21088
|
OrHash =
|
20216
|
-
T.type_alias
|
21089
|
+
T.type_alias do
|
21090
|
+
T.any(
|
21091
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredWithProration::BillingCycleConfiguration,
|
21092
|
+
Orb::Internal::AnyHash
|
21093
|
+
)
|
21094
|
+
end
|
20217
21095
|
|
20218
21096
|
# The duration of the billing period.
|
20219
21097
|
sig { returns(Integer) }
|
@@ -20294,7 +21172,12 @@ module Orb
|
|
20294
21172
|
|
20295
21173
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
20296
21174
|
OrHash =
|
20297
|
-
T.type_alias
|
21175
|
+
T.type_alias do
|
21176
|
+
T.any(
|
21177
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredWithProration::InvoicingCycleConfiguration,
|
21178
|
+
Orb::Internal::AnyHash
|
21179
|
+
)
|
21180
|
+
end
|
20298
21181
|
|
20299
21182
|
# The duration of the billing period.
|
20300
21183
|
sig { returns(Integer) }
|
@@ -20375,7 +21258,13 @@ module Orb
|
|
20375
21258
|
end
|
20376
21259
|
|
20377
21260
|
class UnitWithProration < Orb::Internal::Type::BaseModel
|
20378
|
-
OrHash =
|
21261
|
+
OrHash =
|
21262
|
+
T.type_alias do
|
21263
|
+
T.any(
|
21264
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::UnitWithProration,
|
21265
|
+
Orb::Internal::AnyHash
|
21266
|
+
)
|
21267
|
+
end
|
20379
21268
|
|
20380
21269
|
# The cadence to bill for this price on.
|
20381
21270
|
sig do
|
@@ -20643,7 +21532,12 @@ module Orb
|
|
20643
21532
|
|
20644
21533
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
20645
21534
|
OrHash =
|
20646
|
-
T.type_alias
|
21535
|
+
T.type_alias do
|
21536
|
+
T.any(
|
21537
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::UnitWithProration::BillingCycleConfiguration,
|
21538
|
+
Orb::Internal::AnyHash
|
21539
|
+
)
|
21540
|
+
end
|
20647
21541
|
|
20648
21542
|
# The duration of the billing period.
|
20649
21543
|
sig { returns(Integer) }
|
@@ -20724,7 +21618,12 @@ module Orb
|
|
20724
21618
|
|
20725
21619
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
20726
21620
|
OrHash =
|
20727
|
-
T.type_alias
|
21621
|
+
T.type_alias do
|
21622
|
+
T.any(
|
21623
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::UnitWithProration::InvoicingCycleConfiguration,
|
21624
|
+
Orb::Internal::AnyHash
|
21625
|
+
)
|
21626
|
+
end
|
20728
21627
|
|
20729
21628
|
# The duration of the billing period.
|
20730
21629
|
sig { returns(Integer) }
|
@@ -20805,7 +21704,13 @@ module Orb
|
|
20805
21704
|
end
|
20806
21705
|
|
20807
21706
|
class GroupedAllocation < Orb::Internal::Type::BaseModel
|
20808
|
-
OrHash =
|
21707
|
+
OrHash =
|
21708
|
+
T.type_alias do
|
21709
|
+
T.any(
|
21710
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedAllocation,
|
21711
|
+
Orb::Internal::AnyHash
|
21712
|
+
)
|
21713
|
+
end
|
20809
21714
|
|
20810
21715
|
# The cadence to bill for this price on.
|
20811
21716
|
sig do
|
@@ -21073,7 +21978,12 @@ module Orb
|
|
21073
21978
|
|
21074
21979
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
21075
21980
|
OrHash =
|
21076
|
-
T.type_alias
|
21981
|
+
T.type_alias do
|
21982
|
+
T.any(
|
21983
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedAllocation::BillingCycleConfiguration,
|
21984
|
+
Orb::Internal::AnyHash
|
21985
|
+
)
|
21986
|
+
end
|
21077
21987
|
|
21078
21988
|
# The duration of the billing period.
|
21079
21989
|
sig { returns(Integer) }
|
@@ -21154,7 +22064,12 @@ module Orb
|
|
21154
22064
|
|
21155
22065
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
21156
22066
|
OrHash =
|
21157
|
-
T.type_alias
|
22067
|
+
T.type_alias do
|
22068
|
+
T.any(
|
22069
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedAllocation::InvoicingCycleConfiguration,
|
22070
|
+
Orb::Internal::AnyHash
|
22071
|
+
)
|
22072
|
+
end
|
21158
22073
|
|
21159
22074
|
# The duration of the billing period.
|
21160
22075
|
sig { returns(Integer) }
|
@@ -21235,7 +22150,13 @@ module Orb
|
|
21235
22150
|
end
|
21236
22151
|
|
21237
22152
|
class GroupedWithProratedMinimum < Orb::Internal::Type::BaseModel
|
21238
|
-
OrHash =
|
22153
|
+
OrHash =
|
22154
|
+
T.type_alias do
|
22155
|
+
T.any(
|
22156
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithProratedMinimum,
|
22157
|
+
Orb::Internal::AnyHash
|
22158
|
+
)
|
22159
|
+
end
|
21239
22160
|
|
21240
22161
|
# The cadence to bill for this price on.
|
21241
22162
|
sig do
|
@@ -21505,7 +22426,12 @@ module Orb
|
|
21505
22426
|
|
21506
22427
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
21507
22428
|
OrHash =
|
21508
|
-
T.type_alias
|
22429
|
+
T.type_alias do
|
22430
|
+
T.any(
|
22431
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithProratedMinimum::BillingCycleConfiguration,
|
22432
|
+
Orb::Internal::AnyHash
|
22433
|
+
)
|
22434
|
+
end
|
21509
22435
|
|
21510
22436
|
# The duration of the billing period.
|
21511
22437
|
sig { returns(Integer) }
|
@@ -21586,7 +22512,12 @@ module Orb
|
|
21586
22512
|
|
21587
22513
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
21588
22514
|
OrHash =
|
21589
|
-
T.type_alias
|
22515
|
+
T.type_alias do
|
22516
|
+
T.any(
|
22517
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithProratedMinimum::InvoicingCycleConfiguration,
|
22518
|
+
Orb::Internal::AnyHash
|
22519
|
+
)
|
22520
|
+
end
|
21590
22521
|
|
21591
22522
|
# The duration of the billing period.
|
21592
22523
|
sig { returns(Integer) }
|
@@ -21667,7 +22598,13 @@ module Orb
|
|
21667
22598
|
end
|
21668
22599
|
|
21669
22600
|
class BulkWithProration < Orb::Internal::Type::BaseModel
|
21670
|
-
OrHash =
|
22601
|
+
OrHash =
|
22602
|
+
T.type_alias do
|
22603
|
+
T.any(
|
22604
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkWithProration,
|
22605
|
+
Orb::Internal::AnyHash
|
22606
|
+
)
|
22607
|
+
end
|
21671
22608
|
|
21672
22609
|
sig { returns(T::Hash[Symbol, T.anything]) }
|
21673
22610
|
attr_accessor :bulk_with_proration_config
|
@@ -21935,7 +22872,12 @@ module Orb
|
|
21935
22872
|
|
21936
22873
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
21937
22874
|
OrHash =
|
21938
|
-
T.type_alias
|
22875
|
+
T.type_alias do
|
22876
|
+
T.any(
|
22877
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkWithProration::BillingCycleConfiguration,
|
22878
|
+
Orb::Internal::AnyHash
|
22879
|
+
)
|
22880
|
+
end
|
21939
22881
|
|
21940
22882
|
# The duration of the billing period.
|
21941
22883
|
sig { returns(Integer) }
|
@@ -22016,7 +22958,12 @@ module Orb
|
|
22016
22958
|
|
22017
22959
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
22018
22960
|
OrHash =
|
22019
|
-
T.type_alias
|
22961
|
+
T.type_alias do
|
22962
|
+
T.any(
|
22963
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkWithProration::InvoicingCycleConfiguration,
|
22964
|
+
Orb::Internal::AnyHash
|
22965
|
+
)
|
22966
|
+
end
|
22020
22967
|
|
22021
22968
|
# The duration of the billing period.
|
22022
22969
|
sig { returns(Integer) }
|
@@ -22097,7 +23044,13 @@ module Orb
|
|
22097
23044
|
end
|
22098
23045
|
|
22099
23046
|
class ScalableMatrixWithUnitPricing < Orb::Internal::Type::BaseModel
|
22100
|
-
OrHash =
|
23047
|
+
OrHash =
|
23048
|
+
T.type_alias do
|
23049
|
+
T.any(
|
23050
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::ScalableMatrixWithUnitPricing,
|
23051
|
+
Orb::Internal::AnyHash
|
23052
|
+
)
|
23053
|
+
end
|
22101
23054
|
|
22102
23055
|
# The cadence to bill for this price on.
|
22103
23056
|
sig do
|
@@ -22367,7 +23320,12 @@ module Orb
|
|
22367
23320
|
|
22368
23321
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
22369
23322
|
OrHash =
|
22370
|
-
T.type_alias
|
23323
|
+
T.type_alias do
|
23324
|
+
T.any(
|
23325
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::ScalableMatrixWithUnitPricing::BillingCycleConfiguration,
|
23326
|
+
Orb::Internal::AnyHash
|
23327
|
+
)
|
23328
|
+
end
|
22371
23329
|
|
22372
23330
|
# The duration of the billing period.
|
22373
23331
|
sig { returns(Integer) }
|
@@ -22448,7 +23406,12 @@ module Orb
|
|
22448
23406
|
|
22449
23407
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
22450
23408
|
OrHash =
|
22451
|
-
T.type_alias
|
23409
|
+
T.type_alias do
|
23410
|
+
T.any(
|
23411
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::ScalableMatrixWithUnitPricing::InvoicingCycleConfiguration,
|
23412
|
+
Orb::Internal::AnyHash
|
23413
|
+
)
|
23414
|
+
end
|
22452
23415
|
|
22453
23416
|
# The duration of the billing period.
|
22454
23417
|
sig { returns(Integer) }
|
@@ -22529,7 +23492,13 @@ module Orb
|
|
22529
23492
|
end
|
22530
23493
|
|
22531
23494
|
class ScalableMatrixWithTieredPricing < Orb::Internal::Type::BaseModel
|
22532
|
-
OrHash =
|
23495
|
+
OrHash =
|
23496
|
+
T.type_alias do
|
23497
|
+
T.any(
|
23498
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::ScalableMatrixWithTieredPricing,
|
23499
|
+
Orb::Internal::AnyHash
|
23500
|
+
)
|
23501
|
+
end
|
22533
23502
|
|
22534
23503
|
# The cadence to bill for this price on.
|
22535
23504
|
sig do
|
@@ -22799,7 +23768,12 @@ module Orb
|
|
22799
23768
|
|
22800
23769
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
22801
23770
|
OrHash =
|
22802
|
-
T.type_alias
|
23771
|
+
T.type_alias do
|
23772
|
+
T.any(
|
23773
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::ScalableMatrixWithTieredPricing::BillingCycleConfiguration,
|
23774
|
+
Orb::Internal::AnyHash
|
23775
|
+
)
|
23776
|
+
end
|
22803
23777
|
|
22804
23778
|
# The duration of the billing period.
|
22805
23779
|
sig { returns(Integer) }
|
@@ -22880,7 +23854,12 @@ module Orb
|
|
22880
23854
|
|
22881
23855
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
22882
23856
|
OrHash =
|
22883
|
-
T.type_alias
|
23857
|
+
T.type_alias do
|
23858
|
+
T.any(
|
23859
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::ScalableMatrixWithTieredPricing::InvoicingCycleConfiguration,
|
23860
|
+
Orb::Internal::AnyHash
|
23861
|
+
)
|
23862
|
+
end
|
22884
23863
|
|
22885
23864
|
# The duration of the billing period.
|
22886
23865
|
sig { returns(Integer) }
|
@@ -22961,7 +23940,13 @@ module Orb
|
|
22961
23940
|
end
|
22962
23941
|
|
22963
23942
|
class CumulativeGroupedBulk < Orb::Internal::Type::BaseModel
|
22964
|
-
OrHash =
|
23943
|
+
OrHash =
|
23944
|
+
T.type_alias do
|
23945
|
+
T.any(
|
23946
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::CumulativeGroupedBulk,
|
23947
|
+
Orb::Internal::AnyHash
|
23948
|
+
)
|
23949
|
+
end
|
22965
23950
|
|
22966
23951
|
# The cadence to bill for this price on.
|
22967
23952
|
sig do
|
@@ -23229,7 +24214,12 @@ module Orb
|
|
23229
24214
|
|
23230
24215
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
23231
24216
|
OrHash =
|
23232
|
-
T.type_alias
|
24217
|
+
T.type_alias do
|
24218
|
+
T.any(
|
24219
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::CumulativeGroupedBulk::BillingCycleConfiguration,
|
24220
|
+
Orb::Internal::AnyHash
|
24221
|
+
)
|
24222
|
+
end
|
23233
24223
|
|
23234
24224
|
# The duration of the billing period.
|
23235
24225
|
sig { returns(Integer) }
|
@@ -23310,7 +24300,12 @@ module Orb
|
|
23310
24300
|
|
23311
24301
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
23312
24302
|
OrHash =
|
23313
|
-
T.type_alias
|
24303
|
+
T.type_alias do
|
24304
|
+
T.any(
|
24305
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::CumulativeGroupedBulk::InvoicingCycleConfiguration,
|
24306
|
+
Orb::Internal::AnyHash
|
24307
|
+
)
|
24308
|
+
end
|
23314
24309
|
|
23315
24310
|
# The duration of the billing period.
|
23316
24311
|
sig { returns(Integer) }
|
@@ -23391,7 +24386,13 @@ module Orb
|
|
23391
24386
|
end
|
23392
24387
|
|
23393
24388
|
class MaxGroupTieredPackage < Orb::Internal::Type::BaseModel
|
23394
|
-
OrHash =
|
24389
|
+
OrHash =
|
24390
|
+
T.type_alias do
|
24391
|
+
T.any(
|
24392
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::MaxGroupTieredPackage,
|
24393
|
+
Orb::Internal::AnyHash
|
24394
|
+
)
|
24395
|
+
end
|
23395
24396
|
|
23396
24397
|
# The cadence to bill for this price on.
|
23397
24398
|
sig do
|
@@ -23659,7 +24660,12 @@ module Orb
|
|
23659
24660
|
|
23660
24661
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
23661
24662
|
OrHash =
|
23662
|
-
T.type_alias
|
24663
|
+
T.type_alias do
|
24664
|
+
T.any(
|
24665
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::MaxGroupTieredPackage::BillingCycleConfiguration,
|
24666
|
+
Orb::Internal::AnyHash
|
24667
|
+
)
|
24668
|
+
end
|
23663
24669
|
|
23664
24670
|
# The duration of the billing period.
|
23665
24671
|
sig { returns(Integer) }
|
@@ -23740,7 +24746,12 @@ module Orb
|
|
23740
24746
|
|
23741
24747
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
23742
24748
|
OrHash =
|
23743
|
-
T.type_alias
|
24749
|
+
T.type_alias do
|
24750
|
+
T.any(
|
24751
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::MaxGroupTieredPackage::InvoicingCycleConfiguration,
|
24752
|
+
Orb::Internal::AnyHash
|
24753
|
+
)
|
24754
|
+
end
|
23744
24755
|
|
23745
24756
|
# The duration of the billing period.
|
23746
24757
|
sig { returns(Integer) }
|
@@ -23821,7 +24832,13 @@ module Orb
|
|
23821
24832
|
end
|
23822
24833
|
|
23823
24834
|
class GroupedWithMeteredMinimum < Orb::Internal::Type::BaseModel
|
23824
|
-
OrHash =
|
24835
|
+
OrHash =
|
24836
|
+
T.type_alias do
|
24837
|
+
T.any(
|
24838
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithMeteredMinimum,
|
24839
|
+
Orb::Internal::AnyHash
|
24840
|
+
)
|
24841
|
+
end
|
23825
24842
|
|
23826
24843
|
# The cadence to bill for this price on.
|
23827
24844
|
sig do
|
@@ -24091,7 +25108,12 @@ module Orb
|
|
24091
25108
|
|
24092
25109
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
24093
25110
|
OrHash =
|
24094
|
-
T.type_alias
|
25111
|
+
T.type_alias do
|
25112
|
+
T.any(
|
25113
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithMeteredMinimum::BillingCycleConfiguration,
|
25114
|
+
Orb::Internal::AnyHash
|
25115
|
+
)
|
25116
|
+
end
|
24095
25117
|
|
24096
25118
|
# The duration of the billing period.
|
24097
25119
|
sig { returns(Integer) }
|
@@ -24172,7 +25194,12 @@ module Orb
|
|
24172
25194
|
|
24173
25195
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
24174
25196
|
OrHash =
|
24175
|
-
T.type_alias
|
25197
|
+
T.type_alias do
|
25198
|
+
T.any(
|
25199
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithMeteredMinimum::InvoicingCycleConfiguration,
|
25200
|
+
Orb::Internal::AnyHash
|
25201
|
+
)
|
25202
|
+
end
|
24176
25203
|
|
24177
25204
|
# The duration of the billing period.
|
24178
25205
|
sig { returns(Integer) }
|
@@ -24253,7 +25280,13 @@ module Orb
|
|
24253
25280
|
end
|
24254
25281
|
|
24255
25282
|
class MatrixWithDisplayName < Orb::Internal::Type::BaseModel
|
24256
|
-
OrHash =
|
25283
|
+
OrHash =
|
25284
|
+
T.type_alias do
|
25285
|
+
T.any(
|
25286
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::MatrixWithDisplayName,
|
25287
|
+
Orb::Internal::AnyHash
|
25288
|
+
)
|
25289
|
+
end
|
24257
25290
|
|
24258
25291
|
# The cadence to bill for this price on.
|
24259
25292
|
sig do
|
@@ -24521,7 +25554,12 @@ module Orb
|
|
24521
25554
|
|
24522
25555
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
24523
25556
|
OrHash =
|
24524
|
-
T.type_alias
|
25557
|
+
T.type_alias do
|
25558
|
+
T.any(
|
25559
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::MatrixWithDisplayName::BillingCycleConfiguration,
|
25560
|
+
Orb::Internal::AnyHash
|
25561
|
+
)
|
25562
|
+
end
|
24525
25563
|
|
24526
25564
|
# The duration of the billing period.
|
24527
25565
|
sig { returns(Integer) }
|
@@ -24602,7 +25640,12 @@ module Orb
|
|
24602
25640
|
|
24603
25641
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
24604
25642
|
OrHash =
|
24605
|
-
T.type_alias
|
25643
|
+
T.type_alias do
|
25644
|
+
T.any(
|
25645
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::MatrixWithDisplayName::InvoicingCycleConfiguration,
|
25646
|
+
Orb::Internal::AnyHash
|
25647
|
+
)
|
25648
|
+
end
|
24606
25649
|
|
24607
25650
|
# The duration of the billing period.
|
24608
25651
|
sig { returns(Integer) }
|
@@ -24683,7 +25726,13 @@ module Orb
|
|
24683
25726
|
end
|
24684
25727
|
|
24685
25728
|
class GroupedTieredPackage < Orb::Internal::Type::BaseModel
|
24686
|
-
OrHash =
|
25729
|
+
OrHash =
|
25730
|
+
T.type_alias do
|
25731
|
+
T.any(
|
25732
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedTieredPackage,
|
25733
|
+
Orb::Internal::AnyHash
|
25734
|
+
)
|
25735
|
+
end
|
24687
25736
|
|
24688
25737
|
# The cadence to bill for this price on.
|
24689
25738
|
sig do
|
@@ -24951,7 +26000,12 @@ module Orb
|
|
24951
26000
|
|
24952
26001
|
class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
|
24953
26002
|
OrHash =
|
24954
|
-
T.type_alias
|
26003
|
+
T.type_alias do
|
26004
|
+
T.any(
|
26005
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedTieredPackage::BillingCycleConfiguration,
|
26006
|
+
Orb::Internal::AnyHash
|
26007
|
+
)
|
26008
|
+
end
|
24955
26009
|
|
24956
26010
|
# The duration of the billing period.
|
24957
26011
|
sig { returns(Integer) }
|
@@ -25032,7 +26086,12 @@ module Orb
|
|
25032
26086
|
|
25033
26087
|
class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
|
25034
26088
|
OrHash =
|
25035
|
-
T.type_alias
|
26089
|
+
T.type_alias do
|
26090
|
+
T.any(
|
26091
|
+
Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedTieredPackage::InvoicingCycleConfiguration,
|
26092
|
+
Orb::Internal::AnyHash
|
26093
|
+
)
|
26094
|
+
end
|
25036
26095
|
|
25037
26096
|
# The duration of the billing period.
|
25038
26097
|
sig { returns(Integer) }
|