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
@@ -323,7 +323,11 @@ module Orb
323
323
  end
324
324
  attr_writer :invoicing_cycle_configuration
325
325
 
326
- # The ID of the license type to associate with this price.
326
+ # The ID of the license type to associate with this price. On a usage price this
327
+ # also marks the price as eligible to draw down from that license type's
328
+ # allocation; a usage price created without it is billed normally. Usage prices
329
+ # with a license type must use the `unit` model, and only draw down when their
330
+ # currency matches the allocation's.
327
331
  sig { returns(T.nilable(String)) }
328
332
  attr_accessor :license_type_id
329
333
 
@@ -402,7 +406,11 @@ module Orb
402
406
  # Within each billing cycle, specifies the cadence at which invoices are produced.
403
407
  # If unspecified, a single invoice is produced per billing cycle.
404
408
  invoicing_cycle_configuration: nil,
405
- # The ID of the license type to associate with this price.
409
+ # The ID of the license type to associate with this price. On a usage price this
410
+ # also marks the price as eligible to draw down from that license type's
411
+ # allocation; a usage price created without it is billed normally. Usage prices
412
+ # with a license type must use the `unit` model, and only draw down when their
413
+ # currency matches the allocation's.
406
414
  license_type_id: nil,
407
415
  # User-specified key/value pairs for the resource. Individual keys can be removed
408
416
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -783,7 +791,11 @@ module Orb
783
791
  end
784
792
  attr_writer :invoicing_cycle_configuration
785
793
 
786
- # The ID of the license type to associate with this price.
794
+ # The ID of the license type to associate with this price. On a usage price this
795
+ # also marks the price as eligible to draw down from that license type's
796
+ # allocation; a usage price created without it is billed normally. Usage prices
797
+ # with a license type must use the `unit` model, and only draw down when their
798
+ # currency matches the allocation's.
787
799
  sig { returns(T.nilable(String)) }
788
800
  attr_accessor :license_type_id
789
801
 
@@ -862,7 +874,11 @@ module Orb
862
874
  # Within each billing cycle, specifies the cadence at which invoices are produced.
863
875
  # If unspecified, a single invoice is produced per billing cycle.
864
876
  invoicing_cycle_configuration: nil,
865
- # The ID of the license type to associate with this price.
877
+ # The ID of the license type to associate with this price. On a usage price this
878
+ # also marks the price as eligible to draw down from that license type's
879
+ # allocation; a usage price created without it is billed normally. Usage prices
880
+ # with a license type must use the `unit` model, and only draw down when their
881
+ # currency matches the allocation's.
866
882
  license_type_id: nil,
867
883
  # User-specified key/value pairs for the resource. Individual keys can be removed
868
884
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -1210,7 +1226,11 @@ module Orb
1210
1226
  end
1211
1227
  attr_writer :invoicing_cycle_configuration
1212
1228
 
1213
- # The ID of the license type to associate with this price.
1229
+ # The ID of the license type to associate with this price. On a usage price this
1230
+ # also marks the price as eligible to draw down from that license type's
1231
+ # allocation; a usage price created without it is billed normally. Usage prices
1232
+ # with a license type must use the `unit` model, and only draw down when their
1233
+ # currency matches the allocation's.
1214
1234
  sig { returns(T.nilable(String)) }
1215
1235
  attr_accessor :license_type_id
1216
1236
 
@@ -1289,7 +1309,11 @@ module Orb
1289
1309
  # Within each billing cycle, specifies the cadence at which invoices are produced.
1290
1310
  # If unspecified, a single invoice is produced per billing cycle.
1291
1311
  invoicing_cycle_configuration: nil,
1292
- # The ID of the license type to associate with this price.
1312
+ # The ID of the license type to associate with this price. On a usage price this
1313
+ # also marks the price as eligible to draw down from that license type's
1314
+ # allocation; a usage price created without it is billed normally. Usage prices
1315
+ # with a license type must use the `unit` model, and only draw down when their
1316
+ # currency matches the allocation's.
1293
1317
  license_type_id: nil,
1294
1318
  # User-specified key/value pairs for the resource. Individual keys can be removed
1295
1319
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -1737,7 +1761,11 @@ module Orb
1737
1761
  end
