orb-billing 1.26.0 → 1.28.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.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +1 -1
  4. data/lib/orb/models/beta/external_plan_id_create_plan_version_params.rb +136 -46
  5. data/lib/orb/models/beta_create_plan_version_params.rb +136 -46
  6. data/lib/orb/models/matrix_config.rb +15 -1
  7. data/lib/orb/models/matrix_value.rb +11 -1
  8. data/lib/orb/models/matrix_with_allocation_config.rb +26 -2
  9. data/lib/orb/models/new_floating_bulk_price.rb +6 -2
  10. data/lib/orb/models/new_floating_bulk_with_proration_price.rb +6 -2
  11. data/lib/orb/models/new_floating_cumulative_grouped_bulk_price.rb +6 -2
  12. data/lib/orb/models/new_floating_grouped_allocation_price.rb +6 -2
  13. data/lib/orb/models/new_floating_grouped_tiered_package_price.rb +6 -2
  14. data/lib/orb/models/new_floating_grouped_tiered_price.rb +6 -2
  15. data/lib/orb/models/new_floating_grouped_with_metered_minimum_price.rb +6 -2
  16. data/lib/orb/models/new_floating_grouped_with_prorated_minimum_price.rb +6 -2
  17. data/lib/orb/models/new_floating_matrix_price.rb +6 -2
  18. data/lib/orb/models/new_floating_matrix_with_allocation_price.rb +6 -2
  19. data/lib/orb/models/new_floating_matrix_with_display_name_price.rb +6 -2
  20. data/lib/orb/models/new_floating_max_group_tiered_package_price.rb +6 -2
  21. data/lib/orb/models/new_floating_minimum_composite_price.rb +6 -2
  22. data/lib/orb/models/new_floating_package_price.rb +6 -2
  23. data/lib/orb/models/new_floating_package_with_allocation_price.rb +6 -2
  24. data/lib/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rb +6 -2
  25. data/lib/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rb +6 -2
  26. data/lib/orb/models/new_floating_threshold_total_amount_price.rb +6 -2
  27. data/lib/orb/models/new_floating_tiered_package_price.rb +6 -2
  28. data/lib/orb/models/new_floating_tiered_package_with_minimum_price.rb +6 -2
  29. data/lib/orb/models/new_floating_tiered_price.rb +6 -2
  30. data/lib/orb/models/new_floating_tiered_with_minimum_price.rb +6 -2
  31. data/lib/orb/models/new_floating_tiered_with_proration_price.rb +6 -2
  32. data/lib/orb/models/new_floating_unit_price.rb +6 -2
  33. data/lib/orb/models/new_floating_unit_with_percent_price.rb +6 -2
  34. data/lib/orb/models/new_floating_unit_with_proration_price.rb +6 -2
  35. data/lib/orb/models/new_plan_bulk_price.rb +6 -2
  36. data/lib/orb/models/new_plan_bulk_with_proration_price.rb +6 -2
  37. data/lib/orb/models/new_plan_cumulative_grouped_bulk_price.rb +6 -2
  38. data/lib/orb/models/new_plan_grouped_allocation_price.rb +6 -2
  39. data/lib/orb/models/new_plan_grouped_tiered_package_price.rb +6 -2
  40. data/lib/orb/models/new_plan_grouped_tiered_price.rb +6 -2
  41. data/lib/orb/models/new_plan_grouped_with_metered_minimum_price.rb +6 -2
  42. data/lib/orb/models/new_plan_grouped_with_prorated_minimum_price.rb +6 -2
  43. data/lib/orb/models/new_plan_matrix_price.rb +6 -2
  44. data/lib/orb/models/new_plan_matrix_with_allocation_price.rb +6 -2
  45. data/lib/orb/models/new_plan_matrix_with_display_name_price.rb +6 -2
  46. data/lib/orb/models/new_plan_max_group_tiered_package_price.rb +6 -2
  47. data/lib/orb/models/new_plan_minimum_composite_price.rb +6 -2
  48. data/lib/orb/models/new_plan_package_price.rb +6 -2
  49. data/lib/orb/models/new_plan_package_with_allocation_price.rb +6 -2
  50. data/lib/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rb +6 -2
  51. data/lib/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rb +6 -2
  52. data/lib/orb/models/new_plan_threshold_total_amount_price.rb +6 -2
  53. data/lib/orb/models/new_plan_tiered_package_price.rb +6 -2
  54. data/lib/orb/models/new_plan_tiered_package_with_minimum_price.rb +6 -2
  55. data/lib/orb/models/new_plan_tiered_price.rb +6 -2
  56. data/lib/orb/models/new_plan_tiered_with_minimum_price.rb +6 -2
  57. data/lib/orb/models/new_plan_unit_price.rb +6 -2
  58. data/lib/orb/models/new_plan_unit_with_percent_price.rb +6 -2
  59. data/lib/orb/models/new_plan_unit_with_proration_price.rb +6 -2
  60. data/lib/orb/models/new_subscription_bulk_price.rb +6 -2
  61. data/lib/orb/models/new_subscription_bulk_with_proration_price.rb +6 -2
  62. data/lib/orb/models/new_subscription_cumulative_grouped_bulk_price.rb +6 -2
  63. data/lib/orb/models/new_subscription_grouped_allocation_price.rb +6 -2
  64. data/lib/orb/models/new_subscription_grouped_tiered_package_price.rb +6 -2
  65. data/lib/orb/models/new_subscription_grouped_tiered_price.rb +6 -2
  66. data/lib/orb/models/new_subscription_grouped_with_metered_minimum_price.rb +6 -2
  67. data/lib/orb/models/new_subscription_grouped_with_prorated_minimum_price.rb +6 -2
  68. data/lib/orb/models/new_subscription_matrix_price.rb +6 -2
  69. data/lib/orb/models/new_subscription_matrix_with_allocation_price.rb +6 -2
  70. data/lib/orb/models/new_subscription_matrix_with_display_name_price.rb +6 -2
  71. data/lib/orb/models/new_subscription_max_group_tiered_package_price.rb +6 -2
  72. data/lib/orb/models/new_subscription_minimum_composite_price.rb +6 -2
  73. data/lib/orb/models/new_subscription_package_price.rb +6 -2
  74. data/lib/orb/models/new_subscription_package_with_allocation_price.rb +6 -2
  75. data/lib/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rb +6 -2
  76. data/lib/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rb +6 -2
  77. data/lib/orb/models/new_subscription_threshold_total_amount_price.rb +6 -2
  78. data/lib/orb/models/new_subscription_tiered_package_price.rb +6 -2
  79. data/lib/orb/models/new_subscription_tiered_package_with_minimum_price.rb +6 -2
  80. data/lib/orb/models/new_subscription_tiered_price.rb +6 -2
  81. data/lib/orb/models/new_subscription_tiered_with_minimum_price.rb +6 -2
  82. data/lib/orb/models/new_subscription_unit_price.rb +6 -2
  83. data/lib/orb/models/new_subscription_unit_with_percent_price.rb +6 -2
  84. data/lib/orb/models/new_subscription_unit_with_proration_price.rb +6 -2
  85. data/lib/orb/models/plan_create_params.rb +68 -23
  86. data/lib/orb/models/price_create_params.rb +54 -18
  87. data/lib/orb/models/price_evaluate_multiple_params.rb +54 -18
  88. data/lib/orb/models/price_evaluate_preview_events_params.rb +54 -18
  89. data/lib/orb/models/subscription_create_params.rb +120 -40
  90. data/lib/orb/models/subscription_price_intervals_params.rb +54 -18
  91. data/lib/orb/models/subscription_schedule_plan_change_params.rb +120 -40
  92. data/lib/orb/models/unit_config.rb +11 -1
  93. data/lib/orb/version.rb +1 -1
  94. data/rbi/orb/models/beta/external_plan_id_create_plan_version_params.rbi +228 -48
  95. data/rbi/orb/models/beta_create_plan_version_params.rbi +228 -48
  96. data/rbi/orb/models/matrix_config.rbi +13 -3
  97. data/rbi/orb/models/matrix_value.rbi +14 -3
  98. data/rbi/orb/models/matrix_with_allocation_config.rbi +24 -6
  99. data/rbi/orb/models/new_floating_bulk_price.rbi +10 -2
  100. data/rbi/orb/models/new_floating_bulk_with_proration_price.rbi +10 -2
  101. data/rbi/orb/models/new_floating_cumulative_grouped_bulk_price.rbi +10 -2
  102. data/rbi/orb/models/new_floating_grouped_allocation_price.rbi +10 -2
  103. data/rbi/orb/models/new_floating_grouped_tiered_package_price.rbi +10 -2
  104. data/rbi/orb/models/new_floating_grouped_tiered_price.rbi +10 -2
  105. data/rbi/orb/models/new_floating_grouped_with_metered_minimum_price.rbi +10 -2
  106. data/rbi/orb/models/new_floating_grouped_with_prorated_minimum_price.rbi +10 -2
  107. data/rbi/orb/models/new_floating_matrix_price.rbi +10 -2
  108. data/rbi/orb/models/new_floating_matrix_with_allocation_price.rbi +10 -2
  109. data/rbi/orb/models/new_floating_matrix_with_display_name_price.rbi +10 -2
  110. data/rbi/orb/models/new_floating_max_group_tiered_package_price.rbi +10 -2
  111. data/rbi/orb/models/new_floating_minimum_composite_price.rbi +10 -2
  112. data/rbi/orb/models/new_floating_package_price.rbi +10 -2
  113. data/rbi/orb/models/new_floating_package_with_allocation_price.rbi +10 -2
  114. data/rbi/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rbi +10 -2
  115. data/rbi/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rbi +10 -2
  116. data/rbi/orb/models/new_floating_threshold_total_amount_price.rbi +10 -2
  117. data/rbi/orb/models/new_floating_tiered_package_price.rbi +10 -2
  118. data/rbi/orb/models/new_floating_tiered_package_with_minimum_price.rbi +10 -2
  119. data/rbi/orb/models/new_floating_tiered_price.rbi +10 -2
  120. data/rbi/orb/models/new_floating_tiered_with_minimum_price.rbi +10 -2
  121. data/rbi/orb/models/new_floating_tiered_with_proration_price.rbi +10 -2
  122. data/rbi/orb/models/new_floating_unit_price.rbi +10 -2
  123. data/rbi/orb/models/new_floating_unit_with_percent_price.rbi +10 -2
  124. data/rbi/orb/models/new_floating_unit_with_proration_price.rbi +10 -2
  125. data/rbi/orb/models/new_plan_bulk_price.rbi +10 -2
  126. data/rbi/orb/models/new_plan_bulk_with_proration_price.rbi +10 -2
  127. data/rbi/orb/models/new_plan_cumulative_grouped_bulk_price.rbi +10 -2
  128. data/rbi/orb/models/new_plan_grouped_allocation_price.rbi +10 -2
  129. data/rbi/orb/models/new_plan_grouped_tiered_package_price.rbi +10 -2
  130. data/rbi/orb/models/new_plan_grouped_tiered_price.rbi +10 -2
  131. data/rbi/orb/models/new_plan_grouped_with_metered_minimum_price.rbi +10 -2
  132. data/rbi/orb/models/new_plan_grouped_with_prorated_minimum_price.rbi +10 -2
  133. data/rbi/orb/models/new_plan_matrix_price.rbi +10 -2
  134. data/rbi/orb/models/new_plan_matrix_with_allocation_price.rbi +10 -2
  135. data/rbi/orb/models/new_plan_matrix_with_display_name_price.rbi +10 -2
  136. data/rbi/orb/models/new_plan_max_group_tiered_package_price.rbi +10 -2
  137. data/rbi/orb/models/new_plan_minimum_composite_price.rbi +10 -2
  138. data/rbi/orb/models/new_plan_package_price.rbi +10 -2
  139. data/rbi/orb/models/new_plan_package_with_allocation_price.rbi +10 -2
  140. data/rbi/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rbi +10 -2
  141. data/rbi/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rbi +10 -2
  142. data/rbi/orb/models/new_plan_threshold_total_amount_price.rbi +10 -2
  143. data/rbi/orb/models/new_plan_tiered_package_price.rbi +10 -2
  144. data/rbi/orb/models/new_plan_tiered_package_with_minimum_price.rbi +10 -2
  145. data/rbi/orb/models/new_plan_tiered_price.rbi +10 -2
  146. data/rbi/orb/models/new_plan_tiered_with_minimum_price.rbi +10 -2
  147. data/rbi/orb/models/new_plan_unit_price.rbi +10 -2
  148. data/rbi/orb/models/new_plan_unit_with_percent_price.rbi +10 -2
  149. data/rbi/orb/models/new_plan_unit_with_proration_price.rbi +10 -2
  150. data/rbi/orb/models/new_subscription_bulk_price.rbi +10 -2
  151. data/rbi/orb/models/new_subscription_bulk_with_proration_price.rbi +10 -2
  152. data/rbi/orb/models/new_subscription_cumulative_grouped_bulk_price.rbi +10 -2
  153. data/rbi/orb/models/new_subscription_grouped_allocation_price.rbi +10 -2
  154. data/rbi/orb/models/new_subscription_grouped_tiered_package_price.rbi +10 -2
  155. data/rbi/orb/models/new_subscription_grouped_tiered_price.rbi +10 -2
  156. data/rbi/orb/models/new_subscription_grouped_with_metered_minimum_price.rbi +10 -2
  157. data/rbi/orb/models/new_subscription_grouped_with_prorated_minimum_price.rbi +10 -2
  158. data/rbi/orb/models/new_subscription_matrix_price.rbi +10 -2
  159. data/rbi/orb/models/new_subscription_matrix_with_allocation_price.rbi +10 -2
  160. data/rbi/orb/models/new_subscription_matrix_with_display_name_price.rbi +10 -2
  161. data/rbi/orb/models/new_subscription_max_group_tiered_package_price.rbi +10 -2
  162. data/rbi/orb/models/new_subscription_minimum_composite_price.rbi +10 -2
  163. data/rbi/orb/models/new_subscription_package_price.rbi +10 -2
  164. data/rbi/orb/models/new_subscription_package_with_allocation_price.rbi +10 -2
  165. data/rbi/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rbi +10 -2
  166. data/rbi/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rbi +10 -2
  167. data/rbi/orb/models/new_subscription_threshold_total_amount_price.rbi +10 -2
  168. data/rbi/orb/models/new_subscription_tiered_package_price.rbi +10 -2
  169. data/rbi/orb/models/new_subscription_tiered_package_with_minimum_price.rbi +10 -2
  170. data/rbi/orb/models/new_subscription_tiered_price.rbi +10 -2
  171. data/rbi/orb/models/new_subscription_tiered_with_minimum_price.rbi +10 -2
  172. data/rbi/orb/models/new_subscription_unit_price.rbi +10 -2
  173. data/rbi/orb/models/new_subscription_unit_with_percent_price.rbi +10 -2
  174. data/rbi/orb/models/new_subscription_unit_with_proration_price.rbi +10 -2
  175. data/rbi/orb/models/plan_create_params.rbi +114 -24
  176. data/rbi/orb/models/price_create_params.rbi +90 -18
  177. data/rbi/orb/models/price_evaluate_multiple_params.rbi +90 -18
  178. data/rbi/orb/models/price_evaluate_preview_events_params.rbi +90 -18
  179. data/rbi/orb/models/subscription_create_params.rbi +200 -40
  180. data/rbi/orb/models/subscription_price_intervals_params.rbi +90 -18
  181. data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +200 -40
  182. data/rbi/orb/models/unit_config.rbi +21 -5
  183. data/sig/orb/models/matrix_config.rbs +8 -3
  184. data/sig/orb/models/matrix_value.rbs +11 -3
  185. data/sig/orb/models/matrix_with_allocation_config.rbs +19 -6
  186. data/sig/orb/models/unit_config.rbs +14 -3
  187. metadata +2 -2
