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
@@ -1411,7 +1411,11 @@ module Orb
1411
1411
  end
1412
1412
  attr_writer :invoicing_cycle_configuration
1413
1413
 
1414
- # The ID of the license type to associate with this price.
1414
+ # The ID of the license type to associate with this price. On a usage price this
1415
+ # also marks the price as eligible to draw down from that license type's
1416
+ # allocation; a usage price created without it is billed normally. Usage prices
1417
+ # with a license type must use the `unit` model, and only draw down when their
1418
+ # currency matches the allocation's.
1415
1419
  sig { returns(T.nilable(String)) }
1416
1420
  attr_accessor :license_type_id
1417
1421
 
@@ -1497,7 +1501,11 @@ module Orb
1497
1501
  # Within each billing cycle, specifies the cadence at which invoices are produced.
1498
1502
  # If unspecified, a single invoice is produced per billing cycle.
1499
1503
  invoicing_cycle_configuration: nil,
1500
- # The ID of the license type to associate with this price.
1504
+ # The ID of the license type to associate with this price. On a usage price this
1505
+ # also marks the price as eligible to draw down from that license type's
1506
+ # allocation; a usage price created without it is billed normally. Usage prices
1507
+ # with a license type must use the `unit` model, and only draw down when their
1508
+ # currency matches the allocation's.
1501
1509
  license_type_id: nil,
1502
1510
  # User-specified key/value pairs for the resource. Individual keys can be removed
1503
1511
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -1883,7 +1891,11 @@ module Orb
1883
1891
  end
1884
1892
  attr_writer :invoicing_cycle_configuration
1885
1893
 
1886
- # The ID of the license type to associate with this price.
1894
+ # The ID of the license type to associate with this price. On a usage price this
1895
+ # also marks the price as eligible to draw down from that license type's
1896
+ # allocation; a usage price created without it is billed normally. Usage prices
1897
+ # with a license type must use the `unit` model, and only draw down when their
1898
+ # currency matches the allocation's.
1887
1899
  sig { returns(T.nilable(String)) }
1888
1900
  attr_accessor :license_type_id
1889
1901
 
@@ -1969,7 +1981,11 @@ module Orb
1969
1981
  # Within each billing cycle, specifies the cadence at which invoices are produced.
1970
1982
  # If unspecified, a single invoice is produced per billing cycle.
1971
1983
  invoicing_cycle_configuration: nil,
1972
- # The ID of the license type to associate with this price.
1984
+ # The ID of the license type to associate with this price. On a usage price this
1985
+ # also marks the price as eligible to draw down from that license type's
1986
+ # allocation; a usage price created without it is billed normally. Usage prices
1987
+ # with a license type must use the `unit` model, and only draw down when their
1988
+ # currency matches the allocation's.
1973
1989
  license_type_id: nil,
1974
1990
  # User-specified key/value pairs for the resource. Individual keys can be removed
1975
1991
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -2322,7 +2338,11 @@ module Orb
2322
2338
  end
2323
2339
  attr_writer :invoicing_cycle_configuration
2324
2340
 
2325
- # The ID of the license type to associate with this price.
2341
+ # The ID of the license type to associate with this price. On a usage price this
2342
+ # also marks the price as eligible to draw down from that license type's
2343
+ # allocation; a usage price created without it is billed normally. Usage prices
2344
+ # with a license type must use the `unit` model, and only draw down when their
2345
+ # currency matches the allocation's.
2326
2346
  sig { returns(T.nilable(String)) }
2327
2347
  attr_accessor :license_type_id
2328
2348
 
@@ -2408,7 +2428,11 @@ module Orb
2408
2428
  # Within each billing cycle, specifies the cadence at which invoices are produced.
2409
2429
  # If unspecified, a single invoice is produced per billing cycle.
2410
2430
  invoicing_cycle_configuration: nil,
2411
- # The ID of the license type to associate with this price.
2431
+ # The ID of the license type to associate with this price. On a usage price this
2432
+ # also marks the price as eligible to draw down from that license type's
2433
+ # allocation; a usage price created without it is billed normally. Usage prices
2434
+ # with a license type must use the `unit` model, and only draw down when their
2435
+ # currency matches the allocation's.
2412
2436
  license_type_id: nil,