1738
1762
  attr_writer :invoicing_cycle_configuration
1739
1763
 
1740
- # The ID of the license type to associate with this price.
1764
+ # The ID of the license type to associate with this price. On a usage price this
1765
+ # also marks the price as eligible to draw down from that license type's
1766
+ # allocation; a usage price created without it is billed normally. Usage prices
1767
+ # with a license type must use the `unit` model, and only draw down when their
1768
+ # currency matches the allocation's.
1741
1769
  sig { returns(T.nilable(String)) }
1742
1770
  attr_accessor :license_type_id
1743
1771
 
@@ -1816,7 +1844,11 @@ module Orb
1816
1844
  # Within each billing cycle, specifies the cadence at which invoices are produced.
1817
1845
  # If unspecified, a single invoice is produced per billing cycle.
1818
1846
  invoicing_cycle_configuration: nil,
1819
- # The ID of the license type to associate with this price.
1847
+ # The ID of the license type to associate with this price. On a usage price this
1848
+ # also marks the price as eligible to draw down from that license type's
1849
+ # allocation; a usage price created without it is billed normally. Usage prices
1850
+ # with a license type must use the `unit` model, and only draw down when their
1851
+ # currency matches the allocation's.
1820
1852
  license_type_id: nil,
1821
1853
  # User-specified key/value pairs for the resource. Individual keys can be removed
1822
1854
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -2108,7 +2140,11 @@ module Orb
2108
2140
  end
2109
2141
  attr_writer :invoicing_cycle_configuration
2110
2142
 
2111
- # The ID of the license type to associate with this price.
2143
+ # The ID of the license type to associate with this price. On a usage price this
2144
+ # also marks the price as eligible to draw down from that license type's
2145
+ # allocation; a usage price created without it is billed normally. Usage prices
2146
+ # with a license type must use the `unit` model, and only draw down when their
2147
+ # currency matches the allocation's.
2112
2148
  sig { returns(T.nilable(String)) }
2113
2149
  attr_accessor :license_type_id
2114
2150
 
@@ -2187,7 +2223,11 @@ module Orb
2187
2223
  # Within each billing cycle, specifies the cadence at which invoices are produced.
2188
2224
  # If unspecified, a single invoice is produced per billing cycle.
2189
2225
  invoicing_cycle_configuration: nil,
2190
- # The ID of the license type to associate with this price.
2226
+ # The ID of the license type to associate with this price. On a usage price this
2227
+ # also marks the price as eligible to draw down from that license type's
2228
+ # allocation; a usage price created without it is billed normally. Usage prices
2229
+ # with a license type must use the `unit` model, and only draw down when their
2230
+ # currency matches the allocation's.
2191
2231
  license_type_id: nil,
2192
2232
  # User-specified key/value pairs for the resource. Individual keys can be removed
2193
2233
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -2479,7 +2519,11 @@ module Orb
2479
2519
  end
2480
2520
  attr_writer :invoicing_cycle_configuration
2481
2521
 
2482
- # The ID of the license type to associate with this price.
2522
+ # The ID of the license type to associate with this price. On a usage price this
2523
+ # also marks the price as eligible to draw down from that license type's
2524
+ # allocation; a usage price created without it is billed normally. Usage prices
2525
+ # with a license type must use the `unit` model, and only draw down when their
2526
+ # currency matches the allocation's.
2483
2527
  sig { returns(T.nilable(String)) }
2484
2528
  attr_accessor :license_type_id
2485
2529
 
@@ -2558,7 +2602,11 @@ module Orb
2558
2602
  # Within each billing cycle, specifies the cadence at which invoices are produced.
2559
2603
  # If unspecified, a single invoice is produced per billing cycle.
2560
2604
  invoicing_cycle_configuration: nil,
2561
- # The ID of the license type to associate with this price.
2605
+ # The ID of the license type to associate with this price. On a usage price this
2606
+ # also marks the price as eligible to draw down from that license type's
2607
+ # allocation; a usage price created without it is billed normally. Usage prices
2608
+ # with a license type must use the `unit` model, and only draw down when their
2609
+ # currency matches the allocation's.
2562
2610
  license_type_id: nil,
2563
2611
  # User-specified key/value pairs for the resource. Individual keys can be removed
