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
@@ -566,7 +566,11 @@ module Orb
566
566
  end
567
567
  attr_writer :invoicing_cycle_configuration
568
568
 
569
- # The ID of the license type to associate with this price.
569
+ # The ID of the license type to associate with this price. On a usage price this
570
+ # also marks the price as eligible to draw down from that license type's
571
+ # allocation; a usage price created without it is billed normally. Usage prices
572
+ # with a license type must use the `unit` model, and only draw down when their
573
+ # currency matches the allocation's.
570
574
  sig { returns(T.nilable(String)) }
571
575
  attr_accessor :license_type_id
572
576
 
@@ -645,7 +649,11 @@ module Orb
645
649
  # Within each billing cycle, specifies the cadence at which invoices are produced.
646
650
  # If unspecified, a single invoice is produced per billing cycle.
647
651
  invoicing_cycle_configuration: nil,
648
- # The ID of the license type to associate with this price.
652
+ # The ID of the license type to associate with this price. On a usage price this
653
+ # also marks the price as eligible to draw down from that license type's
654
+ # allocation; a usage price created without it is billed normally. Usage prices
655
+ # with a license type must use the `unit` model, and only draw down when their
656
+ # currency matches the allocation's.
649
657
  license_type_id: nil,
650
658
  # User-specified key/value pairs for the resource. Individual keys can be removed
651
659
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -1026,7 +1034,11 @@ module Orb
1026
1034
  end
1027
1035
  attr_writer :invoicing_cycle_configuration
1028
1036
 
1029
- # The ID of the license type to associate with this price.
1037
+ # The ID of the license type to associate with this price. On a usage price this
1038
+ # also marks the price as eligible to draw down from that license type's
1039
+ # allocation; a usage price created without it is billed normally. Usage prices
1040
+ # with a license type must use the `unit` model, and only draw down when their
1041
+ # currency matches the allocation's.
1030
1042
  sig { returns(T.nilable(String)) }
1031
1043
  attr_accessor :license_type_id
1032
1044
 
@@ -1105,7 +1117,11 @@ module Orb
1105
1117
  # Within each billing cycle, specifies the cadence at which invoices are produced.
1106
1118
  # If unspecified, a single invoice is produced per billing cycle.
1107
1119
  invoicing_cycle_configuration: nil,
1108
- # The ID of the license type to associate with this price.
1120
+ # The ID of the license type to associate with this price. On a usage price this
1121
+ # also marks the price as eligible to draw down from that license type's
1122
+ # allocation; a usage price created without it is billed normally. Usage prices
1123
+ # with a license type must use the `unit` model, and only draw down when their
1124
+ # currency matches the allocation's.
1109
1125
  license_type_id: nil,
1110
1126
  # User-specified key/value pairs for the resource. Individual keys can be removed
1111
1127
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -1453,7 +1469,11 @@ module Orb
1453
1469
  end
1454
1470
  attr_writer :invoicing_cycle_configuration
1455
1471
 
1456
- # The ID of the license type to associate with this price.
1472
+ # The ID of the license type to associate with this price. On a usage price this
1473
+ # also marks the price as eligible to draw down from that license type's
1474
+ # allocation; a usage price created without it is billed normally. Usage prices
1475
+ # with a license type must use the `unit` model, and only draw down when their
1476
+ # currency matches the allocation's.
1457
1477
  sig { returns(T.nilable(String)) }
1458
1478
  attr_accessor :license_type_id
1459
1479
 
@@ -1532,7 +1552,11 @@ module Orb
1532
1552
  # Within each billing cycle, specifies the cadence at which invoices are produced.
1533
1553
  # If unspecified, a single invoice is produced per billing cycle.
1534
1554
  invoicing_cycle_configuration: nil,
1535
- # The ID of the license type to associate with this price.
1555
+ # The ID of the license type to associate with this price. On a usage price this
1556
+ # also marks the price as eligible to draw down from that license type's
1557
+ # allocation; a usage price created without it is billed normally. Usage prices
1558
+ # with a license type must use the `unit` model, and only draw down when their
1559
+ # currency matches the allocation's.
1536
1560
  license_type_id: nil,
1537
1561
  # User-specified key/value pairs for the resource. Individual keys can be removed
1538
1562
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -1980,7 +2004,11 @@ module Orb
1980
2004
  end