@@ -134,7 +134,11 @@ module Orb
134
134
  end
135
135
  attr_writer :invoicing_cycle_configuration
136
136
 
137
- # The ID of the license type to associate with this price.
137
+ # The ID of the license type to associate with this price. On a usage price this
138
+ # also marks the price as eligible to draw down from that license type's
139
+ # allocation; a usage price created without it is billed normally. Usage prices
140
+ # with a license type must use the `unit` model, and only draw down when their
141
+ # currency matches the allocation's.
138
142
  sig { returns(T.nilable(String)) }
139
143
  attr_accessor :license_type_id
140
144
 
@@ -223,7 +227,11 @@ module Orb
223
227
  # Within each billing cycle, specifies the cadence at which invoices are produced.
224
228
  # If unspecified, a single invoice is produced per billing cycle.
225
229
  invoicing_cycle_configuration: nil,
226
- # The ID of the license type to associate with this price.
230
+ # The ID of the license type to associate with this price. On a usage price this
231
+ # also marks the price as eligible to draw down from that license type's
232
+ # allocation; a usage price created without it is billed normally. Usage prices
233
+ # with a license type must use the `unit` model, and only draw down when their
234
+ # currency matches the allocation's.
227
235
  license_type_id: nil,
228
236
  # User-specified key/value pairs for the resource. Individual keys can be removed