2564
2612
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -2922,7 +2970,11 @@ module Orb
2922
2970
  end
2923
2971
  attr_writer :invoicing_cycle_configuration
2924
2972
 
2925
- # The ID of the license type to associate with this price.
2973
+ # The ID of the license type to associate with this price. On a usage price this
2974
+ # also marks the price as eligible to draw down from that license type's
2975
+ # allocation; a usage price created without it is billed normally. Usage prices
2976
+ # with a license type must use the `unit` model, and only draw down when their
2977
+ # currency matches the allocation's.
2926
2978
  sig { returns(T.nilable(String)) }
2927
2979
  attr_accessor :license_type_id
2928
2980
 
@@ -3001,7 +3053,11 @@ module Orb
3001
3053
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3002
3054
  # If unspecified, a single invoice is produced per billing cycle.
3003
3055
  invoicing_cycle_configuration: nil,
3004
- # The ID of the license type to associate with this price.
3056
+ # The ID of the license type to associate with this price. On a usage price this
3057
+ # also marks the price as eligible to draw down from that license type's
3058
+ # allocation; a usage price created without it is billed normally. Usage prices
3059
+ # with a license type must use the `unit` model, and only draw down when their
3060
+ # currency matches the allocation's.
3005
3061
  license_type_id: nil,
3006
3062
  # User-specified key/value pairs for the resource. Individual keys can be removed
3007
3063
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -3319,7 +3375,11 @@ module Orb
3319
3375
  end
3320
3376
  attr_writer :invoicing_cycle_configuration
3321
3377
 
3322
- # The ID of the license type to associate with this price.
3378
+ # The ID of the license type to associate with this price. On a usage price this
3379
+ # also marks the price as eligible to draw down from that license type's
3380
+ # allocation; a usage price created without it is billed normally. Usage prices
3381
+ # with a license type must use the `unit` model, and only draw down when their
3382
+ # currency matches the allocation's.
3323
3383
  sig { returns(T.nilable(String)) }
3324
3384
  attr_accessor :license_type_id
3325
3385
 
@@ -3397,7 +3457,11 @@ module Orb
3397
3457
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3398
3458
  # If unspecified, a single invoice is produced per billing cycle.
3399
3459
  invoicing_cycle_configuration: nil,
3400
- # The ID of the license type to associate with this price.
3460
+ # The ID of the license type to associate with this price. On a usage price this
3461
+ # also marks the price as eligible to draw down from that license type's
3462
+ # allocation; a usage price created without it is billed normally. Usage prices
3463
+ # with a license type must use the `unit` model, and only draw down when their
3464
+ # currency matches the allocation's.
3401
3465
  license_type_id: nil,
3402
3466
  # User-specified key/value pairs for the resource. Individual keys can be removed
3403
3467
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -3693,7 +3757,11 @@ module Orb
3693
3757
  end
3694
3758
  attr_writer :invoicing_cycle_configuration
3695
3759
 
3696
- # The ID of the license type to associate with this price.
3760
+ # The ID of the license type to associate with this price. On a usage price this
3761
+ # also marks the price as eligible to draw down from that license type's
3762
+ # allocation; a usage price created without it is billed normally. Usage prices
3763
+ # with a license type must use the `unit` model, and only draw down when their
3764
+ # currency matches the allocation's.
3697
3765
  sig { returns(T.nilable(String)) }
3698
3766
  attr_accessor :license_type_id
3699
3767
 
@@ -3772,7 +3840,11 @@ module Orb
3772
3840
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3773
3841
  # If unspecified, a single invoice is produced per billing cycle.
3774
3842
  invoicing_cycle_configuration: nil,
3775
- # The ID of the license type to associate with this price.
3843
+ # The ID of the license type to associate with this price. On a usage price this
3844
+ # also marks the price as eligible to draw down from that license type's
3845
+ # allocation; a usage price created without it is billed normally. Usage prices
3846
+ # with a license type must use the `unit` model, and only draw down when their
3847
+ # currency matches the allocation's.
3776
3848
  license_type_id: nil,
3777
3849
  # User-specified key/value pairs for the resource. Individual keys can be removed
3778
3850
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -465,7 +465,11 @@ module Orb
465
465
  end
