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
@@ -165,7 +165,8 @@ module Orb
165
165
  # @!attribute license_allocations
166
166
  # License allocations to associate with this price. Each entry defines a
167
167
  # per-license credit pool granted each cadence. Requires license_type_id or
168
- # license_type_configuration to be set.
168
+ # license_type_configuration to be set. Usage prices draw down from these
169
+ # allocations only if they set the same license type.
169
170
  #
170
171
  # @return [Array<Orb::Models::PlanCreateParams::Price::LicenseAllocationPrice::LicenseAllocation>]
171
172
  required :license_allocations,
@@ -262,7 +263,11 @@ module Orb
262
263
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
263
264
 
264
265
  # @!attribute license_type_id
265
- # The ID of the license type to associate with this price.
266
+ # The ID of the license type to associate with this price. On a usage price this
267
+ # also marks the price as eligible to draw down from that license type's
268
+ # allocation; a usage price created without it is billed normally. Usage prices
269
+ # with a license type must use the `unit` model, and only draw down when their
270
+ # currency matches the allocation's.
266
271
  #
267
272
  # @return [String, nil]
268
273
  optional :license_type_id, String, nil?: true
@@ -322,7 +327,7 @@ module Orb
322
327
  #
323
328
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
324
329
  #
325
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
330
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
326
331
  #
327
332
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
328
333
  #
@@ -575,7 +580,11 @@ module Orb
575
580
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
576
581
 
577
582
  # @!attribute license_type_id
578
- # The ID of the license type to associate with this price.
583
+ # The ID of the license type to associate with this price. On a usage price this
584
+ # also marks the price as eligible to draw down from that license type's
585
+ # allocation; a usage price created without it is billed normally. Usage prices
586
+ # with a license type must use the `unit` model, and only draw down when their
587
+ # currency matches the allocation's.
579
588
  #
580
589
  # @return [String, nil]
581
590
  optional :license_type_id, String, nil?: true
@@ -629,7 +638,7 @@ module Orb
629
638
  #
630
639
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
631
640
  #
632
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
641
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
633
642
  #
634
643
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
635
644
  #
@@ -830,7 +839,11 @@ module Orb
830
839
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
831
840
 
832
841
  # @!attribute license_type_id
833
- # The ID of the license type to associate with this price.
842
+ # The ID of the license type to associate with this price. On a usage price this
843
+ # also marks the price as eligible to draw down from that license type's
844
+ # allocation; a usage price created without it is billed normally. Usage prices
845
+ # with a license type must use the `unit` model, and only draw down when their
846
+ # currency matches the allocation's.
834
847
  #
835
848
  # @return [String, nil]
836
849
  optional :license_type_id, String, nil?: true
@@ -885,7 +898,7 @@ module Orb
885
898
  #
886
899
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
887
900
  #
888
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
901
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
889
902
  #
890
903
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
891
904
  #
@@ -1084,7 +1097,11 @@ module Orb
1084
1097
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1085
1098
 
1086
1099
  # @!attribute license_type_id
1087
- # The ID of the license type to associate with this price.
1100
+ # The ID of the license type to associate with this price. On a usage price this
1101
+ # also marks the price as eligible to draw down from that license type's
1102
+ # allocation; a usage price created without it is billed normally. Usage prices
1103
+ # with a license type must use the `unit` model, and only draw down when their
1104
+ # currency matches the allocation's.
1088
1105
  #
1089
1106
  # @return [String, nil]
1090
1107
  optional :license_type_id, String, nil?: true
@@ -1139,7 +1156,7 @@ module Orb
1139
1156
  #
1140
1157
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1141
1158
  #
1142
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1159
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1143
1160
  #
1144
1161
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1145
1162
  #
@@ -1399,7 +1416,11 @@ module Orb
1399
1416
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1400
1417
 
1401
1418
  # @!attribute license_type_id
1402
- # The ID of the license type to associate with this price.
1419
+ # The ID of the license type to associate with this price. On a usage price this
1420
+ # also marks the price as eligible to draw down from that license type's
1421
+ # allocation; a usage price created without it is billed normally. Usage prices
1422
+ # with a license type must use the `unit` model, and only draw down when their
1423
+ # currency matches the allocation's.
1403
1424
  #
