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
@@ -133,7 +133,11 @@ module Orb
133
133
  end
134
134
  attr_writer :invoicing_cycle_configuration
135
135
 
136
- # The ID of the license type to associate with this price.
136
+ # The ID of the license type to associate with this price. On a usage price this
137
+ # also marks the price as eligible to draw down from that license type's
138
+ # allocation; a usage price created without it is billed normally. Usage prices
139
+ # with a license type must use the `unit` model, and only draw down when their
140
+ # currency matches the allocation's.
137
141
  sig { returns(T.nilable(String)) }
138
142
  attr_accessor :license_type_id
139
143
 
@@ -215,7 +219,11 @@ module Orb
215
219
  # Within each billing cycle, specifies the cadence at which invoices are produced.
216
220
  # If unspecified, a single invoice is produced per billing cycle.
217
221
  invoicing_cycle_configuration: nil,
218
- # The ID of the license type to associate with this price.
222
+ # The ID of the license type to associate with this price. On a usage price this
223
+ # also marks the price as eligible to draw down from that license type's
224
+ # allocation; a usage price created without it is billed normally. Usage prices
225
+ # with a license type must use the `unit` model, and only draw down when their
226
+ # currency matches the allocation's.
219
227
  license_type_id: nil,
220
228
  # User-specified key/value pairs for the resource. Individual keys can be removed
221
229
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -113,7 +113,11 @@ module Orb
113
113
  end
114
114
  attr_writer :invoicing_cycle_configuration
115
115
 
116
- # The ID of the license type to associate with this price.
116
+ # The ID of the license type to associate with this price. On a usage price this
117
+ # also marks the price as eligible to draw down from that license type's
118
+ # allocation; a usage price created without it is billed normally. Usage prices
119
+ # with a license type must use the `unit` model, and only draw down when their
120
+ # currency matches the allocation's.
117
121
  sig { returns(T.nilable(String)) }
118
122
  attr_accessor :license_type_id
119
123
 
@@ -192,7 +196,11 @@ module Orb
192
196
  # Within each billing cycle, specifies the cadence at which invoices are produced.
193
197
  # If unspecified, a single invoice is produced per billing cycle.
194
198
  invoicing_cycle_configuration: nil,
195
- # The ID of the license type to associate with this price.
199
+ # The ID of the license type to associate with this price. On a usage price this
200
+ # also marks the price as eligible to draw down from that license type's
201
+ # allocation; a usage price created without it is billed normally. Usage prices
202
+ # with a license type must use the `unit` model, and only draw down when their
203
+ # currency matches the allocation's.
196
204
  license_type_id: nil,
197
205
  # User-specified key/value pairs for the resource. Individual keys can be removed
198
206
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -122,7 +122,11 @@ module Orb
122
122
  end
123
123
  attr_writer :invoicing_cycle_configuration
124
124
 
125
- # The ID of the license type to associate with this price.
125
+ # The ID of the license type to associate with this price. On a usage price this
126
+ # also marks the price as eligible to draw down from that license type's
127
+ # allocation; a usage price created without it is billed normally. Usage prices
128
+ # with a license type must use the `unit` model, and only draw down when their
129
+ # currency matches the allocation's.
126
130
  sig { returns(T.nilable(String)) }
127
131
  attr_accessor :license_type_id
128
132
 
@@ -203,7 +207,11 @@ module Orb
203
207
  # Within each billing cycle, specifies the cadence at which invoices are produced.
204
208
  # If unspecified, a single invoice is produced per billing cycle.
205
209
  invoicing_cycle_configuration: nil,
206
- # The ID of the license type to associate with this price.
210
+ # The ID of the license type to associate with this price. On a usage price this
211
+ # also marks the price as eligible to draw down from that license type's
212
+ # allocation; a usage price created without it is billed normally. Usage prices
213
+ # with a license type must use the `unit` model, and only draw down when their
214
+ # currency matches the allocation's.
207
215
  license_type_id: nil,
208
216
  # User-specified key/value pairs for the resource. Individual keys can be removed
209
217
  # 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
 
@@ -210,7 +214,11 @@ module Orb
210
214
  # Within each billing cycle, specifies the cadence at which invoices are produced.
211
215
  # If unspecified, a single invoice is produced per billing cycle.
212
216
  invoicing_cycle_configuration: nil,
213
- # The ID of the license type to associate with this price.
217
+ # The ID of the license type to associate with this price. On a usage price this
218
+ # also marks the price as eligible to draw down from that license type's
219
+ # allocation; a usage price created without it is billed normally. Usage prices
220
+ # with a license type must use the `unit` model, and only draw down when their
221
+ # currency matches the allocation's.
214
222
  license_type_id: nil,
215
223
  # User-specified key/value pairs for the resource. Individual keys can be removed
216
224
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -113,7 +113,11 @@ module Orb
113
113
  end
114
114
  attr_writer :invoicing_cycle_configuration
115
115
 