1981
2005
  attr_writer :invoicing_cycle_configuration
1982
2006
 
1983
- # The ID of the license type to associate with this price.
2007
+ # The ID of the license type to associate with this price. On a usage price this
2008
+ # also marks the price as eligible to draw down from that license type's
2009
+ # allocation; a usage price created without it is billed normally. Usage prices
2010
+ # with a license type must use the `unit` model, and only draw down when their
2011
+ # currency matches the allocation's.
1984
2012
  sig { returns(T.nilable(String)) }
1985
2013
  attr_accessor :license_type_id
1986
2014
 
@@ -2059,7 +2087,11 @@ module Orb
2059
2087
  # Within each billing cycle, specifies the cadence at which invoices are produced.
2060
2088
  # If unspecified, a single invoice is produced per billing cycle.
2061
2089
  invoicing_cycle_configuration: nil,
2062
- # The ID of the license type to associate with this price.
2090
+ # The ID of the license type to associate with this price. On a usage price this
2091
+ # also marks the price as eligible to draw down from that license type's
2092
+ # allocation; a usage price created without it is billed normally. Usage prices
2093
+ # with a license type must use the `unit` model, and only draw down when their
2094
+ # currency matches the allocation's.
2063
2095
  license_type_id: nil,
2064
2096
  # User-specified key/value pairs for the resource. Individual keys can be removed
2065
2097
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -2351,7 +2383,11 @@ module Orb
2351
2383
  end
2352
2384
  attr_writer :invoicing_cycle_configuration
2353
2385
 
2354
- # The ID of the license type to associate with this price.
2386
+ # The ID of the license type to associate with this price. On a usage price this
2387
+ # also marks the price as eligible to draw down from that license type's
2388
+ # allocation; a usage price created without it is billed normally. Usage prices
2389
+ # with a license type must use the `unit` model, and only draw down when their
2390
+ # currency matches the allocation's.
2355
2391
  sig { returns(T.nilable(String)) }
2356
2392
  attr_accessor :license_type_id
2357
2393
 
@@ -2430,7 +2466,11 @@ module Orb
2430
2466
  # Within each billing cycle, specifies the cadence at which invoices are produced.
2431
2467
  # If unspecified, a single invoice is produced per billing cycle.
2432
2468
  invoicing_cycle_configuration: nil,
2433
- # The ID of the license type to associate with this price.
2469
+ # The ID of the license type to associate with this price. On a usage price this
2470
+ # also marks the price as eligible to draw down from that license type's
2471
+ # allocation; a usage price created without it is billed normally. Usage prices
2472
+ # with a license type must use the `unit` model, and only draw down when their
2473
+ # currency matches the allocation's.
2434
2474
  license_type_id: nil,
2435
2475
  # User-specified key/value pairs for the resource. Individual keys can be removed
2436
2476
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -2722,7 +2762,11 @@ module Orb
2722
2762
  end
2723
2763
  attr_writer :invoicing_cycle_configuration
2724
2764
 
2725
- # The ID of the license type to associate with this price.
2765
+ # The ID of the license type to associate with this price. On a usage price this
2766
+ # also marks the price as eligible to draw down from that license type's
2767
+ # allocation; a usage price created without it is billed normally. Usage prices
2768
+ # with a license type must use the `unit` model, and only draw down when their
2769
+ # currency matches the allocation's.
2726
2770
  sig { returns(T.nilable(String)) }
2727
2771
  attr_accessor :license_type_id
2728
2772
 
@@ -2801,7 +2845,11 @@ module Orb
2801
2845
  # Within each billing cycle, specifies the cadence at which invoices are produced.
2802
2846
  # If unspecified, a single invoice is produced per billing cycle.
2803
2847
  invoicing_cycle_configuration: nil,
2804
- # The ID of the license type to associate with this price.
2848
+ # The ID of the license type to associate with this price. On a usage price this
2849
+ # also marks the price as eligible to draw down from that license type's
2850
+ # allocation; a usage price created without it is billed normally. Usage prices
2851
+ # with a license type must use the `unit` model, and only draw down when their
2852
+ # currency matches the allocation's.
2805
2853
  license_type_id: nil,
2806
2854
  # User-specified key/value pairs for the resource. Individual keys can be removed