1404
1425
  # @return [String, nil]
1405
1426
  optional :license_type_id, String, nil?: true
@@ -1454,7 +1475,7 @@ module Orb
1454
1475
  #
1455
1476
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1456
1477
  #
1457
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1478
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1458
1479
  #
1459
1480
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1460
1481
  #
@@ -1630,7 +1651,11 @@ module Orb
1630
1651
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1631
1652
 
1632
1653
  # @!attribute license_type_id
1633
- # The ID of the license type to associate with this price.
1654
+ # The ID of the license type to associate with this price. On a usage price this
1655
+ # also marks the price as eligible to draw down from that license type's
1656
+ # allocation; a usage price created without it is billed normally. Usage prices
1657
+ # with a license type must use the `unit` model, and only draw down when their
1658
+ # currency matches the allocation's.
1634
1659
  #
1635
1660
  # @return [String, nil]
1636
1661
  optional :license_type_id, String, nil?: true
@@ -1685,7 +1710,7 @@ module Orb
1685
1710
  #
1686
1711
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1687
1712
  #
1688
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1713
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1689
1714
  #
1690
1715
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1691
1716
  #
@@ -1858,7 +1883,11 @@ module Orb
1858
1883
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1859
1884
 
1860
1885
  # @!attribute license_type_id
1861
- # The ID of the license type to associate with this price.
1886
+ # The ID of the license type to associate with this price. On a usage price this
1887
+ # also marks the price as eligible to draw down from that license type's
1888
+ # allocation; a usage price created without it is billed normally. Usage prices
1889
+ # with a license type must use the `unit` model, and only draw down when their
1890
+ # currency matches the allocation's.
1862
1891
  #
1863
1892
  # @return [String, nil]
1864
1893
  optional :license_type_id, String, nil?: true
@@ -1913,7 +1942,7 @@ module Orb
1913
1942
  #
1914
1943
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1915
1944
  #
1916
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1945
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1917
1946
  #
1918
1947
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1919
1948
  #
@@ -2086,7 +2115,11 @@ module Orb
2086
2115
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
2087
2116
 
2088
2117
  # @!attribute license_type_id
2089
- # The ID of the license type to associate with this price.
2118
+ # The ID of the license type to associate with this price. On a usage price this
2119
+ # also marks the price as eligible to draw down from that license type's
2120
+ # allocation; a usage price created without it is billed normally. Usage prices
2121
+ # with a license type must use the `unit` model, and only draw down when their
2122
+ # currency matches the allocation's.
2090
2123
  #
2091
2124
  # @return [String, nil]
2092
2125
  optional :license_type_id, String, nil?: true
@@ -2141,7 +2174,7 @@ module Orb
2141
2174
  #
2142
2175
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
2143
2176
  #
2144
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
2177
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
2145
2178
  #
2146
2179
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
2147
2180
  #
@@ -2357,7 +2390,11 @@ module Orb
2357
2390
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
2358
2391
 
2359
2392
  # @!attribute license_type_id
2360
- # The ID of the license type to associate with this price.
2393
+ # The ID of the license type to associate with this price. On a usage price this
2394
+ # also marks the price as eligible to draw down from that license type's
2395
+ # allocation; a usage price created without it is billed normally. Usage prices
2396
+ # with a license type must use the `unit` model, and only draw down when their
2397
+ # currency matches the allocation's.
2361
2398
  #
2362
2399
  # @return [String, nil]
2363
2400
  optional :license_type_id, String, nil?: true
@@ -2412,7 +2449,7 @@ module Orb
2412
2449
  #
2413
2450
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
2414
2451
  #
2415
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
2452
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
2416
2453
  #
2417
2454
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
2418
2455
  #
@@ -2609,7 +2646,11 @@ module Orb
2609
2646
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
2610
2647
 
2611
2648
  # @!attribute license_type_id