2413
2437
  # User-specified key/value pairs for the resource. Individual keys can be removed
2414
2438
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -2861,7 +2885,11 @@ module Orb
2861
2885
  end
2862
2886
  attr_writer :invoicing_cycle_configuration
2863
2887
 
2864
- # The ID of the license type to associate with this price.
2888
+ # The ID of the license type to associate with this price. On a usage price this
2889
+ # also marks the price as eligible to draw down from that license type's
2890
+ # allocation; a usage price created without it is billed normally. Usage prices
2891
+ # with a license type must use the `unit` model, and only draw down when their
2892
+ # currency matches the allocation's.
2865
2893
  sig { returns(T.nilable(String)) }
2866
2894
  attr_accessor :license_type_id
2867
2895
 
@@ -2947,7 +2975,11 @@ module Orb
2947
2975
  # Within each billing cycle, specifies the cadence at which invoices are produced.
2948
2976
  # If unspecified, a single invoice is produced per billing cycle.
2949
2977
  invoicing_cycle_configuration: nil,
2950
- # The ID of the license type to associate with this price.
2978
+ # The ID of the license type to associate with this price. On a usage price this
2979
+ # also marks the price as eligible to draw down from that license type's
2980
+ # allocation; a usage price created without it is billed normally. Usage prices
2981
+ # with a license type must use the `unit` model, and only draw down when their
2982
+ # currency matches the allocation's.
2951
2983
  license_type_id: nil,
2952
2984
  # User-specified key/value pairs for the resource. Individual keys can be removed
2953
2985
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -3274,7 +3306,11 @@ module Orb
3274
3306
  end
3275
3307
  attr_writer :invoicing_cycle_configuration
3276
3308
 
3277
- # The ID of the license type to associate with this price.
3309
+ # The ID of the license type to associate with this price. On a usage price this
3310
+ # also marks the price as eligible to draw down from that license type's
3311
+ # allocation; a usage price created without it is billed normally. Usage prices
3312
+ # with a license type must use the `unit` model, and only draw down when their
3313
+ # currency matches the allocation's.
3278
3314
  sig { returns(T.nilable(String)) }
3279
3315
  attr_accessor :license_type_id
3280
3316
 
@@ -3360,7 +3396,11 @@ module Orb
3360
3396
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3361
3397
  # If unspecified, a single invoice is produced per billing cycle.
3362
3398
  invoicing_cycle_configuration: nil,
3363
- # The ID of the license type to associate with this price.
3399
+ # The ID of the license type to associate with this price. On a usage price this
3400
+ # also marks the price as eligible to draw down from that license type's
3401
+ # allocation; a usage price created without it is billed normally. Usage prices
3402
+ # with a license type must use the `unit` model, and only draw down when their
3403
+ # currency matches the allocation's.
3364
3404
  license_type_id: nil,
3365
3405
  # User-specified key/value pairs for the resource. Individual keys can be removed
3366
3406
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -3657,7 +3697,11 @@ module Orb
3657
3697
  end
3658
3698
  attr_writer :invoicing_cycle_configuration
3659
3699
 
3660
- # The ID of the license type to associate with this price.
3700
+ # The ID of the license type to associate with this price. On a usage price this
3701
+ # also marks the price as eligible to draw down from that license type's
3702
+ # allocation; a usage price created without it is billed normally. Usage prices
3703
+ # with a license type must use the `unit` model, and only draw down when their
3704
+ # currency matches the allocation's.
3661
3705
  sig { returns(T.nilable(String)) }
3662
3706
  attr_accessor :license_type_id
3663
3707
 
@@ -3743,7 +3787,11 @@ module Orb
3743
3787
  # Within each billing cycle, specifies the cadence at which invoices are produced.
3744
3788
  # If unspecified, a single invoice is produced per billing cycle.
3745
3789
  invoicing_cycle_configuration: nil,