229
237
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -125,7 +125,11 @@ module Orb
125
125
  end
126
126
  attr_writer :invoicing_cycle_configuration
127
127
 
128
- # The ID of the license type to associate with this price.
128
+ # The ID of the license type to associate with this price. On a usage price this
129
+ # also marks the price as eligible to draw down from that license type's
130
+ # allocation; a usage price created without it is billed normally. Usage prices
131
+ # with a license type must use the `unit` model, and only draw down when their
132
+ # currency matches the allocation's.
129
133
  sig { returns(T.nilable(String)) }
130
134
  attr_accessor :license_type_id
131
135
 
@@ -213,7 +217,11 @@ module Orb
213
217
  # Within each billing cycle, specifies the cadence at which invoices are produced.
214
218
  # If unspecified, a single invoice is produced per billing cycle.
215
219
  invoicing_cycle_configuration: nil,
216
- # The ID of the license type to associate with this price.
220
+ # The ID of the license type to associate with this price. On a usage price this
221
+ # also marks the price as eligible to draw down from that license type's
222
+ # allocation; a usage price created without it is billed normally. Usage prices
223
+ # with a license type must use the `unit` model, and only draw down when their
224
+ # currency matches the allocation's.
217
225
  license_type_id: nil,
218
226
  # User-specified key/value pairs for the resource. Individual keys can be removed
