orb-billing 1.57.0 → 1.58.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 +8 -0
- data/README.md +1 -1
- data/lib/orb/client.rb +0 -8
- data/lib/orb/models/migration_create_params.rb +10 -1
- data/lib/orb/models/{beta_create_plan_version_params.rb → plan_create_plan_version_params.rb} +430 -430
- data/lib/orb/models/{beta_fetch_plan_version_params.rb → plan_fetch_plan_version_params.rb} +2 -2
- data/lib/orb/models/{beta_set_default_plan_version_params.rb → plan_set_default_plan_version_params.rb} +2 -2
- data/lib/orb/models/plan_version.rb +1 -1
- data/lib/orb/models/plans/draft_discard_params.rb +22 -0
- data/lib/orb/models/plans/draft_fetch_params.rb +22 -0
- data/lib/orb/models/plans/draft_publish_params.rb +31 -0
- data/lib/orb/models/plans/draft_save_params.rb +7522 -0
- data/lib/orb/models/plans/external_plan_id/draft_discard_params.rb +24 -0
- data/lib/orb/models/plans/external_plan_id/draft_fetch_params.rb +24 -0
- data/lib/orb/models/plans/external_plan_id/draft_publish_params.rb +33 -0
- data/lib/orb/models/plans/external_plan_id/draft_save_params.rb +7595 -0
- data/lib/orb/models/{beta → plans}/external_plan_id_create_plan_version_params.rb +430 -430
- data/lib/orb/models/{beta → plans}/external_plan_id_fetch_plan_version_params.rb +2 -2
- data/lib/orb/models/{beta → plans}/external_plan_id_set_default_plan_version_params.rb +2 -2
- data/lib/orb/models/plans/plan_version_draft.rb +279 -0
- data/lib/orb/models.rb +6 -8
- data/lib/orb/resources/migrations.rb +3 -1
- data/lib/orb/resources/plans/draft.rb +124 -0
- data/lib/orb/resources/plans/external_plan_id/draft.rb +126 -0
- data/lib/orb/resources/plans/external_plan_id.rb +96 -0
- data/lib/orb/resources/plans.rb +96 -0
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +17 -8
- data/rbi/orb/client.rbi +0 -7
- data/rbi/orb/models/migration_create_params.rbi +13 -0
- data/rbi/orb/models/{beta_create_plan_version_params.rbi → plan_create_plan_version_params.rbi} +744 -744
- data/rbi/orb/models/{beta_fetch_plan_version_params.rbi → plan_fetch_plan_version_params.rbi} +2 -2
- data/rbi/orb/models/{beta_set_default_plan_version_params.rbi → plan_set_default_plan_version_params.rbi} +2 -2
- data/rbi/orb/models/plans/draft_discard_params.rbi +37 -0
- data/rbi/orb/models/plans/draft_fetch_params.rbi +37 -0
- data/rbi/orb/models/plans/draft_publish_params.rbi +54 -0
- data/rbi/orb/models/plans/draft_save_params.rbi +13143 -0
- data/rbi/orb/models/plans/external_plan_id/draft_discard_params.rbi +42 -0
- data/rbi/orb/models/plans/external_plan_id/draft_fetch_params.rbi +42 -0
- data/rbi/orb/models/plans/external_plan_id/draft_publish_params.rbi +59 -0
- data/rbi/orb/models/plans/external_plan_id/draft_save_params.rbi +13256 -0
- data/rbi/orb/models/{beta → plans}/external_plan_id_create_plan_version_params.rbi +744 -744
- data/rbi/orb/models/{beta → plans}/external_plan_id_fetch_plan_version_params.rbi +2 -2
- data/rbi/orb/models/{beta → plans}/external_plan_id_set_default_plan_version_params.rbi +2 -2
- data/rbi/orb/models/plans/plan_version_draft.rbi +502 -0
- data/rbi/orb/models.rbi +6 -8
- data/rbi/orb/resources/migrations.rbi +4 -0
- data/rbi/orb/resources/{beta/external_plan_id.rbi → plans/draft.rbi} +58 -59
- data/rbi/orb/resources/plans/external_plan_id/draft.rbi +126 -0
- data/rbi/orb/resources/plans/external_plan_id.rbi +102 -0
- data/rbi/orb/resources/plans.rbi +94 -0
- data/sig/orb/client.rbs +0 -2
- data/sig/orb/models/migration_create_params.rbs +7 -0
- data/sig/orb/models/{beta_create_plan_version_params.rbs → plan_create_plan_version_params.rbs} +448 -448
- data/sig/orb/models/{beta_fetch_plan_version_params.rbs → plan_fetch_plan_version_params.rbs} +2 -2
- data/sig/orb/models/{beta_set_default_plan_version_params.rbs → plan_set_default_plan_version_params.rbs} +2 -2
- data/sig/orb/models/plans/draft_discard_params.rbs +25 -0
- data/sig/orb/models/plans/draft_fetch_params.rbs +25 -0
- data/sig/orb/models/plans/draft_publish_params.rbs +32 -0
- data/sig/orb/models/plans/draft_save_params.rbs +5210 -0
- data/sig/orb/models/plans/external_plan_id/draft_discard_params.rbs +27 -0
- data/sig/orb/models/plans/external_plan_id/draft_fetch_params.rbs +27 -0
- data/sig/orb/models/plans/external_plan_id/draft_publish_params.rbs +34 -0
- data/sig/orb/models/plans/external_plan_id/draft_save_params.rbs +5215 -0
- data/sig/orb/models/{beta → plans}/external_plan_id_create_plan_version_params.rbs +447 -447
- data/sig/orb/models/{beta → plans}/external_plan_id_fetch_plan_version_params.rbs +1 -1
- data/sig/orb/models/{beta → plans}/external_plan_id_set_default_plan_version_params.rbs +1 -1
- data/sig/orb/models/plans/plan_version_draft.rbs +205 -0
- data/sig/orb/models.rbs +6 -8
- data/sig/orb/resources/migrations.rbs +1 -0
- data/sig/orb/resources/plans/draft.rbs +37 -0
- data/sig/orb/resources/plans/external_plan_id/draft.rbs +39 -0
- data/sig/orb/resources/plans/external_plan_id.rbs +27 -0
- data/sig/orb/resources/plans.rbs +27 -0
- metadata +2038 -2005
- data/lib/orb/resources/beta/external_plan_id.rb +0 -108
- data/lib/orb/resources/beta.rb +0 -114
- data/rbi/orb/resources/beta.rbi +0 -110
- data/sig/orb/resources/beta/external_plan_id.rbs +0 -34
- data/sig/orb/resources/beta.rbs +0 -34
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
module Orb
|
|
2
2
|
module Models
|
|
3
|
-
module
|
|
3
|
+
module Plans
|
|
4
4
|
type external_plan_id_create_plan_version_params =
|
|
5
5
|
{
|
|
6
6
|
external_plan_id: String,
|
|
7
7
|
version: Integer,
|
|
8
|
-
add_adjustments: ::Array[Orb::
|
|
9
|
-
add_prices: ::Array[Orb::
|
|
10
|
-
remove_adjustments: ::Array[Orb::
|
|
11
|
-
remove_prices: ::Array[Orb::
|
|
12
|
-
replace_adjustments: ::Array[Orb::
|
|
13
|
-
replace_prices: ::Array[Orb::
|
|
8
|
+
add_adjustments: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment]?,
|
|
9
|
+
add_prices: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice]?,
|
|
10
|
+
remove_adjustments: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::RemoveAdjustment]?,
|
|
11
|
+
remove_prices: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::RemovePrice]?,
|
|
12
|
+
replace_adjustments: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment]?,
|
|
13
|
+
replace_prices: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice]?,
|
|
14
14
|
set_as_default: bool?
|
|
15
15
|
}
|
|
16
16
|
& Orb::Internal::Type::request_parameters
|
|
@@ -23,29 +23,29 @@ module Orb
|
|
|
23
23
|
|
|
24
24
|
attr_accessor version: Integer
|
|
25
25
|
|
|
26
|
-
attr_accessor add_adjustments: ::Array[Orb::
|
|
26
|
+
attr_accessor add_adjustments: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment]?
|
|
27
27
|
|
|
28
|
-
attr_accessor add_prices: ::Array[Orb::
|
|
28
|
+
attr_accessor add_prices: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice]?
|
|
29
29
|
|
|
30
|
-
attr_accessor remove_adjustments: ::Array[Orb::
|
|
30
|
+
attr_accessor remove_adjustments: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::RemoveAdjustment]?
|
|
31
31
|
|
|
32
|
-
attr_accessor remove_prices: ::Array[Orb::
|
|
32
|
+
attr_accessor remove_prices: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::RemovePrice]?
|
|
33
33
|
|
|
34
|
-
attr_accessor replace_adjustments: ::Array[Orb::
|
|
34
|
+
attr_accessor replace_adjustments: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment]?
|
|
35
35
|
|
|
36
|
-
attr_accessor replace_prices: ::Array[Orb::
|
|
36
|
+
attr_accessor replace_prices: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice]?
|
|
37
37
|
|
|
38
38
|
attr_accessor set_as_default: bool?
|
|
39
39
|
|
|
40
40
|
def initialize: (
|
|
41
41
|
external_plan_id: String,
|
|
42
42
|
version: Integer,
|
|
43
|
-
?add_adjustments: ::Array[Orb::
|
|
44
|
-
?add_prices: ::Array[Orb::
|
|
45
|
-
?remove_adjustments: ::Array[Orb::
|
|
46
|
-
?remove_prices: ::Array[Orb::
|
|
47
|
-
?replace_adjustments: ::Array[Orb::
|
|
48
|
-
?replace_prices: ::Array[Orb::
|
|
43
|
+
?add_adjustments: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment]?,
|
|
44
|
+
?add_prices: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice]?,
|
|
45
|
+
?remove_adjustments: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::RemoveAdjustment]?,
|
|
46
|
+
?remove_prices: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::RemovePrice]?,
|
|
47
|
+
?replace_adjustments: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment]?,
|
|
48
|
+
?replace_prices: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice]?,
|
|
49
49
|
?set_as_default: bool?,
|
|
50
50
|
?request_options: Orb::request_opts
|
|
51
51
|
) -> void
|
|
@@ -53,34 +53,34 @@ module Orb
|
|
|
53
53
|
def to_hash: -> {
|
|
54
54
|
external_plan_id: String,
|
|
55
55
|
version: Integer,
|
|
56
|
-
add_adjustments: ::Array[Orb::
|
|
57
|
-
add_prices: ::Array[Orb::
|
|
58
|
-
remove_adjustments: ::Array[Orb::
|
|
59
|
-
remove_prices: ::Array[Orb::
|
|
60
|
-
replace_adjustments: ::Array[Orb::
|
|
61
|
-
replace_prices: ::Array[Orb::
|
|
56
|
+
add_adjustments: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment]?,
|
|
57
|
+
add_prices: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice]?,
|
|
58
|
+
remove_adjustments: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::RemoveAdjustment]?,
|
|
59
|
+
remove_prices: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::RemovePrice]?,
|
|
60
|
+
replace_adjustments: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment]?,
|
|
61
|
+
replace_prices: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice]?,
|
|
62
62
|
set_as_default: bool?,
|
|
63
63
|
request_options: Orb::RequestOptions
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
type add_adjustment =
|
|
67
67
|
{
|
|
68
|
-
adjustment: Orb::Models::
|
|
68
|
+
adjustment: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::adjustment,
|
|
69
69
|
plan_phase_order: Integer?
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
class AddAdjustment < Orb::Internal::Type::BaseModel
|
|
73
|
-
attr_accessor adjustment: Orb::Models::
|
|
73
|
+
attr_accessor adjustment: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::adjustment
|
|
74
74
|
|
|
75
75
|
attr_accessor plan_phase_order: Integer?
|
|
76
76
|
|
|
77
77
|
def initialize: (
|
|
78
|
-
adjustment: Orb::Models::
|
|
78
|
+
adjustment: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::adjustment,
|
|
79
79
|
?plan_phase_order: Integer?
|
|
80
80
|
) -> void
|
|
81
81
|
|
|
82
82
|
def to_hash: -> {
|
|
83
|
-
adjustment: Orb::Models::
|
|
83
|
+
adjustment: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::adjustment,
|
|
84
84
|
plan_phase_order: Integer?
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -90,7 +90,7 @@ module Orb
|
|
|
90
90
|
| Orb::NewAmountDiscount
|
|
91
91
|
| Orb::NewMinimum
|
|
92
92
|
| Orb::NewMaximum
|
|
93
|
-
| Orb::
|
|
93
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount
|
|
94
94
|
|
|
95
95
|
module Adjustment
|
|
96
96
|
extend Orb::Internal::Type::Union
|
|
@@ -98,22 +98,22 @@ module Orb
|
|
|
98
98
|
type tiered_percentage_discount =
|
|
99
99
|
{
|
|
100
100
|
adjustment_type: :tiered_percentage_discount,
|
|
101
|
-
tiers: ::Array[Orb::
|
|
102
|
-
applies_to_all: Orb::Models::
|
|
101
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier],
|
|
102
|
+
applies_to_all: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
|
|
103
103
|
applies_to_item_ids: ::Array[String]?,
|
|
104
104
|
applies_to_price_ids: ::Array[String]?,
|
|
105
105
|
currency: String?,
|
|
106
|
-
filters: ::Array[Orb::
|
|
106
|
+
filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
|
|
107
107
|
is_invoice_level: bool,
|
|
108
|
-
price_type: Orb::Models::
|
|
108
|
+
price_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::price_type?
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
class TieredPercentageDiscount < Orb::Internal::Type::BaseModel
|
|
112
112
|
attr_accessor adjustment_type: :tiered_percentage_discount
|
|
113
113
|
|
|
114
|
-
attr_accessor tiers: ::Array[Orb::
|
|
114
|
+
attr_accessor tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier]
|
|
115
115
|
|
|
116
|
-
attr_accessor applies_to_all: Orb::Models::
|
|
116
|
+
attr_accessor applies_to_all: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?
|
|
117
117
|
|
|
118
118
|
attr_accessor applies_to_item_ids: ::Array[String]?
|
|
119
119
|
|
|
@@ -121,36 +121,36 @@ module Orb
|
|
|
121
121
|
|
|
122
122
|
attr_accessor currency: String?
|
|
123
123
|
|
|
124
|
-
attr_accessor filters: ::Array[Orb::
|
|
124
|
+
attr_accessor filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter]?
|
|
125
125
|
|
|
126
126
|
attr_reader is_invoice_level: bool?
|
|
127
127
|
|
|
128
128
|
def is_invoice_level=: (bool) -> bool
|
|
129
129
|
|
|
130
|
-
attr_accessor price_type: Orb::Models::
|
|
130
|
+
attr_accessor price_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::price_type?
|
|
131
131
|
|
|
132
132
|
def initialize: (
|
|
133
|
-
tiers: ::Array[Orb::
|
|
134
|
-
?applies_to_all: Orb::Models::
|
|
133
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier],
|
|
134
|
+
?applies_to_all: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
|
|
135
135
|
?applies_to_item_ids: ::Array[String]?,
|
|
136
136
|
?applies_to_price_ids: ::Array[String]?,
|
|
137
137
|
?currency: String?,
|
|
138
|
-
?filters: ::Array[Orb::
|
|
138
|
+
?filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
|
|
139
139
|
?is_invoice_level: bool,
|
|
140
|
-
?price_type: Orb::Models::
|
|
140
|
+
?price_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::price_type?,
|
|
141
141
|
?adjustment_type: :tiered_percentage_discount
|
|
142
142
|
) -> void
|
|
143
143
|
|
|
144
144
|
def to_hash: -> {
|
|
145
145
|
adjustment_type: :tiered_percentage_discount,
|
|
146
|
-
tiers: ::Array[Orb::
|
|
147
|
-
applies_to_all: Orb::Models::
|
|
146
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier],
|
|
147
|
+
applies_to_all: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
|
|
148
148
|
applies_to_item_ids: ::Array[String]?,
|
|
149
149
|
applies_to_price_ids: ::Array[String]?,
|
|
150
150
|
currency: String?,
|
|
151
|
-
filters: ::Array[Orb::
|
|
151
|
+
filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
|
|
152
152
|
is_invoice_level: bool,
|
|
153
|
-
price_type: Orb::Models::
|
|
153
|
+
price_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::price_type?
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
type tier =
|
|
@@ -183,32 +183,32 @@ module Orb
|
|
|
183
183
|
|
|
184
184
|
TRUE: true
|
|
185
185
|
|
|
186
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
186
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all]
|
|
187
187
|
end
|
|
188
188
|
|
|
189
189
|
type filter =
|
|
190
190
|
{
|
|
191
|
-
field: Orb::Models::
|
|
192
|
-
operator: Orb::Models::
|
|
191
|
+
field: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
|
|
192
|
+
operator: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
|
|
193
193
|
values: ::Array[String]
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
class Filter < Orb::Internal::Type::BaseModel
|
|
197
|
-
attr_accessor field: Orb::Models::
|
|
197
|
+
attr_accessor field: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::field
|
|
198
198
|
|
|
199
|
-
attr_accessor operator: Orb::Models::
|
|
199
|
+
attr_accessor operator: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator
|
|
200
200
|
|
|
201
201
|
attr_accessor values: ::Array[String]
|
|
202
202
|
|
|
203
203
|
def initialize: (
|
|
204
|
-
field: Orb::Models::
|
|
205
|
-
operator: Orb::Models::
|
|
204
|
+
field: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
|
|
205
|
+
operator: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
|
|
206
206
|
values: ::Array[String]
|
|
207
207
|
) -> void
|
|
208
208
|
|
|
209
209
|
def to_hash: -> {
|
|
210
|
-
field: Orb::Models::
|
|
211
|
-
operator: Orb::Models::
|
|
210
|
+
field: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
|
|
211
|
+
operator: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
|
|
212
212
|
values: ::Array[String]
|
|
213
213
|
}
|
|
214
214
|
|
|
@@ -228,7 +228,7 @@ module Orb
|
|
|
228
228
|
CURRENCY: :currency
|
|
229
229
|
PRICING_UNIT_ID: :pricing_unit_id
|
|
230
230
|
|
|
231
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
231
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::field]
|
|
232
232
|
end
|
|
233
233
|
|
|
234
234
|
type operator = :includes | :excludes
|
|
@@ -239,7 +239,7 @@ module Orb
|
|
|
239
239
|
INCLUDES: :includes
|
|
240
240
|
EXCLUDES: :excludes
|
|
241
241
|
|
|
242
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
242
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator]
|
|
243
243
|
end
|
|
244
244
|
end
|
|
245
245
|
|
|
@@ -259,51 +259,51 @@ module Orb
|
|
|
259
259
|
FIXED: :fixed
|
|
260
260
|
IN_ARREARS: :in_arrears
|
|
261
261
|
|
|
262
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
262
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::price_type]
|
|
263
263
|
end
|
|
264
264
|
end
|
|
265
265
|
|
|
266
|
-
def self?.variants: -> ::Array[Orb::Models::
|
|
266
|
+
def self?.variants: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddAdjustment::adjustment]
|
|
267
267
|
end
|
|
268
268
|
end
|
|
269
269
|
|
|
270
270
|
type add_price =
|
|
271
271
|
{
|
|
272
272
|
allocation_price: Orb::NewAllocationPrice?,
|
|
273
|
-
license_allocation_price: Orb::
|
|
273
|
+
license_allocation_price: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice?,
|
|
274
274
|
plan_phase_order: Integer?,
|
|
275
|
-
price: Orb::Models::
|
|
275
|
+
price: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::price?
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
class AddPrice < Orb::Internal::Type::BaseModel
|
|
279
279
|
attr_accessor allocation_price: Orb::NewAllocationPrice?
|
|
280
280
|
|
|
281
|
-
attr_accessor license_allocation_price: Orb::
|
|
281
|
+
attr_accessor license_allocation_price: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice?
|
|
282
282
|
|
|
283
283
|
attr_accessor plan_phase_order: Integer?
|
|
284
284
|
|
|
285
|
-
attr_accessor price: Orb::Models::
|
|
285
|
+
attr_accessor price: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::price?
|
|
286
286
|
|
|
287
287
|
def initialize: (
|
|
288
288
|
?allocation_price: Orb::NewAllocationPrice?,
|
|
289
|
-
?license_allocation_price: Orb::
|
|
289
|
+
?license_allocation_price: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice?,
|
|
290
290
|
?plan_phase_order: Integer?,
|
|
291
|
-
?price: Orb::Models::
|
|
291
|
+
?price: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::price?
|
|
292
292
|
) -> void
|
|
293
293
|
|
|
294
294
|
def to_hash: -> {
|
|
295
295
|
allocation_price: Orb::NewAllocationPrice?,
|
|
296
|
-
license_allocation_price: Orb::
|
|
296
|
+
license_allocation_price: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice?,
|
|
297
297
|
plan_phase_order: Integer?,
|
|
298
|
-
price: Orb::Models::
|
|
298
|
+
price: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::price?
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
type license_allocation_price =
|
|
302
302
|
{
|
|
303
|
-
cadence: Orb::Models::
|
|
303
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::cadence,
|
|
304
304
|
item_id: String,
|
|
305
|
-
license_allocations: ::Array[Orb::
|
|
306
|
-
model_type: Orb::Models::
|
|
305
|
+
license_allocations: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::LicenseAllocation],
|
|
306
|
+
model_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::model_type,
|
|
307
307
|
name: String,
|
|
308
308
|
unit_config: Orb::UnitConfig,
|
|
309
309
|
billable_metric_id: String?,
|
|
@@ -323,13 +323,13 @@ module Orb
|
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
class LicenseAllocationPrice < Orb::Internal::Type::BaseModel
|
|
326
|
-
attr_accessor cadence: Orb::Models::
|
|
326
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::cadence
|
|
327
327
|
|
|
328
328
|
attr_accessor item_id: String
|
|
329
329
|
|
|
330
|
-
attr_accessor license_allocations: ::Array[Orb::
|
|
330
|
+
attr_accessor license_allocations: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::LicenseAllocation]
|
|
331
331
|
|
|
332
|
-
attr_accessor model_type: Orb::Models::
|
|
332
|
+
attr_accessor model_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::model_type
|
|
333
333
|
|
|
334
334
|
attr_accessor name: String
|
|
335
335
|
|
|
@@ -364,10 +364,10 @@ module Orb
|
|
|
364
364
|
attr_accessor reference_id: String?
|
|
365
365
|
|
|
366
366
|
def initialize: (
|
|
367
|
-
cadence: Orb::Models::
|
|
367
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::cadence,
|
|
368
368
|
item_id: String,
|
|
369
|
-
license_allocations: ::Array[Orb::
|
|
370
|
-
model_type: Orb::Models::
|
|
369
|
+
license_allocations: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::LicenseAllocation],
|
|
370
|
+
model_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::model_type,
|
|
371
371
|
name: String,
|
|
372
372
|
unit_config: Orb::UnitConfig,
|
|
373
373
|
?billable_metric_id: String?,
|
|
@@ -387,10 +387,10 @@ module Orb
|
|
|
387
387
|
) -> void
|
|
388
388
|
|
|
389
389
|
def to_hash: -> {
|
|
390
|
-
cadence: Orb::Models::
|
|
390
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::cadence,
|
|
391
391
|
item_id: String,
|
|
392
|
-
license_allocations: ::Array[Orb::
|
|
393
|
-
model_type: Orb::Models::
|
|
392
|
+
license_allocations: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::LicenseAllocation],
|
|
393
|
+
model_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::model_type,
|
|
394
394
|
name: String,
|
|
395
395
|
unit_config: Orb::UnitConfig,
|
|
396
396
|
billable_metric_id: String?,
|
|
@@ -427,7 +427,7 @@ module Orb
|
|
|
427
427
|
ANNUAL: :annual
|
|
428
428
|
CUSTOM: :custom
|
|
429
429
|
|
|
430
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
430
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::cadence]
|
|
431
431
|
end
|
|
432
432
|
|
|
433
433
|
type license_allocation =
|
|
@@ -460,7 +460,7 @@ module Orb
|
|
|
460
460
|
|
|
461
461
|
UNIT: :unit
|
|
462
462
|
|
|
463
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
463
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::model_type]
|
|
464
464
|
end
|
|
465
465
|
end
|
|
466
466
|
|
|
@@ -468,48 +468,48 @@ module Orb
|
|
|
468
468
|
Orb::NewPlanUnitPrice
|
|
469
469
|
| Orb::NewPlanTieredPrice
|
|
470
470
|
| Orb::NewPlanBulkPrice
|
|
471
|
-
| Orb::
|
|
471
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters
|
|
472
472
|
| Orb::NewPlanPackagePrice
|
|
473
473
|
| Orb::NewPlanMatrixPrice
|
|
474
474
|
| Orb::NewPlanThresholdTotalAmountPrice
|
|
475
475
|
| Orb::NewPlanTieredPackagePrice
|
|
476
476
|
| Orb::NewPlanTieredWithMinimumPrice
|
|
477
477
|
| Orb::NewPlanGroupedTieredPrice
|
|
478
|
-
| Orb::
|
|
478
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix
|
|
479
479
|
| Orb::NewPlanTieredPackageWithMinimumPrice
|
|
480
480
|
| Orb::NewPlanPackageWithAllocationPrice
|
|
481
481
|
| Orb::NewPlanUnitWithPercentPrice
|
|
482
482
|
| Orb::NewPlanMatrixWithAllocationPrice
|
|
483
|
-
| Orb::
|
|
484
|
-
| Orb::
|
|
485
|
-
| Orb::
|
|
483
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation
|
|
484
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts
|
|
485
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration
|
|
486
486
|
| Orb::NewPlanUnitWithProrationPrice
|
|
487
487
|
| Orb::NewPlanGroupedAllocationPrice
|
|
488
488
|
| Orb::NewPlanBulkWithProrationPrice
|
|
489
489
|
| Orb::NewPlanGroupedWithProratedMinimumPrice
|
|
490
490
|
| Orb::NewPlanGroupedWithMeteredMinimumPrice
|
|
491
|
-
| Orb::
|
|
491
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds
|
|
492
492
|
| Orb::NewPlanMatrixWithDisplayNamePrice
|
|
493
493
|
| Orb::NewPlanGroupedTieredPackagePrice
|
|
494
494
|
| Orb::NewPlanMaxGroupTieredPackagePrice
|
|
495
495
|
| Orb::NewPlanScalableMatrixWithUnitPricingPrice
|
|
496
496
|
| Orb::NewPlanScalableMatrixWithTieredPricingPrice
|
|
497
497
|
| Orb::NewPlanCumulativeGroupedBulkPrice
|
|
498
|
-
| Orb::
|
|
499
|
-
| Orb::
|
|
500
|
-
| Orb::
|
|
498
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation
|
|
499
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance
|
|
500
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MeteredAllowance
|
|
501
501
|
| Orb::NewPlanMinimumCompositePrice
|
|
502
|
-
| Orb::
|
|
503
|
-
| Orb::
|
|
504
|
-
| Orb::
|
|
502
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::Percent
|
|
503
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::EventOutput
|
|
504
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier
|
|
505
505
|
|
|
506
506
|
module Price
|
|
507
507
|
extend Orb::Internal::Type::Union
|
|
508
508
|
|
|
509
509
|
type bulk_with_filters =
|
|
510
510
|
{
|
|
511
|
-
bulk_with_filters_config: Orb::
|
|
512
|
-
cadence: Orb::Models::
|
|
511
|
+
bulk_with_filters_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig,
|
|
512
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::cadence,
|
|
513
513
|
item_id: String,
|
|
514
514
|
model_type: :bulk_with_filters,
|
|
515
515
|
name: String,
|
|
@@ -530,9 +530,9 @@ module Orb
|
|
|
530
530
|
}
|
|
531
531
|
|
|
532
532
|
class BulkWithFilters < Orb::Internal::Type::BaseModel
|
|
533
|
-
attr_accessor bulk_with_filters_config: Orb::
|
|
533
|
+
attr_accessor bulk_with_filters_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig
|
|
534
534
|
|
|
535
|
-
attr_accessor cadence: Orb::Models::
|
|
535
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::cadence
|
|
536
536
|
|
|
537
537
|
attr_accessor item_id: String
|
|
538
538
|
|
|
@@ -569,8 +569,8 @@ module Orb
|
|
|
569
569
|
attr_accessor reference_id: String?
|
|
570
570
|
|
|
571
571
|
def initialize: (
|
|
572
|
-
bulk_with_filters_config: Orb::
|
|
573
|
-
cadence: Orb::Models::
|
|
572
|
+
bulk_with_filters_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig,
|
|
573
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::cadence,
|
|
574
574
|
item_id: String,
|
|
575
575
|
name: String,
|
|
576
576
|
?billable_metric_id: String?,
|
|
@@ -591,8 +591,8 @@ module Orb
|
|
|
591
591
|
) -> void
|
|
592
592
|
|
|
593
593
|
def to_hash: -> {
|
|
594
|
-
bulk_with_filters_config: Orb::
|
|
595
|
-
cadence: Orb::Models::
|
|
594
|
+
bulk_with_filters_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig,
|
|
595
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::cadence,
|
|
596
596
|
item_id: String,
|
|
597
597
|
model_type: :bulk_with_filters,
|
|
598
598
|
name: String,
|
|
@@ -614,23 +614,23 @@ module Orb
|
|
|
614
614
|
|
|
615
615
|
type bulk_with_filters_config =
|
|
616
616
|
{
|
|
617
|
-
filters: ::Array[Orb::
|
|
618
|
-
tiers: ::Array[Orb::
|
|
617
|
+
filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
|
|
618
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
class BulkWithFiltersConfig < Orb::Internal::Type::BaseModel
|
|
622
|
-
attr_accessor filters: ::Array[Orb::
|
|
622
|
+
attr_accessor filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter]
|
|
623
623
|
|
|
624
|
-
attr_accessor tiers: ::Array[Orb::
|
|
624
|
+
attr_accessor tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
|
|
625
625
|
|
|
626
626
|
def initialize: (
|
|
627
|
-
filters: ::Array[Orb::
|
|
628
|
-
tiers: ::Array[Orb::
|
|
627
|
+
filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
|
|
628
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
|
|
629
629
|
) -> void
|
|
630
630
|
|
|
631
631
|
def to_hash: -> {
|
|
632
|
-
filters: ::Array[Orb::
|
|
633
|
-
tiers: ::Array[Orb::
|
|
632
|
+
filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
|
|
633
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
|
|
634
634
|
}
|
|
635
635
|
|
|
636
636
|
type filter = { property_key: String, property_value: String }
|
|
@@ -688,14 +688,14 @@ module Orb
|
|
|
688
688
|
ANNUAL: :annual
|
|
689
689
|
CUSTOM: :custom
|
|
690
690
|
|
|
691
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
691
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::cadence]
|
|
692
692
|
end
|
|
693
693
|
end
|
|
694
694
|
|
|
695
695
|
type grouped_tiered_matrix =
|
|
696
696
|
{
|
|
697
|
-
cadence: Orb::Models::
|
|
698
|
-
grouped_tiered_matrix_config: Orb::
|
|
697
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::cadence,
|
|
698
|
+
grouped_tiered_matrix_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
|
|
699
699
|
item_id: String,
|
|
700
700
|
model_type: :grouped_tiered_matrix,
|
|
701
701
|
name: String,
|
|
@@ -716,9 +716,9 @@ module Orb
|
|
|
716
716
|
}
|
|
717
717
|
|
|
718
718
|
class GroupedTieredMatrix < Orb::Internal::Type::BaseModel
|
|
719
|
-
attr_accessor cadence: Orb::Models::
|
|
719
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::cadence
|
|
720
720
|
|
|
721
|
-
attr_accessor grouped_tiered_matrix_config: Orb::
|
|
721
|
+
attr_accessor grouped_tiered_matrix_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig
|
|
722
722
|
|
|
723
723
|
attr_accessor item_id: String
|
|
724
724
|
|
|
@@ -755,8 +755,8 @@ module Orb
|
|
|
755
755
|
attr_accessor reference_id: String?
|
|
756
756
|
|
|
757
757
|
def initialize: (
|
|
758
|
-
cadence: Orb::Models::
|
|
759
|
-
grouped_tiered_matrix_config: Orb::
|
|
758
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::cadence,
|
|
759
|
+
grouped_tiered_matrix_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
|
|
760
760
|
item_id: String,
|
|
761
761
|
name: String,
|
|
762
762
|
?billable_metric_id: String?,
|
|
@@ -777,8 +777,8 @@ module Orb
|
|
|
777
777
|
) -> void
|
|
778
778
|
|
|
779
779
|
def to_hash: -> {
|
|
780
|
-
cadence: Orb::Models::
|
|
781
|
-
grouped_tiered_matrix_config: Orb::
|
|
780
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::cadence,
|
|
781
|
+
grouped_tiered_matrix_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
|
|
782
782
|
item_id: String,
|
|
783
783
|
model_type: :grouped_tiered_matrix,
|
|
784
784
|
name: String,
|
|
@@ -816,14 +816,14 @@ module Orb
|
|
|
816
816
|
ANNUAL: :annual
|
|
817
817
|
CUSTOM: :custom
|
|
818
818
|
|
|
819
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
819
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::cadence]
|
|
820
820
|
end
|
|
821
821
|
|
|
822
822
|
type grouped_tiered_matrix_config =
|
|
823
823
|
{
|
|
824
824
|
default_unit_amount: String,
|
|
825
825
|
dimension: String,
|
|
826
|
-
tiers: ::Array[Orb::
|
|
826
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
|
|
827
827
|
}
|
|
828
828
|
|
|
829
829
|
class GroupedTieredMatrixConfig < Orb::Internal::Type::BaseModel
|
|
@@ -831,18 +831,18 @@ module Orb
|
|
|
831
831
|
|
|
832
832
|
attr_accessor dimension: String
|
|
833
833
|
|
|
834
|
-
attr_accessor tiers: ::Array[Orb::
|
|
834
|
+
attr_accessor tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
|
|
835
835
|
|
|
836
836
|
def initialize: (
|
|
837
837
|
default_unit_amount: String,
|
|
838
838
|
dimension: String,
|
|
839
|
-
tiers: ::Array[Orb::
|
|
839
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
|
|
840
840
|
) -> void
|
|
841
841
|
|
|
842
842
|
def to_hash: -> {
|
|
843
843
|
default_unit_amount: String,
|
|
844
844
|
dimension: String,
|
|
845
|
-
tiers: ::Array[Orb::
|
|
845
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
|
|
846
846
|
}
|
|
847
847
|
|
|
848
848
|
type tier =
|
|
@@ -876,11 +876,11 @@ module Orb
|
|
|
876
876
|
|
|
877
877
|
type tiered_matrix_with_allocation =
|
|
878
878
|
{
|
|
879
|
-
cadence: Orb::Models::
|
|
879
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::cadence,
|
|
880
880
|
item_id: String,
|
|
881
881
|
model_type: :tiered_matrix_with_allocation,
|
|
882
882
|
name: String,
|
|
883
|
-
tiered_matrix_with_allocation_config: Orb::
|
|
883
|
+
tiered_matrix_with_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
|
|
884
884
|
billable_metric_id: String?,
|
|
885
885
|
billed_in_advance: bool?,
|
|
886
886
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -898,7 +898,7 @@ module Orb
|
|
|
898
898
|
}
|
|
899
899
|
|
|
900
900
|
class TieredMatrixWithAllocation < Orb::Internal::Type::BaseModel
|
|
901
|
-
attr_accessor cadence: Orb::Models::
|
|
901
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::cadence
|
|
902
902
|
|
|
903
903
|
attr_accessor item_id: String
|
|
904
904
|
|
|
@@ -906,7 +906,7 @@ module Orb
|
|
|
906
906
|
|
|
907
907
|
attr_accessor name: String
|
|
908
908
|
|
|
909
|
-
attr_accessor tiered_matrix_with_allocation_config: Orb::
|
|
909
|
+
attr_accessor tiered_matrix_with_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig
|
|
910
910
|
|
|
911
911
|
attr_accessor billable_metric_id: String?
|
|
912
912
|
|
|
@@ -937,10 +937,10 @@ module Orb
|
|
|
937
937
|
attr_accessor reference_id: String?
|
|
938
938
|
|
|
939
939
|
def initialize: (
|
|
940
|
-
cadence: Orb::Models::
|
|
940
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::cadence,
|
|
941
941
|
item_id: String,
|
|
942
942
|
name: String,
|
|
943
|
-
tiered_matrix_with_allocation_config: Orb::
|
|
943
|
+
tiered_matrix_with_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
|
|
944
944
|
?billable_metric_id: String?,
|
|
945
945
|
?billed_in_advance: bool?,
|
|
946
946
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -959,11 +959,11 @@ module Orb
|
|
|
959
959
|
) -> void
|
|
960
960
|
|
|
961
961
|
def to_hash: -> {
|
|
962
|
-
cadence: Orb::Models::
|
|
962
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::cadence,
|
|
963
963
|
item_id: String,
|
|
964
964
|
model_type: :tiered_matrix_with_allocation,
|
|
965
965
|
name: String,
|
|
966
|
-
tiered_matrix_with_allocation_config: Orb::
|
|
966
|
+
tiered_matrix_with_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
|
|
967
967
|
billable_metric_id: String?,
|
|
968
968
|
billed_in_advance: bool?,
|
|
969
969
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -998,7 +998,7 @@ module Orb
|
|
|
998
998
|
ANNUAL: :annual
|
|
999
999
|
CUSTOM: :custom
|
|
1000
1000
|
|
|
1001
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
1001
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::cadence]
|
|
1002
1002
|
end
|
|
1003
1003
|
|
|
1004
1004
|
type tiered_matrix_with_allocation_config =
|
|
@@ -1006,7 +1006,7 @@ module Orb
|
|
|
1006
1006
|
allocation: String,
|
|
1007
1007
|
default_unit_amount: String,
|
|
1008
1008
|
dimensions: ::Array[String],
|
|
1009
|
-
tiers: ::Array[Orb::
|
|
1009
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
1012
1012
|
class TieredMatrixWithAllocationConfig < Orb::Internal::Type::BaseModel
|
|
@@ -1016,20 +1016,20 @@ module Orb
|
|
|
1016
1016
|
|
|
1017
1017
|
attr_accessor dimensions: ::Array[String]
|
|
1018
1018
|
|
|
1019
|
-
attr_accessor tiers: ::Array[Orb::
|
|
1019
|
+
attr_accessor tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
|
|
1020
1020
|
|
|
1021
1021
|
def initialize: (
|
|
1022
1022
|
allocation: String,
|
|
1023
1023
|
default_unit_amount: String,
|
|
1024
1024
|
dimensions: ::Array[String],
|
|
1025
|
-
tiers: ::Array[Orb::
|
|
1025
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
|
|
1026
1026
|
) -> void
|
|
1027
1027
|
|
|
1028
1028
|
def to_hash: -> {
|
|
1029
1029
|
allocation: String,
|
|
1030
1030
|
default_unit_amount: String,
|
|
1031
1031
|
dimensions: ::Array[String],
|
|
1032
|
-
tiers: ::Array[Orb::
|
|
1032
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
|
|
1033
1033
|
}
|
|
1034
1034
|
|
|
1035
1035
|
type tier =
|
|
@@ -1063,9 +1063,9 @@ module Orb
|
|
|
1063
1063
|
|
|
1064
1064
|
type matrix_with_threshold_discounts =
|
|
1065
1065
|
{
|
|
1066
|
-
cadence: Orb::Models::
|
|
1066
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::cadence,
|
|
1067
1067
|
item_id: String,
|
|
1068
|
-
matrix_with_threshold_discounts_config: Orb::
|
|
1068
|
+
matrix_with_threshold_discounts_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
|
|
1069
1069
|
model_type: :matrix_with_threshold_discounts,
|
|
1070
1070
|
name: String,
|
|
1071
1071
|
billable_metric_id: String?,
|
|
@@ -1085,11 +1085,11 @@ module Orb
|
|
|
1085
1085
|
}
|
|
1086
1086
|
|
|
1087
1087
|
class MatrixWithThresholdDiscounts < Orb::Internal::Type::BaseModel
|
|
1088
|
-
attr_accessor cadence: Orb::Models::
|
|
1088
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::cadence
|
|
1089
1089
|
|
|
1090
1090
|
attr_accessor item_id: String
|
|
1091
1091
|
|
|
1092
|
-
attr_accessor matrix_with_threshold_discounts_config: Orb::
|
|
1092
|
+
attr_accessor matrix_with_threshold_discounts_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig
|
|
1093
1093
|
|
|
1094
1094
|
attr_accessor model_type: :matrix_with_threshold_discounts
|
|
1095
1095
|
|
|
@@ -1124,9 +1124,9 @@ module Orb
|
|
|
1124
1124
|
attr_accessor reference_id: String?
|
|
1125
1125
|
|
|
1126
1126
|
def initialize: (
|
|
1127
|
-
cadence: Orb::Models::
|
|
1127
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::cadence,
|
|
1128
1128
|
item_id: String,
|
|
1129
|
-
matrix_with_threshold_discounts_config: Orb::
|
|
1129
|
+
matrix_with_threshold_discounts_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
|
|
1130
1130
|
name: String,
|
|
1131
1131
|
?billable_metric_id: String?,
|
|
1132
1132
|
?billed_in_advance: bool?,
|
|
@@ -1146,9 +1146,9 @@ module Orb
|
|
|
1146
1146
|
) -> void
|
|
1147
1147
|
|
|
1148
1148
|
def to_hash: -> {
|
|
1149
|
-
cadence: Orb::Models::
|
|
1149
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::cadence,
|
|
1150
1150
|
item_id: String,
|
|
1151
|
-
matrix_with_threshold_discounts_config: Orb::
|
|
1151
|
+
matrix_with_threshold_discounts_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
|
|
1152
1152
|
model_type: :matrix_with_threshold_discounts,
|
|
1153
1153
|
name: String,
|
|
1154
1154
|
billable_metric_id: String?,
|
|
@@ -1185,16 +1185,16 @@ module Orb
|
|
|
1185
1185
|
ANNUAL: :annual
|
|
1186
1186
|
CUSTOM: :custom
|
|
1187
1187
|
|
|
1188
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
1188
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::cadence]
|
|
1189
1189
|
end
|
|
1190
1190
|
|
|
1191
1191
|
type matrix_with_threshold_discounts_config =
|
|
1192
1192
|
{
|
|
1193
1193
|
default_unit_amount: String,
|
|
1194
1194
|
first_dimension: String,
|
|
1195
|
-
matrix_values: ::Array[Orb::
|
|
1195
|
+
matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
|
|
1196
1196
|
second_dimension: String?,
|
|
1197
|
-
threshold_discount_groups: ::Array[Orb::
|
|
1197
|
+
threshold_discount_groups: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
1198
1198
|
}
|
|
1199
1199
|
|
|
1200
1200
|
class MatrixWithThresholdDiscountsConfig < Orb::Internal::Type::BaseModel
|
|
@@ -1202,30 +1202,30 @@ module Orb
|
|
|
1202
1202
|
|
|
1203
1203
|
attr_accessor first_dimension: String
|
|
1204
1204
|
|
|
1205
|
-
attr_accessor matrix_values: ::Array[Orb::
|
|
1205
|
+
attr_accessor matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue]
|
|
1206
1206
|
|
|
1207
1207
|
attr_accessor second_dimension: String?
|
|
1208
1208
|
|
|
1209
|
-
attr_reader threshold_discount_groups: ::Array[Orb::
|
|
1209
|
+
attr_reader threshold_discount_groups: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]?
|
|
1210
1210
|
|
|
1211
1211
|
def threshold_discount_groups=: (
|
|
1212
|
-
::Array[Orb::
|
|
1213
|
-
) -> ::Array[Orb::
|
|
1212
|
+
::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
1213
|
+
) -> ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
1214
1214
|
|
|
1215
1215
|
def initialize: (
|
|
1216
1216
|
default_unit_amount: String,
|
|
1217
1217
|
first_dimension: String,
|
|
1218
|
-
matrix_values: ::Array[Orb::
|
|
1218
|
+
matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
|
|
1219
1219
|
?second_dimension: String?,
|
|
1220
|
-
?threshold_discount_groups: ::Array[Orb::
|
|
1220
|
+
?threshold_discount_groups: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
1221
1221
|
) -> void
|
|
1222
1222
|
|
|
1223
1223
|
def to_hash: -> {
|
|
1224
1224
|
default_unit_amount: String,
|
|
1225
1225
|
first_dimension: String,
|
|
1226
|
-
matrix_values: ::Array[Orb::
|
|
1226
|
+
matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
|
|
1227
1227
|
second_dimension: String?,
|
|
1228
|
-
threshold_discount_groups: ::Array[Orb::
|
|
1228
|
+
threshold_discount_groups: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
1229
1229
|
}
|
|
1230
1230
|
|
|
1231
1231
|
type matrix_value =
|
|
@@ -1296,11 +1296,11 @@ module Orb
|
|
|
1296
1296
|
|
|
1297
1297
|
type tiered_with_proration =
|
|
1298
1298
|
{
|
|
1299
|
-
cadence: Orb::Models::
|
|
1299
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration::cadence,
|
|
1300
1300
|
item_id: String,
|
|
1301
1301
|
model_type: :tiered_with_proration,
|
|
1302
1302
|
name: String,
|
|
1303
|
-
tiered_with_proration_config: Orb::
|
|
1303
|
+
tiered_with_proration_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig,
|
|
1304
1304
|
billable_metric_id: String?,
|
|
1305
1305
|
billed_in_advance: bool?,
|
|
1306
1306
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -1318,7 +1318,7 @@ module Orb
|
|
|
1318
1318
|
}
|
|
1319
1319
|
|
|
1320
1320
|
class TieredWithProration < Orb::Internal::Type::BaseModel
|
|
1321
|
-
attr_accessor cadence: Orb::Models::
|
|
1321
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration::cadence
|
|
1322
1322
|
|
|
1323
1323
|
attr_accessor item_id: String
|
|
1324
1324
|
|
|
@@ -1326,7 +1326,7 @@ module Orb
|
|
|
1326
1326
|
|
|
1327
1327
|
attr_accessor name: String
|
|
1328
1328
|
|
|
1329
|
-
attr_accessor tiered_with_proration_config: Orb::
|
|
1329
|
+
attr_accessor tiered_with_proration_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig
|
|
1330
1330
|
|
|
1331
1331
|
attr_accessor billable_metric_id: String?
|
|
1332
1332
|
|
|
@@ -1357,10 +1357,10 @@ module Orb
|
|
|
1357
1357
|
attr_accessor reference_id: String?
|
|
1358
1358
|
|
|
1359
1359
|
def initialize: (
|
|
1360
|
-
cadence: Orb::Models::
|
|
1360
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration::cadence,
|
|
1361
1361
|
item_id: String,
|
|
1362
1362
|
name: String,
|
|
1363
|
-
tiered_with_proration_config: Orb::
|
|
1363
|
+
tiered_with_proration_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig,
|
|
1364
1364
|
?billable_metric_id: String?,
|
|
1365
1365
|
?billed_in_advance: bool?,
|
|
1366
1366
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -1379,11 +1379,11 @@ module Orb
|
|
|
1379
1379
|
) -> void
|
|
1380
1380
|
|
|
1381
1381
|
def to_hash: -> {
|
|
1382
|
-
cadence: Orb::Models::
|
|
1382
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration::cadence,
|
|
1383
1383
|
item_id: String,
|
|
1384
1384
|
model_type: :tiered_with_proration,
|
|
1385
1385
|
name: String,
|
|
1386
|
-
tiered_with_proration_config: Orb::
|
|
1386
|
+
tiered_with_proration_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig,
|
|
1387
1387
|
billable_metric_id: String?,
|
|
1388
1388
|
billed_in_advance: bool?,
|
|
1389
1389
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -1418,23 +1418,23 @@ module Orb
|
|
|
1418
1418
|
ANNUAL: :annual
|
|
1419
1419
|
CUSTOM: :custom
|
|
1420
1420
|
|
|
1421
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
1421
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration::cadence]
|
|
1422
1422
|
end
|
|
1423
1423
|
|
|
1424
1424
|
type tiered_with_proration_config =
|
|
1425
1425
|
{
|
|
1426
|
-
tiers: ::Array[Orb::
|
|
1426
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
|
|
1427
1427
|
}
|
|
1428
1428
|
|
|
1429
1429
|
class TieredWithProrationConfig < Orb::Internal::Type::BaseModel
|
|
1430
|
-
attr_accessor tiers: ::Array[Orb::
|
|
1430
|
+
attr_accessor tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
|
|
1431
1431
|
|
|
1432
1432
|
def initialize: (
|
|
1433
|
-
tiers: ::Array[Orb::
|
|
1433
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
|
|
1434
1434
|
) -> void
|
|
1435
1435
|
|
|
1436
1436
|
def to_hash: -> {
|
|
1437
|
-
tiers: ::Array[Orb::
|
|
1437
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
|
|
1438
1438
|
}
|
|
1439
1439
|
|
|
1440
1440
|
type tier = { tier_lower_bound: String, unit_amount: String }
|
|
@@ -1459,8 +1459,8 @@ module Orb
|
|
|
1459
1459
|
|
|
1460
1460
|
type grouped_with_min_max_thresholds =
|
|
1461
1461
|
{
|
|
1462
|
-
cadence: Orb::Models::
|
|
1463
|
-
grouped_with_min_max_thresholds_config: Orb::
|
|
1462
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::cadence,
|
|
1463
|
+
grouped_with_min_max_thresholds_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
|
|
1464
1464
|
item_id: String,
|
|
1465
1465
|
model_type: :grouped_with_min_max_thresholds,
|
|
1466
1466
|
name: String,
|
|
@@ -1481,9 +1481,9 @@ module Orb
|
|
|
1481
1481
|
}
|
|
1482
1482
|
|
|
1483
1483
|
class GroupedWithMinMaxThresholds < Orb::Internal::Type::BaseModel
|
|
1484
|
-
attr_accessor cadence: Orb::Models::
|
|
1484
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::cadence
|
|
1485
1485
|
|
|
1486
|
-
attr_accessor grouped_with_min_max_thresholds_config: Orb::
|
|
1486
|
+
attr_accessor grouped_with_min_max_thresholds_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig
|
|
1487
1487
|
|
|
1488
1488
|
attr_accessor item_id: String
|
|
1489
1489
|
|
|
@@ -1520,8 +1520,8 @@ module Orb
|
|
|
1520
1520
|
attr_accessor reference_id: String?
|
|
1521
1521
|
|
|
1522
1522
|
def initialize: (
|
|
1523
|
-
cadence: Orb::Models::
|
|
1524
|
-
grouped_with_min_max_thresholds_config: Orb::
|
|
1523
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::cadence,
|
|
1524
|
+
grouped_with_min_max_thresholds_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
|
|
1525
1525
|
item_id: String,
|
|
1526
1526
|
name: String,
|
|
1527
1527
|
?billable_metric_id: String?,
|
|
@@ -1542,8 +1542,8 @@ module Orb
|
|
|
1542
1542
|
) -> void
|
|
1543
1543
|
|
|
1544
1544
|
def to_hash: -> {
|
|
1545
|
-
cadence: Orb::Models::
|
|
1546
|
-
grouped_with_min_max_thresholds_config: Orb::
|
|
1545
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::cadence,
|
|
1546
|
+
grouped_with_min_max_thresholds_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
|
|
1547
1547
|
item_id: String,
|
|
1548
1548
|
model_type: :grouped_with_min_max_thresholds,
|
|
1549
1549
|
name: String,
|
|
@@ -1581,7 +1581,7 @@ module Orb
|
|
|
1581
1581
|
ANNUAL: :annual
|
|
1582
1582
|
CUSTOM: :custom
|
|
1583
1583
|
|
|
1584
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
1584
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::cadence]
|
|
1585
1585
|
end
|
|
1586
1586
|
|
|
1587
1587
|
type grouped_with_min_max_thresholds_config =
|
|
@@ -1619,8 +1619,8 @@ module Orb
|
|
|
1619
1619
|
|
|
1620
1620
|
type cumulative_grouped_allocation =
|
|
1621
1621
|
{
|
|
1622
|
-
cadence: Orb::Models::
|
|
1623
|
-
cumulative_grouped_allocation_config: Orb::
|
|
1622
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::cadence,
|
|
1623
|
+
cumulative_grouped_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
|
|
1624
1624
|
item_id: String,
|
|
1625
1625
|
model_type: :cumulative_grouped_allocation,
|
|
1626
1626
|
name: String,
|
|
@@ -1641,9 +1641,9 @@ module Orb
|
|
|
1641
1641
|
}
|
|
1642
1642
|
|
|
1643
1643
|
class CumulativeGroupedAllocation < Orb::Internal::Type::BaseModel
|
|
1644
|
-
attr_accessor cadence: Orb::Models::
|
|
1644
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::cadence
|
|
1645
1645
|
|
|
1646
|
-
attr_accessor cumulative_grouped_allocation_config: Orb::
|
|
1646
|
+
attr_accessor cumulative_grouped_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig
|
|
1647
1647
|
|
|
1648
1648
|
attr_accessor item_id: String
|
|
1649
1649
|
|
|
@@ -1680,8 +1680,8 @@ module Orb
|
|
|
1680
1680
|
attr_accessor reference_id: String?
|
|
1681
1681
|
|
|
1682
1682
|
def initialize: (
|
|
1683
|
-
cadence: Orb::Models::
|
|
1684
|
-
cumulative_grouped_allocation_config: Orb::
|
|
1683
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::cadence,
|
|
1684
|
+
cumulative_grouped_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
|
|
1685
1685
|
item_id: String,
|
|
1686
1686
|
name: String,
|
|
1687
1687
|
?billable_metric_id: String?,
|
|
@@ -1702,8 +1702,8 @@ module Orb
|
|
|
1702
1702
|
) -> void
|
|
1703
1703
|
|
|
1704
1704
|
def to_hash: -> {
|
|
1705
|
-
cadence: Orb::Models::
|
|
1706
|
-
cumulative_grouped_allocation_config: Orb::
|
|
1705
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::cadence,
|
|
1706
|
+
cumulative_grouped_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
|
|
1707
1707
|
item_id: String,
|
|
1708
1708
|
model_type: :cumulative_grouped_allocation,
|
|
1709
1709
|
name: String,
|
|
@@ -1741,7 +1741,7 @@ module Orb
|
|
|
1741
1741
|
ANNUAL: :annual
|
|
1742
1742
|
CUSTOM: :custom
|
|
1743
1743
|
|
|
1744
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
1744
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::cadence]
|
|
1745
1745
|
end
|
|
1746
1746
|
|
|
1747
1747
|
type cumulative_grouped_allocation_config =
|
|
@@ -1779,8 +1779,8 @@ module Orb
|
|
|
1779
1779
|
|
|
1780
1780
|
type daily_credit_allowance =
|
|
1781
1781
|
{
|
|
1782
|
-
cadence: Orb::Models::
|
|
1783
|
-
daily_credit_allowance_config: Orb::
|
|
1782
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::cadence,
|
|
1783
|
+
daily_credit_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
|
|
1784
1784
|
item_id: String,
|
|
1785
1785
|
model_type: :daily_credit_allowance,
|
|
1786
1786
|
name: String,
|
|
@@ -1801,9 +1801,9 @@ module Orb
|
|
|
1801
1801
|
}
|
|
1802
1802
|
|
|
1803
1803
|
class DailyCreditAllowance < Orb::Internal::Type::BaseModel
|
|
1804
|
-
attr_accessor cadence: Orb::Models::
|
|
1804
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::cadence
|
|
1805
1805
|
|
|
1806
|
-
attr_accessor daily_credit_allowance_config: Orb::
|
|
1806
|
+
attr_accessor daily_credit_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig
|
|
1807
1807
|
|
|
1808
1808
|
attr_accessor item_id: String
|
|
1809
1809
|
|
|
@@ -1840,8 +1840,8 @@ module Orb
|
|
|
1840
1840
|
attr_accessor reference_id: String?
|
|
1841
1841
|
|
|
1842
1842
|
def initialize: (
|
|
1843
|
-
cadence: Orb::Models::
|
|
1844
|
-
daily_credit_allowance_config: Orb::
|
|
1843
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::cadence,
|
|
1844
|
+
daily_credit_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
|
|
1845
1845
|
item_id: String,
|
|
1846
1846
|
name: String,
|
|
1847
1847
|
?billable_metric_id: String?,
|
|
@@ -1862,8 +1862,8 @@ module Orb
|
|
|
1862
1862
|
) -> void
|
|
1863
1863
|
|
|
1864
1864
|
def to_hash: -> {
|
|
1865
|
-
cadence: Orb::Models::
|
|
1866
|
-
daily_credit_allowance_config: Orb::
|
|
1865
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::cadence,
|
|
1866
|
+
daily_credit_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
|
|
1867
1867
|
item_id: String,
|
|
1868
1868
|
model_type: :daily_credit_allowance,
|
|
1869
1869
|
name: String,
|
|
@@ -1901,7 +1901,7 @@ module Orb
|
|
|
1901
1901
|
ANNUAL: :annual
|
|
1902
1902
|
CUSTOM: :custom
|
|
1903
1903
|
|
|
1904
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
1904
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::cadence]
|
|
1905
1905
|
end
|
|
1906
1906
|
|
|
1907
1907
|
type daily_credit_allowance_config =
|
|
@@ -1910,7 +1910,7 @@ module Orb
|
|
|
1910
1910
|
default_unit_amount: String,
|
|
1911
1911
|
dimensions: ::Array[String?],
|
|
1912
1912
|
event_day_property: String,
|
|
1913
|
-
matrix_values: ::Array[Orb::
|
|
1913
|
+
matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
1914
1914
|
}
|
|
1915
1915
|
|
|
1916
1916
|
class DailyCreditAllowanceConfig < Orb::Internal::Type::BaseModel
|
|
@@ -1922,14 +1922,14 @@ module Orb
|
|
|
1922
1922
|
|
|
1923
1923
|
attr_accessor event_day_property: String
|
|
1924
1924
|
|
|
1925
|
-
attr_accessor matrix_values: ::Array[Orb::
|
|
1925
|
+
attr_accessor matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
1926
1926
|
|
|
1927
1927
|
def initialize: (
|
|
1928
1928
|
daily_allowance: String,
|
|
1929
1929
|
default_unit_amount: String,
|
|
1930
1930
|
dimensions: ::Array[String?],
|
|
1931
1931
|
event_day_property: String,
|
|
1932
|
-
matrix_values: ::Array[Orb::
|
|
1932
|
+
matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
1933
1933
|
) -> void
|
|
1934
1934
|
|
|
1935
1935
|
def to_hash: -> {
|
|
@@ -1937,7 +1937,7 @@ module Orb
|
|
|
1937
1937
|
default_unit_amount: String,
|
|
1938
1938
|
dimensions: ::Array[String?],
|
|
1939
1939
|
event_day_property: String,
|
|
1940
|
-
matrix_values: ::Array[Orb::
|
|
1940
|
+
matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
1941
1941
|
}
|
|
1942
1942
|
|
|
1943
1943
|
type matrix_value =
|
|
@@ -1963,9 +1963,9 @@ module Orb
|
|
|
1963
1963
|
|
|
1964
1964
|
type metered_allowance =
|
|
1965
1965
|
{
|
|
1966
|
-
cadence: Orb::Models::
|
|
1966
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::cadence,
|
|
1967
1967
|
item_id: String,
|
|
1968
|
-
metered_allowance_config: Orb::
|
|
1968
|
+
metered_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig,
|
|
1969
1969
|
model_type: :metered_allowance,
|
|
1970
1970
|
name: String,
|
|
1971
1971
|
billable_metric_id: String?,
|
|
@@ -1985,11 +1985,11 @@ module Orb
|
|
|
1985
1985
|
}
|
|
1986
1986
|
|
|
1987
1987
|
class MeteredAllowance < Orb::Internal::Type::BaseModel
|
|
1988
|
-
attr_accessor cadence: Orb::Models::
|
|
1988
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::cadence
|
|
1989
1989
|
|
|
1990
1990
|
attr_accessor item_id: String
|
|
1991
1991
|
|
|
1992
|
-
attr_accessor metered_allowance_config: Orb::
|
|
1992
|
+
attr_accessor metered_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig
|
|
1993
1993
|
|
|
1994
1994
|
attr_accessor model_type: :metered_allowance
|
|
1995
1995
|
|
|
@@ -2024,9 +2024,9 @@ module Orb
|
|
|
2024
2024
|
attr_accessor reference_id: String?
|
|
2025
2025
|
|
|
2026
2026
|
def initialize: (
|
|
2027
|
-
cadence: Orb::Models::
|
|
2027
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::cadence,
|
|
2028
2028
|
item_id: String,
|
|
2029
|
-
metered_allowance_config: Orb::
|
|
2029
|
+
metered_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig,
|
|
2030
2030
|
name: String,
|
|
2031
2031
|
?billable_metric_id: String?,
|
|
2032
2032
|
?billed_in_advance: bool?,
|
|
@@ -2046,9 +2046,9 @@ module Orb
|
|
|
2046
2046
|
) -> void
|
|
2047
2047
|
|
|
2048
2048
|
def to_hash: -> {
|
|
2049
|
-
cadence: Orb::Models::
|
|
2049
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::cadence,
|
|
2050
2050
|
item_id: String,
|
|
2051
|
-
metered_allowance_config: Orb::
|
|
2051
|
+
metered_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig,
|
|
2052
2052
|
model_type: :metered_allowance,
|
|
2053
2053
|
name: String,
|
|
2054
2054
|
billable_metric_id: String?,
|
|
@@ -2085,7 +2085,7 @@ module Orb
|
|
|
2085
2085
|
ANNUAL: :annual
|
|
2086
2086
|
CUSTOM: :custom
|
|
2087
2087
|
|
|
2088
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
2088
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::cadence]
|
|
2089
2089
|
end
|
|
2090
2090
|
|
|
2091
2091
|
type metered_allowance_config =
|
|
@@ -2137,11 +2137,11 @@ module Orb
|
|
|
2137
2137
|
|
|
2138
2138
|
type percent =
|
|
2139
2139
|
{
|
|
2140
|
-
cadence: Orb::Models::
|
|
2140
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::Percent::cadence,
|
|
2141
2141
|
item_id: String,
|
|
2142
2142
|
model_type: :percent,
|
|
2143
2143
|
name: String,
|
|
2144
|
-
percent_config: Orb::
|
|
2144
|
+
percent_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::Percent::PercentConfig,
|
|
2145
2145
|
billable_metric_id: String?,
|
|
2146
2146
|
billed_in_advance: bool?,
|
|
2147
2147
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -2159,7 +2159,7 @@ module Orb
|
|
|
2159
2159
|
}
|
|
2160
2160
|
|
|
2161
2161
|
class Percent < Orb::Internal::Type::BaseModel
|
|
2162
|
-
attr_accessor cadence: Orb::Models::
|
|
2162
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::Percent::cadence
|
|
2163
2163
|
|
|
2164
2164
|
attr_accessor item_id: String
|
|
2165
2165
|
|
|
@@ -2167,7 +2167,7 @@ module Orb
|
|
|
2167
2167
|
|
|
2168
2168
|
attr_accessor name: String
|
|
2169
2169
|
|
|
2170
|
-
attr_accessor percent_config: Orb::
|
|
2170
|
+
attr_accessor percent_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::Percent::PercentConfig
|
|
2171
2171
|
|
|
2172
2172
|
attr_accessor billable_metric_id: String?
|
|
2173
2173
|
|
|
@@ -2198,10 +2198,10 @@ module Orb
|
|
|
2198
2198
|
attr_accessor reference_id: String?
|
|
2199
2199
|
|
|
2200
2200
|
def initialize: (
|
|
2201
|
-
cadence: Orb::Models::
|
|
2201
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::Percent::cadence,
|
|
2202
2202
|
item_id: String,
|
|
2203
2203
|
name: String,
|
|
2204
|
-
percent_config: Orb::
|
|
2204
|
+
percent_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::Percent::PercentConfig,
|
|
2205
2205
|
?billable_metric_id: String?,
|
|
2206
2206
|
?billed_in_advance: bool?,
|
|
2207
2207
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -2220,11 +2220,11 @@ module Orb
|
|
|
2220
2220
|
) -> void
|
|
2221
2221
|
|
|
2222
2222
|
def to_hash: -> {
|
|
2223
|
-
cadence: Orb::Models::
|
|
2223
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::Percent::cadence,
|
|
2224
2224
|
item_id: String,
|
|
2225
2225
|
model_type: :percent,
|
|
2226
2226
|
name: String,
|
|
2227
|
-
percent_config: Orb::
|
|
2227
|
+
percent_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::Percent::PercentConfig,
|
|
2228
2228
|
billable_metric_id: String?,
|
|
2229
2229
|
billed_in_advance: bool?,
|
|
2230
2230
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -2259,7 +2259,7 @@ module Orb
|
|
|
2259
2259
|
ANNUAL: :annual
|
|
2260
2260
|
CUSTOM: :custom
|
|
2261
2261
|
|
|
2262
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
2262
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::Percent::cadence]
|
|
2263
2263
|
end
|
|
2264
2264
|
|
|
2265
2265
|
type percent_config =
|
|
@@ -2299,8 +2299,8 @@ module Orb
|
|
|
2299
2299
|
|
|
2300
2300
|
type event_output =
|
|
2301
2301
|
{
|
|
2302
|
-
cadence: Orb::Models::
|
|
2303
|
-
event_output_config: Orb::
|
|
2302
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::EventOutput::cadence,
|
|
2303
|
+
event_output_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::EventOutput::EventOutputConfig,
|
|
2304
2304
|
item_id: String,
|
|
2305
2305
|
model_type: :event_output,
|
|
2306
2306
|
name: String,
|
|
@@ -2321,9 +2321,9 @@ module Orb
|
|
|
2321
2321
|
}
|
|
2322
2322
|
|
|
2323
2323
|
class EventOutput < Orb::Internal::Type::BaseModel
|
|
2324
|
-
attr_accessor cadence: Orb::Models::
|
|
2324
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::EventOutput::cadence
|
|
2325
2325
|
|
|
2326
|
-
attr_accessor event_output_config: Orb::
|
|
2326
|
+
attr_accessor event_output_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::EventOutput::EventOutputConfig
|
|
2327
2327
|
|
|
2328
2328
|
attr_accessor item_id: String
|
|
2329
2329
|
|
|
@@ -2360,8 +2360,8 @@ module Orb
|
|
|
2360
2360
|
attr_accessor reference_id: String?
|
|
2361
2361
|
|
|
2362
2362
|
def initialize: (
|
|
2363
|
-
cadence: Orb::Models::
|
|
2364
|
-
event_output_config: Orb::
|
|
2363
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::EventOutput::cadence,
|
|
2364
|
+
event_output_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::EventOutput::EventOutputConfig,
|
|
2365
2365
|
item_id: String,
|
|
2366
2366
|
name: String,
|
|
2367
2367
|
?billable_metric_id: String?,
|
|
@@ -2382,8 +2382,8 @@ module Orb
|
|
|
2382
2382
|
) -> void
|
|
2383
2383
|
|
|
2384
2384
|
def to_hash: -> {
|
|
2385
|
-
cadence: Orb::Models::
|
|
2386
|
-
event_output_config: Orb::
|
|
2385
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::EventOutput::cadence,
|
|
2386
|
+
event_output_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::EventOutput::EventOutputConfig,
|
|
2387
2387
|
item_id: String,
|
|
2388
2388
|
model_type: :event_output,
|
|
2389
2389
|
name: String,
|
|
@@ -2421,7 +2421,7 @@ module Orb
|
|
|
2421
2421
|
ANNUAL: :annual
|
|
2422
2422
|
CUSTOM: :custom
|
|
2423
2423
|
|
|
2424
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
2424
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::EventOutput::cadence]
|
|
2425
2425
|
end
|
|
2426
2426
|
|
|
2427
2427
|
type event_output_config =
|
|
@@ -2454,11 +2454,11 @@ module Orb
|
|
|
2454
2454
|
|
|
2455
2455
|
type unit_with_multiplier =
|
|
2456
2456
|
{
|
|
2457
|
-
cadence: Orb::Models::
|
|
2457
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::cadence,
|
|
2458
2458
|
item_id: String,
|
|
2459
2459
|
model_type: :unit_with_multiplier,
|
|
2460
2460
|
name: String,
|
|
2461
|
-
unit_with_multiplier_config: Orb::
|
|
2461
|
+
unit_with_multiplier_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
|
|
2462
2462
|
billable_metric_id: String?,
|
|
2463
2463
|
billed_in_advance: bool?,
|
|
2464
2464
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -2476,7 +2476,7 @@ module Orb
|
|
|
2476
2476
|
}
|
|
2477
2477
|
|
|
2478
2478
|
class UnitWithMultiplier < Orb::Internal::Type::BaseModel
|
|
2479
|
-
attr_accessor cadence: Orb::Models::
|
|
2479
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::cadence
|
|
2480
2480
|
|
|
2481
2481
|
attr_accessor item_id: String
|
|
2482
2482
|
|
|
@@ -2484,7 +2484,7 @@ module Orb
|
|
|
2484
2484
|
|
|
2485
2485
|
attr_accessor name: String
|
|
2486
2486
|
|
|
2487
|
-
attr_accessor unit_with_multiplier_config: Orb::
|
|
2487
|
+
attr_accessor unit_with_multiplier_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig
|
|
2488
2488
|
|
|
2489
2489
|
attr_accessor billable_metric_id: String?
|
|
2490
2490
|
|
|
@@ -2515,10 +2515,10 @@ module Orb
|
|
|
2515
2515
|
attr_accessor reference_id: String?
|
|
2516
2516
|
|
|
2517
2517
|
def initialize: (
|
|
2518
|
-
cadence: Orb::Models::
|
|
2518
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::cadence,
|
|
2519
2519
|
item_id: String,
|
|
2520
2520
|
name: String,
|
|
2521
|
-
unit_with_multiplier_config: Orb::
|
|
2521
|
+
unit_with_multiplier_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
|
|
2522
2522
|
?billable_metric_id: String?,
|
|
2523
2523
|
?billed_in_advance: bool?,
|
|
2524
2524
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -2537,11 +2537,11 @@ module Orb
|
|
|
2537
2537
|
) -> void
|
|
2538
2538
|
|
|
2539
2539
|
def to_hash: -> {
|
|
2540
|
-
cadence: Orb::Models::
|
|
2540
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::cadence,
|
|
2541
2541
|
item_id: String,
|
|
2542
2542
|
model_type: :unit_with_multiplier,
|
|
2543
2543
|
name: String,
|
|
2544
|
-
unit_with_multiplier_config: Orb::
|
|
2544
|
+
unit_with_multiplier_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
|
|
2545
2545
|
billable_metric_id: String?,
|
|
2546
2546
|
billed_in_advance: bool?,
|
|
2547
2547
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -2576,7 +2576,7 @@ module Orb
|
|
|
2576
2576
|
ANNUAL: :annual
|
|
2577
2577
|
CUSTOM: :custom
|
|
2578
2578
|
|
|
2579
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
2579
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::cadence]
|
|
2580
2580
|
end
|
|
2581
2581
|
|
|
2582
2582
|
type unit_with_multiplier_config =
|
|
@@ -2612,7 +2612,7 @@ module Orb
|
|
|
2612
2612
|
end
|
|
2613
2613
|
end
|
|
2614
2614
|
|
|
2615
|
-
def self?.variants: -> ::Array[Orb::Models::
|
|
2615
|
+
def self?.variants: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::AddPrice::price]
|
|
2616
2616
|
end
|
|
2617
2617
|
end
|
|
2618
2618
|
|
|
@@ -2649,26 +2649,26 @@ module Orb
|
|
|
2649
2649
|
|
|
2650
2650
|
type replace_adjustment =
|
|
2651
2651
|
{
|
|
2652
|
-
adjustment: Orb::Models::
|
|
2652
|
+
adjustment: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::adjustment,
|
|
2653
2653
|
replaces_adjustment_id: String,
|
|
2654
2654
|
plan_phase_order: Integer?
|
|
2655
2655
|
}
|
|
2656
2656
|
|
|
2657
2657
|
class ReplaceAdjustment < Orb::Internal::Type::BaseModel
|
|
2658
|
-
attr_accessor adjustment: Orb::Models::
|
|
2658
|
+
attr_accessor adjustment: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::adjustment
|
|
2659
2659
|
|
|
2660
2660
|
attr_accessor replaces_adjustment_id: String
|
|
2661
2661
|
|
|
2662
2662
|
attr_accessor plan_phase_order: Integer?
|
|
2663
2663
|
|
|
2664
2664
|
def initialize: (
|
|
2665
|
-
adjustment: Orb::Models::
|
|
2665
|
+
adjustment: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::adjustment,
|
|
2666
2666
|
replaces_adjustment_id: String,
|
|
2667
2667
|
?plan_phase_order: Integer?
|
|
2668
2668
|
) -> void
|
|
2669
2669
|
|
|
2670
2670
|
def to_hash: -> {
|
|
2671
|
-
adjustment: Orb::Models::
|
|
2671
|
+
adjustment: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::adjustment,
|
|
2672
2672
|
replaces_adjustment_id: String,
|
|
2673
2673
|
plan_phase_order: Integer?
|
|
2674
2674
|
}
|
|
@@ -2679,7 +2679,7 @@ module Orb
|
|
|
2679
2679
|
| Orb::NewAmountDiscount
|
|
2680
2680
|
| Orb::NewMinimum
|
|
2681
2681
|
| Orb::NewMaximum
|
|
2682
|
-
| Orb::
|
|
2682
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount
|
|
2683
2683
|
|
|
2684
2684
|
module Adjustment
|
|
2685
2685
|
extend Orb::Internal::Type::Union
|
|
@@ -2687,22 +2687,22 @@ module Orb
|
|
|
2687
2687
|
type tiered_percentage_discount =
|
|
2688
2688
|
{
|
|
2689
2689
|
adjustment_type: :tiered_percentage_discount,
|
|
2690
|
-
tiers: ::Array[Orb::
|
|
2691
|
-
applies_to_all: Orb::Models::
|
|
2690
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier],
|
|
2691
|
+
applies_to_all: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
|
|
2692
2692
|
applies_to_item_ids: ::Array[String]?,
|
|
2693
2693
|
applies_to_price_ids: ::Array[String]?,
|
|
2694
2694
|
currency: String?,
|
|
2695
|
-
filters: ::Array[Orb::
|
|
2695
|
+
filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
|
|
2696
2696
|
is_invoice_level: bool,
|
|
2697
|
-
price_type: Orb::Models::
|
|
2697
|
+
price_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::price_type?
|
|
2698
2698
|
}
|
|
2699
2699
|
|
|
2700
2700
|
class TieredPercentageDiscount < Orb::Internal::Type::BaseModel
|
|
2701
2701
|
attr_accessor adjustment_type: :tiered_percentage_discount
|
|
2702
2702
|
|
|
2703
|
-
attr_accessor tiers: ::Array[Orb::
|
|
2703
|
+
attr_accessor tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier]
|
|
2704
2704
|
|
|
2705
|
-
attr_accessor applies_to_all: Orb::Models::
|
|
2705
|
+
attr_accessor applies_to_all: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?
|
|
2706
2706
|
|
|
2707
2707
|
attr_accessor applies_to_item_ids: ::Array[String]?
|
|
2708
2708
|
|
|
@@ -2710,36 +2710,36 @@ module Orb
|
|
|
2710
2710
|
|
|
2711
2711
|
attr_accessor currency: String?
|
|
2712
2712
|
|
|
2713
|
-
attr_accessor filters: ::Array[Orb::
|
|
2713
|
+
attr_accessor filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter]?
|
|
2714
2714
|
|
|
2715
2715
|
attr_reader is_invoice_level: bool?
|
|
2716
2716
|
|
|
2717
2717
|
def is_invoice_level=: (bool) -> bool
|
|
2718
2718
|
|
|
2719
|
-
attr_accessor price_type: Orb::Models::
|
|
2719
|
+
attr_accessor price_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::price_type?
|
|
2720
2720
|
|
|
2721
2721
|
def initialize: (
|
|
2722
|
-
tiers: ::Array[Orb::
|
|
2723
|
-
?applies_to_all: Orb::Models::
|
|
2722
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier],
|
|
2723
|
+
?applies_to_all: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
|
|
2724
2724
|
?applies_to_item_ids: ::Array[String]?,
|
|
2725
2725
|
?applies_to_price_ids: ::Array[String]?,
|
|
2726
2726
|
?currency: String?,
|
|
2727
|
-
?filters: ::Array[Orb::
|
|
2727
|
+
?filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
|
|
2728
2728
|
?is_invoice_level: bool,
|
|
2729
|
-
?price_type: Orb::Models::
|
|
2729
|
+
?price_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::price_type?,
|
|
2730
2730
|
?adjustment_type: :tiered_percentage_discount
|
|
2731
2731
|
) -> void
|
|
2732
2732
|
|
|
2733
2733
|
def to_hash: -> {
|
|
2734
2734
|
adjustment_type: :tiered_percentage_discount,
|
|
2735
|
-
tiers: ::Array[Orb::
|
|
2736
|
-
applies_to_all: Orb::Models::
|
|
2735
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier],
|
|
2736
|
+
applies_to_all: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
|
|
2737
2737
|
applies_to_item_ids: ::Array[String]?,
|
|
2738
2738
|
applies_to_price_ids: ::Array[String]?,
|
|
2739
2739
|
currency: String?,
|
|
2740
|
-
filters: ::Array[Orb::
|
|
2740
|
+
filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
|
|
2741
2741
|
is_invoice_level: bool,
|
|
2742
|
-
price_type: Orb::Models::
|
|
2742
|
+
price_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::price_type?
|
|
2743
2743
|
}
|
|
2744
2744
|
|
|
2745
2745
|
type tier =
|
|
@@ -2772,32 +2772,32 @@ module Orb
|
|
|
2772
2772
|
|
|
2773
2773
|
TRUE: true
|
|
2774
2774
|
|
|
2775
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
2775
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all]
|
|
2776
2776
|
end
|
|
2777
2777
|
|
|
2778
2778
|
type filter =
|
|
2779
2779
|
{
|
|
2780
|
-
field: Orb::Models::
|
|
2781
|
-
operator: Orb::Models::
|
|
2780
|
+
field: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
|
|
2781
|
+
operator: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
|
|
2782
2782
|
values: ::Array[String]
|
|
2783
2783
|
}
|
|
2784
2784
|
|
|
2785
2785
|
class Filter < Orb::Internal::Type::BaseModel
|
|
2786
|
-
attr_accessor field: Orb::Models::
|
|
2786
|
+
attr_accessor field: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::field
|
|
2787
2787
|
|
|
2788
|
-
attr_accessor operator: Orb::Models::
|
|
2788
|
+
attr_accessor operator: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator
|
|
2789
2789
|
|
|
2790
2790
|
attr_accessor values: ::Array[String]
|
|
2791
2791
|
|
|
2792
2792
|
def initialize: (
|
|
2793
|
-
field: Orb::Models::
|
|
2794
|
-
operator: Orb::Models::
|
|
2793
|
+
field: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
|
|
2794
|
+
operator: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
|
|
2795
2795
|
values: ::Array[String]
|
|
2796
2796
|
) -> void
|
|
2797
2797
|
|
|
2798
2798
|
def to_hash: -> {
|
|
2799
|
-
field: Orb::Models::
|
|
2800
|
-
operator: Orb::Models::
|
|
2799
|
+
field: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
|
|
2800
|
+
operator: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
|
|
2801
2801
|
values: ::Array[String]
|
|
2802
2802
|
}
|
|
2803
2803
|
|
|
@@ -2817,7 +2817,7 @@ module Orb
|
|
|
2817
2817
|
CURRENCY: :currency
|
|
2818
2818
|
PRICING_UNIT_ID: :pricing_unit_id
|
|
2819
2819
|
|
|
2820
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
2820
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::field]
|
|
2821
2821
|
end
|
|
2822
2822
|
|
|
2823
2823
|
type operator = :includes | :excludes
|
|
@@ -2828,7 +2828,7 @@ module Orb
|
|
|
2828
2828
|
INCLUDES: :includes
|
|
2829
2829
|
EXCLUDES: :excludes
|
|
2830
2830
|
|
|
2831
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
2831
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator]
|
|
2832
2832
|
end
|
|
2833
2833
|
end
|
|
2834
2834
|
|
|
@@ -2848,11 +2848,11 @@ module Orb
|
|
|
2848
2848
|
FIXED: :fixed
|
|
2849
2849
|
IN_ARREARS: :in_arrears
|
|
2850
2850
|
|
|
2851
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
2851
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::price_type]
|
|
2852
2852
|
end
|
|
2853
2853
|
end
|
|
2854
2854
|
|
|
2855
|
-
def self?.variants: -> ::Array[Orb::Models::
|
|
2855
|
+
def self?.variants: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplaceAdjustment::adjustment]
|
|
2856
2856
|
end
|
|
2857
2857
|
end
|
|
2858
2858
|
|
|
@@ -2860,9 +2860,9 @@ module Orb
|
|
|
2860
2860
|
{
|
|
2861
2861
|
replaces_price_id: String,
|
|
2862
2862
|
allocation_price: Orb::NewAllocationPrice?,
|
|
2863
|
-
license_allocation_price: Orb::
|
|
2863
|
+
license_allocation_price: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice?,
|
|
2864
2864
|
plan_phase_order: Integer?,
|
|
2865
|
-
price: Orb::Models::
|
|
2865
|
+
price: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::price?
|
|
2866
2866
|
}
|
|
2867
2867
|
|
|
2868
2868
|
class ReplacePrice < Orb::Internal::Type::BaseModel
|
|
@@ -2870,34 +2870,34 @@ module Orb
|
|
|
2870
2870
|
|
|
2871
2871
|
attr_accessor allocation_price: Orb::NewAllocationPrice?
|
|
2872
2872
|
|
|
2873
|
-
attr_accessor license_allocation_price: Orb::
|
|
2873
|
+
attr_accessor license_allocation_price: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice?
|
|
2874
2874
|
|
|
2875
2875
|
attr_accessor plan_phase_order: Integer?
|
|
2876
2876
|
|
|
2877
|
-
attr_accessor price: Orb::Models::
|
|
2877
|
+
attr_accessor price: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::price?
|
|
2878
2878
|
|
|
2879
2879
|
def initialize: (
|
|
2880
2880
|
replaces_price_id: String,
|
|
2881
2881
|
?allocation_price: Orb::NewAllocationPrice?,
|
|
2882
|
-
?license_allocation_price: Orb::
|
|
2882
|
+
?license_allocation_price: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice?,
|
|
2883
2883
|
?plan_phase_order: Integer?,
|
|
2884
|
-
?price: Orb::Models::
|
|
2884
|
+
?price: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::price?
|
|
2885
2885
|
) -> void
|
|
2886
2886
|
|
|
2887
2887
|
def to_hash: -> {
|
|
2888
2888
|
replaces_price_id: String,
|
|
2889
2889
|
allocation_price: Orb::NewAllocationPrice?,
|
|
2890
|
-
license_allocation_price: Orb::
|
|
2890
|
+
license_allocation_price: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice?,
|
|
2891
2891
|
plan_phase_order: Integer?,
|
|
2892
|
-
price: Orb::Models::
|
|
2892
|
+
price: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::price?
|
|
2893
2893
|
}
|
|
2894
2894
|
|
|
2895
2895
|
type license_allocation_price =
|
|
2896
2896
|
{
|
|
2897
|
-
cadence: Orb::Models::
|
|
2897
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::cadence,
|
|
2898
2898
|
item_id: String,
|
|
2899
|
-
license_allocations: ::Array[Orb::
|
|
2900
|
-
model_type: Orb::Models::
|
|
2899
|
+
license_allocations: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::LicenseAllocation],
|
|
2900
|
+
model_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::model_type,
|
|
2901
2901
|
name: String,
|
|
2902
2902
|
unit_config: Orb::UnitConfig,
|
|
2903
2903
|
billable_metric_id: String?,
|
|
@@ -2917,13 +2917,13 @@ module Orb
|
|
|
2917
2917
|
}
|
|
2918
2918
|
|
|
2919
2919
|
class LicenseAllocationPrice < Orb::Internal::Type::BaseModel
|
|
2920
|
-
attr_accessor cadence: Orb::Models::
|
|
2920
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::cadence
|
|
2921
2921
|
|
|
2922
2922
|
attr_accessor item_id: String
|
|
2923
2923
|
|
|
2924
|
-
attr_accessor license_allocations: ::Array[Orb::
|
|
2924
|
+
attr_accessor license_allocations: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::LicenseAllocation]
|
|
2925
2925
|
|
|
2926
|
-
attr_accessor model_type: Orb::Models::
|
|
2926
|
+
attr_accessor model_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::model_type
|
|
2927
2927
|
|
|
2928
2928
|
attr_accessor name: String
|
|
2929
2929
|
|
|
@@ -2958,10 +2958,10 @@ module Orb
|
|
|
2958
2958
|
attr_accessor reference_id: String?
|
|
2959
2959
|
|
|
2960
2960
|
def initialize: (
|
|
2961
|
-
cadence: Orb::Models::
|
|
2961
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::cadence,
|
|
2962
2962
|
item_id: String,
|
|
2963
|
-
license_allocations: ::Array[Orb::
|
|
2964
|
-
model_type: Orb::Models::
|
|
2963
|
+
license_allocations: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::LicenseAllocation],
|
|
2964
|
+
model_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::model_type,
|
|
2965
2965
|
name: String,
|
|
2966
2966
|
unit_config: Orb::UnitConfig,
|
|
2967
2967
|
?billable_metric_id: String?,
|
|
@@ -2981,10 +2981,10 @@ module Orb
|
|
|
2981
2981
|
) -> void
|
|
2982
2982
|
|
|
2983
2983
|
def to_hash: -> {
|
|
2984
|
-
cadence: Orb::Models::
|
|
2984
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::cadence,
|
|
2985
2985
|
item_id: String,
|
|
2986
|
-
license_allocations: ::Array[Orb::
|
|
2987
|
-
model_type: Orb::Models::
|
|
2986
|
+
license_allocations: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::LicenseAllocation],
|
|
2987
|
+
model_type: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::model_type,
|
|
2988
2988
|
name: String,
|
|
2989
2989
|
unit_config: Orb::UnitConfig,
|
|
2990
2990
|
billable_metric_id: String?,
|
|
@@ -3021,7 +3021,7 @@ module Orb
|
|
|
3021
3021
|
ANNUAL: :annual
|
|
3022
3022
|
CUSTOM: :custom
|
|
3023
3023
|
|
|
3024
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
3024
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::cadence]
|
|
3025
3025
|
end
|
|
3026
3026
|
|
|
3027
3027
|
type license_allocation =
|
|
@@ -3054,7 +3054,7 @@ module Orb
|
|
|
3054
3054
|
|
|
3055
3055
|
UNIT: :unit
|
|
3056
3056
|
|
|
3057
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
3057
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::model_type]
|
|
3058
3058
|
end
|
|
3059
3059
|
end
|
|
3060
3060
|
|
|
@@ -3062,48 +3062,48 @@ module Orb
|
|
|
3062
3062
|
Orb::NewPlanUnitPrice
|
|
3063
3063
|
| Orb::NewPlanTieredPrice
|
|
3064
3064
|
| Orb::NewPlanBulkPrice
|
|
3065
|
-
| Orb::
|
|
3065
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters
|
|
3066
3066
|
| Orb::NewPlanPackagePrice
|
|
3067
3067
|
| Orb::NewPlanMatrixPrice
|
|
3068
3068
|
| Orb::NewPlanThresholdTotalAmountPrice
|
|
3069
3069
|
| Orb::NewPlanTieredPackagePrice
|
|
3070
3070
|
| Orb::NewPlanTieredWithMinimumPrice
|
|
3071
3071
|
| Orb::NewPlanGroupedTieredPrice
|
|
3072
|
-
| Orb::
|
|
3072
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix
|
|
3073
3073
|
| Orb::NewPlanTieredPackageWithMinimumPrice
|
|
3074
3074
|
| Orb::NewPlanPackageWithAllocationPrice
|
|
3075
3075
|
| Orb::NewPlanUnitWithPercentPrice
|
|
3076
3076
|
| Orb::NewPlanMatrixWithAllocationPrice
|
|
3077
|
-
| Orb::
|
|
3078
|
-
| Orb::
|
|
3079
|
-
| Orb::
|
|
3077
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation
|
|
3078
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts
|
|
3079
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration
|
|
3080
3080
|
| Orb::NewPlanUnitWithProrationPrice
|
|
3081
3081
|
| Orb::NewPlanGroupedAllocationPrice
|
|
3082
3082
|
| Orb::NewPlanBulkWithProrationPrice
|
|
3083
3083
|
| Orb::NewPlanGroupedWithProratedMinimumPrice
|
|
3084
3084
|
| Orb::NewPlanGroupedWithMeteredMinimumPrice
|
|
3085
|
-
| Orb::
|
|
3085
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds
|
|
3086
3086
|
| Orb::NewPlanMatrixWithDisplayNamePrice
|
|
3087
3087
|
| Orb::NewPlanGroupedTieredPackagePrice
|
|
3088
3088
|
| Orb::NewPlanMaxGroupTieredPackagePrice
|
|
3089
3089
|
| Orb::NewPlanScalableMatrixWithUnitPricingPrice
|
|
3090
3090
|
| Orb::NewPlanScalableMatrixWithTieredPricingPrice
|
|
3091
3091
|
| Orb::NewPlanCumulativeGroupedBulkPrice
|
|
3092
|
-
| Orb::
|
|
3093
|
-
| Orb::
|
|
3094
|
-
| Orb::
|
|
3092
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation
|
|
3093
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance
|
|
3094
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance
|
|
3095
3095
|
| Orb::NewPlanMinimumCompositePrice
|
|
3096
|
-
| Orb::
|
|
3097
|
-
| Orb::
|
|
3098
|
-
| Orb::
|
|
3096
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::Percent
|
|
3097
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::EventOutput
|
|
3098
|
+
| Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier
|
|
3099
3099
|
|
|
3100
3100
|
module Price
|
|
3101
3101
|
extend Orb::Internal::Type::Union
|
|
3102
3102
|
|
|
3103
3103
|
type bulk_with_filters =
|
|
3104
3104
|
{
|
|
3105
|
-
bulk_with_filters_config: Orb::
|
|
3106
|
-
cadence: Orb::Models::
|
|
3105
|
+
bulk_with_filters_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig,
|
|
3106
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::cadence,
|
|
3107
3107
|
item_id: String,
|
|
3108
3108
|
model_type: :bulk_with_filters,
|
|
3109
3109
|
name: String,
|
|
@@ -3124,9 +3124,9 @@ module Orb
|
|
|
3124
3124
|
}
|
|
3125
3125
|
|
|
3126
3126
|
class BulkWithFilters < Orb::Internal::Type::BaseModel
|
|
3127
|
-
attr_accessor bulk_with_filters_config: Orb::
|
|
3127
|
+
attr_accessor bulk_with_filters_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig
|
|
3128
3128
|
|
|
3129
|
-
attr_accessor cadence: Orb::Models::
|
|
3129
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::cadence
|
|
3130
3130
|
|
|
3131
3131
|
attr_accessor item_id: String
|
|
3132
3132
|
|
|
@@ -3163,8 +3163,8 @@ module Orb
|
|
|
3163
3163
|
attr_accessor reference_id: String?
|
|
3164
3164
|
|
|
3165
3165
|
def initialize: (
|
|
3166
|
-
bulk_with_filters_config: Orb::
|
|
3167
|
-
cadence: Orb::Models::
|
|
3166
|
+
bulk_with_filters_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig,
|
|
3167
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::cadence,
|
|
3168
3168
|
item_id: String,
|
|
3169
3169
|
name: String,
|
|
3170
3170
|
?billable_metric_id: String?,
|
|
@@ -3185,8 +3185,8 @@ module Orb
|
|
|
3185
3185
|
) -> void
|
|
3186
3186
|
|
|
3187
3187
|
def to_hash: -> {
|
|
3188
|
-
bulk_with_filters_config: Orb::
|
|
3189
|
-
cadence: Orb::Models::
|
|
3188
|
+
bulk_with_filters_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig,
|
|
3189
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::cadence,
|
|
3190
3190
|
item_id: String,
|
|
3191
3191
|
model_type: :bulk_with_filters,
|
|
3192
3192
|
name: String,
|
|
@@ -3208,23 +3208,23 @@ module Orb
|
|
|
3208
3208
|
|
|
3209
3209
|
type bulk_with_filters_config =
|
|
3210
3210
|
{
|
|
3211
|
-
filters: ::Array[Orb::
|
|
3212
|
-
tiers: ::Array[Orb::
|
|
3211
|
+
filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
|
|
3212
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
|
|
3213
3213
|
}
|
|
3214
3214
|
|
|
3215
3215
|
class BulkWithFiltersConfig < Orb::Internal::Type::BaseModel
|
|
3216
|
-
attr_accessor filters: ::Array[Orb::
|
|
3216
|
+
attr_accessor filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter]
|
|
3217
3217
|
|
|
3218
|
-
attr_accessor tiers: ::Array[Orb::
|
|
3218
|
+
attr_accessor tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
|
|
3219
3219
|
|
|
3220
3220
|
def initialize: (
|
|
3221
|
-
filters: ::Array[Orb::
|
|
3222
|
-
tiers: ::Array[Orb::
|
|
3221
|
+
filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
|
|
3222
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
|
|
3223
3223
|
) -> void
|
|
3224
3224
|
|
|
3225
3225
|
def to_hash: -> {
|
|
3226
|
-
filters: ::Array[Orb::
|
|
3227
|
-
tiers: ::Array[Orb::
|
|
3226
|
+
filters: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
|
|
3227
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
|
|
3228
3228
|
}
|
|
3229
3229
|
|
|
3230
3230
|
type filter = { property_key: String, property_value: String }
|
|
@@ -3282,14 +3282,14 @@ module Orb
|
|
|
3282
3282
|
ANNUAL: :annual
|
|
3283
3283
|
CUSTOM: :custom
|
|
3284
3284
|
|
|
3285
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
3285
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::cadence]
|
|
3286
3286
|
end
|
|
3287
3287
|
end
|
|
3288
3288
|
|
|
3289
3289
|
type grouped_tiered_matrix =
|
|
3290
3290
|
{
|
|
3291
|
-
cadence: Orb::Models::
|
|
3292
|
-
grouped_tiered_matrix_config: Orb::
|
|
3291
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::cadence,
|
|
3292
|
+
grouped_tiered_matrix_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
|
|
3293
3293
|
item_id: String,
|
|
3294
3294
|
model_type: :grouped_tiered_matrix,
|
|
3295
3295
|
name: String,
|
|
@@ -3310,9 +3310,9 @@ module Orb
|
|
|
3310
3310
|
}
|
|
3311
3311
|
|
|
3312
3312
|
class GroupedTieredMatrix < Orb::Internal::Type::BaseModel
|
|
3313
|
-
attr_accessor cadence: Orb::Models::
|
|
3313
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::cadence
|
|
3314
3314
|
|
|
3315
|
-
attr_accessor grouped_tiered_matrix_config: Orb::
|
|
3315
|
+
attr_accessor grouped_tiered_matrix_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig
|
|
3316
3316
|
|
|
3317
3317
|
attr_accessor item_id: String
|
|
3318
3318
|
|
|
@@ -3349,8 +3349,8 @@ module Orb
|
|
|
3349
3349
|
attr_accessor reference_id: String?
|
|
3350
3350
|
|
|
3351
3351
|
def initialize: (
|
|
3352
|
-
cadence: Orb::Models::
|
|
3353
|
-
grouped_tiered_matrix_config: Orb::
|
|
3352
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::cadence,
|
|
3353
|
+
grouped_tiered_matrix_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
|
|
3354
3354
|
item_id: String,
|
|
3355
3355
|
name: String,
|
|
3356
3356
|
?billable_metric_id: String?,
|
|
@@ -3371,8 +3371,8 @@ module Orb
|
|
|
3371
3371
|
) -> void
|
|
3372
3372
|
|
|
3373
3373
|
def to_hash: -> {
|
|
3374
|
-
cadence: Orb::Models::
|
|
3375
|
-
grouped_tiered_matrix_config: Orb::
|
|
3374
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::cadence,
|
|
3375
|
+
grouped_tiered_matrix_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
|
|
3376
3376
|
item_id: String,
|
|
3377
3377
|
model_type: :grouped_tiered_matrix,
|
|
3378
3378
|
name: String,
|
|
@@ -3410,14 +3410,14 @@ module Orb
|
|
|
3410
3410
|
ANNUAL: :annual
|
|
3411
3411
|
CUSTOM: :custom
|
|
3412
3412
|
|
|
3413
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
3413
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::cadence]
|
|
3414
3414
|
end
|
|
3415
3415
|
|
|
3416
3416
|
type grouped_tiered_matrix_config =
|
|
3417
3417
|
{
|
|
3418
3418
|
default_unit_amount: String,
|
|
3419
3419
|
dimension: String,
|
|
3420
|
-
tiers: ::Array[Orb::
|
|
3420
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
|
|
3421
3421
|
}
|
|
3422
3422
|
|
|
3423
3423
|
class GroupedTieredMatrixConfig < Orb::Internal::Type::BaseModel
|
|
@@ -3425,18 +3425,18 @@ module Orb
|
|
|
3425
3425
|
|
|
3426
3426
|
attr_accessor dimension: String
|
|
3427
3427
|
|
|
3428
|
-
attr_accessor tiers: ::Array[Orb::
|
|
3428
|
+
attr_accessor tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
|
|
3429
3429
|
|
|
3430
3430
|
def initialize: (
|
|
3431
3431
|
default_unit_amount: String,
|
|
3432
3432
|
dimension: String,
|
|
3433
|
-
tiers: ::Array[Orb::
|
|
3433
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
|
|
3434
3434
|
) -> void
|
|
3435
3435
|
|
|
3436
3436
|
def to_hash: -> {
|
|
3437
3437
|
default_unit_amount: String,
|
|
3438
3438
|
dimension: String,
|
|
3439
|
-
tiers: ::Array[Orb::
|
|
3439
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
|
|
3440
3440
|
}
|
|
3441
3441
|
|
|
3442
3442
|
type tier =
|
|
@@ -3470,11 +3470,11 @@ module Orb
|
|
|
3470
3470
|
|
|
3471
3471
|
type tiered_matrix_with_allocation =
|
|
3472
3472
|
{
|
|
3473
|
-
cadence: Orb::Models::
|
|
3473
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::cadence,
|
|
3474
3474
|
item_id: String,
|
|
3475
3475
|
model_type: :tiered_matrix_with_allocation,
|
|
3476
3476
|
name: String,
|
|
3477
|
-
tiered_matrix_with_allocation_config: Orb::
|
|
3477
|
+
tiered_matrix_with_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
|
|
3478
3478
|
billable_metric_id: String?,
|
|
3479
3479
|
billed_in_advance: bool?,
|
|
3480
3480
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -3492,7 +3492,7 @@ module Orb
|
|
|
3492
3492
|
}
|
|
3493
3493
|
|
|
3494
3494
|
class TieredMatrixWithAllocation < Orb::Internal::Type::BaseModel
|
|
3495
|
-
attr_accessor cadence: Orb::Models::
|
|
3495
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::cadence
|
|
3496
3496
|
|
|
3497
3497
|
attr_accessor item_id: String
|
|
3498
3498
|
|
|
@@ -3500,7 +3500,7 @@ module Orb
|
|
|
3500
3500
|
|
|
3501
3501
|
attr_accessor name: String
|
|
3502
3502
|
|
|
3503
|
-
attr_accessor tiered_matrix_with_allocation_config: Orb::
|
|
3503
|
+
attr_accessor tiered_matrix_with_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig
|
|
3504
3504
|
|
|
3505
3505
|
attr_accessor billable_metric_id: String?
|
|
3506
3506
|
|
|
@@ -3531,10 +3531,10 @@ module Orb
|
|
|
3531
3531
|
attr_accessor reference_id: String?
|
|
3532
3532
|
|
|
3533
3533
|
def initialize: (
|
|
3534
|
-
cadence: Orb::Models::
|
|
3534
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::cadence,
|
|
3535
3535
|
item_id: String,
|
|
3536
3536
|
name: String,
|
|
3537
|
-
tiered_matrix_with_allocation_config: Orb::
|
|
3537
|
+
tiered_matrix_with_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
|
|
3538
3538
|
?billable_metric_id: String?,
|
|
3539
3539
|
?billed_in_advance: bool?,
|
|
3540
3540
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -3553,11 +3553,11 @@ module Orb
|
|
|
3553
3553
|
) -> void
|
|
3554
3554
|
|
|
3555
3555
|
def to_hash: -> {
|
|
3556
|
-
cadence: Orb::Models::
|
|
3556
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::cadence,
|
|
3557
3557
|
item_id: String,
|
|
3558
3558
|
model_type: :tiered_matrix_with_allocation,
|
|
3559
3559
|
name: String,
|
|
3560
|
-
tiered_matrix_with_allocation_config: Orb::
|
|
3560
|
+
tiered_matrix_with_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
|
|
3561
3561
|
billable_metric_id: String?,
|
|
3562
3562
|
billed_in_advance: bool?,
|
|
3563
3563
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -3592,7 +3592,7 @@ module Orb
|
|
|
3592
3592
|
ANNUAL: :annual
|
|
3593
3593
|
CUSTOM: :custom
|
|
3594
3594
|
|
|
3595
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
3595
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::cadence]
|
|
3596
3596
|
end
|
|
3597
3597
|
|
|
3598
3598
|
type tiered_matrix_with_allocation_config =
|
|
@@ -3600,7 +3600,7 @@ module Orb
|
|
|
3600
3600
|
allocation: String,
|
|
3601
3601
|
default_unit_amount: String,
|
|
3602
3602
|
dimensions: ::Array[String],
|
|
3603
|
-
tiers: ::Array[Orb::
|
|
3603
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
|
|
3604
3604
|
}
|
|
3605
3605
|
|
|
3606
3606
|
class TieredMatrixWithAllocationConfig < Orb::Internal::Type::BaseModel
|
|
@@ -3610,20 +3610,20 @@ module Orb
|
|
|
3610
3610
|
|
|
3611
3611
|
attr_accessor dimensions: ::Array[String]
|
|
3612
3612
|
|
|
3613
|
-
attr_accessor tiers: ::Array[Orb::
|
|
3613
|
+
attr_accessor tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
|
|
3614
3614
|
|
|
3615
3615
|
def initialize: (
|
|
3616
3616
|
allocation: String,
|
|
3617
3617
|
default_unit_amount: String,
|
|
3618
3618
|
dimensions: ::Array[String],
|
|
3619
|
-
tiers: ::Array[Orb::
|
|
3619
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
|
|
3620
3620
|
) -> void
|
|
3621
3621
|
|
|
3622
3622
|
def to_hash: -> {
|
|
3623
3623
|
allocation: String,
|
|
3624
3624
|
default_unit_amount: String,
|
|
3625
3625
|
dimensions: ::Array[String],
|
|
3626
|
-
tiers: ::Array[Orb::
|
|
3626
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
|
|
3627
3627
|
}
|
|
3628
3628
|
|
|
3629
3629
|
type tier =
|
|
@@ -3657,9 +3657,9 @@ module Orb
|
|
|
3657
3657
|
|
|
3658
3658
|
type matrix_with_threshold_discounts =
|
|
3659
3659
|
{
|
|
3660
|
-
cadence: Orb::Models::
|
|
3660
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::cadence,
|
|
3661
3661
|
item_id: String,
|
|
3662
|
-
matrix_with_threshold_discounts_config: Orb::
|
|
3662
|
+
matrix_with_threshold_discounts_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
|
|
3663
3663
|
model_type: :matrix_with_threshold_discounts,
|
|
3664
3664
|
name: String,
|
|
3665
3665
|
billable_metric_id: String?,
|
|
@@ -3679,11 +3679,11 @@ module Orb
|
|
|
3679
3679
|
}
|
|
3680
3680
|
|
|
3681
3681
|
class MatrixWithThresholdDiscounts < Orb::Internal::Type::BaseModel
|
|
3682
|
-
attr_accessor cadence: Orb::Models::
|
|
3682
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::cadence
|
|
3683
3683
|
|
|
3684
3684
|
attr_accessor item_id: String
|
|
3685
3685
|
|
|
3686
|
-
attr_accessor matrix_with_threshold_discounts_config: Orb::
|
|
3686
|
+
attr_accessor matrix_with_threshold_discounts_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig
|
|
3687
3687
|
|
|
3688
3688
|
attr_accessor model_type: :matrix_with_threshold_discounts
|
|
3689
3689
|
|
|
@@ -3718,9 +3718,9 @@ module Orb
|
|
|
3718
3718
|
attr_accessor reference_id: String?
|
|
3719
3719
|
|
|
3720
3720
|
def initialize: (
|
|
3721
|
-
cadence: Orb::Models::
|
|
3721
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::cadence,
|
|
3722
3722
|
item_id: String,
|
|
3723
|
-
matrix_with_threshold_discounts_config: Orb::
|
|
3723
|
+
matrix_with_threshold_discounts_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
|
|
3724
3724
|
name: String,
|
|
3725
3725
|
?billable_metric_id: String?,
|
|
3726
3726
|
?billed_in_advance: bool?,
|
|
@@ -3740,9 +3740,9 @@ module Orb
|
|
|
3740
3740
|
) -> void
|
|
3741
3741
|
|
|
3742
3742
|
def to_hash: -> {
|
|
3743
|
-
cadence: Orb::Models::
|
|
3743
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::cadence,
|
|
3744
3744
|
item_id: String,
|
|
3745
|
-
matrix_with_threshold_discounts_config: Orb::
|
|
3745
|
+
matrix_with_threshold_discounts_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
|
|
3746
3746
|
model_type: :matrix_with_threshold_discounts,
|
|
3747
3747
|
name: String,
|
|
3748
3748
|
billable_metric_id: String?,
|
|
@@ -3779,16 +3779,16 @@ module Orb
|
|
|
3779
3779
|
ANNUAL: :annual
|
|
3780
3780
|
CUSTOM: :custom
|
|
3781
3781
|
|
|
3782
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
3782
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::cadence]
|
|
3783
3783
|
end
|
|
3784
3784
|
|
|
3785
3785
|
type matrix_with_threshold_discounts_config =
|
|
3786
3786
|
{
|
|
3787
3787
|
default_unit_amount: String,
|
|
3788
3788
|
first_dimension: String,
|
|
3789
|
-
matrix_values: ::Array[Orb::
|
|
3789
|
+
matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
|
|
3790
3790
|
second_dimension: String?,
|
|
3791
|
-
threshold_discount_groups: ::Array[Orb::
|
|
3791
|
+
threshold_discount_groups: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
3792
3792
|
}
|
|
3793
3793
|
|
|
3794
3794
|
class MatrixWithThresholdDiscountsConfig < Orb::Internal::Type::BaseModel
|
|
@@ -3796,30 +3796,30 @@ module Orb
|
|
|
3796
3796
|
|
|
3797
3797
|
attr_accessor first_dimension: String
|
|
3798
3798
|
|
|
3799
|
-
attr_accessor matrix_values: ::Array[Orb::
|
|
3799
|
+
attr_accessor matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue]
|
|
3800
3800
|
|
|
3801
3801
|
attr_accessor second_dimension: String?
|
|
3802
3802
|
|
|
3803
|
-
attr_reader threshold_discount_groups: ::Array[Orb::
|
|
3803
|
+
attr_reader threshold_discount_groups: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]?
|
|
3804
3804
|
|
|
3805
3805
|
def threshold_discount_groups=: (
|
|
3806
|
-
::Array[Orb::
|
|
3807
|
-
) -> ::Array[Orb::
|
|
3806
|
+
::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
3807
|
+
) -> ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
3808
3808
|
|
|
3809
3809
|
def initialize: (
|
|
3810
3810
|
default_unit_amount: String,
|
|
3811
3811
|
first_dimension: String,
|
|
3812
|
-
matrix_values: ::Array[Orb::
|
|
3812
|
+
matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
|
|
3813
3813
|
?second_dimension: String?,
|
|
3814
|
-
?threshold_discount_groups: ::Array[Orb::
|
|
3814
|
+
?threshold_discount_groups: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
3815
3815
|
) -> void
|
|
3816
3816
|
|
|
3817
3817
|
def to_hash: -> {
|
|
3818
3818
|
default_unit_amount: String,
|
|
3819
3819
|
first_dimension: String,
|
|
3820
|
-
matrix_values: ::Array[Orb::
|
|
3820
|
+
matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
|
|
3821
3821
|
second_dimension: String?,
|
|
3822
|
-
threshold_discount_groups: ::Array[Orb::
|
|
3822
|
+
threshold_discount_groups: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
|
|
3823
3823
|
}
|
|
3824
3824
|
|
|
3825
3825
|
type matrix_value =
|
|
@@ -3890,11 +3890,11 @@ module Orb
|
|
|
3890
3890
|
|
|
3891
3891
|
type tiered_with_proration =
|
|
3892
3892
|
{
|
|
3893
|
-
cadence: Orb::Models::
|
|
3893
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::cadence,
|
|
3894
3894
|
item_id: String,
|
|
3895
3895
|
model_type: :tiered_with_proration,
|
|
3896
3896
|
name: String,
|
|
3897
|
-
tiered_with_proration_config: Orb::
|
|
3897
|
+
tiered_with_proration_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig,
|
|
3898
3898
|
billable_metric_id: String?,
|
|
3899
3899
|
billed_in_advance: bool?,
|
|
3900
3900
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -3912,7 +3912,7 @@ module Orb
|
|
|
3912
3912
|
}
|
|
3913
3913
|
|
|
3914
3914
|
class TieredWithProration < Orb::Internal::Type::BaseModel
|
|
3915
|
-
attr_accessor cadence: Orb::Models::
|
|
3915
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::cadence
|
|
3916
3916
|
|
|
3917
3917
|
attr_accessor item_id: String
|
|
3918
3918
|
|
|
@@ -3920,7 +3920,7 @@ module Orb
|
|
|
3920
3920
|
|
|
3921
3921
|
attr_accessor name: String
|
|
3922
3922
|
|
|
3923
|
-
attr_accessor tiered_with_proration_config: Orb::
|
|
3923
|
+
attr_accessor tiered_with_proration_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig
|
|
3924
3924
|
|
|
3925
3925
|
attr_accessor billable_metric_id: String?
|
|
3926
3926
|
|
|
@@ -3951,10 +3951,10 @@ module Orb
|
|
|
3951
3951
|
attr_accessor reference_id: String?
|
|
3952
3952
|
|
|
3953
3953
|
def initialize: (
|
|
3954
|
-
cadence: Orb::Models::
|
|
3954
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::cadence,
|
|
3955
3955
|
item_id: String,
|
|
3956
3956
|
name: String,
|
|
3957
|
-
tiered_with_proration_config: Orb::
|
|
3957
|
+
tiered_with_proration_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig,
|
|
3958
3958
|
?billable_metric_id: String?,
|
|
3959
3959
|
?billed_in_advance: bool?,
|
|
3960
3960
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -3973,11 +3973,11 @@ module Orb
|
|
|
3973
3973
|
) -> void
|
|
3974
3974
|
|
|
3975
3975
|
def to_hash: -> {
|
|
3976
|
-
cadence: Orb::Models::
|
|
3976
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::cadence,
|
|
3977
3977
|
item_id: String,
|
|
3978
3978
|
model_type: :tiered_with_proration,
|
|
3979
3979
|
name: String,
|
|
3980
|
-
tiered_with_proration_config: Orb::
|
|
3980
|
+
tiered_with_proration_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig,
|
|
3981
3981
|
billable_metric_id: String?,
|
|
3982
3982
|
billed_in_advance: bool?,
|
|
3983
3983
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -4012,23 +4012,23 @@ module Orb
|
|
|
4012
4012
|
ANNUAL: :annual
|
|
4013
4013
|
CUSTOM: :custom
|
|
4014
4014
|
|
|
4015
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
4015
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::cadence]
|
|
4016
4016
|
end
|
|
4017
4017
|
|
|
4018
4018
|
type tiered_with_proration_config =
|
|
4019
4019
|
{
|
|
4020
|
-
tiers: ::Array[Orb::
|
|
4020
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
|
|
4021
4021
|
}
|
|
4022
4022
|
|
|
4023
4023
|
class TieredWithProrationConfig < Orb::Internal::Type::BaseModel
|
|
4024
|
-
attr_accessor tiers: ::Array[Orb::
|
|
4024
|
+
attr_accessor tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
|
|
4025
4025
|
|
|
4026
4026
|
def initialize: (
|
|
4027
|
-
tiers: ::Array[Orb::
|
|
4027
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
|
|
4028
4028
|
) -> void
|
|
4029
4029
|
|
|
4030
4030
|
def to_hash: -> {
|
|
4031
|
-
tiers: ::Array[Orb::
|
|
4031
|
+
tiers: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
|
|
4032
4032
|
}
|
|
4033
4033
|
|
|
4034
4034
|
type tier = { tier_lower_bound: String, unit_amount: String }
|
|
@@ -4053,8 +4053,8 @@ module Orb
|
|
|
4053
4053
|
|
|
4054
4054
|
type grouped_with_min_max_thresholds =
|
|
4055
4055
|
{
|
|
4056
|
-
cadence: Orb::Models::
|
|
4057
|
-
grouped_with_min_max_thresholds_config: Orb::
|
|
4056
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::cadence,
|
|
4057
|
+
grouped_with_min_max_thresholds_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
|
|
4058
4058
|
item_id: String,
|
|
4059
4059
|
model_type: :grouped_with_min_max_thresholds,
|
|
4060
4060
|
name: String,
|
|
@@ -4075,9 +4075,9 @@ module Orb
|
|
|
4075
4075
|
}
|
|
4076
4076
|
|
|
4077
4077
|
class GroupedWithMinMaxThresholds < Orb::Internal::Type::BaseModel
|
|
4078
|
-
attr_accessor cadence: Orb::Models::
|
|
4078
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::cadence
|
|
4079
4079
|
|
|
4080
|
-
attr_accessor grouped_with_min_max_thresholds_config: Orb::
|
|
4080
|
+
attr_accessor grouped_with_min_max_thresholds_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig
|
|
4081
4081
|
|
|
4082
4082
|
attr_accessor item_id: String
|
|
4083
4083
|
|
|
@@ -4114,8 +4114,8 @@ module Orb
|
|
|
4114
4114
|
attr_accessor reference_id: String?
|
|
4115
4115
|
|
|
4116
4116
|
def initialize: (
|
|
4117
|
-
cadence: Orb::Models::
|
|
4118
|
-
grouped_with_min_max_thresholds_config: Orb::
|
|
4117
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::cadence,
|
|
4118
|
+
grouped_with_min_max_thresholds_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
|
|
4119
4119
|
item_id: String,
|
|
4120
4120
|
name: String,
|
|
4121
4121
|
?billable_metric_id: String?,
|
|
@@ -4136,8 +4136,8 @@ module Orb
|
|
|
4136
4136
|
) -> void
|
|
4137
4137
|
|
|
4138
4138
|
def to_hash: -> {
|
|
4139
|
-
cadence: Orb::Models::
|
|
4140
|
-
grouped_with_min_max_thresholds_config: Orb::
|
|
4139
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::cadence,
|
|
4140
|
+
grouped_with_min_max_thresholds_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
|
|
4141
4141
|
item_id: String,
|
|
4142
4142
|
model_type: :grouped_with_min_max_thresholds,
|
|
4143
4143
|
name: String,
|
|
@@ -4175,7 +4175,7 @@ module Orb
|
|
|
4175
4175
|
ANNUAL: :annual
|
|
4176
4176
|
CUSTOM: :custom
|
|
4177
4177
|
|
|
4178
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
4178
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::cadence]
|
|
4179
4179
|
end
|
|
4180
4180
|
|
|
4181
4181
|
type grouped_with_min_max_thresholds_config =
|
|
@@ -4213,8 +4213,8 @@ module Orb
|
|
|
4213
4213
|
|
|
4214
4214
|
type cumulative_grouped_allocation =
|
|
4215
4215
|
{
|
|
4216
|
-
cadence: Orb::Models::
|
|
4217
|
-
cumulative_grouped_allocation_config: Orb::
|
|
4216
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::cadence,
|
|
4217
|
+
cumulative_grouped_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
|
|
4218
4218
|
item_id: String,
|
|
4219
4219
|
model_type: :cumulative_grouped_allocation,
|
|
4220
4220
|
name: String,
|
|
@@ -4235,9 +4235,9 @@ module Orb
|
|
|
4235
4235
|
}
|
|
4236
4236
|
|
|
4237
4237
|
class CumulativeGroupedAllocation < Orb::Internal::Type::BaseModel
|
|
4238
|
-
attr_accessor cadence: Orb::Models::
|
|
4238
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::cadence
|
|
4239
4239
|
|
|
4240
|
-
attr_accessor cumulative_grouped_allocation_config: Orb::
|
|
4240
|
+
attr_accessor cumulative_grouped_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig
|
|
4241
4241
|
|
|
4242
4242
|
attr_accessor item_id: String
|
|
4243
4243
|
|
|
@@ -4274,8 +4274,8 @@ module Orb
|
|
|
4274
4274
|
attr_accessor reference_id: String?
|
|
4275
4275
|
|
|
4276
4276
|
def initialize: (
|
|
4277
|
-
cadence: Orb::Models::
|
|
4278
|
-
cumulative_grouped_allocation_config: Orb::
|
|
4277
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::cadence,
|
|
4278
|
+
cumulative_grouped_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
|
|
4279
4279
|
item_id: String,
|
|
4280
4280
|
name: String,
|
|
4281
4281
|
?billable_metric_id: String?,
|
|
@@ -4296,8 +4296,8 @@ module Orb
|
|
|
4296
4296
|
) -> void
|
|
4297
4297
|
|
|
4298
4298
|
def to_hash: -> {
|
|
4299
|
-
cadence: Orb::Models::
|
|
4300
|
-
cumulative_grouped_allocation_config: Orb::
|
|
4299
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::cadence,
|
|
4300
|
+
cumulative_grouped_allocation_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
|
|
4301
4301
|
item_id: String,
|
|
4302
4302
|
model_type: :cumulative_grouped_allocation,
|
|
4303
4303
|
name: String,
|
|
@@ -4335,7 +4335,7 @@ module Orb
|
|
|
4335
4335
|
ANNUAL: :annual
|
|
4336
4336
|
CUSTOM: :custom
|
|
4337
4337
|
|
|
4338
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
4338
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::cadence]
|
|
4339
4339
|
end
|
|
4340
4340
|
|
|
4341
4341
|
type cumulative_grouped_allocation_config =
|
|
@@ -4373,8 +4373,8 @@ module Orb
|
|
|
4373
4373
|
|
|
4374
4374
|
type daily_credit_allowance =
|
|
4375
4375
|
{
|
|
4376
|
-
cadence: Orb::Models::
|
|
4377
|
-
daily_credit_allowance_config: Orb::
|
|
4376
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::cadence,
|
|
4377
|
+
daily_credit_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
|
|
4378
4378
|
item_id: String,
|
|
4379
4379
|
model_type: :daily_credit_allowance,
|
|
4380
4380
|
name: String,
|
|
@@ -4395,9 +4395,9 @@ module Orb
|
|
|
4395
4395
|
}
|
|
4396
4396
|
|
|
4397
4397
|
class DailyCreditAllowance < Orb::Internal::Type::BaseModel
|
|
4398
|
-
attr_accessor cadence: Orb::Models::
|
|
4398
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::cadence
|
|
4399
4399
|
|
|
4400
|
-
attr_accessor daily_credit_allowance_config: Orb::
|
|
4400
|
+
attr_accessor daily_credit_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig
|
|
4401
4401
|
|
|
4402
4402
|
attr_accessor item_id: String
|
|
4403
4403
|
|
|
@@ -4434,8 +4434,8 @@ module Orb
|
|
|
4434
4434
|
attr_accessor reference_id: String?
|
|
4435
4435
|
|
|
4436
4436
|
def initialize: (
|
|
4437
|
-
cadence: Orb::Models::
|
|
4438
|
-
daily_credit_allowance_config: Orb::
|
|
4437
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::cadence,
|
|
4438
|
+
daily_credit_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
|
|
4439
4439
|
item_id: String,
|
|
4440
4440
|
name: String,
|
|
4441
4441
|
?billable_metric_id: String?,
|
|
@@ -4456,8 +4456,8 @@ module Orb
|
|
|
4456
4456
|
) -> void
|
|
4457
4457
|
|
|
4458
4458
|
def to_hash: -> {
|
|
4459
|
-
cadence: Orb::Models::
|
|
4460
|
-
daily_credit_allowance_config: Orb::
|
|
4459
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::cadence,
|
|
4460
|
+
daily_credit_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
|
|
4461
4461
|
item_id: String,
|
|
4462
4462
|
model_type: :daily_credit_allowance,
|
|
4463
4463
|
name: String,
|
|
@@ -4495,7 +4495,7 @@ module Orb
|
|
|
4495
4495
|
ANNUAL: :annual
|
|
4496
4496
|
CUSTOM: :custom
|
|
4497
4497
|
|
|
4498
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
4498
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::cadence]
|
|
4499
4499
|
end
|
|
4500
4500
|
|
|
4501
4501
|
type daily_credit_allowance_config =
|
|
@@ -4504,7 +4504,7 @@ module Orb
|
|
|
4504
4504
|
default_unit_amount: String,
|
|
4505
4505
|
dimensions: ::Array[String?],
|
|
4506
4506
|
event_day_property: String,
|
|
4507
|
-
matrix_values: ::Array[Orb::
|
|
4507
|
+
matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
4508
4508
|
}
|
|
4509
4509
|
|
|
4510
4510
|
class DailyCreditAllowanceConfig < Orb::Internal::Type::BaseModel
|
|
@@ -4516,14 +4516,14 @@ module Orb
|
|
|
4516
4516
|
|
|
4517
4517
|
attr_accessor event_day_property: String
|
|
4518
4518
|
|
|
4519
|
-
attr_accessor matrix_values: ::Array[Orb::
|
|
4519
|
+
attr_accessor matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
4520
4520
|
|
|
4521
4521
|
def initialize: (
|
|
4522
4522
|
daily_allowance: String,
|
|
4523
4523
|
default_unit_amount: String,
|
|
4524
4524
|
dimensions: ::Array[String?],
|
|
4525
4525
|
event_day_property: String,
|
|
4526
|
-
matrix_values: ::Array[Orb::
|
|
4526
|
+
matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
4527
4527
|
) -> void
|
|
4528
4528
|
|
|
4529
4529
|
def to_hash: -> {
|
|
@@ -4531,7 +4531,7 @@ module Orb
|
|
|
4531
4531
|
default_unit_amount: String,
|
|
4532
4532
|
dimensions: ::Array[String?],
|
|
4533
4533
|
event_day_property: String,
|
|
4534
|
-
matrix_values: ::Array[Orb::
|
|
4534
|
+
matrix_values: ::Array[Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
|
|
4535
4535
|
}
|
|
4536
4536
|
|
|
4537
4537
|
type matrix_value =
|
|
@@ -4557,9 +4557,9 @@ module Orb
|
|
|
4557
4557
|
|
|
4558
4558
|
type metered_allowance =
|
|
4559
4559
|
{
|
|
4560
|
-
cadence: Orb::Models::
|
|
4560
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::cadence,
|
|
4561
4561
|
item_id: String,
|
|
4562
|
-
metered_allowance_config: Orb::
|
|
4562
|
+
metered_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig,
|
|
4563
4563
|
model_type: :metered_allowance,
|
|
4564
4564
|
name: String,
|
|
4565
4565
|
billable_metric_id: String?,
|
|
@@ -4579,11 +4579,11 @@ module Orb
|
|
|
4579
4579
|
}
|
|
4580
4580
|
|
|
4581
4581
|
class MeteredAllowance < Orb::Internal::Type::BaseModel
|
|
4582
|
-
attr_accessor cadence: Orb::Models::
|
|
4582
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::cadence
|
|
4583
4583
|
|
|
4584
4584
|
attr_accessor item_id: String
|
|
4585
4585
|
|
|
4586
|
-
attr_accessor metered_allowance_config: Orb::
|
|
4586
|
+
attr_accessor metered_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig
|
|
4587
4587
|
|
|
4588
4588
|
attr_accessor model_type: :metered_allowance
|
|
4589
4589
|
|
|
@@ -4618,9 +4618,9 @@ module Orb
|
|
|
4618
4618
|
attr_accessor reference_id: String?
|
|
4619
4619
|
|
|
4620
4620
|
def initialize: (
|
|
4621
|
-
cadence: Orb::Models::
|
|
4621
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::cadence,
|
|
4622
4622
|
item_id: String,
|
|
4623
|
-
metered_allowance_config: Orb::
|
|
4623
|
+
metered_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig,
|
|
4624
4624
|
name: String,
|
|
4625
4625
|
?billable_metric_id: String?,
|
|
4626
4626
|
?billed_in_advance: bool?,
|
|
@@ -4640,9 +4640,9 @@ module Orb
|
|
|
4640
4640
|
) -> void
|
|
4641
4641
|
|
|
4642
4642
|
def to_hash: -> {
|
|
4643
|
-
cadence: Orb::Models::
|
|
4643
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::cadence,
|
|
4644
4644
|
item_id: String,
|
|
4645
|
-
metered_allowance_config: Orb::
|
|
4645
|
+
metered_allowance_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig,
|
|
4646
4646
|
model_type: :metered_allowance,
|
|
4647
4647
|
name: String,
|
|
4648
4648
|
billable_metric_id: String?,
|
|
@@ -4679,7 +4679,7 @@ module Orb
|
|
|
4679
4679
|
ANNUAL: :annual
|
|
4680
4680
|
CUSTOM: :custom
|
|
4681
4681
|
|
|
4682
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
4682
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::cadence]
|
|
4683
4683
|
end
|
|
4684
4684
|
|
|
4685
4685
|
type metered_allowance_config =
|
|
@@ -4731,11 +4731,11 @@ module Orb
|
|
|
4731
4731
|
|
|
4732
4732
|
type percent =
|
|
4733
4733
|
{
|
|
4734
|
-
cadence: Orb::Models::
|
|
4734
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::Percent::cadence,
|
|
4735
4735
|
item_id: String,
|
|
4736
4736
|
model_type: :percent,
|
|
4737
4737
|
name: String,
|
|
4738
|
-
percent_config: Orb::
|
|
4738
|
+
percent_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::Percent::PercentConfig,
|
|
4739
4739
|
billable_metric_id: String?,
|
|
4740
4740
|
billed_in_advance: bool?,
|
|
4741
4741
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -4753,7 +4753,7 @@ module Orb
|
|
|
4753
4753
|
}
|
|
4754
4754
|
|
|
4755
4755
|
class Percent < Orb::Internal::Type::BaseModel
|
|
4756
|
-
attr_accessor cadence: Orb::Models::
|
|
4756
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::Percent::cadence
|
|
4757
4757
|
|
|
4758
4758
|
attr_accessor item_id: String
|
|
4759
4759
|
|
|
@@ -4761,7 +4761,7 @@ module Orb
|
|
|
4761
4761
|
|
|
4762
4762
|
attr_accessor name: String
|
|
4763
4763
|
|
|
4764
|
-
attr_accessor percent_config: Orb::
|
|
4764
|
+
attr_accessor percent_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::Percent::PercentConfig
|
|
4765
4765
|
|
|
4766
4766
|
attr_accessor billable_metric_id: String?
|
|
4767
4767
|
|
|
@@ -4792,10 +4792,10 @@ module Orb
|
|
|
4792
4792
|
attr_accessor reference_id: String?
|
|
4793
4793
|
|
|
4794
4794
|
def initialize: (
|
|
4795
|
-
cadence: Orb::Models::
|
|
4795
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::Percent::cadence,
|
|
4796
4796
|
item_id: String,
|
|
4797
4797
|
name: String,
|
|
4798
|
-
percent_config: Orb::
|
|
4798
|
+
percent_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::Percent::PercentConfig,
|
|
4799
4799
|
?billable_metric_id: String?,
|
|
4800
4800
|
?billed_in_advance: bool?,
|
|
4801
4801
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -4814,11 +4814,11 @@ module Orb
|
|
|
4814
4814
|
) -> void
|
|
4815
4815
|
|
|
4816
4816
|
def to_hash: -> {
|
|
4817
|
-
cadence: Orb::Models::
|
|
4817
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::Percent::cadence,
|
|
4818
4818
|
item_id: String,
|
|
4819
4819
|
model_type: :percent,
|
|
4820
4820
|
name: String,
|
|
4821
|
-
percent_config: Orb::
|
|
4821
|
+
percent_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::Percent::PercentConfig,
|
|
4822
4822
|
billable_metric_id: String?,
|
|
4823
4823
|
billed_in_advance: bool?,
|
|
4824
4824
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -4853,7 +4853,7 @@ module Orb
|
|
|
4853
4853
|
ANNUAL: :annual
|
|
4854
4854
|
CUSTOM: :custom
|
|
4855
4855
|
|
|
4856
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
4856
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::Percent::cadence]
|
|
4857
4857
|
end
|
|
4858
4858
|
|
|
4859
4859
|
type percent_config =
|
|
@@ -4893,8 +4893,8 @@ module Orb
|
|
|
4893
4893
|
|
|
4894
4894
|
type event_output =
|
|
4895
4895
|
{
|
|
4896
|
-
cadence: Orb::Models::
|
|
4897
|
-
event_output_config: Orb::
|
|
4896
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::EventOutput::cadence,
|
|
4897
|
+
event_output_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::EventOutput::EventOutputConfig,
|
|
4898
4898
|
item_id: String,
|
|
4899
4899
|
model_type: :event_output,
|
|
4900
4900
|
name: String,
|
|
@@ -4915,9 +4915,9 @@ module Orb
|
|
|
4915
4915
|
}
|
|
4916
4916
|
|
|
4917
4917
|
class EventOutput < Orb::Internal::Type::BaseModel
|
|
4918
|
-
attr_accessor cadence: Orb::Models::
|
|
4918
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::EventOutput::cadence
|
|
4919
4919
|
|
|
4920
|
-
attr_accessor event_output_config: Orb::
|
|
4920
|
+
attr_accessor event_output_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::EventOutput::EventOutputConfig
|
|
4921
4921
|
|
|
4922
4922
|
attr_accessor item_id: String
|
|
4923
4923
|
|
|
@@ -4954,8 +4954,8 @@ module Orb
|
|
|
4954
4954
|
attr_accessor reference_id: String?
|
|
4955
4955
|
|
|
4956
4956
|
def initialize: (
|
|
4957
|
-
cadence: Orb::Models::
|
|
4958
|
-
event_output_config: Orb::
|
|
4957
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::EventOutput::cadence,
|
|
4958
|
+
event_output_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::EventOutput::EventOutputConfig,
|
|
4959
4959
|
item_id: String,
|
|
4960
4960
|
name: String,
|
|
4961
4961
|
?billable_metric_id: String?,
|
|
@@ -4976,8 +4976,8 @@ module Orb
|
|
|
4976
4976
|
) -> void
|
|
4977
4977
|
|
|
4978
4978
|
def to_hash: -> {
|
|
4979
|
-
cadence: Orb::Models::
|
|
4980
|
-
event_output_config: Orb::
|
|
4979
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::EventOutput::cadence,
|
|
4980
|
+
event_output_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::EventOutput::EventOutputConfig,
|
|
4981
4981
|
item_id: String,
|
|
4982
4982
|
model_type: :event_output,
|
|
4983
4983
|
name: String,
|
|
@@ -5015,7 +5015,7 @@ module Orb
|
|
|
5015
5015
|
ANNUAL: :annual
|
|
5016
5016
|
CUSTOM: :custom
|
|
5017
5017
|
|
|
5018
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
5018
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::EventOutput::cadence]
|
|
5019
5019
|
end
|
|
5020
5020
|
|
|
5021
5021
|
type event_output_config =
|
|
@@ -5048,11 +5048,11 @@ module Orb
|
|
|
5048
5048
|
|
|
5049
5049
|
type unit_with_multiplier =
|
|
5050
5050
|
{
|
|
5051
|
-
cadence: Orb::Models::
|
|
5051
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::cadence,
|
|
5052
5052
|
item_id: String,
|
|
5053
5053
|
model_type: :unit_with_multiplier,
|
|
5054
5054
|
name: String,
|
|
5055
|
-
unit_with_multiplier_config: Orb::
|
|
5055
|
+
unit_with_multiplier_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
|
|
5056
5056
|
billable_metric_id: String?,
|
|
5057
5057
|
billed_in_advance: bool?,
|
|
5058
5058
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -5070,7 +5070,7 @@ module Orb
|
|
|
5070
5070
|
}
|
|
5071
5071
|
|
|
5072
5072
|
class UnitWithMultiplier < Orb::Internal::Type::BaseModel
|
|
5073
|
-
attr_accessor cadence: Orb::Models::
|
|
5073
|
+
attr_accessor cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::cadence
|
|
5074
5074
|
|
|
5075
5075
|
attr_accessor item_id: String
|
|
5076
5076
|
|
|
@@ -5078,7 +5078,7 @@ module Orb
|
|
|
5078
5078
|
|
|
5079
5079
|
attr_accessor name: String
|
|
5080
5080
|
|
|
5081
|
-
attr_accessor unit_with_multiplier_config: Orb::
|
|
5081
|
+
attr_accessor unit_with_multiplier_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig
|
|
5082
5082
|
|
|
5083
5083
|
attr_accessor billable_metric_id: String?
|
|
5084
5084
|
|
|
@@ -5109,10 +5109,10 @@ module Orb
|
|
|
5109
5109
|
attr_accessor reference_id: String?
|
|
5110
5110
|
|
|
5111
5111
|
def initialize: (
|
|
5112
|
-
cadence: Orb::Models::
|
|
5112
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::cadence,
|
|
5113
5113
|
item_id: String,
|
|
5114
5114
|
name: String,
|
|
5115
|
-
unit_with_multiplier_config: Orb::
|
|
5115
|
+
unit_with_multiplier_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
|
|
5116
5116
|
?billable_metric_id: String?,
|
|
5117
5117
|
?billed_in_advance: bool?,
|
|
5118
5118
|
?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -5131,11 +5131,11 @@ module Orb
|
|
|
5131
5131
|
) -> void
|
|
5132
5132
|
|
|
5133
5133
|
def to_hash: -> {
|
|
5134
|
-
cadence: Orb::Models::
|
|
5134
|
+
cadence: Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::cadence,
|
|
5135
5135
|
item_id: String,
|
|
5136
5136
|
model_type: :unit_with_multiplier,
|
|
5137
5137
|
name: String,
|
|
5138
|
-
unit_with_multiplier_config: Orb::
|
|
5138
|
+
unit_with_multiplier_config: Orb::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
|
|
5139
5139
|
billable_metric_id: String?,
|
|
5140
5140
|
billed_in_advance: bool?,
|
|
5141
5141
|
billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
|
|
@@ -5170,7 +5170,7 @@ module Orb
|
|
|
5170
5170
|
ANNUAL: :annual
|
|
5171
5171
|
CUSTOM: :custom
|
|
5172
5172
|
|
|
5173
|
-
def self?.values: -> ::Array[Orb::Models::
|
|
5173
|
+
def self?.values: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::cadence]
|
|
5174
5174
|
end
|
|
5175
5175
|
|
|
5176
5176
|
type unit_with_multiplier_config =
|
|
@@ -5206,7 +5206,7 @@ module Orb
|
|
|
5206
5206
|
end
|
|
5207
5207
|
end
|
|
5208
5208
|
|
|
5209
|
-
def self?.variants: -> ::Array[Orb::Models::
|
|
5209
|
+
def self?.variants: -> ::Array[Orb::Models::Plans::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::price]
|
|
5210
5210
|
end
|
|
5211
5211
|
end
|
|
5212
5212
|
end
|