orb-billing 1.26.0 → 1.27.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 (175) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -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/new_floating_bulk_price.rb +6 -2
  7. data/lib/orb/models/new_floating_bulk_with_proration_price.rb +6 -2
  8. data/lib/orb/models/new_floating_cumulative_grouped_bulk_price.rb +6 -2
  9. data/lib/orb/models/new_floating_grouped_allocation_price.rb +6 -2
  10. data/lib/orb/models/new_floating_grouped_tiered_package_price.rb +6 -2
  11. data/lib/orb/models/new_floating_grouped_tiered_price.rb +6 -2
  12. data/lib/orb/models/new_floating_grouped_with_metered_minimum_price.rb +6 -2
  13. data/lib/orb/models/new_floating_grouped_with_prorated_minimum_price.rb +6 -2
  14. data/lib/orb/models/new_floating_matrix_price.rb +6 -2
  15. data/lib/orb/models/new_floating_matrix_with_allocation_price.rb +6 -2
  16. data/lib/orb/models/new_floating_matrix_with_display_name_price.rb +6 -2
  17. data/lib/orb/models/new_floating_max_group_tiered_package_price.rb +6 -2
  18. data/lib/orb/models/new_floating_minimum_composite_price.rb +6 -2
  19. data/lib/orb/models/new_floating_package_price.rb +6 -2
  20. data/lib/orb/models/new_floating_package_with_allocation_price.rb +6 -2
  21. data/lib/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rb +6 -2
  22. data/lib/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rb +6 -2
  23. data/lib/orb/models/new_floating_threshold_total_amount_price.rb +6 -2
  24. data/lib/orb/models/new_floating_tiered_package_price.rb +6 -2
  25. data/lib/orb/models/new_floating_tiered_package_with_minimum_price.rb +6 -2
  26. data/lib/orb/models/new_floating_tiered_price.rb +6 -2
  27. data/lib/orb/models/new_floating_tiered_with_minimum_price.rb +6 -2
  28. data/lib/orb/models/new_floating_tiered_with_proration_price.rb +6 -2
  29. data/lib/orb/models/new_floating_unit_price.rb +6 -2
  30. data/lib/orb/models/new_floating_unit_with_percent_price.rb +6 -2
  31. data/lib/orb/models/new_floating_unit_with_proration_price.rb +6 -2
  32. data/lib/orb/models/new_plan_bulk_price.rb +6 -2
  33. data/lib/orb/models/new_plan_bulk_with_proration_price.rb +6 -2
  34. data/lib/orb/models/new_plan_cumulative_grouped_bulk_price.rb +6 -2
  35. data/lib/orb/models/new_plan_grouped_allocation_price.rb +6 -2
  36. data/lib/orb/models/new_plan_grouped_tiered_package_price.rb +6 -2
  37. data/lib/orb/models/new_plan_grouped_tiered_price.rb +6 -2
  38. data/lib/orb/models/new_plan_grouped_with_metered_minimum_price.rb +6 -2
  39. data/lib/orb/models/new_plan_grouped_with_prorated_minimum_price.rb +6 -2
  40. data/lib/orb/models/new_plan_matrix_price.rb +6 -2
  41. data/lib/orb/models/new_plan_matrix_with_allocation_price.rb +6 -2
  42. data/lib/orb/models/new_plan_matrix_with_display_name_price.rb +6 -2
  43. data/lib/orb/models/new_plan_max_group_tiered_package_price.rb +6 -2
  44. data/lib/orb/models/new_plan_minimum_composite_price.rb +6 -2
  45. data/lib/orb/models/new_plan_package_price.rb +6 -2
  46. data/lib/orb/models/new_plan_package_with_allocation_price.rb +6 -2
  47. data/lib/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rb +6 -2
  48. data/lib/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rb +6 -2
  49. data/lib/orb/models/new_plan_threshold_total_amount_price.rb +6 -2
  50. data/lib/orb/models/new_plan_tiered_package_price.rb +6 -2
  51. data/lib/orb/models/new_plan_tiered_package_with_minimum_price.rb +6 -2
  52. data/lib/orb/models/new_plan_tiered_price.rb +6 -2
  53. data/lib/orb/models/new_plan_tiered_with_minimum_price.rb +6 -2
  54. data/lib/orb/models/new_plan_unit_price.rb +6 -2
  55. data/lib/orb/models/new_plan_unit_with_percent_price.rb +6 -2
  56. data/lib/orb/models/new_plan_unit_with_proration_price.rb +6 -2
  57. data/lib/orb/models/new_subscription_bulk_price.rb +6 -2
  58. data/lib/orb/models/new_subscription_bulk_with_proration_price.rb +6 -2
  59. data/lib/orb/models/new_subscription_cumulative_grouped_bulk_price.rb +6 -2
  60. data/lib/orb/models/new_subscription_grouped_allocation_price.rb +6 -2
  61. data/lib/orb/models/new_subscription_grouped_tiered_package_price.rb +6 -2
  62. data/lib/orb/models/new_subscription_grouped_tiered_price.rb +6 -2
  63. data/lib/orb/models/new_subscription_grouped_with_metered_minimum_price.rb +6 -2
  64. data/lib/orb/models/new_subscription_grouped_with_prorated_minimum_price.rb +6 -2
  65. data/lib/orb/models/new_subscription_matrix_price.rb +6 -2
  66. data/lib/orb/models/new_subscription_matrix_with_allocation_price.rb +6 -2
  67. data/lib/orb/models/new_subscription_matrix_with_display_name_price.rb +6 -2
  68. data/lib/orb/models/new_subscription_max_group_tiered_package_price.rb +6 -2
  69. data/lib/orb/models/new_subscription_minimum_composite_price.rb +6 -2
  70. data/lib/orb/models/new_subscription_package_price.rb +6 -2
  71. data/lib/orb/models/new_subscription_package_with_allocation_price.rb +6 -2
  72. data/lib/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rb +6 -2
  73. data/lib/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rb +6 -2
  74. data/lib/orb/models/new_subscription_threshold_total_amount_price.rb +6 -2
  75. data/lib/orb/models/new_subscription_tiered_package_price.rb +6 -2
  76. data/lib/orb/models/new_subscription_tiered_package_with_minimum_price.rb +6 -2
  77. data/lib/orb/models/new_subscription_tiered_price.rb +6 -2
  78. data/lib/orb/models/new_subscription_tiered_with_minimum_price.rb +6 -2
  79. data/lib/orb/models/new_subscription_unit_price.rb +6 -2
  80. data/lib/orb/models/new_subscription_unit_with_percent_price.rb +6 -2
  81. data/lib/orb/models/new_subscription_unit_with_proration_price.rb +6 -2
  82. data/lib/orb/models/plan_create_params.rb +68 -23
  83. data/lib/orb/models/price_create_params.rb +54 -18
  84. data/lib/orb/models/price_evaluate_multiple_params.rb +54 -18
  85. data/lib/orb/models/price_evaluate_preview_events_params.rb +54 -18
  86. data/lib/orb/models/subscription_create_params.rb +120 -40
  87. data/lib/orb/models/subscription_price_intervals_params.rb +54 -18
  88. data/lib/orb/models/subscription_schedule_plan_change_params.rb +120 -40
  89. data/lib/orb/version.rb +1 -1
  90. data/rbi/orb/models/beta/external_plan_id_create_plan_version_params.rbi +228 -48
  91. data/rbi/orb/models/beta_create_plan_version_params.rbi +228 -48
  92. data/rbi/orb/models/new_floating_bulk_price.rbi +10 -2
  93. data/rbi/orb/models/new_floating_bulk_with_proration_price.rbi +10 -2
  94. data/rbi/orb/models/new_floating_cumulative_grouped_bulk_price.rbi +10 -2
  95. data/rbi/orb/models/new_floating_grouped_allocation_price.rbi +10 -2
  96. data/rbi/orb/models/new_floating_grouped_tiered_package_price.rbi +10 -2
  97. data/rbi/orb/models/new_floating_grouped_tiered_price.rbi +10 -2
  98. data/rbi/orb/models/new_floating_grouped_with_metered_minimum_price.rbi +10 -2
  99. data/rbi/orb/models/new_floating_grouped_with_prorated_minimum_price.rbi +10 -2
  100. data/rbi/orb/models/new_floating_matrix_price.rbi +10 -2
  101. data/rbi/orb/models/new_floating_matrix_with_allocation_price.rbi +10 -2
  102. data/rbi/orb/models/new_floating_matrix_with_display_name_price.rbi +10 -2
  103. data/rbi/orb/models/new_floating_max_group_tiered_package_price.rbi +10 -2
  104. data/rbi/orb/models/new_floating_minimum_composite_price.rbi +10 -2
  105. data/rbi/orb/models/new_floating_package_price.rbi +10 -2
  106. data/rbi/orb/models/new_floating_package_with_allocation_price.rbi +10 -2
  107. data/rbi/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rbi +10 -2
  108. data/rbi/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rbi +10 -2
  109. data/rbi/orb/models/new_floating_threshold_total_amount_price.rbi +10 -2
  110. data/rbi/orb/models/new_floating_tiered_package_price.rbi +10 -2
  111. data/rbi/orb/models/new_floating_tiered_package_with_minimum_price.rbi +10 -2
  112. data/rbi/orb/models/new_floating_tiered_price.rbi +10 -2
  113. data/rbi/orb/models/new_floating_tiered_with_minimum_price.rbi +10 -2
  114. data/rbi/orb/models/new_floating_tiered_with_proration_price.rbi +10 -2
  115. data/rbi/orb/models/new_floating_unit_price.rbi +10 -2
  116. data/rbi/orb/models/new_floating_unit_with_percent_price.rbi +10 -2
  117. data/rbi/orb/models/new_floating_unit_with_proration_price.rbi +10 -2
  118. data/rbi/orb/models/new_plan_bulk_price.rbi +10 -2
  119. data/rbi/orb/models/new_plan_bulk_with_proration_price.rbi +10 -2
  120. data/rbi/orb/models/new_plan_cumulative_grouped_bulk_price.rbi +10 -2
  121. data/rbi/orb/models/new_plan_grouped_allocation_price.rbi +10 -2
  122. data/rbi/orb/models/new_plan_grouped_tiered_package_price.rbi +10 -2
  123. data/rbi/orb/models/new_plan_grouped_tiered_price.rbi +10 -2
  124. data/rbi/orb/models/new_plan_grouped_with_metered_minimum_price.rbi +10 -2
  125. data/rbi/orb/models/new_plan_grouped_with_prorated_minimum_price.rbi +10 -2
  126. data/rbi/orb/models/new_plan_matrix_price.rbi +10 -2
  127. data/rbi/orb/models/new_plan_matrix_with_allocation_price.rbi +10 -2
  128. data/rbi/orb/models/new_plan_matrix_with_display_name_price.rbi +10 -2
  129. data/rbi/orb/models/new_plan_max_group_tiered_package_price.rbi +10 -2
  130. data/rbi/orb/models/new_plan_minimum_composite_price.rbi +10 -2
  131. data/rbi/orb/models/new_plan_package_price.rbi +10 -2
  132. data/rbi/orb/models/new_plan_package_with_allocation_price.rbi +10 -2
  133. data/rbi/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rbi +10 -2
  134. data/rbi/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rbi +10 -2
  135. data/rbi/orb/models/new_plan_threshold_total_amount_price.rbi +10 -2
  136. data/rbi/orb/models/new_plan_tiered_package_price.rbi +10 -2
  137. data/rbi/orb/models/new_plan_tiered_package_with_minimum_price.rbi +10 -2
  138. data/rbi/orb/models/new_plan_tiered_price.rbi +10 -2
  139. data/rbi/orb/models/new_plan_tiered_with_minimum_price.rbi +10 -2
  140. data/rbi/orb/models/new_plan_unit_price.rbi +10 -2
  141. data/rbi/orb/models/new_plan_unit_with_percent_price.rbi +10 -2
  142. data/rbi/orb/models/new_plan_unit_with_proration_price.rbi +10 -2
  143. data/rbi/orb/models/new_subscription_bulk_price.rbi +10 -2
  144. data/rbi/orb/models/new_subscription_bulk_with_proration_price.rbi +10 -2
  145. data/rbi/orb/models/new_subscription_cumulative_grouped_bulk_price.rbi +10 -2
  146. data/rbi/orb/models/new_subscription_grouped_allocation_price.rbi +10 -2
  147. data/rbi/orb/models/new_subscription_grouped_tiered_package_price.rbi +10 -2
  148. data/rbi/orb/models/new_subscription_grouped_tiered_price.rbi +10 -2
  149. data/rbi/orb/models/new_subscription_grouped_with_metered_minimum_price.rbi +10 -2
  150. data/rbi/orb/models/new_subscription_grouped_with_prorated_minimum_price.rbi +10 -2
  151. data/rbi/orb/models/new_subscription_matrix_price.rbi +10 -2
  152. data/rbi/orb/models/new_subscription_matrix_with_allocation_price.rbi +10 -2
  153. data/rbi/orb/models/new_subscription_matrix_with_display_name_price.rbi +10 -2
  154. data/rbi/orb/models/new_subscription_max_group_tiered_package_price.rbi +10 -2
  155. data/rbi/orb/models/new_subscription_minimum_composite_price.rbi +10 -2
  156. data/rbi/orb/models/new_subscription_package_price.rbi +10 -2
  157. data/rbi/orb/models/new_subscription_package_with_allocation_price.rbi +10 -2
  158. data/rbi/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rbi +10 -2
  159. data/rbi/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rbi +10 -2
  160. data/rbi/orb/models/new_subscription_threshold_total_amount_price.rbi +10 -2
  161. data/rbi/orb/models/new_subscription_tiered_package_price.rbi +10 -2
  162. data/rbi/orb/models/new_subscription_tiered_package_with_minimum_price.rbi +10 -2
  163. data/rbi/orb/models/new_subscription_tiered_price.rbi +10 -2
  164. data/rbi/orb/models/new_subscription_tiered_with_minimum_price.rbi +10 -2
  165. data/rbi/orb/models/new_subscription_unit_price.rbi +10 -2
  166. data/rbi/orb/models/new_subscription_unit_with_percent_price.rbi +10 -2
  167. data/rbi/orb/models/new_subscription_unit_with_proration_price.rbi +10 -2
  168. data/rbi/orb/models/plan_create_params.rbi +114 -24
  169. data/rbi/orb/models/price_create_params.rbi +90 -18
  170. data/rbi/orb/models/price_evaluate_multiple_params.rbi +90 -18
  171. data/rbi/orb/models/price_evaluate_preview_events_params.rbi +90 -18
  172. data/rbi/orb/models/subscription_create_params.rbi +200 -40
  173. data/rbi/orb/models/subscription_price_intervals_params.rbi +90 -18
  174. data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +200 -40
  175. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c12cf6290d59fdfbe36363756a6faa1e1b1edaafc01c4f4fbc6ab3dc898de7a