3746
- # The ID of the license type to associate with this price.
3790
+ # The ID of the license type to associate with this price. On a usage price this
3791
+ # also marks the price as eligible to draw down from that license type's
3792
+ # allocation; a usage price created without it is billed normally. Usage prices
3793
+ # with a license type must use the `unit` model, and only draw down when their
3794
+ # currency matches the allocation's.
3747
3795
  license_type_id: nil,
3748
3796
  # User-specified key/value pairs for the resource. Individual keys can be removed
3749
3797
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -4040,7 +4088,11 @@ module Orb
4040
4088
  end
4041
4089
  attr_writer :invoicing_cycle_configuration
4042
4090
 
4043
- # The ID of the license type to associate with this price.
4091
+ # The ID of the license type to associate with this price. On a usage price this
4092
+ # also marks the price as eligible to draw down from that license type's
4093
+ # allocation; a usage price created without it is billed normally. Usage prices
4094
+ # with a license type must use the `unit` model, and only draw down when their
4095
+ # currency matches the allocation's.
4044
4096
  sig { returns(T.nilable(String)) }
4045
4097
  attr_accessor :license_type_id
4046
4098
 
@@ -4126,7 +4178,11 @@ module Orb
4126
4178
  # Within each billing cycle, specifies the cadence at which invoices are produced.
4127
4179
  # If unspecified, a single invoice is produced per billing cycle.
4128
4180
  invoicing_cycle_configuration: nil,
4129
- # The ID of the license type to associate with this price.
4181
+ # The ID of the license type to associate with this price. On a usage price this
4182
+ # also marks the price as eligible to draw down from that license type's
4183
+ # allocation; a usage price created without it is billed normally. Usage prices
4184
+ # with a license type must use the `unit` model, and only draw down when their
4185
+ # currency matches the allocation's.
4130
4186
  license_type_id: nil,
4131
4187
  # User-specified key/value pairs for the resource. Individual keys can be removed
4132
4188
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -4495,7 +4551,11 @@ module Orb
4495
4551
  end
4496
4552
  attr_writer :invoicing_cycle_configuration
4497
4553
 
4498
- # The ID of the license type to associate with this price.
4554
+ # The ID of the license type to associate with this price. On a usage price this
4555
+ # also marks the price as eligible to draw down from that license type's
4556
+ # allocation; a usage price created without it is billed normally. Usage prices
4557
+ # with a license type must use the `unit` model, and only draw down when their
4558
+ # currency matches the allocation's.
4499
4559
  sig { returns(T.nilable(String)) }
4500
4560
  attr_accessor :license_type_id
4501
4561
 
@@ -4581,7 +4641,11 @@ module Orb
4581
4641
  # Within each billing cycle, specifies the cadence at which invoices are produced.
4582
4642
  # If unspecified, a single invoice is produced per billing cycle.
4583
4643
  invoicing_cycle_configuration: nil,
4584
- # The ID of the license type to associate with this price.
4644
+ # The ID of the license type to associate with this price. On a usage price this
4645
+ # also marks the price as eligible to draw down from that license type's
4646
+ # allocation; a usage price created without it is billed normally. Usage prices
4647
+ # with a license type must use the `unit` model, and only draw down when their
4648
+ # currency matches the allocation's.
4585
4649
  license_type_id: nil,
4586
4650
  # User-specified key/value pairs for the resource. Individual keys can be removed
4587
4651
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -4910,7 +4974,11 @@ module Orb
4910
4974
  end
4911
4975
  attr_writer :invoicing_cycle_configuration
4912
4976
 
4913
- # The ID of the license type to associate with this price.
4977
+ # The ID of the license type to associate with this price. On a usage price this
4978
+ # also marks the price as eligible to draw down from that license type's
4979
+ # allocation; a usage price created without it is billed normally. Usage prices
4980
+ # with a license type must use the `unit` model, and only draw down when their
4981
+ # currency matches the allocation's.
4914
4982
  sig { returns(T.nilable(String)) }
4915
4983
  attr_accessor :license_type_id
4916
4984
 
@@ -4996,7 +5064,11 @@ module Orb
4996
5064
  # Within each billing cycle, specifies the cadence at which invoices are produced.
4997
5065
  # If unspecified, a single invoice is produced per billing cycle.
4998
5066
  invoicing_cycle_configuration: nil,