2612
- # The ID of the license type to associate with this price.
2649
+ # The ID of the license type to associate with this price. On a usage price this
2650
+ # also marks the price as eligible to draw down from that license type's
2651
+ # allocation; a usage price created without it is billed normally. Usage prices
2652
+ # with a license type must use the `unit` model, and only draw down when their
2653
+ # currency matches the allocation's.
2613
2654
  #
2614
2655
  # @return [String, nil]
2615
2656
  optional :license_type_id, String, nil?: true
@@ -2663,7 +2704,7 @@ module Orb
2663
2704
  #
2664
2705
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
2665
2706
  #
2666
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
2707
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
2667
2708
  #
2668
2709
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
2669
2710
  #
@@ -2841,7 +2882,11 @@ module Orb
2841
2882
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
2842
2883
 
2843
2884
  # @!attribute license_type_id
2844
- # The ID of the license type to associate with this price.
2885
+ # The ID of the license type to associate with this price. On a usage price this
2886
+ # also marks the price as eligible to draw down from that license type's
2887
+ # allocation; a usage price created without it is billed normally. Usage prices
2888
+ # with a license type must use the `unit` model, and only draw down when their
2889
+ # currency matches the allocation's.
2845
2890
  #
2846
2891
  # @return [String, nil]
2847
2892
  optional :license_type_id, String, nil?: true
@@ -2895,7 +2940,7 @@ module Orb
2895
2940
  #
2896
2941
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
2897
2942
  #
2898
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
2943
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
2899
2944
  #
2900
2945
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
2901
2946
  #
@@ -199,7 +199,11 @@ module Orb
199
199
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
200
200
 
201
201
  # @!attribute license_type_id
202
- # The ID of the license type to associate with this price.
202
+ # The ID of the license type to associate with this price. On a usage price this
203
+ # also marks the price as eligible to draw down from that license type's
204
+ # allocation; a usage price created without it is billed normally. Usage prices
205
+ # with a license type must use the `unit` model, and only draw down when their
206
+ # currency matches the allocation's.
203
207
  #
204
208
  # @return [String, nil]
205
209
  optional :license_type_id, String, nil?: true
@@ -246,7 +250,7 @@ module Orb
246
250
  #
247
251
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
248
252
  #
249
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
253
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
250
254
  #
251
255
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
252
256
  #
@@ -440,7 +444,11 @@ module Orb
440
444
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
441
445
 
442
446
  # @!attribute license_type_id
443
- # The ID of the license type to associate with this price.
447
+ # The ID of the license type to associate with this price. On a usage price this
448
+ # also marks the price as eligible to draw down from that license type's
449
+ # allocation; a usage price created without it is billed normally. Usage prices
450
+ # with a license type must use the `unit` model, and only draw down when their
451
+ # currency matches the allocation's.
444
452
  #
445
453
  # @return [String, nil]
446
454
  optional :license_type_id, String, nil?: true
@@ -487,7 +495,7 @@ module Orb
487
495
  #
488
496
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
489
497
  #
490
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
498
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
491
499
  #
492
500
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
493
501
  #
@@ -679,7 +687,11 @@ module Orb
679
687
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
680
688
 
681
689
  # @!attribute license_type_id
682
- # The ID of the license type to associate with this price.
690
+ # The ID of the license type to associate with this price. On a usage price this
691
+ # also marks the price as eligible to draw down from that license type's
692
+ # allocation; a usage price created without it is billed normally. Usage prices
693
+ # with a license type must use the `unit` model, and only draw down when their
694
+ # currency matches the allocation's.
683
695
  #
684
696
  # @return [String, nil]
685
697
  optional :license_type_id, String, nil?: true
@@ -727,7 +739,7 @@ module Orb
727
739
  #
728
740
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
729
741
  #
730
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
742
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
731
743
  #
732
744
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
733
745
  #
@@ -980,7 +992,11 @@ module Orb
980
992
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
981
993
 
982
994
  # @!attribute license_type_id