4
- data.tar.gz: ffeb5a57b526735247d9256f825b1998b3fb5cc4f4e5017995ea0d4175917df5
3
+ metadata.gz: 9963c97978a5d148cea925094ef65f1f198cb85230d9ea6fdfc0988d6c92df2e
4
+ data.tar.gz: 39ada2b3ae8568cbf46ed3d80a8c6a4bf9539546cd510f9cc7cca83912fd964f
5
5
  SHA512:
6
- metadata.gz: 9b63ed1f28b0e9935bf91cde9c2e4685f984aec88f424d61673cc6609f7b3716a1c7b597818aabd4f7b28b4329ce1658604d01c88e7c41fb2dd17f0504ef4b1b
7
- data.tar.gz: e87a204410f241783b196af74f0af0642d27bcc84aa68e99213b810622bc1a17a4b2ba4797373805a40026a2b3c3c8f1a02509cb4777b02200fb51a1e7beae9b
6
+ metadata.gz: 376cf1aa3abd49b701bfba2b33bdbd4976c5916e798014a83b08ea2e6f0b709bf981046616fbef1f475559f9dd6f0e2738f147d1c221da7ced3695c9b98bc8eb
7
+ data.tar.gz: aee8e43ed717d30c552b3b7a021113c9079615282fcdbff4c43fc1be3a60ff9a8f079287240b07151346b0630c324856c650eda5c4f1ab4773405a6251319a6f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.27.0](https://github.com/orbcorp/orb-ruby/compare/v1.26.0...v1.27.0) (2026-08-19)
4
+
5
+
6
+ ### Features
7
+
8
+ * **api:** api update ([da11b3c](https://github.com/orbcorp/orb-ruby/commit/da11b3c2eb302a4f3ddef2da41f57d53eb5d5100))
9
+
3
10
  ## [1.26.0](https://github.com/orbcorp/orb-ruby/compare/v1.25.0...v1.26.0) (2026-08-07)
4
11
 
5
12
 
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "orb-billing", "~> 1.26.0"
18
+ gem "orb-billing", "~> 1.27.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -417,7 +417,8 @@ module Orb
417
417
  # @!attribute license_allocations
418
418
  # License allocations to associate with this price. Each entry defines a
419
419
  # per-license credit pool granted each cadence. Requires license_type_id or
420
- # license_type_configuration to be set.
420
+ # license_type_configuration to be set. Usage prices draw down from these
421
+ # allocations only if they set the same license type.
421
422
  #
422
423
  # @return [Array<Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::LicenseAllocation>]
423
424
  required :license_allocations,
@@ -519,7 +520,11 @@ module Orb
519
520
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
520
521
 
521
522
  # @!attribute license_type_id
522
- # The ID of the license type to associate with this price.
523
+ # The ID of the license type to associate with this price. On a usage price this
524
+ # also marks the price as eligible to draw down from that license type's
525
+ # allocation; a usage price created without it is billed normally. Usage prices
526
+ # with a license type must use the `unit` model, and only draw down when their
527
+ # currency matches the allocation's.
523
528
  #
524
529
  # @return [String, nil]
525
530
  optional :license_type_id, String, nil?: true
@@ -580,7 +585,7 @@ module Orb
580
585
  #
581
586
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
582
587
  #
583
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
588
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
584
589
  #
585
590
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
586
591
  #
@@ -840,7 +845,11 @@ module Orb
840
845
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
841
846
 
842
847
  # @!attribute license_type_id
843
- # The ID of the license type to associate with this price.
848
+ # The ID of the license type to associate with this price. On a usage price this
849
+ # also marks the price as eligible to draw down from that license type's
850
+ # allocation; a usage price created without it is billed normally. Usage prices
851
+ # with a license type must use the `unit` model, and only draw down when their
852
+ # currency matches the allocation's.
844
853
  #
845
854
  # @return [String, nil]
846
855
  optional :license_type_id, String, nil?: true
@@ -895,7 +904,7 @@ module Orb
895
904
  #
896
905
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
897
906
  #
898
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
907
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
899
908
  #
900
909
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
901
910
  #
@@ -1105,7 +1114,11 @@ module Orb
1105
1114
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1106
1115
 
1107
1116
  # @!attribute license_type_id
1108
- # The ID of the license type to associate with this price.
1117
+ # The ID of the license type to associate with this price. On a usage price this
1118
+ # also marks the price as eligible to draw down from that license type's
1119
+ # allocation; a usage price created without it is billed normally. Usage prices
1120
+ # with a license type must use the `unit` model, and only draw down when their
1121
+ # currency matches the allocation's.
1109
1122
  #
1110
1123
  # @return [String, nil]
1111
1124
  optional :license_type_id, String, nil?: true
@@ -1160,7 +1173,7 @@ module Orb
1160
1173
  #
1161
1174
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1162
1175
  #
1163
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1176
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1164
1177
  #
1165
1178
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1166
1179
  #
@@ -1364,7 +1377,11 @@ module Orb
1364
1377
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1365
1378
 
1366
1379
  # @!attribute license_type_id
1367
- # The ID of the license type to associate with this price.
1380
+ # The ID of the license type to associate with this price. On a usage price this
1381
+ # also marks the price as eligible to draw down from that license type's
1382
+ # allocation; a usage price created without it is billed normally. Usage prices
1383
+ # with a license type must use the `unit` model, and only draw down when their
1384
+ # currency matches the allocation's.
1368
1385
  #
1369
1386
  # @return [String, nil]
1370
1387
  optional :license_type_id, String, nil?: true
@@ -1419,7 +1436,7 @@ module Orb
1419
1436
  #
1420
1437
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1421
1438
  #
1422
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1439
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1423
1440
  #
1424
1441
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1425
1442
  #
@@ -1680,7 +1697,11 @@ module Orb
1680
1697
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1681
1698
 
1682
1699
  # @!attribute license_type_id
1683
- # The ID of the license type to associate with this price.
1700
+ # The ID of the license type to associate with this price. On a usage price this
1701
+ # also marks the price as eligible to draw down from that license type's
1702
+ # allocation; a usage price created without it is billed normally. Usage prices
1703
+ # with a license type must use the `unit` model, and only draw down when their
1704
+ # currency matches the allocation's.
1684
1705
  #
1685
1706
  # @return [String, nil]
1686
1707
  optional :license_type_id, String, nil?: true
@@ -1735,7 +1756,7 @@ module Orb
1735
1756
  #
1736
1757
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1737
1758
  #
1738
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1759
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1739
1760
  #
1740
1761
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1741
1762
  #
@@ -1916,7 +1937,11 @@ module Orb
1916
1937
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
1917
1938
 
1918
1939
  # @!attribute license_type_id
1919
- # The ID of the license type to associate with this price.
1940
+ # The ID of the license type to associate with this price. On a usage price this
1941
+ # also marks the price as eligible to draw down from that license type's
1942
+ # allocation; a usage price created without it is billed normally. Usage prices
1943
+ # with a license type must use the `unit` model, and only draw down when their
1944
+ # currency matches the allocation's.
1920
1945
  #
1921
1946
  # @return [String, nil]
1922
1947
  optional :license_type_id, String, nil?: true
@@ -1971,7 +1996,7 @@ module Orb
1971
1996
  #
1972
1997
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
1973
1998
  #
1974
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
1999
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
1975
2000
  #
1976
2001
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
1977
2002
  #
@@ -2145,7 +2170,11 @@ module Orb
2145
2170
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
2146
2171
 
2147
2172
  # @!attribute license_type_id
2148
- # The ID of the license type to associate with this price.
2173
+ # The ID of the license type to associate with this price. On a usage price this
2174
+ # also marks the price as eligible to draw down from that license type's
2175
+ # allocation; a usage price created without it is billed normally. Usage prices
2176
+ # with a license type must use the `unit` model, and only draw down when their
2177
+ # currency matches the allocation's.
2149
2178
  #
2150
2179
  # @return [String, nil]
2151
2180
  optional :license_type_id, String, nil?: true
@@ -2200,7 +2229,7 @@ module Orb
2200
2229
  #
2201
2230
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
2202
2231
  #
2203
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
2232
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
2204
2233
  #
2205
2234
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
2206
2235
  #
@@ -2374,7 +2403,11 @@ module Orb
2374
2403
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
2375
2404
 
2376
2405
  # @!attribute license_type_id
2377
- # The ID of the license type to associate with this price.
2406
+ # The ID of the license type to associate with this price. On a usage price this
2407
+ # also marks the price as eligible to draw down from that license type's
2408
+ # allocation; a usage price created without it is billed normally. Usage prices
2409
+ # with a license type must use the `unit` model, and only draw down when their
2410
+ # currency matches the allocation's.
2378
2411
  #
2379
2412
  # @return [String, nil]
2380
2413
  optional :license_type_id, String, nil?: true
@@ -2429,7 +2462,7 @@ module Orb
2429
2462
  #
2430
2463
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
2431
2464
  #
2432
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
2465
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
2433
2466
  #
2434
2467
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
2435
2468
  #
@@ -2650,7 +2683,11 @@ module Orb
2650
2683
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
2651
2684
 
2652
2685
  # @!attribute license_type_id
2653
- # The ID of the license type to associate with this price.
2686
+ # The ID of the license type to associate with this price. On a usage price this
2687
+ # also marks the price as eligible to draw down from that license type's
2688
+ # allocation; a usage price created without it is billed normally. Usage prices
2689
+ # with a license type must use the `unit` model, and only draw down when their
2690
+ # currency matches the allocation's.
2654
2691
  #
2655
2692
  # @return [String, nil]
2656
2693
  optional :license_type_id, String, nil?: true
@@ -2705,7 +2742,7 @@ module Orb
2705
2742
  #
2706
2743
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
2707
2744
  #
2708
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
2745
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
2709
2746
  #
2710
2747
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
2711
2748
  #
@@ -2904,7 +2941,11 @@ module Orb
2904
2941
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
2905
2942
 
2906
2943
  # @!attribute license_type_id
2907
- # The ID of the license type to associate with this price.
2944
+ # The ID of the license type to associate with this price. On a usage price this
2945
+ # also marks the price as eligible to draw down from that license type's
2946
+ # allocation; a usage price created without it is billed normally. Usage prices
2947
+ # with a license type must use the `unit` model, and only draw down when their
2948
+ # currency matches the allocation's.
2908
2949
  #
2909
2950
  # @return [String, nil]
2910
2951
  optional :license_type_id, String, nil?: true
@@ -2959,7 +3000,7 @@ module Orb
2959
3000
  #
2960
3001
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
2961
3002
  #
2962
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
3003
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
2963
3004
  #
2964
3005
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
2965
3006
  #
@@ -3139,7 +3180,11 @@ module Orb
3139
3180
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
3140
3181
 
3141
3182
  # @!attribute license_type_id
3142
- # The ID of the license type to associate with this price.
3183
+ # The ID of the license type to associate with this price. On a usage price this
3184
+ # also marks the price as eligible to draw down from that license type's
3185
+ # allocation; a usage price created without it is billed normally. Usage prices
3186
+ # with a license type must use the `unit` model, and only draw down when their
3187
+ # currency matches the allocation's.
3143
3188
  #
3144
3189
  # @return [String, nil]
3145
3190
  optional :license_type_id, String, nil?: true
@@ -3194,7 +3239,7 @@ module Orb
3194
3239
  #
3195
3240
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
3196
3241
  #
3197
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
3242
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
3198
3243
  #
3199
3244
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
3200
3245
  #
@@ -3629,7 +3674,8 @@ module Orb
3629
3674
  # @!attribute license_allocations
3630
3675
  # License allocations to associate with this price. Each entry defines a
3631
3676
  # per-license credit pool granted each cadence. Requires license_type_id or
3632
- # license_type_configuration to be set.
3677
+ # license_type_configuration to be set. Usage prices draw down from these
3678
+ # allocations only if they set the same license type.
3633
3679
  #
3634
3680
  # @return [Array<Orb::Models::Beta::ExternalPlanIDCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::LicenseAllocation>]
3635
3681
  required :license_allocations,
@@ -3731,7 +3777,11 @@ module Orb
3731
3777
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
3732
3778
 
3733
3779
  # @!attribute license_type_id
3734
- # The ID of the license type to associate with this price.
3780
+ # The ID of the license type to associate with this price. On a usage price this
3781
+ # also marks the price as eligible to draw down from that license type's
3782
+ # allocation; a usage price created without it is billed normally. Usage prices
3783
+ # with a license type must use the `unit` model, and only draw down when their
3784
+ # currency matches the allocation's.
3735
3785
  #
3736
3786
  # @return [String, nil]
3737
3787
  optional :license_type_id, String, nil?: true
@@ -3792,7 +3842,7 @@ module Orb
3792
3842
  #
3793
3843
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
3794
3844
  #
3795
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
3845
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
3796
3846
  #
3797
3847
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
3798
3848
  #
@@ -4052,7 +4102,11 @@ module Orb
4052
4102
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
4053
4103
 
4054
4104
  # @!attribute license_type_id
4055
- # The ID of the license type to associate with this price.
4105
+ # The ID of the license type to associate with this price. On a usage price this
4106
+ # also marks the price as eligible to draw down from that license type's
4107
+ # allocation; a usage price created without it is billed normally. Usage prices
4108
+ # with a license type must use the `unit` model, and only draw down when their
4109
+ # currency matches the allocation's.
4056
4110
  #
4057
4111
  # @return [String, nil]
4058
4112
  optional :license_type_id, String, nil?: true
@@ -4107,7 +4161,7 @@ module Orb
4107
4161
  #
4108
4162
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
4109
4163
  #
4110
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
4164
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
4111
4165
  #
4112
4166
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
4113
4167
  #
@@ -4317,7 +4371,11 @@ module Orb
4317
4371
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
4318
4372
 
4319
4373
  # @!attribute license_type_id
4320
- # The ID of the license type to associate with this price.
4374
+ # The ID of the license type to associate with this price. On a usage price this
4375
+ # also marks the price as eligible to draw down from that license type's
4376
+ # allocation; a usage price created without it is billed normally. Usage prices
4377
+ # with a license type must use the `unit` model, and only draw down when their
4378
+ # currency matches the allocation's.
4321
4379
  #
4322
4380
  # @return [String, nil]
4323
4381
  optional :license_type_id, String, nil?: true
@@ -4372,7 +4430,7 @@ module Orb
4372
4430
  #
4373
4431
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
4374
4432
  #
4375
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
4433
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
4376
4434
  #
4377
4435
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
4378
4436
  #
@@ -4576,7 +4634,11 @@ module Orb
4576
4634
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
4577
4635
 
4578
4636
  # @!attribute license_type_id
4579
- # The ID of the license type to associate with this price.
4637
+ # The ID of the license type to associate with this price. On a usage price this
4638
+ # also marks the price as eligible to draw down from that license type's
4639
+ # allocation; a usage price created without it is billed normally. Usage prices
4640
+ # with a license type must use the `unit` model, and only draw down when their
4641
+ # currency matches the allocation's.
4580
4642
  #
4581
4643
  # @return [String, nil]
4582
4644
  optional :license_type_id, String, nil?: true
@@ -4631,7 +4693,7 @@ module Orb
4631
4693
  #
4632
4694
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
4633
4695
  #
4634
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
4696
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
4635
4697
  #
4636
4698
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
4637
4699
  #
@@ -4892,7 +4954,11 @@ module Orb
4892
4954
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
4893
4955
 
4894
4956
  # @!attribute license_type_id
4895
- # The ID of the license type to associate with this price.
4957
+ # The ID of the license type to associate with this price. On a usage price this
4958
+ # also marks the price as eligible to draw down from that license type's
4959
+ # allocation; a usage price created without it is billed normally. Usage prices
4960
+ # with a license type must use the `unit` model, and only draw down when their
4961
+ # currency matches the allocation's.
4896
4962
  #
4897
4963
  # @return [String, nil]
4898
4964
  optional :license_type_id, String, nil?: true
@@ -4947,7 +5013,7 @@ module Orb
4947
5013
  #
4948
5014
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
4949
5015
  #
4950
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
5016
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
4951
5017
  #
4952
5018
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
4953
5019
  #
@@ -5128,7 +5194,11 @@ module Orb
5128
5194
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
5129
5195
 
5130
5196
  # @!attribute license_type_id
5131
- # The ID of the license type to associate with this price.
5197
+ # The ID of the license type to associate with this price. On a usage price this
5198
+ # also marks the price as eligible to draw down from that license type's
5199
+ # allocation; a usage price created without it is billed normally. Usage prices
5200
+ # with a license type must use the `unit` model, and only draw down when their
5201
+ # currency matches the allocation's.
5132
5202
  #
5133
5203
  # @return [String, nil]
5134
5204
  optional :license_type_id, String, nil?: true
@@ -5183,7 +5253,7 @@ module Orb
5183
5253
  #
5184
5254
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
5185
5255
  #
5186
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
5256
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
5187
5257
  #
5188
5258
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
5189
5259
  #
@@ -5357,7 +5427,11 @@ module Orb
5357
5427
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
5358
5428
 
5359
5429
  # @!attribute license_type_id
5360
- # The ID of the license type to associate with this price.
5430
+ # The ID of the license type to associate with this price. On a usage price this
5431
+ # also marks the price as eligible to draw down from that license type's
5432
+ # allocation; a usage price created without it is billed normally. Usage prices
5433
+ # with a license type must use the `unit` model, and only draw down when their
5434
+ # currency matches the allocation's.
5361
5435
  #
5362
5436
  # @return [String, nil]
5363
5437
  optional :license_type_id, String, nil?: true
@@ -5412,7 +5486,7 @@ module Orb
5412
5486
  #
5413
5487
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
5414
5488
  #
5415
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
5489
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
5416
5490
  #
5417
5491
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
5418
5492
  #
@@ -5586,7 +5660,11 @@ module Orb
5586
5660
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
5587
5661
 
5588
5662
  # @!attribute license_type_id
5589
- # The ID of the license type to associate with this price.
5663
+ # The ID of the license type to associate with this price. On a usage price this
5664
+ # also marks the price as eligible to draw down from that license type's
5665
+ # allocation; a usage price created without it is billed normally. Usage prices
5666
+ # with a license type must use the `unit` model, and only draw down when their
5667
+ # currency matches the allocation's.
5590
5668
  #
5591
5669
  # @return [String, nil]
5592
5670
  optional :license_type_id, String, nil?: true
@@ -5641,7 +5719,7 @@ module Orb
5641
5719
  #
5642
5720
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
5643
5721
  #
5644
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
5722
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
5645
5723
  #
5646
5724
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
5647
5725
  #
@@ -5862,7 +5940,11 @@ module Orb
5862
5940
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
5863
5941
 
5864
5942
  # @!attribute license_type_id
5865
- # The ID of the license type to associate with this price.
5943
+ # The ID of the license type to associate with this price. On a usage price this
5944
+ # also marks the price as eligible to draw down from that license type's
5945
+ # allocation; a usage price created without it is billed normally. Usage prices
5946
+ # with a license type must use the `unit` model, and only draw down when their
5947
+ # currency matches the allocation's.
5866
5948
  #
5867
5949
  # @return [String, nil]
5868
5950
  optional :license_type_id, String, nil?: true
@@ -5917,7 +5999,7 @@ module Orb
5917
5999
  #
5918
6000
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
5919
6001
  #
5920
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
6002
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
5921
6003
  #
5922
6004
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
5923
6005
  #
@@ -6116,7 +6198,11 @@ module Orb
6116
6198
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
6117
6199
 
6118
6200
  # @!attribute license_type_id
6119
- # The ID of the license type to associate with this price.
6201
+ # The ID of the license type to associate with this price. On a usage price this
6202
+ # also marks the price as eligible to draw down from that license type's
6203
+ # allocation; a usage price created without it is billed normally. Usage prices
6204
+ # with a license type must use the `unit` model, and only draw down when their
6205
+ # currency matches the allocation's.
6120
6206
  #
6121
6207
  # @return [String, nil]
6122
6208
  optional :license_type_id, String, nil?: true
@@ -6171,7 +6257,7 @@ module Orb
6171
6257
  #
6172
6258
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
6173
6259
  #
6174
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
6260
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
6175
6261
  #
6176
6262
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
6177
6263
  #
@@ -6351,7 +6437,11 @@ module Orb
6351
6437
  optional :invoicing_cycle_configuration, -> { Orb::NewBillingCycleConfiguration }, nil?: true
6352
6438
 
6353
6439
  # @!attribute license_type_id
6354
- # The ID of the license type to associate with this price.
6440
+ # The ID of the license type to associate with this price. On a usage price this
6441
+ # also marks the price as eligible to draw down from that license type's
6442
+ # allocation; a usage price created without it is billed normally. Usage prices
6443
+ # with a license type must use the `unit` model, and only draw down when their
6444
+ # currency matches the allocation's.
6355
6445
  #
6356
6446
  # @return [String, nil]
6357
6447
  optional :license_type_id, String, nil?: true
@@ -6406,7 +6496,7 @@ module Orb
6406
6496
  #
6407
6497
  # @param invoicing_cycle_configuration [Orb::Models::NewBillingCycleConfiguration, nil] Within each billing cycle, specifies the cadence at which invoices are produced.
6408
6498
  #
6409
- # @param license_type_id [String, nil] The ID of the license type to associate with this price.
6499
+ # @param license_type_id [String, nil] The ID of the license type to associate with this price. On a usage price this a
6410
6500
  #
6411
6501
  # @param metadata [Hash{Symbol=>String, nil}, nil] User-specified key/value pairs for the resource. Individual keys can be removed
6412
6502
  #