4999
- # The ID of the license type to associate with this price.
5067
+ # The ID of the license type to associate with this price. On a usage price this
5068
+ # also marks the price as eligible to draw down from that license type's
5069
+ # allocation; a usage price created without it is billed normally. Usage prices
5070
+ # with a license type must use the `unit` model, and only draw down when their
5071
+ # currency matches the allocation's.
5000
5072
  license_type_id: nil,
5001
5073
  # User-specified key/value pairs for the resource. Individual keys can be removed
5002
5074
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -5300,7 +5372,11 @@ module Orb
5300
5372
  end
5301
5373
  attr_writer :invoicing_cycle_configuration
5302
5374
 
5303
- # The ID of the license type to associate with this price.
5375
+ # The ID of the license type to associate with this price. On a usage price this
5376
+ # also marks the price as eligible to draw down from that license type's
5377
+ # allocation; a usage price created without it is billed normally. Usage prices
5378
+ # with a license type must use the `unit` model, and only draw down when their
5379
+ # currency matches the allocation's.
5304
5380
  sig { returns(T.nilable(String)) }
5305
5381
  attr_accessor :license_type_id
5306
5382
 
@@ -5386,7 +5462,11 @@ module Orb
5386
5462
  # Within each billing cycle, specifies the cadence at which invoices are produced.
5387
5463
  # If unspecified, a single invoice is produced per billing cycle.
5388
5464
  invoicing_cycle_configuration: nil,
5389
- # The ID of the license type to associate with this price.
5465
+ # The ID of the license type to associate with this price. On a usage price this
5466
+ # also marks the price as eligible to draw down from that license type's
5467
+ # allocation; a usage price created without it is billed normally. Usage prices
5468
+ # with a license type must use the `unit` model, and only draw down when their
5469
+ # currency matches the allocation's.
5390
5470
  license_type_id: nil,
5391
5471
  # User-specified key/value pairs for the resource. Individual keys can be removed
5392
5472
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -6612,7 +6692,11 @@ module Orb
6612
6692
  end
6613
6693
  attr_writer :invoicing_cycle_configuration
6614
6694
 
6615
- # The ID of the license type to associate with this price.
6695
+ # The ID of the license type to associate with this price. On a usage price this
6696
+ # also marks the price as eligible to draw down from that license type's
6697
+ # allocation; a usage price created without it is billed normally. Usage prices
6698
+ # with a license type must use the `unit` model, and only draw down when their
6699
+ # currency matches the allocation's.
6616
6700
  sig { returns(T.nilable(String)) }
6617
6701
  attr_accessor :license_type_id
6618
6702
 
@@ -6698,7 +6782,11 @@ module Orb
6698
6782
  # Within each billing cycle, specifies the cadence at which invoices are produced.
6699
6783
  # If unspecified, a single invoice is produced per billing cycle.
6700
6784
  invoicing_cycle_configuration: nil,
6701
- # The ID of the license type to associate with this price.
6785
+ # The ID of the license type to associate with this price. On a usage price this
6786
+ # also marks the price as eligible to draw down from that license type's
6787
+ # allocation; a usage price created without it is billed normally. Usage prices
6788
+ # with a license type must use the `unit` model, and only draw down when their
6789
+ # currency matches the allocation's.
6702
6790
  license_type_id: nil,
6703
6791
  # User-specified key/value pairs for the resource. Individual keys can be removed
6704
6792
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -7084,7 +7172,11 @@ module Orb
7084
7172
  end
7085
7173
  attr_writer :invoicing_cycle_configuration
7086
7174
 
7087
- # The ID of the license type to associate with this price.
7175
+ # The ID of the license type to associate with this price. On a usage price this
7176
+ # also marks the price as eligible to draw down from that license type's
7177
+ # allocation; a usage price created without it is billed normally. Usage prices
7178
+ # with a license type must use the `unit` model, and only draw down when their
7179
+ # currency matches the allocation's.
7088
7180
  sig { returns(T.nilable(String)) }
7089
7181
  attr_accessor :license_type_id
7090
7182
 