466
466
  attr_writer :invoicing_cycle_configuration
467
467
 
468
- # The ID of the license type to associate with this price.
468
+ # The ID of the license type to associate with this price. On a usage price this
469
+ # also marks the price as eligible to draw down from that license type's
470
+ # allocation; a usage price created without it is billed normally. Usage prices
471
+ # with a license type must use the `unit` model, and only draw down when their
472
+ # currency matches the allocation's.
469
473
  sig { returns(T.nilable(String)) }
470
474
  attr_accessor :license_type_id
471
475
 
@@ -544,7 +548,11 @@ module Orb
544
548
  # Within each billing cycle, specifies the cadence at which invoices are produced.
545
549
  # If unspecified, a single invoice is produced per billing cycle.
546
550
  invoicing_cycle_configuration: nil,
547
- # The ID of the license type to associate with this price.
551
+ # The ID of the license type to associate with this price. On a usage price this
552
+ # also marks the price as eligible to draw down from that license type's
553
+ # allocation; a usage price created without it is billed normally. Usage prices
554
+ # with a license type must use the `unit` model, and only draw down when their
555
+ # currency matches the allocation's.
548
556
  license_type_id: nil,
549
557
  # User-specified key/value pairs for the resource. Individual keys can be removed
550
558
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -925,7 +933,11 @@ module Orb
925
933
  end
926
934
  attr_writer :invoicing_cycle_configuration
927
935
 
928
- # The ID of the license type to associate with this price.
936
+ # The ID of the license type to associate with this price. On a usage price this
937
+ # also marks the price as eligible to draw down from that license type's
938
+ # allocation; a usage price created without it is billed normally. Usage prices
939
+ # with a license type must use the `unit` model, and only draw down when their
940
+ # currency matches the allocation's.
929
941
  sig { returns(T.nilable(String)) }
930
942
  attr_accessor :license_type_id
931
943
 
@@ -1004,7 +1016,11 @@ module Orb
1004
1016
  # Within each billing cycle, specifies the cadence at which invoices are produced.
1005
1017
  # If unspecified, a single invoice is produced per billing cycle.
1006
1018
  invoicing_cycle_configuration: nil,
1007
- # The ID of the license type to associate with this price.
1019
+ # The ID of the license type to associate with this price. On a usage price this
1020
+ # also marks the price as eligible to draw down from that license type's
1021
+ # allocation; a usage price created without it is billed normally. Usage prices
1022
+ # with a license type must use the `unit` model, and only draw down when their
1023
+ # currency matches the allocation's.
1008
1024
  license_type_id: nil,
1009
1025
  # User-specified key/value pairs for the resource. Individual keys can be removed
1010
1026
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -1352,7 +1368,11 @@ module Orb
1352
1368
  end
1353
1369
  attr_writer :invoicing_cycle_configuration
1354
1370
 
1355
- # The ID of the license type to associate with this price.
1371
+ # The ID of the license type to associate with this price. On a usage price this
1372
+ # also marks the price as eligible to draw down from that license type's
1373
+ # allocation; a usage price created without it is billed normally. Usage prices
1374
+ # with a license type must use the `unit` model, and only draw down when their
1375
+ # currency matches the allocation's.
1356
1376
  sig { returns(T.nilable(String)) }
1357
1377
  attr_accessor :license_type_id
1358
1378
 
@@ -1431,7 +1451,11 @@ module Orb
1431
1451
  # Within each billing cycle, specifies the cadence at which invoices are produced.
1432
1452
  # If unspecified, a single invoice is produced per billing cycle.
1433
1453
  invoicing_cycle_configuration: nil,
1434
- # The ID of the license type to associate with this price.
1454
+ # The ID of the license type to associate with this price. On a usage price this
1455
+ # also marks the price as eligible to draw down from that license type's
1456
+ # allocation; a usage price created without it is billed normally. Usage prices
1457
+ # with a license type must use the `unit` model, and only draw down when their
1458
+ # currency matches the allocation's.
1435
1459
  license_type_id: nil,
1436
1460
  # User-specified key/value pairs for the resource. Individual keys can be removed
1437
1461
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -1879,7 +1903,11 @@ module Orb
1879
1903
  end
