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
@@ -886,7 +886,11 @@ module Orb
886
886
  end
887
887
  attr_writer :invoicing_cycle_configuration
888
888
 
889
- # The ID of the license type to associate with this price.
889
+ # The ID of the license type to associate with this price. On a usage price this
890
+ # also marks the price as eligible to draw down from that license type's
891
+ # allocation; a usage price created without it is billed normally. Usage prices
892
+ # with a license type must use the `unit` model, and only draw down when their
893
+ # currency matches the allocation's.
890
894
  sig { returns(T.nilable(String)) }
891
895
  attr_accessor :license_type_id
892
896
 
@@ -965,7 +969,11 @@ module Orb
965
969
  # Within each billing cycle, specifies the cadence at which invoices are produced.
966
970
  # If unspecified, a single invoice is produced per billing cycle.
967
971
  invoicing_cycle_configuration: nil,
968
- # The ID of the license type to associate with this price.
972
+ # The ID of the license type to associate with this price. On a usage price this
973
+ # also marks the price as eligible to draw down from that license type's
974
+ # allocation; a usage price created without it is billed normally. Usage prices
975
+ # with a license type must use the `unit` model, and only draw down when their
976
+ # currency matches the allocation's.
969
977
  license_type_id: nil,
970
978
  # User-specified key/value pairs for the resource. Individual keys can be removed
971
979
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -1346,7 +1354,11 @@ module Orb
1346
1354
  end
1347
1355
  attr_writer :invoicing_cycle_configuration
1348
1356
 
1349
- # The ID of the license type to associate with this price.
1357
+ # The ID of the license type to associate with this price. On a usage price this
1358
+ # also marks the price as eligible to draw down from that license type's
1359
+ # allocation; a usage price created without it is billed normally. Usage prices
1360
+ # with a license type must use the `unit` model, and only draw down when their
1361
+ # currency matches the allocation's.
1350
1362
  sig { returns(T.nilable(String)) }
1351
1363
  attr_accessor :license_type_id
1352
1364
 
@@ -1425,7 +1437,11 @@ module Orb
1425
1437
  # Within each billing cycle, specifies the cadence at which invoices are produced.
1426
1438
  # If unspecified, a single invoice is produced per billing cycle.
1427
1439
  invoicing_cycle_configuration: nil,
1428
- # The ID of the license type to associate with this price.
1440
+ # The ID of the license type to associate with this price. On a usage price this
1441
+ # also marks the price as eligible to draw down from that license type's
1442
+ # allocation; a usage price created without it is billed normally. Usage prices
1443
+ # with a license type must use the `unit` model, and only draw down when their
1444
+ # currency matches the allocation's.
1429
1445
  license_type_id: nil,
1430
1446
  # User-specified key/value pairs for the resource. Individual keys can be removed
1431
1447
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -1773,7 +1789,11 @@ module Orb
1773
1789
  end
1774
1790
  attr_writer :invoicing_cycle_configuration
1775
1791
 
1776
- # The ID of the license type to associate with this price.
1792
+ # The ID of the license type to associate with this price. On a usage price this
1793
+ # also marks the price as eligible to draw down from that license type's
1794
+ # allocation; a usage price created without it is billed normally. Usage prices
1795
+ # with a license type must use the `unit` model, and only draw down when their
1796
+ # currency matches the allocation's.
1777
1797
  sig { returns(T.nilable(String)) }
1778
1798
  attr_accessor :license_type_id
1779
1799
 
@@ -1852,7 +1872,11 @@ module Orb
1852
1872
  # Within each billing cycle, specifies the cadence at which invoices are produced.
1853
1873
  # If unspecified, a single invoice is produced per billing cycle.
1854
1874
  invoicing_cycle_configuration: nil,
1855
- # The ID of the license type to associate with this price.
1875
+ # The ID of the license type to associate with this price. On a usage price this
1876
+ # also marks the price as eligible to draw down from that license type's
1877
+ # allocation; a usage price created without it is billed normally. Usage prices
1878
+ # with a license type must use the `unit` model, and only draw down when their
1879
+ # currency matches the allocation's.
1856
1880
  license_type_id: nil,
1857
1881
  # User-specified key/value pairs for the resource. Individual keys can be removed