@@ -7170,7 +7262,11 @@ module Orb
7170
7262
  # Within each billing cycle, specifies the cadence at which invoices are produced.
7171
7263
  # If unspecified, a single invoice is produced per billing cycle.
7172
7264
  invoicing_cycle_configuration: nil,
7173
- # The ID of the license type to associate with this price.
7265
+ # The ID of the license type to associate with this price. On a usage price this
7266
+ # also marks the price as eligible to draw down from that license type's
7267
+ # allocation; a usage price created without it is billed normally. Usage prices
7268
+ # with a license type must use the `unit` model, and only draw down when their
7269
+ # currency matches the allocation's.
7174
7270
  license_type_id: nil,
7175
7271
  # User-specified key/value pairs for the resource. Individual keys can be removed
7176
7272
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -7523,7 +7619,11 @@ module Orb
7523
7619
  end
7524
7620
  attr_writer :invoicing_cycle_configuration
7525
7621
 
7526
- # The ID of the license type to associate with this price.
7622
+ # The ID of the license type to associate with this price. On a usage price this
7623
+ # also marks the price as eligible to draw down from that license type's
7624
+ # allocation; a usage price created without it is billed normally. Usage prices
7625
+ # with a license type must use the `unit` model, and only draw down when their
7626
+ # currency matches the allocation's.
7527
7627
  sig { returns(T.nilable(String)) }
7528
7628
  attr_accessor :license_type_id
7529
7629
 
@@ -7609,7 +7709,11 @@ module Orb
7609
7709
  # Within each billing cycle, specifies the cadence at which invoices are produced.
7610
7710
  # If unspecified, a single invoice is produced per billing cycle.
7611
7711
  invoicing_cycle_configuration: nil,
7612
- # The ID of the license type to associate with this price.
7712
+ # The ID of the license type to associate with this price. On a usage price this
7713
+ # also marks the price as eligible to draw down from that license type's
7714
+ # allocation; a usage price created without it is billed normally. Usage prices
7715
+ # with a license type must use the `unit` model, and only draw down when their
7716
+ # currency matches the allocation's.
7613
7717
  license_type_id: nil,
7614
7718
  # User-specified key/value pairs for the resource. Individual keys can be removed
7615
7719
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -8062,7 +8166,11 @@ module Orb
8062
8166
  end
8063
8167
  attr_writer :invoicing_cycle_configuration
8064
8168
 
8065
- # The ID of the license type to associate with this price.
8169
+ # The ID of the license type to associate with this price. On a usage price this
8170
+ # also marks the price as eligible to draw down from that license type's
8171
+ # allocation; a usage price created without it is billed normally. Usage prices
8172
+ # with a license type must use the `unit` model, and only draw down when their
8173
+ # currency matches the allocation's.
8066
8174
  sig { returns(T.nilable(String)) }
8067
8175
  attr_accessor :license_type_id
8068
8176
 
@@ -8148,7 +8256,11 @@ module Orb
8148
8256
  # Within each billing cycle, specifies the cadence at which invoices are produced.
8149
8257
  # If unspecified, a single invoice is produced per billing cycle.
8150
8258
  invoicing_cycle_configuration: nil,
8151
- # The ID of the license type to associate with this price.
8259
+ # The ID of the license type to associate with this price. On a usage price this
8260
+ # also marks the price as eligible to draw down from that license type's
8261
+ # allocation; a usage price created without it is billed normally. Usage prices
8262
+ # with a license type must use the `unit` model, and only draw down when their
8263
+ # currency matches the allocation's.
8152
8264
  license_type_id: nil,
8153
8265
  # User-specified key/value pairs for the resource. Individual keys can be removed
8154
8266
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -8475,7 +8587,11 @@ module Orb
8475
8587
  end
8476
8588
  attr_writer :invoicing_cycle_configuration
8477
8589
 
8478
- # The ID of the license type to associate with this price.
8590
+ # The ID of the license type to associate with this price. On a usage price this
8591
+ # also marks the price as eligible to draw down from that license type's
8592
+ # allocation; a usage price created without it is billed normally. Usage prices
8593
+ # with a license type must use the `unit` model, and only draw down when their
8594
+ # currency matches the allocation's.
8479
8595
  sig { returns(T.nilable(String)) }