219
227
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -119,7 +119,11 @@ module Orb
119
119
  end
120
120
  attr_writer :invoicing_cycle_configuration
121
121
 
122
- # The ID of the license type to associate with this price.
122
+ # The ID of the license type to associate with this price. On a usage price this
123
+ # also marks the price as eligible to draw down from that license type's
124
+ # allocation; a usage price created without it is billed normally. Usage prices
125
+ # with a license type must use the `unit` model, and only draw down when their
126
+ # currency matches the allocation's.
123
127
  sig { returns(T.nilable(String)) }
124
128
  attr_accessor :license_type_id
125
129
 
@@ -206,7 +210,11 @@ module Orb
206
210
  # Within each billing cycle, specifies the cadence at which invoices are produced.
207
211
  # If unspecified, a single invoice is produced per billing cycle.
208
212
  invoicing_cycle_configuration: nil,
209
- # The ID of the license type to associate with this price.
213
+ # The ID of the license type to associate with this price. On a usage price this
214
+ # also marks the price as eligible to draw down from that license type's
215
+ # allocation; a usage price created without it is billed normally. Usage prices
216
+ # with a license type must use the `unit` model, and only draw down when their
217
+ # currency matches the allocation's.
210
218
  license_type_id: nil,
211
219
  # User-specified key/value pairs for the resource. Individual keys can be removed
212
220
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -130,7 +130,11 @@ module Orb
130
130
  end
131
131
  attr_writer :invoicing_cycle_configuration
132
132
 
133
- # The ID of the license type to associate with this price.
133
+ # The ID of the license type to associate with this price. On a usage price this
134
+ # also marks the price as eligible to draw down from that license type's
135
+ # allocation; a usage price created without it is billed normally. Usage prices
136
+ # with a license type must use the `unit` model, and only draw down when their
137
+ # currency matches the allocation's.
134
138
  sig { returns(T.nilable(String)) }
135
139
  attr_accessor :license_type_id
136
140
 
@@ -218,7 +222,11 @@ module Orb
218
222
  # Within each billing cycle, specifies the cadence at which invoices are produced.
219
223
  # If unspecified, a single invoice is produced per billing cycle.
220
224
  invoicing_cycle_configuration: nil,
221
- # The ID of the license type to associate with this price.
225
+ # The ID of the license type to associate with this price. On a usage price this
226
+ # also marks the price as eligible to draw down from that license type's
227
+ # allocation; a usage price created without it is billed normally. Usage prices
228
+ # with a license type must use the `unit` model, and only draw down when their
229
+ # currency matches the allocation's.
222
230
  license_type_id: nil,
223
231
  # User-specified key/value pairs for the resource. Individual keys can be removed
224
232
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -112,7 +112,11 @@ module Orb
112
112
  end
113
113
  attr_writer :invoicing_cycle_configuration
114
114
 
115
- # The ID of the license type to associate with this price.
115
+ # The ID of the license type to associate with this price. On a usage price this
116
+ # also marks the price as eligible to draw down from that license type's
117
+ # allocation; a usage price created without it is billed normally. Usage prices
118
+ # with a license type must use the `unit` model, and only draw down when their
119
+ # currency matches the allocation's.
116
120
  sig { returns(T.nilable(String)) }
117
121
  attr_accessor :license_type_id
118
122
 
@@ -198,7 +202,11 @@ module Orb
198
202
  # Within each billing cycle, specifies the cadence at which invoices are produced.
199
203
  # If unspecified, a single invoice is produced per billing cycle.
200
204
  invoicing_cycle_configuration: nil,
201
- # The ID of the license type to associate with this price.
205
+ # The ID of the license type to associate with this price. On a usage price this
206
+ # also marks the price as eligible to draw down from that license type's
207
+ # allocation; a usage price created without it is billed normally. Usage prices
208
+ # with a license type must use the `unit` model, and only draw down when their
209
+ # currency matches the allocation's.
202
210
  license_type_id: nil,
203
211
  # User-specified key/value pairs for the resource. Individual keys can be removed
204
212
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -121,7 +121,11 @@ module Orb
121
121
  end
122
122
  attr_writer :invoicing_cycle_configuration
123
123
 
124
- # The ID of the license type to associate with this price.
124
+ # The ID of the license type to associate with this price. On a usage price this
125
+ # also marks the price as eligible to draw down from that license type's
126
+ # allocation; a usage price created without it is billed normally. Usage prices
127
+ # with a license type must use the `unit` model, and only draw down when their
128
+ # currency matches the allocation's.
125
129
  sig { returns(T.nilable(String)) }
126
130
  attr_accessor :license_type_id
127
131
 