1880
1904
  attr_writer :invoicing_cycle_configuration
1881
1905
 
1882
- # The ID of the license type to associate with this price.
1906
+ # The ID of the license type to associate with this price. On a usage price this
1907
+ # also marks the price as eligible to draw down from that license type's
1908
+ # allocation; a usage price created without it is billed normally. Usage prices
1909
+ # with a license type must use the `unit` model, and only draw down when their
1910
+ # currency matches the allocation's.
1883
1911
  sig { returns(T.nilable(String)) }
1884
1912
  attr_accessor :license_type_id
1885
1913
 
@@ -1958,7 +1986,11 @@ module Orb
1958
1986
  # Within each billing cycle, specifies the cadence at which invoices are produced.
1959
1987
  # If unspecified, a single invoice is produced per billing cycle.
1960
1988
  invoicing_cycle_configuration: nil,
1961
- # The ID of the license type to associate with this price.
1989
+ # The ID of the license type to associate with this price. On a usage price this
1990
+ # also marks the price as eligible to draw down from that license type's
1991
+ # allocation; a usage price created without it is billed normally. Usage prices
1992
+ # with a license type must use the `unit` model, and only draw down when their
1993
+ # currency matches the allocation's.
1962
1994
  license_type_id: nil,
1963
1995
  # User-specified key/value pairs for the resource. Individual keys can be removed
1964
1996
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -2250,7 +2282,11 @@ module Orb
2250
2282
  end
2251
2283
  attr_writer :invoicing_cycle_configuration
2252
2284
 
2253
- # The ID of the license type to associate with this price.
2285
+ # The ID of the license type to associate with this price. On a usage price this
2286
+ # also marks the price as eligible to draw down from that license type's
2287
+ # allocation; a usage price created without it is billed normally. Usage prices
2288
+ # with a license type must use the `unit` model, and only draw down when their
2289
+ # currency matches the allocation's.
2254
2290
  sig { returns(T.nilable(String)) }
2255
2291
  attr_accessor :license_type_id
2256
2292
 
@@ -2329,7 +2365,11 @@ module Orb
2329
2365
  # Within each billing cycle, specifies the cadence at which invoices are produced.
2330
2366
  # If unspecified, a single invoice is produced per billing cycle.
2331
2367
  invoicing_cycle_configuration: nil,
2332
- # The ID of the license type to associate with this price.
2368
+ # The ID of the license type to associate with this price. On a usage price this
2369
+ # also marks the price as eligible to draw down from that license type's
2370
+ # allocation; a usage price created without it is billed normally. Usage prices
2371
+ # with a license type must use the `unit` model, and only draw down when their
2372
+ # currency matches the allocation's.
2333
2373
  license_type_id: nil,
2334
2374
  # User-specified key/value pairs for the resource. Individual keys can be removed
2335
2375
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -2621,7 +2661,11 @@ module Orb
2621
2661
  end
2622
2662
  attr_writer :invoicing_cycle_configuration
2623
2663
 
2624
- # The ID of the license type to associate with this price.
2664
+ # The ID of the license type to associate with this price. On a usage price this
2665
+ # also marks the price as eligible to draw down from that license type's
2666
+ # allocation; a usage price created without it is billed normally. Usage prices
2667
+ # with a license type must use the `unit` model, and only draw down when their
2668
+ # currency matches the allocation's.
2625
2669
  sig { returns(T.nilable(String)) }
2626
2670
  attr_accessor :license_type_id
2627
2671
 
@@ -2700,7 +2744,11 @@ module Orb
2700
2744
  # Within each billing cycle, specifies the cadence at which invoices are produced.
2701
2745
  # If unspecified, a single invoice is produced per billing cycle.
2702
2746
  invoicing_cycle_configuration: nil,
2703
- # The ID of the license type to associate with this price.
2747
+ # The ID of the license type to associate with this price. On a usage price this
2748
+ # also marks the price as eligible to draw down from that license type's
2749
+ # allocation; a usage price created without it is billed normally. Usage prices
2750
+ # with a license type must use the `unit` model, and only draw down when their
2751
+ # currency matches the allocation's.
2704
2752
  license_type_id: nil,
2705
2753
  # User-specified key/value pairs for the resource. Individual keys can be removed