2807
2855
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -3165,7 +3213,11 @@ module Orb
3165
3213
  end
3166
3214
  attr_writer :invoicing_cycle_configuration
3167
3215
 
3168
- # The ID of the license type to associate with this price.
3216
+ # The ID of the license type to associate with this price. On a usage price this
3217
+ # also marks the price as eligible to draw down from that license type's
3218
+ # allocation; a usage price created without it is billed normally. Usage prices
3219
+ # with a license type must use the `unit` model, and only draw down when their
3220
+ # currency matches the allocation's.
3169
3221
  sig { returns(T.nilable(String)) }
3170
3222
  attr_accessor :license_type_id
3171
3223
 
@@ -3244,7 +3296,11 @@ module Orb
3244
3296
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3245
3297
  # If unspecified, a single invoice is produced per billing cycle.
3246
3298
  invoicing_cycle_configuration: nil,
3247
- # The ID of the license type to associate with this price.
3299
+ # The ID of the license type to associate with this price. On a usage price this
3300
+ # also marks the price as eligible to draw down from that license type's
3301
+ # allocation; a usage price created without it is billed normally. Usage prices
3302
+ # with a license type must use the `unit` model, and only draw down when their
3303
+ # currency matches the allocation's.
3248
3304
  license_type_id: nil,
3249
3305
  # User-specified key/value pairs for the resource. Individual keys can be removed
3250
3306
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -3568,7 +3624,11 @@ module Orb
3568
3624
  end
3569
3625
  attr_writer :invoicing_cycle_configuration
3570
3626
 
3571
- # The ID of the license type to associate with this price.
3627
+ # The ID of the license type to associate with this price. On a usage price this
3628
+ # also marks the price as eligible to draw down from that license type's
3629
+ # allocation; a usage price created without it is billed normally. Usage prices
3630
+ # with a license type must use the `unit` model, and only draw down when their
3631
+ # currency matches the allocation's.
3572
3632
  sig { returns(T.nilable(String)) }
3573
3633
  attr_accessor :license_type_id
3574
3634
 
@@ -3647,7 +3707,11 @@ module Orb
3647
3707
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3648
3708
  # If unspecified, a single invoice is produced per billing cycle.
3649
3709
  invoicing_cycle_configuration: nil,
3650
- # The ID of the license type to associate with this price.
3710
+ # The ID of the license type to associate with this price. On a usage price this
3711
+ # also marks the price as eligible to draw down from that license type's
3712
+ # allocation; a usage price created without it is billed normally. Usage prices
3713
+ # with a license type must use the `unit` model, and only draw down when their
3714
+ # currency matches the allocation's.
3651
3715
  license_type_id: nil,
3652
3716
  # User-specified key/value pairs for the resource. Individual keys can be removed
3653
3717
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -3946,7 +4010,11 @@ module Orb
3946
4010
  end
3947
4011
  attr_writer :invoicing_cycle_configuration
3948
4012
 
3949
- # The ID of the license type to associate with this price.
4013
+ # The ID of the license type to associate with this price. On a usage price this
4014
+ # also marks the price as eligible to draw down from that license type's
4015
+ # allocation; a usage price created without it is billed normally. Usage prices
4016
+ # with a license type must use the `unit` model, and only draw down when their
4017
+ # currency matches the allocation's.
3950
4018
  sig { returns(T.nilable(String)) }
3951
4019
  attr_accessor :license_type_id
3952
4020
 
@@ -4025,7 +4093,11 @@ module Orb
4025
4093
  # Within each billing cycle, specifies the cadence at which invoices are produced.
4026
4094
  # If unspecified, a single invoice is produced per billing cycle.
4027
4095
  invoicing_cycle_configuration: nil,
4028
- # The ID of the license type to associate with this price.
4096
+ # The ID of the license type to associate with this price. On a usage price this
4097
+ # also marks the price as eligible to draw down from that license type's
4098
+ # allocation; a usage price created without it is billed normally. Usage prices
4099
+ # with a license type must use the `unit` model, and only draw down when their
4100
+ # currency matches the allocation's.
4029
4101
  license_type_id: nil,
4030
4102
  # User-specified key/value pairs for the resource. Individual keys can be removed
4031
4103
  # by setting the value to `null`, and the entire metadata mapping can be cleared