1858
1882
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -2300,7 +2324,11 @@ module Orb
2300
2324
  end
2301
2325
  attr_writer :invoicing_cycle_configuration
2302
2326
 
2303
- # The ID of the license type to associate with this price.
2327
+ # The ID of the license type to associate with this price. On a usage price this
2328
+ # also marks the price as eligible to draw down from that license type's
2329
+ # allocation; a usage price created without it is billed normally. Usage prices
2330
+ # with a license type must use the `unit` model, and only draw down when their
2331
+ # currency matches the allocation's.
2304
2332
  sig { returns(T.nilable(String)) }
2305
2333
  attr_accessor :license_type_id
2306
2334
 
@@ -2379,7 +2407,11 @@ module Orb
2379
2407
  # Within each billing cycle, specifies the cadence at which invoices are produced.
2380
2408
  # If unspecified, a single invoice is produced per billing cycle.
2381
2409
  invoicing_cycle_configuration: nil,
2382
- # The ID of the license type to associate with this price.
2410
+ # The ID of the license type to associate with this price. On a usage price this
2411
+ # also marks the price as eligible to draw down from that license type's
2412
+ # allocation; a usage price created without it is billed normally. Usage prices
2413
+ # with a license type must use the `unit` model, and only draw down when their
2414
+ # currency matches the allocation's.
2383
2415
  license_type_id: nil,
2384
2416
  # User-specified key/value pairs for the resource. Individual keys can be removed
2385
2417
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -2671,7 +2703,11 @@ module Orb
2671
2703
  end
2672
2704
  attr_writer :invoicing_cycle_configuration
2673
2705
 
2674
- # The ID of the license type to associate with this price.
2706
+ # The ID of the license type to associate with this price. On a usage price this
2707
+ # also marks the price as eligible to draw down from that license type's
2708
+ # allocation; a usage price created without it is billed normally. Usage prices
2709
+ # with a license type must use the `unit` model, and only draw down when their
2710
+ # currency matches the allocation's.
2675
2711
  sig { returns(T.nilable(String)) }
2676
2712
  attr_accessor :license_type_id
2677
2713
 
@@ -2750,7 +2786,11 @@ module Orb
2750
2786
  # Within each billing cycle, specifies the cadence at which invoices are produced.
2751
2787
  # If unspecified, a single invoice is produced per billing cycle.
2752
2788
  invoicing_cycle_configuration: nil,
2753
- # The ID of the license type to associate with this price.
2789
+ # The ID of the license type to associate with this price. On a usage price this
2790
+ # also marks the price as eligible to draw down from that license type's
2791
+ # allocation; a usage price created without it is billed normally. Usage prices
2792
+ # with a license type must use the `unit` model, and only draw down when their
2793
+ # currency matches the allocation's.
2754
2794
  license_type_id: nil,
2755
2795
  # User-specified key/value pairs for the resource. Individual keys can be removed
2756
2796
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -3042,7 +3082,11 @@ module Orb
3042
3082
  end
3043
3083
  attr_writer :invoicing_cycle_configuration
3044
3084
 
3045
- # The ID of the license type to associate with this price.
3085
+ # The ID of the license type to associate with this price. On a usage price this
3086
+ # also marks the price as eligible to draw down from that license type's
3087
+ # allocation; a usage price created without it is billed normally. Usage prices
3088
+ # with a license type must use the `unit` model, and only draw down when their
3089
+ # currency matches the allocation's.
3046
3090
  sig { returns(T.nilable(String)) }
3047
3091
  attr_accessor :license_type_id
3048
3092
 
@@ -3121,7 +3165,11 @@ module Orb
3121
3165
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3122
3166
  # If unspecified, a single invoice is produced per billing cycle.
3123
3167
  invoicing_cycle_configuration: nil,
3124
- # The ID of the license type to associate with this price.
3168
+ # The ID of the license type to associate with this price. On a usage price this
3169
+ # also marks the price as eligible to draw down from that license type's
3170
+ # allocation; a usage price created without it is billed normally. Usage prices
3171
+ # with a license type must use the `unit` model, and only draw down when their
3172
+ # currency matches the allocation's.
3125
3173
  license_type_id: nil,
3126
3174
  # User-specified key/value pairs for the resource. Individual keys can be removed