@@ -208,7 +212,11 @@ module Orb
208
212
  # Within each billing cycle, specifies the cadence at which invoices are produced.
209
213
  # If unspecified, a single invoice is produced per billing cycle.
210
214
  invoicing_cycle_configuration: nil,
211
- # The ID of the license type to associate with this price.
215
+ # The ID of the license type to associate with this price. On a usage price this
216
+ # also marks the price as eligible to draw down from that license type's
217
+ # allocation; a usage price created without it is billed normally. Usage prices
218
+ # with a license type must use the `unit` model, and only draw down when their
219
+ # currency matches the allocation's.
212
220
  license_type_id: nil,
213
221
  # User-specified key/value pairs for the resource. Individual keys can be removed
214
222
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -112,7 +112,11 @@ module Orb
112
112
  end
113
113
  attr_writer :invoicing_cycle_configuration
114
114
 
115
- # The ID of the license type to associate with this price.
115
+ # The ID of the license type to associate with this price. On a usage price this
116
+ # also marks the price as eligible to draw down from that license type's
117
+ # allocation; a usage price created without it is billed normally. Usage prices
118
+ # with a license type must use the `unit` model, and only draw down when their
119
+ # currency matches the allocation's.
116
120
  sig { returns(T.nilable(String)) }
117
121
  attr_accessor :license_type_id
118
122
 
@@ -198,7 +202,11 @@ module Orb
198
202
  # Within each billing cycle, specifies the cadence at which invoices are produced.
199
203
  # If unspecified, a single invoice is produced per billing cycle.
200
204
  invoicing_cycle_configuration: nil,
201
- # The ID of the license type to associate with this price.
205
+ # The ID of the license type to associate with this price. On a usage price this
206
+ # also marks the price as eligible to draw down from that license type's
207
+ # allocation; a usage price created without it is billed normally. Usage prices
208
+ # with a license type must use the `unit` model, and only draw down when their
209
+ # currency matches the allocation's.
202
210
  license_type_id: nil,
203
211
  # User-specified key/value pairs for the resource. Individual keys can be removed
204
212
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -119,7 +119,11 @@ module Orb
119
119
  end
120
120
  attr_writer :invoicing_cycle_configuration
121
121
 
122
- # The ID of the license type to associate with this price.
122
+ # The ID of the license type to associate with this price. On a usage price this
123
+ # also marks the price as eligible to draw down from that license type's
124
+ # allocation; a usage price created without it is billed normally. Usage prices
125
+ # with a license type must use the `unit` model, and only draw down when their
126
+ # currency matches the allocation's.
123
127
  sig { returns(T.nilable(String)) }
124
128
  attr_accessor :license_type_id
125
129
 
@@ -206,7 +210,11 @@ module Orb
206
210
  # Within each billing cycle, specifies the cadence at which invoices are produced.
207
211
  # If unspecified, a single invoice is produced per billing cycle.
208
212
  invoicing_cycle_configuration: nil,
209
- # The ID of the license type to associate with this price.
213
+ # The ID of the license type to associate with this price. On a usage price this
214
+ # also marks the price as eligible to draw down from that license type's
215
+ # allocation; a usage price created without it is billed normally. Usage prices
216
+ # with a license type must use the `unit` model, and only draw down when their
217
+ # currency matches the allocation's.
210
218
  license_type_id: nil,
211
219
  # User-specified key/value pairs for the resource. Individual keys can be removed
212
220
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -121,7 +121,11 @@ module Orb
121
121
  end
122
122
  attr_writer :invoicing_cycle_configuration
123
123
 
124
- # The ID of the license type to associate with this price.
124
+ # The ID of the license type to associate with this price. On a usage price this
125
+ # also marks the price as eligible to draw down from that license type's
126
+ # allocation; a usage price created without it is billed normally. Usage prices
127
+ # with a license type must use the `unit` model, and only draw down when their
128
+ # currency matches the allocation's.
125
129
  sig { returns(T.nilable(String)) }
126
130
  attr_accessor :license_type_id
127
131
 
@@ -208,7 +212,11 @@ module Orb
208
212
  # Within each billing cycle, specifies the cadence at which invoices are produced.
209
213
  # If unspecified, a single invoice is produced per billing cycle.
210
214
  invoicing_cycle_configuration: nil,
211
- # The ID of the license type to associate with this price.
215
+ # The ID of the license type to associate with this price. On a usage price this
216
+ # also marks the price as eligible to draw down from that license type's
217
+ # allocation; a usage price created without it is billed normally. Usage prices
218
+ # with a license type must use the `unit` model, and only draw down when their
219
+ # currency matches the allocation's.
212
220
  license_type_id: nil,
213
221
  # User-specified key/value pairs for the resource. Individual keys can be removed
214
222
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -114,7 +114,11 @@ module Orb
114
114
  end
115
115
  attr_writer :invoicing_cycle_configuration
116
116
 
117
- # The ID of the license type to associate with this price.
117
+ # The ID of the license type to associate with this price. On a usage price this
118
+ # also marks the price as eligible to draw down from that license type's
119
+ # allocation; a usage price created without it is billed normally. Usage prices
120
+ # with a license type must use the `unit` model, and only draw down when their
121
+ # currency matches the allocation's.
118
122
  sig { returns(T.nilable(String)) }
119
123
  attr_accessor :license_type_id
120
124
 
@@ -200,7 +204,11 @@ module Orb
200
204
  # Within each billing cycle, specifies the cadence at which invoices are produced.
201
205
  # If unspecified, a single invoice is produced per billing cycle.
202
206
  invoicing_cycle_configuration: nil,
203
- # The ID of the license type to associate with this price.
207
+ # The ID of the license type to associate with this price. On a usage price this
208
+ # also marks the price as eligible to draw down from that license type's
209
+ # allocation; a usage price created without it is billed normally. Usage prices
210
+ # with a license type must use the `unit` model, and only draw down when their
211
+ # currency matches the allocation's.
204
212
  license_type_id: nil,