2706
2754
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -3064,7 +3112,11 @@ module Orb
3064
3112
  end
3065
3113
  attr_writer :invoicing_cycle_configuration
3066
3114
 
3067
- # The ID of the license type to associate with this price.
3115
+ # The ID of the license type to associate with this price. On a usage price this
3116
+ # also marks the price as eligible to draw down from that license type's
3117
+ # allocation; a usage price created without it is billed normally. Usage prices
3118
+ # with a license type must use the `unit` model, and only draw down when their
3119
+ # currency matches the allocation's.
3068
3120
  sig { returns(T.nilable(String)) }
3069
3121
  attr_accessor :license_type_id
3070
3122
 
@@ -3143,7 +3195,11 @@ module Orb
3143
3195
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3144
3196
  # If unspecified, a single invoice is produced per billing cycle.
3145
3197
  invoicing_cycle_configuration: nil,
3146
- # The ID of the license type to associate with this price.
3198
+ # The ID of the license type to associate with this price. On a usage price this
3199
+ # also marks the price as eligible to draw down from that license type's
3200
+ # allocation; a usage price created without it is billed normally. Usage prices
3201
+ # with a license type must use the `unit` model, and only draw down when their
3202
+ # currency matches the allocation's.
3147
3203
  license_type_id: nil,
3148
3204
  # User-specified key/value pairs for the resource. Individual keys can be removed
3149
3205
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -3467,7 +3523,11 @@ module Orb
3467
3523
  end
3468
3524
  attr_writer :invoicing_cycle_configuration
3469
3525
 
3470
- # The ID of the license type to associate with this price.
3526
+ # The ID of the license type to associate with this price. On a usage price this
3527
+ # also marks the price as eligible to draw down from that license type's
3528
+ # allocation; a usage price created without it is billed normally. Usage prices
3529
+ # with a license type must use the `unit` model, and only draw down when their
3530
+ # currency matches the allocation's.
3471
3531
  sig { returns(T.nilable(String)) }
3472
3532
  attr_accessor :license_type_id
3473
3533
 
@@ -3546,7 +3606,11 @@ module Orb
3546
3606
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3547
3607
  # If unspecified, a single invoice is produced per billing cycle.
3548
3608
  invoicing_cycle_configuration: nil,
3549
- # The ID of the license type to associate with this price.
3609
+ # The ID of the license type to associate with this price. On a usage price this
3610
+ # also marks the price as eligible to draw down from that license type's
3611
+ # allocation; a usage price created without it is billed normally. Usage prices
3612
+ # with a license type must use the `unit` model, and only draw down when their
3613
+ # currency matches the allocation's.
3550
3614
  license_type_id: nil,
3551
3615
  # User-specified key/value pairs for the resource. Individual keys can be removed
3552
3616
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -3845,7 +3909,11 @@ module Orb
3845
3909
  end
3846
3910
  attr_writer :invoicing_cycle_configuration
3847
3911
 
3848
- # The ID of the license type to associate with this price.
3912
+ # The ID of the license type to associate with this price. On a usage price this
3913
+ # also marks the price as eligible to draw down from that license type's
3914
+ # allocation; a usage price created without it is billed normally. Usage prices
3915
+ # with a license type must use the `unit` model, and only draw down when their
3916
+ # currency matches the allocation's.
3849
3917
  sig { returns(T.nilable(String)) }
3850
3918
  attr_accessor :license_type_id
3851
3919
 
@@ -3924,7 +3992,11 @@ module Orb
3924
3992
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3925
3993
  # If unspecified, a single invoice is produced per billing cycle.
3926
3994
  invoicing_cycle_configuration: nil,
3927
- # The ID of the license type to associate with this price.
3995
+ # The ID of the license type to associate with this price. On a usage price this
3996
+ # also marks the price as eligible to draw down from that license type's
3997
+ # allocation; a usage price created without it is billed normally. Usage prices
3998
+ # with a license type must use the `unit` model, and only draw down when their
3999
+ # currency matches the allocation's.
3928
4000
  license_type_id: nil,
3929
4001
  # User-specified key/value pairs for the resource. Individual keys can be removed
3930
4002
  # by setting the value to `null`, and the entire metadata mapping can be cleared