3127
3175
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -3485,7 +3533,11 @@ module Orb
3485
3533
  end
3486
3534
  attr_writer :invoicing_cycle_configuration
3487
3535
 
3488
- # The ID of the license type to associate with this price.
3536
+ # The ID of the license type to associate with this price. On a usage price this
3537
+ # also marks the price as eligible to draw down from that license type's
3538
+ # allocation; a usage price created without it is billed normally. Usage prices
3539
+ # with a license type must use the `unit` model, and only draw down when their
3540
+ # currency matches the allocation's.
3489
3541
  sig { returns(T.nilable(String)) }
3490
3542
  attr_accessor :license_type_id
3491
3543
 
@@ -3564,7 +3616,11 @@ module Orb
3564
3616
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3565
3617
  # If unspecified, a single invoice is produced per billing cycle.
3566
3618
  invoicing_cycle_configuration: nil,
3567
- # The ID of the license type to associate with this price.
3619
+ # The ID of the license type to associate with this price. On a usage price this
3620
+ # also marks the price as eligible to draw down from that license type's
3621
+ # allocation; a usage price created without it is billed normally. Usage prices
3622
+ # with a license type must use the `unit` model, and only draw down when their
3623
+ # currency matches the allocation's.
3568
3624
  license_type_id: nil,
3569
3625
  # User-specified key/value pairs for the resource. Individual keys can be removed
3570
3626
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -3888,7 +3944,11 @@ module Orb
3888
3944
  end
3889
3945
  attr_writer :invoicing_cycle_configuration
3890
3946
 
3891
- # The ID of the license type to associate with this price.
3947
+ # The ID of the license type to associate with this price. On a usage price this
3948
+ # also marks the price as eligible to draw down from that license type's
3949
+ # allocation; a usage price created without it is billed normally. Usage prices
3950
+ # with a license type must use the `unit` model, and only draw down when their
3951
+ # currency matches the allocation's.
3892
3952
  sig { returns(T.nilable(String)) }
3893
3953
  attr_accessor :license_type_id
3894
3954
 
@@ -3967,7 +4027,11 @@ module Orb
3967
4027
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3968
4028
  # If unspecified, a single invoice is produced per billing cycle.
3969
4029
  invoicing_cycle_configuration: nil,
3970
- # The ID of the license type to associate with this price.
4030
+ # The ID of the license type to associate with this price. On a usage price this
4031
+ # also marks the price as eligible to draw down from that license type's
4032
+ # allocation; a usage price created without it is billed normally. Usage prices
4033
+ # with a license type must use the `unit` model, and only draw down when their
4034
+ # currency matches the allocation's.
3971
4035
  license_type_id: nil,
3972
4036
  # User-specified key/value pairs for the resource. Individual keys can be removed
3973
4037
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -4266,7 +4330,11 @@ module Orb
4266
4330
  end
4267
4331
  attr_writer :invoicing_cycle_configuration
4268
4332
 
4269
- # The ID of the license type to associate with this price.
4333
+ # The ID of the license type to associate with this price. On a usage price this
4334
+ # also marks the price as eligible to draw down from that license type's
4335
+ # allocation; a usage price created without it is billed normally. Usage prices
4336
+ # with a license type must use the `unit` model, and only draw down when their
4337
+ # currency matches the allocation's.
4270
4338
  sig { returns(T.nilable(String)) }
4271
4339
  attr_accessor :license_type_id
4272
4340
 
@@ -4345,7 +4413,11 @@ module Orb
4345
4413
  # Within each billing cycle, specifies the cadence at which invoices are produced.
4346
4414
  # If unspecified, a single invoice is produced per billing cycle.
4347
4415
  invoicing_cycle_configuration: nil,
4348
- # The ID of the license type to associate with this price.
4416
+ # The ID of the license type to associate with this price. On a usage price this
4417
+ # also marks the price as eligible to draw down from that license type's
4418
+ # allocation; a usage price created without it is billed normally. Usage prices
4419
+ # with a license type must use the `unit` model, and only draw down when their
4420
+ # currency matches the allocation's.
4349
4421
  license_type_id: nil,
4350
4422
  # User-specified key/value pairs for the resource. Individual keys can be removed
4351
4423
  # by setting the value to `null`, and the entire metadata mapping can be cleared