205
213
  # User-specified key/value pairs for the resource. Individual keys can be removed
206
214
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -130,7 +130,11 @@ module Orb
130
130
  end
131
131
  attr_writer :invoicing_cycle_configuration
132
132
 
133
- # The ID of the license type to associate with this price.
133
+ # The ID of the license type to associate with this price. On a usage price this
134
+ # also marks the price as eligible to draw down from that license type's
135
+ # allocation; a usage price created without it is billed normally. Usage prices
136
+ # with a license type must use the `unit` model, and only draw down when their
137
+ # currency matches the allocation's.
134
138
  sig { returns(T.nilable(String)) }
135
139
  attr_accessor :license_type_id
136
140
 
@@ -219,7 +223,11 @@ module Orb
219
223
  # Within each billing cycle, specifies the cadence at which invoices are produced.
220
224
  # If unspecified, a single invoice is produced per billing cycle.
221
225
  invoicing_cycle_configuration: nil,
222
- # The ID of the license type to associate with this price.
226
+ # The ID of the license type to associate with this price. On a usage price this
227
+ # also marks the price as eligible to draw down from that license type's
228
+ # allocation; a usage price created without it is billed normally. Usage prices
229
+ # with a license type must use the `unit` model, and only draw down when their
230
+ # currency matches the allocation's.
223
231
  license_type_id: nil,
224
232
  # User-specified key/value pairs for the resource. Individual keys can be removed
225
233
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -134,7 +134,11 @@ module Orb
134
134
  end
135
135
  attr_writer :invoicing_cycle_configuration
136
136
 
137
- # The ID of the license type to associate with this price.
137
+ # The ID of the license type to associate with this price. On a usage price this
138
+ # also marks the price as eligible to draw down from that license type's
139
+ # allocation; a usage price created without it is billed normally. Usage prices
140
+ # with a license type must use the `unit` model, and only draw down when their
141
+ # currency matches the allocation's.
138
142
  sig { returns(T.nilable(String)) }
139
143
  attr_accessor :license_type_id
140
144
 
@@ -223,7 +227,11 @@ module Orb
223
227
  # Within each billing cycle, specifies the cadence at which invoices are produced.
224
228
  # If unspecified, a single invoice is produced per billing cycle.
225
229
  invoicing_cycle_configuration: nil,
226
- # The ID of the license type to associate with this price.
230
+ # The ID of the license type to associate with this price. On a usage price this
231
+ # also marks the price as eligible to draw down from that license type's
232
+ # allocation; a usage price created without it is billed normally. Usage prices
233
+ # with a license type must use the `unit` model, and only draw down when their
234
+ # currency matches the allocation's.
227
235
  license_type_id: nil,
228
236
  # User-specified key/value pairs for the resource. Individual keys can be removed
229
237
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -130,7 +130,11 @@ module Orb
130
130
  end
131
131
  attr_writer :invoicing_cycle_configuration
132
132
 
133
- # The ID of the license type to associate with this price.
133
+ # The ID of the license type to associate with this price. On a usage price this
134
+ # also marks the price as eligible to draw down from that license type's
135
+ # allocation; a usage price created without it is billed normally. Usage prices
136
+ # with a license type must use the `unit` model, and only draw down when their
137
+ # currency matches the allocation's.
134
138
  sig { returns(T.nilable(String)) }
135
139
  attr_accessor :license_type_id
136
140
 
@@ -219,7 +223,11 @@ module Orb
219
223
  # Within each billing cycle, specifies the cadence at which invoices are produced.
220
224
  # If unspecified, a single invoice is produced per billing cycle.
221
225
  invoicing_cycle_configuration: nil,
222
- # The ID of the license type to associate with this price.
226
+ # The ID of the license type to associate with this price. On a usage price this
227
+ # also marks the price as eligible to draw down from that license type's
228
+ # allocation; a usage price created without it is billed normally. Usage prices
229
+ # with a license type must use the `unit` model, and only draw down when their
230
+ # currency matches the allocation's.
223
231
  license_type_id: nil,
224
232
  # User-specified key/value pairs for the resource. Individual keys can be removed
225
233
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -134,7 +134,11 @@ module Orb
134
134
  end
135
135
  attr_writer :invoicing_cycle_configuration
136
136
 
137
- # The ID of the license type to associate with this price.
137
+ # The ID of the license type to associate with this price. On a usage price this
138
+ # also marks the price as eligible to draw down from that license type's
139
+ # allocation; a usage price created without it is billed normally. Usage prices
140
+ # with a license type must use the `unit` model, and only draw down when their
141
+ # currency matches the allocation's.
138
142
  sig { returns(T.nilable(String)) }
139
143
  attr_accessor :license_type_id
140
144
 
@@ -223,7 +227,11 @@ module Orb
223
227
  # Within each billing cycle, specifies the cadence at which invoices are produced.
224
228
  # If unspecified, a single invoice is produced per billing cycle.
225
229
  invoicing_cycle_configuration: nil,
226
- # The ID of the license type to associate with this price.
230
+ # The ID of the license type to associate with this price. On a usage price this
231
+ # also marks the price as eligible to draw down from that license type's
232
+ # allocation; a usage price created without it is billed normally. Usage prices
233
+ # with a license type must use the `unit` model, and only draw down when their
234
+ # currency matches the allocation's.
227
235
  license_type_id: nil,
228
236
  # User-specified key/value pairs for the resource. Individual keys can be removed
229
237
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -123,7 +123,11 @@ module Orb
123
123
  end
124
124
  attr_writer :invoicing_cycle_configuration
125
125
 