8480
8596
  attr_accessor :license_type_id
8481
8597
 
@@ -8561,7 +8677,11 @@ module Orb
8561
8677
  # Within each billing cycle, specifies the cadence at which invoices are produced.
8562
8678
  # If unspecified, a single invoice is produced per billing cycle.
8563
8679
  invoicing_cycle_configuration: nil,
8564
- # The ID of the license type to associate with this price.
8680
+ # The ID of the license type to associate with this price. On a usage price this
8681
+ # also marks the price as eligible to draw down from that license type's
8682
+ # allocation; a usage price created without it is billed normally. Usage prices
8683
+ # with a license type must use the `unit` model, and only draw down when their
8684
+ # currency matches the allocation's.
8565
8685
  license_type_id: nil,
8566
8686
  # User-specified key/value pairs for the resource. Individual keys can be removed
8567
8687
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -8858,7 +8978,11 @@ module Orb
8858
8978
  end
8859
8979
  attr_writer :invoicing_cycle_configuration
8860
8980
 
8861
- # The ID of the license type to associate with this price.
8981
+ # The ID of the license type to associate with this price. On a usage price this
8982
+ # also marks the price as eligible to draw down from that license type's
8983
+ # allocation; a usage price created without it is billed normally. Usage prices
8984
+ # with a license type must use the `unit` model, and only draw down when their
8985
+ # currency matches the allocation's.
8862
8986
  sig { returns(T.nilable(String)) }
8863
8987
  attr_accessor :license_type_id
8864
8988
 
@@ -8944,7 +9068,11 @@ module Orb
8944
9068
  # Within each billing cycle, specifies the cadence at which invoices are produced.
8945
9069
  # If unspecified, a single invoice is produced per billing cycle.
8946
9070
  invoicing_cycle_configuration: nil,
8947
- # The ID of the license type to associate with this price.
9071
+ # The ID of the license type to associate with this price. On a usage price this
9072
+ # also marks the price as eligible to draw down from that license type's
9073
+ # allocation; a usage price created without it is billed normally. Usage prices
9074
+ # with a license type must use the `unit` model, and only draw down when their
9075
+ # currency matches the allocation's.
8948
9076
  license_type_id: nil,
8949
9077
  # User-specified key/value pairs for the resource. Individual keys can be removed
8950
9078
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -9241,7 +9369,11 @@ module Orb
9241
9369
  end
9242
9370
  attr_writer :invoicing_cycle_configuration
9243
9371
 
9244
- # The ID of the license type to associate with this price.
9372
+ # The ID of the license type to associate with this price. On a usage price this
9373
+ # also marks the price as eligible to draw down from that license type's
9374
+ # allocation; a usage price created without it is billed normally. Usage prices
9375
+ # with a license type must use the `unit` model, and only draw down when their
9376
+ # currency matches the allocation's.
9245
9377
  sig { returns(T.nilable(String)) }
9246
9378
  attr_accessor :license_type_id
9247
9379
 
@@ -9327,7 +9459,11 @@ module Orb
9327
9459
  # Within each billing cycle, specifies the cadence at which invoices are produced.
9328
9460
  # If unspecified, a single invoice is produced per billing cycle.
9329
9461
  invoicing_cycle_configuration: nil,
9330
- # The ID of the license type to associate with this price.
9462
+ # The ID of the license type to associate with this price. On a usage price this
9463
+ # also marks the price as eligible to draw down from that license type's
9464
+ # allocation; a usage price created without it is billed normally. Usage prices
9465
+ # with a license type must use the `unit` model, and only draw down when their
9466
+ # currency matches the allocation's.
9331
9467
  license_type_id: nil,
9332
9468
  # User-specified key/value pairs for the resource. Individual keys can be removed
9333
9469
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -9696,7 +9832,11 @@ module Orb
9696
9832
  end
9697
9833
  attr_writer :invoicing_cycle_configuration
9698
9834
 