983
- # The ID of the license type to associate with this price.
995
+ # The ID of the license type to associate with this price. On a usage price this
996
+ # also marks the price as eligible to draw down from that license type's
997
+ # allocation; a usage price created without it is billed normally. Usage prices
998
+ # with a license type must use the `unit` model, and only draw down when their
999
+ # currency matches the allocation's.
984
1000
  #
985
1001
  # @return [String, nil]
986
1002
  optional :license_type_id, String, nil?: true
@@ -1028,7 +1044,7 @@ module Orb
1028
1044
  #
1029
1045
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1030
1046
  #
1031
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1047
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1032
1048
  #
1033
1049
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1034
1050
  #
@@ -1194,7 +1210,11 @@ module Orb
1194
1210
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1195
1211
 
1196
1212
  # @!attribute license_type_id
1197
- # The ID of the license type to associate with this price.
1213
+ # The ID of the license type to associate with this price. On a usage price this
1214
+ # also marks the price as eligible to draw down from that license type's
1215
+ # allocation; a usage price created without it is billed normally. Usage prices
1216
+ # with a license type must use the `unit` model, and only draw down when their
1217
+ # currency matches the allocation's.
1198
1218
  #
1199
1219
  # @return [String, nil]
1200
1220
  optional :license_type_id, String, nil?: true
@@ -1242,7 +1262,7 @@ module Orb
1242
1262
  #
1243
1263
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1244
1264
  #
1245
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1265
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1246
1266
  #
1247
1267
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1248
1268
  #
@@ -1408,7 +1428,11 @@ module Orb
1408
1428
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1409
1429
 
1410
1430
  # @!attribute license_type_id
1411
- # The ID of the license type to associate with this price.
1431
+ # The ID of the license type to associate with this price. On a usage price this
1432
+ # also marks the price as eligible to draw down from that license type's
1433
+ # allocation; a usage price created without it is billed normally. Usage prices
1434
+ # with a license type must use the `unit` model, and only draw down when their
1435
+ # currency matches the allocation's.
1412
1436
  #
1413
1437
  # @return [String, nil]
1414
1438
  optional :license_type_id, String, nil?: true
@@ -1455,7 +1479,7 @@ module Orb
1455
1479
  #
1456
1480
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1457
1481
  #
1458
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1482
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1459
1483
  #
1460
1484
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1461
1485
  #
@@ -1664,7 +1688,11 @@ module Orb
1664
1688
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1665
1689
 
1666
1690
  # @!attribute license_type_id
1667
- # The ID of the license type to associate with this price.
1691
+ # The ID of the license type to associate with this price. On a usage price this
1692
+ # also marks the price as eligible to draw down from that license type's
1693
+ # allocation; a usage price created without it is billed normally. Usage prices
1694
+ # with a license type must use the `unit` model, and only draw down when their
1695
+ # currency matches the allocation's.
1668
1696
  #
1669
1697
  # @return [String, nil]
1670
1698
  optional :license_type_id, String, nil?: true
@@ -1711,7 +1739,7 @@ module Orb
1711
1739
  #
1712
1740
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1713
1741
  #
1714
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1742
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1715
1743
  #
1716
1744
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1717
1745
  #
@@ -1901,7 +1929,11 @@ module Orb
1901
1929
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1902
1930
 
1903
1931
  # @!attribute license_type_id
1904
- # The ID of the license type to associate with this price.
1932
+ # The ID of the license type to associate with this price. On a usage price this
1933
+ # also marks the price as eligible to draw down from that license type's
1934
+ # allocation; a usage price created without it is billed normally. Usage prices
1935
+ # with a license type must use the `unit` model, and only draw down when their
1936
+ # currency matches the allocation's.
1905
1937
  #
1906
1938
  # @return [String, nil]
1907
1939
  optional :license_type_id, String, nil?: true
@@ -1948,7 +1980,7 @@ module Orb
1948
1980
  #
1949
1981
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1950
1982
  #
1951
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1983
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1952
1984
  #
1953
1985
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1954
1986
  #
@@ -2118,7 +2150,11 @@ module Orb
2118
2150
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
2119
2151
 