126
- # The ID of the license type to associate with this price.
126
+ # The ID of the license type to associate with this price. On a usage price this
127
+ # also marks the price as eligible to draw down from that license type's
128
+ # allocation; a usage price created without it is billed normally. Usage prices
129
+ # with a license type must use the `unit` model, and only draw down when their
130
+ # currency matches the allocation's.
127
131
  sig { returns(T.nilable(String)) }
128
132
  attr_accessor :license_type_id
129
133
 
@@ -211,7 +215,11 @@ module Orb
211
215
  # Within each billing cycle, specifies the cadence at which invoices are produced.
212
216
  # If unspecified, a single invoice is produced per billing cycle.
213
217
  invoicing_cycle_configuration: nil,
214
- # The ID of the license type to associate with this price.
218
+ # The ID of the license type to associate with this price. On a usage price this
219
+ # also marks the price as eligible to draw down from that license type's
220
+ # allocation; a usage price created without it is billed normally. Usage prices
221
+ # with a license type must use the `unit` model, and only draw down when their
222
+ # currency matches the allocation's.
215
223
  license_type_id: nil,
216
224
  # User-specified key/value pairs for the resource. Individual keys can be removed
217
225
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -134,7 +134,11 @@ module Orb
134
134
  end
135
135
  attr_writer :invoicing_cycle_configuration
136
136
 
137
- # The ID of the license type to associate with this price.
137
+ # The ID of the license type to associate with this price. On a usage price this
138
+ # also marks the price as eligible to draw down from that license type's
139
+ # allocation; a usage price created without it is billed normally. Usage prices
140
+ # with a license type must use the `unit` model, and only draw down when their
141
+ # currency matches the allocation's.
138
142
  sig { returns(T.nilable(String)) }
139
143
  attr_accessor :license_type_id
140
144
 
@@ -223,7 +227,11 @@ module Orb
223
227
  # Within each billing cycle, specifies the cadence at which invoices are produced.
224
228
  # If unspecified, a single invoice is produced per billing cycle.
225
229
  invoicing_cycle_configuration: nil,
226
- # The ID of the license type to associate with this price.
230
+ # The ID of the license type to associate with this price. On a usage price this
231
+ # also marks the price as eligible to draw down from that license type's
232
+ # allocation; a usage price created without it is billed normally. Usage prices
233
+ # with a license type must use the `unit` model, and only draw down when their
234
+ # currency matches the allocation's.
227
235
  license_type_id: nil,
228
236
  # User-specified key/value pairs for the resource. Individual keys can be removed
229
237
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -134,7 +134,11 @@ module Orb
134
134
  end
135
135
  attr_writer :invoicing_cycle_configuration
136
136
 
137
- # The ID of the license type to associate with this price.
137
+ # The ID of the license type to associate with this price. On a usage price this
138
+ # also marks the price as eligible to draw down from that license type's
139
+ # allocation; a usage price created without it is billed normally. Usage prices
140
+ # with a license type must use the `unit` model, and only draw down when their
141
+ # currency matches the allocation's.
138
142
  sig { returns(T.nilable(String)) }
139
143
  attr_accessor :license_type_id
140
144
 
@@ -223,7 +227,11 @@ module Orb
223
227
  # Within each billing cycle, specifies the cadence at which invoices are produced.
224
228
  # If unspecified, a single invoice is produced per billing cycle.
225
229
  invoicing_cycle_configuration: nil,
226
- # The ID of the license type to associate with this price.
230
+ # The ID of the license type to associate with this price. On a usage price this
231
+ # also marks the price as eligible to draw down from that license type's
232
+ # allocation; a usage price created without it is billed normally. Usage prices
233
+ # with a license type must use the `unit` model, and only draw down when their
234
+ # currency matches the allocation's.
227
235
  license_type_id: nil,
228
236
  # User-specified key/value pairs for the resource. Individual keys can be removed
229
237
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -114,7 +114,11 @@ module Orb
114
114
  end
115
115
  attr_writer :invoicing_cycle_configuration
116
116
 
117
- # The ID of the license type to associate with this price.
117
+ # The ID of the license type to associate with this price. On a usage price this
118
+ # also marks the price as eligible to draw down from that license type's
119
+ # allocation; a usage price created without it is billed normally. Usage prices
120
+ # with a license type must use the `unit` model, and only draw down when their
121
+ # currency matches the allocation's.
118
122
  sig { returns(T.nilable(String)) }
119
123
  attr_accessor :license_type_id
120
124
 
@@ -200,7 +204,11 @@ module Orb
200
204
  # Within each billing cycle, specifies the cadence at which invoices are produced.
201
205
  # If unspecified, a single invoice is produced per billing cycle.
202
206
  invoicing_cycle_configuration: nil,
203
- # The ID of the license type to associate with this price.
207
+ # The ID of the license type to associate with this price. On a usage price this
208
+ # also marks the price as eligible to draw down from that license type's
209
+ # allocation; a usage price created without it is billed normally. Usage prices
210
+ # with a license type must use the `unit` model, and only draw down when their
211
+ # currency matches the allocation's.
204
212
  license_type_id: nil,
205
213
  # User-specified key/value pairs for the resource. Individual keys can be removed
206
214
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -129,7 +129,11 @@ module Orb
129
129
  end
130
130
  attr_writer :invoicing_cycle_configuration
131
131
 
132
- # The ID of the license type to associate with this price.
132
+ # The ID of the license type to associate with this price. On a usage price this
133
+ # also marks the price as eligible to draw down from that license type's
134
+ # allocation; a usage price created without it is billed normally. Usage prices
135
+ # with a license type must use the `unit` model, and only draw down when their
136
+ # currency matches the allocation's.
133
137
  sig { returns(T.nilable(String)) }
134
138
  attr_accessor :license_type_id
135
139
 
@@ -218,7 +222,11 @@ module Orb
218
222
  # Within each billing cycle, specifies the cadence at which invoices are produced.
219
223
  # If unspecified, a single invoice is produced per billing cycle.
220
224
  invoicing_cycle_configuration: nil,