9699
- # The ID of the license type to associate with this price.
9835
+ # The ID of the license type to associate with this price. On a usage price this
9836
+ # also marks the price as eligible to draw down from that license type's
9837
+ # allocation; a usage price created without it is billed normally. Usage prices
9838
+ # with a license type must use the `unit` model, and only draw down when their
9839
+ # currency matches the allocation's.
9700
9840
  sig { returns(T.nilable(String)) }
9701
9841
  attr_accessor :license_type_id
9702
9842
 
@@ -9782,7 +9922,11 @@ module Orb
9782
9922
  # Within each billing cycle, specifies the cadence at which invoices are produced.
9783
9923
  # If unspecified, a single invoice is produced per billing cycle.
9784
9924
  invoicing_cycle_configuration: nil,
9785
- # The ID of the license type to associate with this price.
9925
+ # The ID of the license type to associate with this price. On a usage price this
9926
+ # also marks the price as eligible to draw down from that license type's
9927
+ # allocation; a usage price created without it is billed normally. Usage prices
9928
+ # with a license type must use the `unit` model, and only draw down when their
9929
+ # currency matches the allocation's.
9786
9930
  license_type_id: nil,
9787
9931
  # User-specified key/value pairs for the resource. Individual keys can be removed
9788
9932
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -10111,7 +10255,11 @@ module Orb
10111
10255
  end
10112
10256
  attr_writer :invoicing_cycle_configuration
10113
10257
 
10114
- # The ID of the license type to associate with this price.
10258
+ # The ID of the license type to associate with this price. On a usage price this
10259
+ # also marks the price as eligible to draw down from that license type's
10260
+ # allocation; a usage price created without it is billed normally. Usage prices
10261
+ # with a license type must use the `unit` model, and only draw down when their
10262
+ # currency matches the allocation's.
10115
10263
  sig { returns(T.nilable(String)) }
10116
10264
  attr_accessor :license_type_id
10117
10265
 
@@ -10197,7 +10345,11 @@ module Orb
10197
10345
  # Within each billing cycle, specifies the cadence at which invoices are produced.
10198
10346
  # If unspecified, a single invoice is produced per billing cycle.
10199
10347
  invoicing_cycle_configuration: nil,
10200
- # The ID of the license type to associate with this price.
10348
+ # The ID of the license type to associate with this price. On a usage price this
10349
+ # also marks the price as eligible to draw down from that license type's
10350
+ # allocation; a usage price created without it is billed normally. Usage prices
10351
+ # with a license type must use the `unit` model, and only draw down when their
10352
+ # currency matches the allocation's.
10201
10353
  license_type_id: nil,
10202
10354
  # User-specified key/value pairs for the resource. Individual keys can be removed
10203
10355
  # by setting the value to `null`, and the entire metadata mapping can be cleared
@@ -10501,7 +10653,11 @@ module Orb
10501
10653
  end
10502
10654
  attr_writer :invoicing_cycle_configuration
10503
10655
 
10504
- # The ID of the license type to associate with this price.
10656
+ # The ID of the license type to associate with this price. On a usage price this
10657
+ # also marks the price as eligible to draw down from that license type's
10658
+ # allocation; a usage price created without it is billed normally. Usage prices
10659
+ # with a license type must use the `unit` model, and only draw down when their
10660
+ # currency matches the allocation's.
10505
10661
  sig { returns(T.nilable(String)) }
10506
10662
  attr_accessor :license_type_id
10507
10663
 
@@ -10587,7 +10743,11 @@ module Orb
10587
10743
  # Within each billing cycle, specifies the cadence at which invoices are produced.
10588
10744
  # If unspecified, a single invoice is produced per billing cycle.
10589
10745
  invoicing_cycle_configuration: nil,
10590
- # The ID of the license type to associate with this price.
10746
+ # The ID of the license type to associate with this price. On a usage price this
10747
+ # also marks the price as eligible to draw down from that license type's
10748
+ # allocation; a usage price created without it is billed normally. Usage prices
10749
+ # with a license type must use the `unit` model, and only draw down when their
10750
+ # currency matches the allocation's.
10591
10751
  license_type_id: nil,
10592
10752
  # User-specified key/value pairs for the resource. Individual keys can be removed
10593
10753
  # by setting the value to `null`, and the entire metadata mapping can be cleared