2120
2152
  # @!attribute license_type_id
2121
- # The ID of the license type to associate with this price.
2153
+ # The ID of the license type to associate with this price. On a usage price this
2154
+ # also marks the price as eligible to draw down from that license type's
2155
+ # allocation; a usage price created without it is billed normally. Usage prices
2156
+ # with a license type must use the `unit` model, and only draw down when their
2157
+ # currency matches the allocation's.
2122
2158
  #
2123
2159
  # @return [String, nil]
2124
2160
  optional :license_type_id, String, nil?: true
@@ -2165,7 +2201,7 @@ module Orb
2165
2201
  #
2166
2202
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
2167
2203
  #
2168
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
2204
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
2169
2205
  #
2170
2206
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
2171
2207
  #
@@ -305,7 +305,11 @@ module Orb
305
305
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
306
306
 
307
307
  # @!attribute license_type_id
308
- # The ID of the license type to associate with this price.
308
+ # The ID of the license type to associate with this price. On a usage price this
309
+ # also marks the price as eligible to draw down from that license type's
310
+ # allocation; a usage price created without it is billed normally. Usage prices
311
+ # with a license type must use the `unit` model, and only draw down when their
312
+ # currency matches the allocation's.
309
313
  #
310
314
  # @return [String, nil]
311
315
  optional :license_type_id, String, nil?: true
@@ -353,7 +357,7 @@ module Orb
353
357
  #
354
358
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
355
359
  #
356
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
360
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
357
361
  #
358
362
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
359
363
  #
@@ -552,7 +556,11 @@ module Orb
552
556
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
553
557
 
554
558
  # @!attribute license_type_id
555
- # The ID of the license type to associate with this price.
559
+ # The ID of the license type to associate with this price. On a usage price this
560
+ # also marks the price as eligible to draw down from that license type's
561
+ # allocation; a usage price created without it is billed normally. Usage prices
562
+ # with a license type must use the `unit` model, and only draw down when their
563
+ # currency matches the allocation's.
556
564
  #
557
565
  # @return [String, nil]
558
566
  optional :license_type_id, String, nil?: true
@@ -600,7 +608,7 @@ module Orb
600
608
  #
601
609
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
602
610
  #
603
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
611
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
604
612
  #
605
613
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
606
614
  #
@@ -801,7 +809,11 @@ module Orb
801
809
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
802
810
 
803
811
  # @!attribute license_type_id
804
- # The ID of the license type to associate with this price.
812
+ # The ID of the license type to associate with this price. On a usage price this
813
+ # also marks the price as eligible to draw down from that license type's
814
+ # allocation; a usage price created without it is billed normally. Usage prices
815
+ # with a license type must use the `unit` model, and only draw down when their
816
+ # currency matches the allocation's.
805
817
  #
806
818
  # @return [String, nil]
807
819
  optional :license_type_id, String, nil?: true
@@ -849,7 +861,7 @@ module Orb
849
861
  #
850
862
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
851
863
  #
852
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
864
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
853
865
  #
854
866
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
855
867
  #
@@ -1107,7 +1119,11 @@ module Orb
1107
1119
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1108
1120
 
1109
1121
  # @!attribute license_type_id
1110
- # The ID of the license type to associate with this price.
1122
+ # The ID of the license type to associate with this price. On a usage price this
1123
+ # also marks the price as eligible to draw down from that license type's
1124
+ # allocation; a usage price created without it is billed normally. Usage prices
1125
+ # with a license type must use the `unit` model, and only draw down when their
1126
+ # currency matches the allocation's.
1111
1127
  #
1112
1128
  # @return [String, nil]
1113
1129
  optional :license_type_id, String, nil?: true
@@ -1155,7 +1171,7 @@ module Orb
1155
1171
  #
1156
1172
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1157
1173
  #
1158
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1174
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1159
1175
  #
1160
1176
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1161
1177
  #
@@ -1326,7 +1342,11 @@ module Orb
1326
1342
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1327
1343
 
1328
1344
  # @!attribute license_type_id
