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
@@ -925,7 +925,8 @@ module Orb
925
925
 
926
926
  # License allocations to associate with this price. Each entry defines a
927
927
  # per-license credit pool granted each cadence. Requires license_type_id or
928
- # license_type_configuration to be set.
928
+ # license_type_configuration to be set. Usage prices draw down from these
929
+ # allocations only if they set the same license type.
929
930
  sig do
930
931
  returns(
931
932
  T::Array[
@@ -1037,7 +1038,11 @@ module Orb
1037
1038
  end
1038
1039
  attr_writer :invoicing_cycle_configuration
1039
1040
 
1040
- # The ID of the license type to associate with this price.
1041
+ # The ID of the license type to associate with this price. On a usage price this
1042
+ # also marks the price as eligible to draw down from that license type's
1043
+ # allocation; a usage price created without it is billed normally. Usage prices
1044
+ # with a license type must use the `unit` model, and only draw down when their
1045
+ # currency matches the allocation's.
1041
1046
  sig { returns(T.nilable(String)) }
1042
1047
  attr_accessor :license_type_id
1043
1048
 
@@ -1098,7 +1103,8 @@ module Orb
1098
1103
  item_id:,
1099
1104
  # License allocations to associate with this price. Each entry defines a
1100
1105
  # per-license credit pool granted each cadence. Requires license_type_id or
1101
- # license_type_configuration to be set.
1106
+ # license_type_configuration to be set. Usage prices draw down from these
1107
+ # allocations only if they set the same license type.
1102
1108
  license_allocations:,
1103
1109
  # The pricing model type
1104
1110
  model_type:,
@@ -1134,7 +1140,11 @@ module Orb
1134
1140
  # Within each billing cycle, specifies the cadence at which invoices are produced.
1135
1141
  # If unspecified, a single invoice is produced per billing cycle.
1136
1142
  invoicing_cycle_configuration: nil,
1137
- # The ID of the license type to associate with this price.
1143
+ # The ID of the license type to associate with this price. On a usage price this
1144
+ # also marks the price as eligible to draw down from that license type's
1145
+ # allocation; a usage price created without it is billed normally. Usage prices
1146
+ # with a license type must use the `unit` model, and only draw down when their
1147
+ # currency matches the allocation's.
1138
1148
  license_type_id: nil,
1139
1149
  # User-specified key/value pairs for the resource. Individual keys can be removed
1140
1150
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -1499,7 +1509,11 @@ module Orb
1499
1509
  end
1500
1510
  attr_writer :invoicing_cycle_configuration
1501
1511
 
1502
- # The ID of the license type to associate with this price.
1512
+ # The ID of the license type to associate with this price. On a usage price this
1513
+ # also marks the price as eligible to draw down from that license type's
1514
+ # allocation; a usage price created without it is billed normally. Usage prices
1515
+ # with a license type must use the `unit` model, and only draw down when their
1516
+ # currency matches the allocation's.
1503
1517
  sig { returns(T.nilable(String)) }
1504
1518
  attr_accessor :license_type_id
1505
1519
 
@@ -1585,7 +1599,11 @@ module Orb
1585
1599
  # Within each billing cycle, specifies the cadence at which invoices are produced.
1586
1600
  # If unspecified, a single invoice is produced per billing cycle.
1587
1601
  invoicing_cycle_configuration: nil,
1588
- # The ID of the license type to associate with this price.
1602
+ # The ID of the license type to associate with this price. On a usage price this
1603
+ # also marks the price as eligible to draw down from that license type's
1604
+ # allocation; a usage price created without it is billed normally. Usage prices
1605
+ # with a license type must use the `unit` model, and only draw down when their
1606
+ # currency matches the allocation's.
1589
1607
  license_type_id: nil,
1590
1608
  # User-specified key/value pairs for the resource. Individual keys can be removed
1591
1609
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -1971,7 +1989,11 @@ module Orb
1971
1989
  end
1972
1990
  attr_writer :invoicing_cycle_configuration
1973
1991
 
1974
- # The ID of the license type to associate with this price.
1992
+ # The ID of the license type to associate with this price. On a usage price this
1993
+ # also marks the price as eligible to draw down from that license type's
1994
+ # allocation; a usage price created without it is billed normally. Usage prices
1995
+ # with a license type must use the `unit` model, and only draw down when their
1996
+ # currency matches the allocation's.
1975
1997
  sig { returns(T.nilable(String)) }
1976
1998
  attr_accessor :license_type_id
1977
1999
 
@@ -2057,7 +2079,11 @@ module Orb
2057
2079
  # Within each billing cycle, specifies the cadence at which invoices are produced.
2058
2080
  # If unspecified, a single invoice is produced per billing cycle.
2059
2081
  invoicing_cycle_configuration: nil,
2060
- # The ID of the license type to associate with this price.
2082
+ # The ID of the license type to associate with this price. On a usage price this
2083
+ # also marks the price as eligible to draw down from that license type's
2084
+ # allocation; a usage price created without it is billed normally. Usage prices
2085
+ # with a license type must use the `unit` model, and only draw down when their
2086
+ # currency matches the allocation's.
2061
2087
  license_type_id: nil,
2062
2088
  # User-specified key/value pairs for the resource. Individual keys can be removed
2063
2089
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -2410,7 +2436,11 @@ module Orb
2410
2436
  end
2411
2437
  attr_writer :invoicing_cycle_configuration
2412
2438
 
2413
- # The ID of the license type to associate with this price.
2439
+ # The ID of the license type to associate with this price. On a usage price this
2440
+ # also marks the price as eligible to draw down from that license type's
2441
+ # allocation; a usage price created without it is billed normally. Usage prices
2442
+ # with a license type must use the `unit` model, and only draw down when their
2443
+ # currency matches the allocation's.
2414
2444
  sig { returns(T.nilable(String)) }
2415
2445
  attr_accessor :license_type_id
2416
2446
 
@@ -2496,7 +2526,11 @@ module Orb
2496
2526
  # Within each billing cycle, specifies the cadence at which invoices are produced.
2497
2527
  # If unspecified, a single invoice is produced per billing cycle.
2498
2528
  invoicing_cycle_configuration: nil,
2499
- # The ID of the license type to associate with this price.
2529
+ # The ID of the license type to associate with this price. On a usage price this
2530
+ # also marks the price as eligible to draw down from that license type's
2531
+ # allocation; a usage price created without it is billed normally. Usage prices
2532
+ # with a license type must use the `unit` model, and only draw down when their
2533
+ # currency matches the allocation's.
2500
2534
  license_type_id: nil,
2501
2535
  # User-specified key/value pairs for the resource. Individual keys can be removed
2502
2536
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -2949,7 +2983,11 @@ module Orb
2949
2983
  end
2950
2984
  attr_writer :invoicing_cycle_configuration
2951
2985
 
2952
- # The ID of the license type to associate with this price.
2986
+ # The ID of the license type to associate with this price. On a usage price this
2987
+ # also marks the price as eligible to draw down from that license type's
2988
+ # allocation; a usage price created without it is billed normally. Usage prices
2989
+ # with a license type must use the `unit` model, and only draw down when their
2990
+ # currency matches the allocation's.
2953
2991
  sig { returns(T.nilable(String)) }
2954
2992
  attr_accessor :license_type_id
2955
2993
 
@@ -3035,7 +3073,11 @@ module Orb
3035
3073
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3036
3074
  # If unspecified, a single invoice is produced per billing cycle.
3037
3075
  invoicing_cycle_configuration: nil,
3038
- # The ID of the license type to associate with this price.
3076
+ # The ID of the license type to associate with this price. On a usage price this
3077
+ # also marks the price as eligible to draw down from that license type's
3078
+ # allocation; a usage price created without it is billed normally. Usage prices
3079
+ # with a license type must use the `unit` model, and only draw down when their
3080
+ # currency matches the allocation's.
3039
3081
  license_type_id: nil,
3040
3082
  # User-specified key/value pairs for the resource. Individual keys can be removed
3041
3083
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -3362,7 +3404,11 @@ module Orb
3362
3404
  end
3363
3405
  attr_writer :invoicing_cycle_configuration
3364
3406
 
3365
- # The ID of the license type to associate with this price.
3407
+ # The ID of the license type to associate with this price. On a usage price this
3408
+ # also marks the price as eligible to draw down from that license type's
3409
+ # allocation; a usage price created without it is billed normally. Usage prices
3410
+ # with a license type must use the `unit` model, and only draw down when their
3411
+ # currency matches the allocation's.
3366
3412
  sig { returns(T.nilable(String)) }
3367
3413
  attr_accessor :license_type_id
3368
3414
 
@@ -3448,7 +3494,11 @@ module Orb
3448
3494
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3449
3495
  # If unspecified, a single invoice is produced per billing cycle.
3450
3496
  invoicing_cycle_configuration: nil,
3451
- # The ID of the license type to associate with this price.
3497
+ # The ID of the license type to associate with this price. On a usage price this
3498
+ # also marks the price as eligible to draw down from that license type's
3499
+ # allocation; a usage price created without it is billed normally. Usage prices
3500
+ # with a license type must use the `unit` model, and only draw down when their
3501
+ # currency matches the allocation's.
3452
3502
  license_type_id: nil,
3453
3503
  # User-specified key/value pairs for the resource. Individual keys can be removed
3454
3504
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -3745,7 +3795,11 @@ module Orb
3745
3795
  end
3746
3796
  attr_writer :invoicing_cycle_configuration
3747
3797
 
3748
- # The ID of the license type to associate with this price.
3798
+ # The ID of the license type to associate with this price. On a usage price this
3799
+ # also marks the price as eligible to draw down from that license type's
3800
+ # allocation; a usage price created without it is billed normally. Usage prices
3801
+ # with a license type must use the `unit` model, and only draw down when their
3802
+ # currency matches the allocation's.
3749
3803
  sig { returns(T.nilable(String)) }
3750
3804
  attr_accessor :license_type_id
3751
3805
 
@@ -3831,7 +3885,11 @@ module Orb
3831
3885
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3832
3886
  # If unspecified, a single invoice is produced per billing cycle.
3833
3887
  invoicing_cycle_configuration: nil,
3834
- # The ID of the license type to associate with this price.
3888
+ # The ID of the license type to associate with this price. On a usage price this
3889
+ # also marks the price as eligible to draw down from that license type's
3890
+ # allocation; a usage price created without it is billed normally. Usage prices
3891
+ # with a license type must use the `unit` model, and only draw down when their
3892
+ # currency matches the allocation's.
3835
3893
  license_type_id: nil,
3836
3894
  # User-specified key/value pairs for the resource. Individual keys can be removed
3837
3895
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -4128,7 +4186,11 @@ module Orb
4128
4186
  end
4129
4187
  attr_writer :invoicing_cycle_configuration
4130
4188
 
4131
- # The ID of the license type to associate with this price.
4189
+ # The ID of the license type to associate with this price. On a usage price this
4190
+ # also marks the price as eligible to draw down from that license type's
4191
+ # allocation; a usage price created without it is billed normally. Usage prices
4192
+ # with a license type must use the `unit` model, and only draw down when their
4193
+ # currency matches the allocation's.
4132
4194
  sig { returns(T.nilable(String)) }
4133
4195
  attr_accessor :license_type_id
4134
4196
 
@@ -4214,7 +4276,11 @@ module Orb
4214
4276
  # Within each billing cycle, specifies the cadence at which invoices are produced.
4215
4277
  # If unspecified, a single invoice is produced per billing cycle.
4216
4278
  invoicing_cycle_configuration: nil,
4217
- # The ID of the license type to associate with this price.
4279
+ # The ID of the license type to associate with this price. On a usage price this
4280
+ # also marks the price as eligible to draw down from that license type's
4281
+ # allocation; a usage price created without it is billed normally. Usage prices
4282
+ # with a license type must use the `unit` model, and only draw down when their
4283
+ # currency matches the allocation's.
4218
4284
  license_type_id: nil,
4219
4285
  # User-specified key/value pairs for the resource. Individual keys can be removed
4220
4286
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -4583,7 +4649,11 @@ module Orb
4583
4649
  end
4584
4650
  attr_writer :invoicing_cycle_configuration
4585
4651
 
4586
- # The ID of the license type to associate with this price.
4652
+ # The ID of the license type to associate with this price. On a usage price this
4653
+ # also marks the price as eligible to draw down from that license type's
4654
+ # allocation; a usage price created without it is billed normally. Usage prices
4655
+ # with a license type must use the `unit` model, and only draw down when their
4656
+ # currency matches the allocation's.
4587
4657
  sig { returns(T.nilable(String)) }
4588
4658
  attr_accessor :license_type_id
4589
4659
 
@@ -4669,7 +4739,11 @@ module Orb
4669
4739
  # Within each billing cycle, specifies the cadence at which invoices are produced.
4670
4740
  # If unspecified, a single invoice is produced per billing cycle.
4671
4741
  invoicing_cycle_configuration: nil,
4672
- # The ID of the license type to associate with this price.
4742
+ # The ID of the license type to associate with this price. On a usage price this
4743
+ # also marks the price as eligible to draw down from that license type's
4744
+ # allocation; a usage price created without it is billed normally. Usage prices
4745
+ # with a license type must use the `unit` model, and only draw down when their
4746
+ # currency matches the allocation's.
4673
4747
  license_type_id: nil,
4674
4748
  # User-specified key/value pairs for the resource. Individual keys can be removed
4675
4749
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -4998,7 +5072,11 @@ module Orb
4998
5072
  end
4999
5073
  attr_writer :invoicing_cycle_configuration
5000
5074
 
5001
- # The ID of the license type to associate with this price.
5075
+ # The ID of the license type to associate with this price. On a usage price this
5076
+ # also marks the price as eligible to draw down from that license type's
5077
+ # allocation; a usage price created without it is billed normally. Usage prices
5078
+ # with a license type must use the `unit` model, and only draw down when their
5079
+ # currency matches the allocation's.
5002
5080
  sig { returns(T.nilable(String)) }
5003
5081
  attr_accessor :license_type_id
5004
5082
 
@@ -5084,7 +5162,11 @@ module Orb
5084
5162
  # Within each billing cycle, specifies the cadence at which invoices are produced.
5085
5163
  # If unspecified, a single invoice is produced per billing cycle.
5086
5164
  invoicing_cycle_configuration: nil,
5087
- # The ID of the license type to associate with this price.
5165
+ # The ID of the license type to associate with this price. On a usage price this
5166
+ # also marks the price as eligible to draw down from that license type's
5167
+ # allocation; a usage price created without it is billed normally. Usage prices
5168
+ # with a license type must use the `unit` model, and only draw down when their
5169
+ # currency matches the allocation's.
5088
5170
  license_type_id: nil,
5089
5171
  # User-specified key/value pairs for the resource. Individual keys can be removed
5090
5172
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -5388,7 +5470,11 @@ module Orb
5388
5470
  end
5389
5471
  attr_writer :invoicing_cycle_configuration
5390
5472
 
5391
- # The ID of the license type to associate with this price.
5473
+ # The ID of the license type to associate with this price. On a usage price this
5474
+ # also marks the price as eligible to draw down from that license type's
5475
+ # allocation; a usage price created without it is billed normally. Usage prices
5476
+ # with a license type must use the `unit` model, and only draw down when their
5477
+ # currency matches the allocation's.
5392
5478
  sig { returns(T.nilable(String)) }
5393
5479
  attr_accessor :license_type_id
5394
5480
 
@@ -5474,7 +5560,11 @@ module Orb
5474
5560
  # Within each billing cycle, specifies the cadence at which invoices are produced.
5475
5561
  # If unspecified, a single invoice is produced per billing cycle.
5476
5562
  invoicing_cycle_configuration: nil,
5477
- # The ID of the license type to associate with this price.
5563
+ # The ID of the license type to associate with this price. On a usage price this
5564
+ # also marks the price as eligible to draw down from that license type's
5565
+ # allocation; a usage price created without it is billed normally. Usage prices
5566
+ # with a license type must use the `unit` model, and only draw down when their
5567
+ # currency matches the allocation's.
5478
5568
  license_type_id: nil,
5479
5569
  # User-specified key/value pairs for the resource. Individual keys can be removed
5480
5570
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -6509,7 +6599,8 @@ module Orb
6509
6599
 
6510
6600
  # License allocations to associate with this price. Each entry defines a
6511
6601
  # per-license credit pool granted each cadence. Requires license_type_id or
6512
- # license_type_configuration to be set.
6602
+ # license_type_configuration to be set. Usage prices draw down from these
6603
+ # allocations only if they set the same license type.
6513
6604
  sig do
6514
6605
  returns(
6515
6606
  T::Array[
@@ -6621,7 +6712,11 @@ module Orb
6621
6712
  end
6622
6713
  attr_writer :invoicing_cycle_configuration
6623
6714
 
6624
- # The ID of the license type to associate with this price.
6715
+ # The ID of the license type to associate with this price. On a usage price this
6716
+ # also marks the price as eligible to draw down from that license type's
6717
+ # allocation; a usage price created without it is billed normally. Usage prices
6718
+ # with a license type must use the `unit` model, and only draw down when their
6719
+ # currency matches the allocation's.
6625
6720
  sig { returns(T.nilable(String)) }
6626
6721
  attr_accessor :license_type_id
6627
6722
 
@@ -6682,7 +6777,8 @@ module Orb
6682
6777
  item_id:,
6683
6778
  # License allocations to associate with this price. Each entry defines a
6684
6779
  # per-license credit pool granted each cadence. Requires license_type_id or
6685
- # license_type_configuration to be set.
6780
+ # license_type_configuration to be set. Usage prices draw down from these
6781
+ # allocations only if they set the same license type.
6686
6782
  license_allocations:,
6687
6783
  # The pricing model type
6688
6784
  model_type:,
@@ -6718,7 +6814,11 @@ module Orb
6718
6814
  # Within each billing cycle, specifies the cadence at which invoices are produced.
6719
6815
  # If unspecified, a single invoice is produced per billing cycle.
6720
6816
  invoicing_cycle_configuration: nil,
6721
- # The ID of the license type to associate with this price.
6817
+ # The ID of the license type to associate with this price. On a usage price this
6818
+ # also marks the price as eligible to draw down from that license type's
6819
+ # allocation; a usage price created without it is billed normally. Usage prices
6820
+ # with a license type must use the `unit` model, and only draw down when their
6821
+ # currency matches the allocation's.
6722
6822
  license_type_id: nil,
6723
6823
  # User-specified key/value pairs for the resource. Individual keys can be removed
6724
6824
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -7083,7 +7183,11 @@ module Orb
7083
7183
  end
7084
7184
  attr_writer :invoicing_cycle_configuration
7085
7185
 
7086
- # The ID of the license type to associate with this price.
7186
+ # The ID of the license type to associate with this price. On a usage price this
7187
+ # also marks the price as eligible to draw down from that license type's
7188
+ # allocation; a usage price created without it is billed normally. Usage prices
7189
+ # with a license type must use the `unit` model, and only draw down when their
7190
+ # currency matches the allocation's.
7087
7191
  sig { returns(T.nilable(String)) }
7088
7192
  attr_accessor :license_type_id
7089
7193
 
@@ -7169,7 +7273,11 @@ module Orb
7169
7273
  # Within each billing cycle, specifies the cadence at which invoices are produced.
7170
7274
  # If unspecified, a single invoice is produced per billing cycle.
7171
7275
  invoicing_cycle_configuration: nil,
7172
- # The ID of the license type to associate with this price.
7276
+ # The ID of the license type to associate with this price. On a usage price this
7277
+ # also marks the price as eligible to draw down from that license type's
7278
+ # allocation; a usage price created without it is billed normally. Usage prices
7279
+ # with a license type must use the `unit` model, and only draw down when their
7280
+ # currency matches the allocation's.
7173
7281
  license_type_id: nil,
7174
7282
  # User-specified key/value pairs for the resource. Individual keys can be removed
7175
7283
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -7555,7 +7663,11 @@ module Orb
7555
7663
  end
7556
7664
  attr_writer :invoicing_cycle_configuration
7557
7665
 
7558
- # The ID of the license type to associate with this price.
7666
+ # The ID of the license type to associate with this price. On a usage price this
7667
+ # also marks the price as eligible to draw down from that license type's
7668
+ # allocation; a usage price created without it is billed normally. Usage prices
7669
+ # with a license type must use the `unit` model, and only draw down when their
7670
+ # currency matches the allocation's.
7559
7671
  sig { returns(T.nilable(String)) }
7560
7672
  attr_accessor :license_type_id
7561
7673
 
@@ -7641,7 +7753,11 @@ module Orb
7641
7753
  # Within each billing cycle, specifies the cadence at which invoices are produced.
7642
7754
  # If unspecified, a single invoice is produced per billing cycle.
7643
7755
  invoicing_cycle_configuration: nil,
7644
- # The ID of the license type to associate with this price.
7756
+ # The ID of the license type to associate with this price. On a usage price this
7757
+ # also marks the price as eligible to draw down from that license type's
7758
+ # allocation; a usage price created without it is billed normally. Usage prices
7759
+ # with a license type must use the `unit` model, and only draw down when their
7760
+ # currency matches the allocation's.
7645
7761
  license_type_id: nil,
7646
7762
  # User-specified key/value pairs for the resource. Individual keys can be removed
7647
7763
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -7994,7 +8110,11 @@ module Orb
7994
8110
  end
7995
8111
  attr_writer :invoicing_cycle_configuration
7996
8112
 
7997
- # The ID of the license type to associate with this price.
8113
+ # The ID of the license type to associate with this price. On a usage price this
8114
+ # also marks the price as eligible to draw down from that license type's
8115
+ # allocation; a usage price created without it is billed normally. Usage prices
8116
+ # with a license type must use the `unit` model, and only draw down when their
8117
+ # currency matches the allocation's.
7998
8118
  sig { returns(T.nilable(String)) }
7999
8119
  attr_accessor :license_type_id
8000
8120
 
@@ -8080,7 +8200,11 @@ module Orb
8080
8200
  # Within each billing cycle, specifies the cadence at which invoices are produced.
8081
8201
  # If unspecified, a single invoice is produced per billing cycle.
8082
8202
  invoicing_cycle_configuration: nil,
8083
- # The ID of the license type to associate with this price.
8203
+ # The ID of the license type to associate with this price. On a usage price this
8204
+ # also marks the price as eligible to draw down from that license type's
8205
+ # allocation; a usage price created without it is billed normally. Usage prices
8206
+ # with a license type must use the `unit` model, and only draw down when their
8207
+ # currency matches the allocation's.
8084
8208
  license_type_id: nil,
8085
8209
  # User-specified key/value pairs for the resource. Individual keys can be removed
8086
8210
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -8533,7 +8657,11 @@ module Orb
8533
8657
  end
8534
8658
  attr_writer :invoicing_cycle_configuration
8535
8659
 
8536
- # The ID of the license type to associate with this price.
8660
+ # The ID of the license type to associate with this price. On a usage price this
8661
+ # also marks the price as eligible to draw down from that license type's
8662
+ # allocation; a usage price created without it is billed normally. Usage prices
8663
+ # with a license type must use the `unit` model, and only draw down when their
8664
+ # currency matches the allocation's.
8537
8665
  sig { returns(T.nilable(String)) }
8538
8666
  attr_accessor :license_type_id
8539
8667
 
@@ -8619,7 +8747,11 @@ module Orb
8619
8747
  # Within each billing cycle, specifies the cadence at which invoices are produced.
8620
8748
  # If unspecified, a single invoice is produced per billing cycle.
8621
8749
  invoicing_cycle_configuration: nil,
8622
- # The ID of the license type to associate with this price.
8750
+ # The ID of the license type to associate with this price. On a usage price this
8751
+ # also marks the price as eligible to draw down from that license type's
8752
+ # allocation; a usage price created without it is billed normally. Usage prices
8753
+ # with a license type must use the `unit` model, and only draw down when their
8754
+ # currency matches the allocation's.
8623
8755
  license_type_id: nil,
8624
8756
  # User-specified key/value pairs for the resource. Individual keys can be removed
8625
8757
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -8946,7 +9078,11 @@ module Orb
8946
9078
  end
8947
9079
  attr_writer :invoicing_cycle_configuration
8948
9080
 
8949
- # The ID of the license type to associate with this price.
9081
+ # The ID of the license type to associate with this price. On a usage price this
9082
+ # also marks the price as eligible to draw down from that license type's
9083
+ # allocation; a usage price created without it is billed normally. Usage prices
9084
+ # with a license type must use the `unit` model, and only draw down when their
9085
+ # currency matches the allocation's.
8950
9086
  sig { returns(T.nilable(String)) }
8951
9087
  attr_accessor :license_type_id
8952
9088
 
@@ -9032,7 +9168,11 @@ module Orb
9032
9168
  # Within each billing cycle, specifies the cadence at which invoices are produced.
9033
9169
  # If unspecified, a single invoice is produced per billing cycle.
9034
9170
  invoicing_cycle_configuration: nil,
9035
- # The ID of the license type to associate with this price.
9171
+ # The ID of the license type to associate with this price. On a usage price this
9172
+ # also marks the price as eligible to draw down from that license type's
9173
+ # allocation; a usage price created without it is billed normally. Usage prices
9174
+ # with a license type must use the `unit` model, and only draw down when their
9175
+ # currency matches the allocation's.
9036
9176
  license_type_id: nil,
9037
9177
  # User-specified key/value pairs for the resource. Individual keys can be removed
9038
9178
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -9329,7 +9469,11 @@ module Orb
9329
9469
  end
9330
9470
  attr_writer :invoicing_cycle_configuration
9331
9471
 
9332
- # The ID of the license type to associate with this price.
9472
+ # The ID of the license type to associate with this price. On a usage price this
9473
+ # also marks the price as eligible to draw down from that license type's
9474
+ # allocation; a usage price created without it is billed normally. Usage prices
9475
+ # with a license type must use the `unit` model, and only draw down when their
9476
+ # currency matches the allocation's.
9333
9477
  sig { returns(T.nilable(String)) }
9334
9478
  attr_accessor :license_type_id
9335
9479
 
@@ -9415,7 +9559,11 @@ module Orb
9415
9559
  # Within each billing cycle, specifies the cadence at which invoices are produced.
9416
9560
  # If unspecified, a single invoice is produced per billing cycle.
9417
9561
  invoicing_cycle_configuration: nil,
9418
- # The ID of the license type to associate with this price.
9562
+ # The ID of the license type to associate with this price. On a usage price this
9563
+ # also marks the price as eligible to draw down from that license type's
9564
+ # allocation; a usage price created without it is billed normally. Usage prices
9565
+ # with a license type must use the `unit` model, and only draw down when their
9566
+ # currency matches the allocation's.
9419
9567
  license_type_id: nil,
9420
9568
  # User-specified key/value pairs for the resource. Individual keys can be removed
9421
9569
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -9712,7 +9860,11 @@ module Orb
9712
9860
  end
9713
9861
  attr_writer :invoicing_cycle_configuration
9714
9862
 
9715
- # The ID of the license type to associate with this price.
9863
+ # The ID of the license type to associate with this price. On a usage price this
9864
+ # also marks the price as eligible to draw down from that license type's
9865
+ # allocation; a usage price created without it is billed normally. Usage prices
9866
+ # with a license type must use the `unit` model, and only draw down when their
9867
+ # currency matches the allocation's.
9716
9868
  sig { returns(T.nilable(String)) }
9717
9869
  attr_accessor :license_type_id
9718
9870
 
@@ -9798,7 +9950,11 @@ module Orb
9798
9950
  # Within each billing cycle, specifies the cadence at which invoices are produced.
9799
9951
  # If unspecified, a single invoice is produced per billing cycle.
9800
9952
  invoicing_cycle_configuration: nil,
9801
- # The ID of the license type to associate with this price.
9953
+ # The ID of the license type to associate with this price. On a usage price this
9954
+ # also marks the price as eligible to draw down from that license type's
9955
+ # allocation; a usage price created without it is billed normally. Usage prices
9956
+ # with a license type must use the `unit` model, and only draw down when their
9957
+ # currency matches the allocation's.
9802
9958
  license_type_id: nil,
9803
9959
  # User-specified key/value pairs for the resource. Individual keys can be removed
9804
9960
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -10167,7 +10323,11 @@ module Orb
10167
10323
  end
10168
10324
  attr_writer :invoicing_cycle_configuration
10169
10325
 
10170
- # The ID of the license type to associate with this price.
10326
+ # The ID of the license type to associate with this price. On a usage price this
10327
+ # also marks the price as eligible to draw down from that license type's
10328
+ # allocation; a usage price created without it is billed normally. Usage prices
10329
+ # with a license type must use the `unit` model, and only draw down when their
10330
+ # currency matches the allocation's.
10171
10331
  sig { returns(T.nilable(String)) }
10172
10332
  attr_accessor :license_type_id
10173
10333
 
@@ -10253,7 +10413,11 @@ module Orb
10253
10413
  # Within each billing cycle, specifies the cadence at which invoices are produced.
10254
10414
  # If unspecified, a single invoice is produced per billing cycle.
10255
10415
  invoicing_cycle_configuration: nil,
10256
- # The ID of the license type to associate with this price.
10416
+ # The ID of the license type to associate with this price. On a usage price this
10417
+ # also marks the price as eligible to draw down from that license type's
10418
+ # allocation; a usage price created without it is billed normally. Usage prices
10419
+ # with a license type must use the `unit` model, and only draw down when their
10420
+ # currency matches the allocation's.
10257
10421
  license_type_id: nil,
10258
10422
  # User-specified key/value pairs for the resource. Individual keys can be removed
10259
10423
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -10582,7 +10746,11 @@ module Orb
10582
10746
  end
10583
10747
  attr_writer :invoicing_cycle_configuration
10584
10748
 
10585
- # The ID of the license type to associate with this price.
10749
+ # The ID of the license type to associate with this price. On a usage price this
10750
+ # also marks the price as eligible to draw down from that license type's
10751
+ # allocation; a usage price created without it is billed normally. Usage prices
10752
+ # with a license type must use the `unit` model, and only draw down when their
10753
+ # currency matches the allocation's.
10586
10754
  sig { returns(T.nilable(String)) }
10587
10755
  attr_accessor :license_type_id
10588
10756
 
@@ -10668,7 +10836,11 @@ module Orb
10668
10836
  # Within each billing cycle, specifies the cadence at which invoices are produced.
10669
10837
  # If unspecified, a single invoice is produced per billing cycle.
10670
10838
  invoicing_cycle_configuration: nil,
10671
- # The ID of the license type to associate with this price.
10839
+ # The ID of the license type to associate with this price. On a usage price this
10840
+ # also marks the price as eligible to draw down from that license type's
10841
+ # allocation; a usage price created without it is billed normally. Usage prices
10842
+ # with a license type must use the `unit` model, and only draw down when their
10843
+ # currency matches the allocation's.
10672
10844
  license_type_id: nil,
10673
10845
  # User-specified key/value pairs for the resource. Individual keys can be removed
10674
10846
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -10972,7 +11144,11 @@ module Orb
10972
11144
  end
10973
11145
  attr_writer :invoicing_cycle_configuration
10974
11146
 
10975
- # The ID of the license type to associate with this price.
11147
+ # The ID of the license type to associate with this price. On a usage price this
11148
+ # also marks the price as eligible to draw down from that license type's
11149
+ # allocation; a usage price created without it is billed normally. Usage prices
11150
+ # with a license type must use the `unit` model, and only draw down when their
11151
+ # currency matches the allocation's.
10976
11152
  sig { returns(T.nilable(String)) }
10977
11153
  attr_accessor :license_type_id
10978
11154
 
@@ -11058,7 +11234,11 @@ module Orb
11058
11234
  # Within each billing cycle, specifies the cadence at which invoices are produced.
11059
11235
  # If unspecified, a single invoice is produced per billing cycle.
11060
11236
  invoicing_cycle_configuration: nil,
11061
- # The ID of the license type to associate with this price.
11237
+ # The ID of the license type to associate with this price. On a usage price this
11238
+ # also marks the price as eligible to draw down from that license type's
11239
+ # allocation; a usage price created without it is billed normally. Usage prices
11240
+ # with a license type must use the `unit` model, and only draw down when their
11241
+ # currency matches the allocation's.
11062
11242
  license_type_id: nil,
11063
11243
  # User-specified key/value pairs for the resource. Individual keys can be removed
11064
11244
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -17,12 +17,18 @@ module Orb
17
17
  sig { returns(T::Array[Orb::MatrixValue]) }
18
18
  attr_accessor :matrix_values
19
19
 
20
+ # Optional multiplier applied to default-bucket quantity before
21
+ # default_unit_amount.
22
+ sig { returns(T.nilable(Float)) }
23
+ attr_accessor :scaling_factor
24
+
20
25
  # Configuration for matrix pricing
21
26
  sig do
22
27
  params(
23
28
  default_unit_amount: String,
24
29
  dimensions: T::Array[T.nilable(String)],
25
- matrix_values: T::Array[Orb::MatrixValue::OrHash]
30
+ matrix_values: T::Array[Orb::MatrixValue::OrHash],
31
+ scaling_factor: T.nilable(Float)
26
32
  ).returns(T.attached_class)
27
33
  end
28
34
  def self.new(
@@ -31,7 +37,10 @@ module Orb
31
37
  # One or two event property values to evaluate matrix groups by
32
38
  dimensions:,
33
39
  # Matrix values configuration
34
- matrix_values:
40
+ matrix_values:,
41
+ # Optional multiplier applied to default-bucket quantity before
42
+ # default_unit_amount.
43
+ scaling_factor: nil
35
44
  )
36
45
  end
37
46
 
@@ -40,7 +49,8 @@ module Orb
40
49
  {
41
50
  default_unit_amount: String,
42
51
  dimensions: T::Array[T.nilable(String)],
43
- matrix_values: T::Array[Orb::MatrixValue]
52
+ matrix_values: T::Array[Orb::MatrixValue],
53
+ scaling_factor: T.nilable(Float)
44
54
  }
45
55
  )
46
56
  end