221
- # The ID of the license type to associate with this price.
225
+ # The ID of the license type to associate with this price. On a usage price this
226
+ # also marks the price as eligible to draw down from that license type's
227
+ # allocation; a usage price created without it is billed normally. Usage prices
228
+ # with a license type must use the `unit` model, and only draw down when their
229
+ # currency matches the allocation's.
222
230
  license_type_id: nil,
223
231
  # User-specified key/value pairs for the resource. Individual keys can be removed
224
232
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -134,7 +134,11 @@ module Orb
134
134
  end
135
135
  attr_writer :invoicing_cycle_configuration
136
136
 
137
- # The ID of the license type to associate with this price.
137
+ # The ID of the license type to associate with this price. On a usage price this
138
+ # also marks the price as eligible to draw down from that license type's
139
+ # allocation; a usage price created without it is billed normally. Usage prices
140
+ # with a license type must use the `unit` model, and only draw down when their
141
+ # currency matches the allocation's.
138
142
  sig { returns(T.nilable(String)) }
139
143
  attr_accessor :license_type_id
140
144
 
@@ -223,7 +227,11 @@ module Orb
223
227
  # Within each billing cycle, specifies the cadence at which invoices are produced.
224
228
  # If unspecified, a single invoice is produced per billing cycle.
225
229
  invoicing_cycle_configuration: nil,
226
- # The ID of the license type to associate with this price.
230
+ # The ID of the license type to associate with this price. On a usage price this
231
+ # also marks the price as eligible to draw down from that license type's
232
+ # allocation; a usage price created without it is billed normally. Usage prices
233
+ # with a license type must use the `unit` model, and only draw down when their
234
+ # currency matches the allocation's.
227
235
  license_type_id: nil,
228
236
  # User-specified key/value pairs for the resource. Individual keys can be removed
229
237
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -134,7 +134,11 @@ module Orb
134
134
  end
135
135
  attr_writer :invoicing_cycle_configuration
136
136
 
137
- # The ID of the license type to associate with this price.
137
+ # The ID of the license type to associate with this price. On a usage price this
138
+ # also marks the price as eligible to draw down from that license type's
139
+ # allocation; a usage price created without it is billed normally. Usage prices
140
+ # with a license type must use the `unit` model, and only draw down when their
141
+ # currency matches the allocation's.
138
142
  sig { returns(T.nilable(String)) }
139
143
  attr_accessor :license_type_id
140
144
 
@@ -223,7 +227,11 @@ module Orb
223
227
  # Within each billing cycle, specifies the cadence at which invoices are produced.
224
228
  # If unspecified, a single invoice is produced per billing cycle.
225
229
  invoicing_cycle_configuration: nil,
226
- # The ID of the license type to associate with this price.
230
+ # The ID of the license type to associate with this price. On a usage price this
231
+ # also marks the price as eligible to draw down from that license type's
232
+ # allocation; a usage price created without it is billed normally. Usage prices
233
+ # with a license type must use the `unit` model, and only draw down when their
234
+ # currency matches the allocation's.
227
235
  license_type_id: nil,
228
236
  # User-specified key/value pairs for the resource. Individual keys can be removed
229
237
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -130,7 +130,11 @@ module Orb
130
130
  end
131
131
  attr_writer :invoicing_cycle_configuration
132
132
 
133
- # The ID of the license type to associate with this price.
133
+ # The ID of the license type to associate with this price. On a usage price this
134
+ # also marks the price as eligible to draw down from that license type's
135
+ # allocation; a usage price created without it is billed normally. Usage prices
136
+ # with a license type must use the `unit` model, and only draw down when their
137
+ # currency matches the allocation's.
134
138
  sig { returns(T.nilable(String)) }
135
139
  attr_accessor :license_type_id
136
140
 
@@ -218,7 +222,11 @@ module Orb
218
222
  # Within each billing cycle, specifies the cadence at which invoices are produced.
219
223
  # If unspecified, a single invoice is produced per billing cycle.
220
224
  invoicing_cycle_configuration: nil,
221
- # The ID of the license type to associate with this price.
225
+ # The ID of the license type to associate with this price. On a usage price this
226
+ # also marks the price as eligible to draw down from that license type's
227
+ # allocation; a usage price created without it is billed normally. Usage prices
228
+ # with a license type must use the `unit` model, and only draw down when their
229
+ # currency matches the allocation's.
222
230
  license_type_id: nil,
223
231
  # User-specified key/value pairs for the resource. Individual keys can be removed
224
232
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -114,7 +114,11 @@ module Orb
114
114
  end
115
115
  attr_writer :invoicing_cycle_configuration
116
116
 
117
- # The ID of the license type to associate with this price.
117
+ # The ID of the license type to associate with this price. On a usage price this
118
+ # also marks the price as eligible to draw down from that license type's
119
+ # allocation; a usage price created without it is billed normally. Usage prices
120
+ # with a license type must use the `unit` model, and only draw down when their
121
+ # currency matches the allocation's.
118
122
  sig { returns(T.nilable(String)) }
119
123
  attr_accessor :license_type_id
120
124
 
@@ -200,7 +204,11 @@ module Orb
200
204
  # Within each billing cycle, specifies the cadence at which invoices are produced.
201
205
  # If unspecified, a single invoice is produced per billing cycle.
202
206
  invoicing_cycle_configuration: nil,
203
- # The ID of the license type to associate with this price.
207
+ # The ID of the license type to associate with this price. On a usage price this
208
+ # also marks the price as eligible to draw down from that license type's
209
+ # allocation; a usage price created without it is billed normally. Usage prices
210
+ # with a license type must use the `unit` model, and only draw down when their
211
+ # currency matches the allocation's.
204
212
  license_type_id: nil,
205
213
  # User-specified key/value pairs for the resource. Individual keys can be removed
206
214
  # by setting the value to `null`, and the entire metadata mapping can be cleared