1329
- # The ID of the license type to associate with this price.
1345
+ # The ID of the license type to associate with this price. On a usage price this
1346
+ # also marks the price as eligible to draw down from that license type's
1347
+ # allocation; a usage price created without it is billed normally. Usage prices
1348
+ # with a license type must use the `unit` model, and only draw down when their
1349
+ # currency matches the allocation's.
1330
1350
  #
1331
1351
  # @return [String, nil]
1332
1352
  optional :license_type_id, String, nil?: true
@@ -1374,7 +1394,7 @@ module Orb
1374
1394
  #
1375
1395
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1376
1396
  #
1377
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1397
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1378
1398
  #
1379
1399
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1380
1400
  #
@@ -1545,7 +1565,11 @@ module Orb
1545
1565
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1546
1566
 
1547
1567
  # @!attribute license_type_id
1548
- # The ID of the license type to associate with this price.
1568
+ # The ID of the license type to associate with this price. On a usage price this
1569
+ # also marks the price as eligible to draw down from that license type's
1570
+ # allocation; a usage price created without it is billed normally. Usage prices
1571
+ # with a license type must use the `unit` model, and only draw down when their
1572
+ # currency matches the allocation's.
1549
1573
  #
1550
1574
  # @return [String, nil]
1551
1575
  optional :license_type_id, String, nil?: true
@@ -1593,7 +1617,7 @@ module Orb
1593
1617
  #
1594
1618
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1595
1619
  #
1596
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1620
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1597
1621
  #
1598
1622
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1599
1623
  #
@@ -1811,7 +1835,11 @@ module Orb
1811
1835
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1812
1836
 
1813
1837
  # @!attribute license_type_id
1814
- # The ID of the license type to associate with this price.
1838
+ # The ID of the license type to associate with this price. On a usage price this
1839
+ # also marks the price as eligible to draw down from that license type's
1840
+ # allocation; a usage price created without it is billed normally. Usage prices
1841
+ # with a license type must use the `unit` model, and only draw down when their
1842
+ # currency matches the allocation's.
1815
1843
  #
1816
1844
  # @return [String, nil]
1817
1845
  optional :license_type_id, String, nil?: true
@@ -1859,7 +1887,7 @@ module Orb
1859
1887
  #
1860
1888
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1861
1889
  #
1862
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1890
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1863
1891
  #
1864
1892
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1865
1893
  #
@@ -2054,7 +2082,11 @@ module Orb
2054
2082
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
2055
2083
 
2056
2084
  # @!attribute license_type_id
2057
- # The ID of the license type to associate with this price.
2085
+ # The ID of the license type to associate with this price. On a usage price this
2086
+ # also marks the price as eligible to draw down from that license type's
2087
+ # allocation; a usage price created without it is billed normally. Usage prices
2088
+ # with a license type must use the `unit` model, and only draw down when their
2089
+ # currency matches the allocation's.
2058
2090
  #
2059
2091
  # @return [String, nil]
2060
2092
  optional :license_type_id, String, nil?: true
@@ -2102,7 +2134,7 @@ module Orb
2102
2134
  #
2103
2135
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
2104
2136
  #
2105
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
2137
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
2106
2138
  #
2107
2139
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
2108
2140
  #
@@ -2279,7 +2311,11 @@ module Orb
2279
2311
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
2280
2312
 
2281
2313
  # @!attribute license_type_id
2282
- # The ID of the license type to associate with this price.
2314
+ # The ID of the license type to associate with this price. On a usage price this
2315
+ # also marks the price as eligible to draw down from that license type's
2316
+ # allocation; a usage price created without it is billed normally. Usage prices
2317
+ # with a license type must use the `unit` model, and only draw down when their
2318
+ # currency matches the allocation's.
2283
2319
  #
2284
2320
  # @return [String, nil]
2285
2321
  optional :license_type_id, String, nil?: true
@@ -2327,7 +2363,7 @@ module Orb
2327
2363
  #
2328
2364
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
2329
2365
  #
2330
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
2366
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
2331
2367
  #
2332
2368
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
2333
2369
  #