116
- # The ID of the license type to associate with this price.
116
+ # The ID of the license type to associate with this price. On a usage price this
117
+ # also marks the price as eligible to draw down from that license type's
118
+ # allocation; a usage price created without it is billed normally. Usage prices
119
+ # with a license type must use the `unit` model, and only draw down when their
120
+ # currency matches the allocation's.
117
121
  sig { returns(T.nilable(String)) }
118
122
  attr_accessor :license_type_id
119
123
 
@@ -192,7 +196,11 @@ module Orb
192
196
  # Within each billing cycle, specifies the cadence at which invoices are produced.
193
197
  # If unspecified, a single invoice is produced per billing cycle.
194
198
  invoicing_cycle_configuration: nil,
195
- # The ID of the license type to associate with this price.
199
+ # The ID of the license type to associate with this price. On a usage price this
200
+ # also marks the price as eligible to draw down from that license type's
201
+ # allocation; a usage price created without it is billed normally. Usage prices
202
+ # with a license type must use the `unit` model, and only draw down when their
203
+ # currency matches the allocation's.
196
204
  license_type_id: nil,
197
205
  # User-specified key/value pairs for the resource. Individual keys can be removed
198
206
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -120,7 +120,11 @@ module Orb
120
120
  end
121
121
  attr_writer :invoicing_cycle_configuration
122
122
 
123
- # The ID of the license type to associate with this price.
123
+ # The ID of the license type to associate with this price. On a usage price this
124
+ # also marks the price as eligible to draw down from that license type's
125
+ # allocation; a usage price created without it is billed normally. Usage prices
126
+ # with a license type must use the `unit` model, and only draw down when their
127
+ # currency matches the allocation's.
124
128
  sig { returns(T.nilable(String)) }
125
129
  attr_accessor :license_type_id
126
130
 
@@ -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
@@ -122,7 +122,11 @@ module Orb
122
122
  end
123
123
  attr_writer :invoicing_cycle_configuration
124
124
 
125
- # The ID of the license type to associate with this price.
125
+ # The ID of the license type to associate with this price. On a usage price this
126
+ # also marks the price as eligible to draw down from that license type's
127
+ # allocation; a usage price created without it is billed normally. Usage prices
128
+ # with a license type must use the `unit` model, and only draw down when their
129
+ # currency matches the allocation's.
126
130
  sig { returns(T.nilable(String)) }
127
131
  attr_accessor :license_type_id
128
132
 
@@ -203,7 +207,11 @@ module Orb
203
207
  # Within each billing cycle, specifies the cadence at which invoices are produced.
204
208
  # If unspecified, a single invoice is produced per billing cycle.
205
209
  invoicing_cycle_configuration: nil,
206
- # The ID of the license type to associate with this price.
210
+ # The ID of the license type to associate with this price. On a usage price this
211
+ # also marks the price as eligible to draw down from that license type's
212
+ # allocation; a usage price created without it is billed normally. Usage prices
213
+ # with a license type must use the `unit` model, and only draw down when their
214
+ # currency matches the allocation's.
207
215
  license_type_id: nil,
208
216
  # User-specified key/value pairs for the resource. Individual keys can be removed
209
217
  # 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
@@ -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
@@ -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
@@ -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
 
@@ -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
@@ -132,7 +132,11 @@ module Orb
132
132
  end
133
133
  attr_writer :invoicing_cycle_configuration
134
134
 
135
- # The ID of the license type to associate with this price.
135
+ # The ID of the license type to associate with this price. On a usage price this
136
+ # also marks the price as eligible to draw down from that license type's
137
+ # allocation; a usage price created without it is billed normally. Usage prices
138
+ # with a license type must use the `unit` model, and only draw down when their
139
+ # currency matches the allocation's.
136
140
  sig { returns(T.nilable(String)) }
137
141
  attr_accessor :license_type_id
138
142
 
@@ -221,7 +225,11 @@ module Orb
221
225
  # Within each billing cycle, specifies the cadence at which invoices are produced.
222
226
  # If unspecified, a single invoice is produced per billing cycle.
223
227
  invoicing_cycle_configuration: nil,
224
- # The ID of the license type to associate with this price.
228
+ # The ID of the license type to associate with this price. On a usage price this
229
+ # also marks the price as eligible to draw down from that license type's
230
+ # allocation; a usage price created without it is billed normally. Usage prices
231
+ # with a license type must use the `unit` model, and only draw down when their
232
+ # currency matches the allocation's.
225
233
  license_type_id: nil,
226
234
  # User-specified key/value pairs for the resource. Individual keys can be removed
227
235
  # 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
@@ -120,7 +120,11 @@ module Orb
120
120
  end
121
121
  attr_writer :invoicing_cycle_configuration
122
122
 
123
- # The ID of the license type to associate with this price.
123
+ # The ID of the license type to associate with this price. On a usage price this
124
+ # also marks the price as eligible to draw down from that license type's
125
+ # allocation; a usage price created without it is billed normally. Usage prices
126
+ # with a license type must use the `unit` model, and only draw down when their
127
+ # currency matches the allocation's.
124
128
  sig { returns(T.nilable(String)) }
125
129
  attr_accessor :license_type_id
126
130
 
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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