orb-billing 1.1.0 → 1.2.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/README.md +1 -1
- data/lib/orb/models/monetary_amount_discount_adjustment.rb +10 -1
- data/lib/orb/models/monetary_maximum_adjustment.rb +10 -1
- data/lib/orb/models/monetary_minimum_adjustment.rb +10 -1
- data/lib/orb/models/monetary_percentage_discount_adjustment.rb +10 -1
- data/lib/orb/models/monetary_usage_discount_adjustment.rb +10 -1
- data/lib/orb/models/plan_phase_amount_discount_adjustment.rb +10 -1
- data/lib/orb/models/plan_phase_maximum_adjustment.rb +10 -1
- data/lib/orb/models/plan_phase_minimum_adjustment.rb +10 -1
- data/lib/orb/models/plan_phase_percentage_discount_adjustment.rb +10 -1
- data/lib/orb/models/plan_phase_usage_discount_adjustment.rb +10 -1
- data/lib/orb/models/price.rb +280 -28
- data/lib/orb/version.rb +1 -1
- data/rbi/orb/models/monetary_amount_discount_adjustment.rbi +13 -3
- data/rbi/orb/models/monetary_maximum_adjustment.rbi +13 -3
- data/rbi/orb/models/monetary_minimum_adjustment.rbi +13 -3
- data/rbi/orb/models/monetary_percentage_discount_adjustment.rbi +13 -3
- data/rbi/orb/models/monetary_usage_discount_adjustment.rbi +10 -0
- data/rbi/orb/models/plan_phase_amount_discount_adjustment.rbi +13 -3
- data/rbi/orb/models/plan_phase_maximum_adjustment.rbi +13 -3
- data/rbi/orb/models/plan_phase_minimum_adjustment.rbi +13 -3
- data/rbi/orb/models/plan_phase_percentage_discount_adjustment.rbi +13 -3
- data/rbi/orb/models/plan_phase_usage_discount_adjustment.rbi +10 -0
- data/rbi/orb/models/price.rbi +280 -0
- data/sig/orb/models/monetary_amount_discount_adjustment.rbs +8 -3
- data/sig/orb/models/monetary_maximum_adjustment.rbs +8 -3
- data/sig/orb/models/monetary_minimum_adjustment.rbs +8 -3
- data/sig/orb/models/monetary_percentage_discount_adjustment.rbs +8 -3
- data/sig/orb/models/monetary_usage_discount_adjustment.rbs +5 -0
- data/sig/orb/models/plan_phase_amount_discount_adjustment.rbs +8 -3
- data/sig/orb/models/plan_phase_maximum_adjustment.rbs +8 -3
- data/sig/orb/models/plan_phase_minimum_adjustment.rbs +8 -3
- data/sig/orb/models/plan_phase_percentage_discount_adjustment.rbs +8 -3
- data/sig/orb/models/plan_phase_usage_discount_adjustment.rbs +5 -0
- data/sig/orb/models/price.rbs +140 -0
- metadata +2 -2
data/lib/orb/models/price.rb
CHANGED
@@ -198,6 +198,13 @@ module Orb
|
|
198
198
|
# @return [Symbol, Orb::Models::Price::Unit::PriceType]
|
199
199
|
required :price_type, enum: -> { Orb::Price::Unit::PriceType }
|
200
200
|
|
201
|
+
# @!attribute replaces_price_id
|
202
|
+
# The price id this price replaces. This price will take the place of the replaced
|
203
|
+
# price in plan version migrations.
|
204
|
+
#
|
205
|
+
# @return [String, nil]
|
206
|
+
required :replaces_price_id, String, nil?: true
|
207
|
+
|
201
208
|
# @!attribute unit_config
|
202
209
|
#
|
203
210
|
# @return [Orb::Models::UnitConfig]
|
@@ -208,7 +215,7 @@ module Orb
|
|
208
215
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
209
216
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
210
217
|
|
211
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, unit_config:, dimensional_price_configuration: nil, model_type: :unit)
|
218
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, unit_config:, dimensional_price_configuration: nil, model_type: :unit)
|
212
219
|
# Some parameter documentations has been truncated, see {Orb::Models::Price::Unit}
|
213
220
|
# for more details.
|
214
221
|
#
|
@@ -256,6 +263,8 @@ module Orb
|
|
256
263
|
#
|
257
264
|
# @param price_type [Symbol, Orb::Models::Price::Unit::PriceType]
|
258
265
|
#
|
266
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
267
|
+
#
|
259
268
|
# @param unit_config [Orb::Models::UnitConfig]
|
260
269
|
#
|
261
270
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
@@ -433,12 +442,19 @@ module Orb
|
|
433
442
|
# @return [Symbol, Orb::Models::Price::Package::PriceType]
|
434
443
|
required :price_type, enum: -> { Orb::Price::Package::PriceType }
|
435
444
|
|
445
|
+
# @!attribute replaces_price_id
|
446
|
+
# The price id this price replaces. This price will take the place of the replaced
|
447
|
+
# price in plan version migrations.
|
448
|
+
#
|
449
|
+
# @return [String, nil]
|
450
|
+
required :replaces_price_id, String, nil?: true
|
451
|
+
|
436
452
|
# @!attribute dimensional_price_configuration
|
437
453
|
#
|
438
454
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
439
455
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
440
456
|
|
441
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, package_config:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :package)
|
457
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, package_config:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :package)
|
442
458
|
# Some parameter documentations has been truncated, see
|
443
459
|
# {Orb::Models::Price::Package} for more details.
|
444
460
|
#
|
@@ -488,6 +504,8 @@ module Orb
|
|
488
504
|
#
|
489
505
|
# @param price_type [Symbol, Orb::Models::Price::Package::PriceType]
|
490
506
|
#
|
507
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
508
|
+
#
|
491
509
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
492
510
|
#
|
493
511
|
# @param model_type [Symbol, :package]
|
@@ -663,12 +681,19 @@ module Orb
|
|
663
681
|
# @return [Symbol, Orb::Models::Price::Matrix::PriceType]
|
664
682
|
required :price_type, enum: -> { Orb::Price::Matrix::PriceType }
|
665
683
|
|
684
|
+
# @!attribute replaces_price_id
|
685
|
+
# The price id this price replaces. This price will take the place of the replaced
|
686
|
+
# price in plan version migrations.
|
687
|
+
#
|
688
|
+
# @return [String, nil]
|
689
|
+
required :replaces_price_id, String, nil?: true
|
690
|
+
|
666
691
|
# @!attribute dimensional_price_configuration
|
667
692
|
#
|
668
693
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
669
694
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
670
695
|
|
671
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, matrix_config:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :matrix)
|
696
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, matrix_config:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :matrix)
|
672
697
|
# Some parameter documentations has been truncated, see
|
673
698
|
# {Orb::Models::Price::Matrix} for more details.
|
674
699
|
#
|
@@ -718,6 +743,8 @@ module Orb
|
|
718
743
|
#
|
719
744
|
# @param price_type [Symbol, Orb::Models::Price::Matrix::PriceType]
|
720
745
|
#
|
746
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
747
|
+
#
|
721
748
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
722
749
|
#
|
723
750
|
# @param model_type [Symbol, :matrix]
|
@@ -888,6 +915,13 @@ module Orb
|
|
888
915
|
# @return [Symbol, Orb::Models::Price::Tiered::PriceType]
|
889
916
|
required :price_type, enum: -> { Orb::Price::Tiered::PriceType }
|
890
917
|
|
918
|
+
# @!attribute replaces_price_id
|
919
|
+
# The price id this price replaces. This price will take the place of the replaced
|
920
|
+
# price in plan version migrations.
|
921
|
+
#
|
922
|
+
# @return [String, nil]
|
923
|
+
required :replaces_price_id, String, nil?: true
|
924
|
+
|
891
925
|
# @!attribute tiered_config
|
892
926
|
#
|
893
927
|
# @return [Orb::Models::TieredConfig]
|
@@ -898,7 +932,7 @@ module Orb
|
|
898
932
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
899
933
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
900
934
|
|
901
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, tiered_config:, dimensional_price_configuration: nil, model_type: :tiered)
|
935
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, tiered_config:, dimensional_price_configuration: nil, model_type: :tiered)
|
902
936
|
# Some parameter documentations has been truncated, see
|
903
937
|
# {Orb::Models::Price::Tiered} for more details.
|
904
938
|
#
|
@@ -946,6 +980,8 @@ module Orb
|
|
946
980
|
#
|
947
981
|
# @param price_type [Symbol, Orb::Models::Price::Tiered::PriceType]
|
948
982
|
#
|
983
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
984
|
+
#
|
949
985
|
# @param tiered_config [Orb::Models::TieredConfig]
|
950
986
|
#
|
951
987
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
@@ -1122,6 +1158,13 @@ module Orb
|
|
1122
1158
|
# @return [Symbol, Orb::Models::Price::TieredBPS::PriceType]
|
1123
1159
|
required :price_type, enum: -> { Orb::Price::TieredBPS::PriceType }
|
1124
1160
|
|
1161
|
+
# @!attribute replaces_price_id
|
1162
|
+
# The price id this price replaces. This price will take the place of the replaced
|
1163
|
+
# price in plan version migrations.
|
1164
|
+
#
|
1165
|
+
# @return [String, nil]
|
1166
|
+
required :replaces_price_id, String, nil?: true
|
1167
|
+
|
1125
1168
|
# @!attribute tiered_bps_config
|
1126
1169
|
#
|
1127
1170
|
# @return [Orb::Models::TieredBPSConfig]
|
@@ -1132,7 +1175,7 @@ module Orb
|
|
1132
1175
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
1133
1176
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
1134
1177
|
|
1135
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, tiered_bps_config:, dimensional_price_configuration: nil, model_type: :tiered_bps)
|
1178
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, tiered_bps_config:, dimensional_price_configuration: nil, model_type: :tiered_bps)
|
1136
1179
|
# Some parameter documentations has been truncated, see
|
1137
1180
|
# {Orb::Models::Price::TieredBPS} for more details.
|
1138
1181
|
#
|
@@ -1180,6 +1223,8 @@ module Orb
|
|
1180
1223
|
#
|
1181
1224
|
# @param price_type [Symbol, Orb::Models::Price::TieredBPS::PriceType]
|
1182
1225
|
#
|
1226
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
1227
|
+
#
|
1183
1228
|
# @param tiered_bps_config [Orb::Models::TieredBPSConfig]
|
1184
1229
|
#
|
1185
1230
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
@@ -1357,12 +1402,19 @@ module Orb
|
|
1357
1402
|
# @return [Symbol, Orb::Models::Price::BPS::PriceType]
|
1358
1403
|
required :price_type, enum: -> { Orb::Price::BPS::PriceType }
|
1359
1404
|
|
1405
|
+
# @!attribute replaces_price_id
|
1406
|
+
# The price id this price replaces. This price will take the place of the replaced
|
1407
|
+
# price in plan version migrations.
|
1408
|
+
#
|
1409
|
+
# @return [String, nil]
|
1410
|
+
required :replaces_price_id, String, nil?: true
|
1411
|
+
|
1360
1412
|
# @!attribute dimensional_price_configuration
|
1361
1413
|
#
|
1362
1414
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
1363
1415
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
1364
1416
|
|
1365
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, bps_config:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :bps)
|
1417
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, bps_config:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :bps)
|
1366
1418
|
# Some parameter documentations has been truncated, see {Orb::Models::Price::BPS}
|
1367
1419
|
# for more details.
|
1368
1420
|
#
|
@@ -1412,6 +1464,8 @@ module Orb
|
|
1412
1464
|
#
|
1413
1465
|
# @param price_type [Symbol, Orb::Models::Price::BPS::PriceType]
|
1414
1466
|
#
|
1467
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
1468
|
+
#
|
1415
1469
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
1416
1470
|
#
|
1417
1471
|
# @param model_type [Symbol, :bps]
|
@@ -1587,12 +1641,19 @@ module Orb
|
|
1587
1641
|
# @return [Symbol, Orb::Models::Price::BulkBPS::PriceType]
|
1588
1642
|
required :price_type, enum: -> { Orb::Price::BulkBPS::PriceType }
|
1589
1643
|
|
1644
|
+
# @!attribute replaces_price_id
|
1645
|
+
# The price id this price replaces. This price will take the place of the replaced
|
1646
|
+
# price in plan version migrations.
|
1647
|
+
#
|
1648
|
+
# @return [String, nil]
|
1649
|
+
required :replaces_price_id, String, nil?: true
|
1650
|
+
|
1590
1651
|
# @!attribute dimensional_price_configuration
|
1591
1652
|
#
|
1592
1653
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
1593
1654
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
1594
1655
|
|
1595
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, bulk_bps_config:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :bulk_bps)
|
1656
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, bulk_bps_config:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :bulk_bps)
|
1596
1657
|
# Some parameter documentations has been truncated, see
|
1597
1658
|
# {Orb::Models::Price::BulkBPS} for more details.
|
1598
1659
|
#
|
@@ -1642,6 +1703,8 @@ module Orb
|
|
1642
1703
|
#
|
1643
1704
|
# @param price_type [Symbol, Orb::Models::Price::BulkBPS::PriceType]
|
1644
1705
|
#
|
1706
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
1707
|
+
#
|
1645
1708
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
1646
1709
|
#
|
1647
1710
|
# @param model_type [Symbol, :bulk_bps]
|
@@ -1817,12 +1880,19 @@ module Orb
|
|
1817
1880
|
# @return [Symbol, Orb::Models::Price::Bulk::PriceType]
|
1818
1881
|
required :price_type, enum: -> { Orb::Price::Bulk::PriceType }
|
1819
1882
|
|
1883
|
+
# @!attribute replaces_price_id
|
1884
|
+
# The price id this price replaces. This price will take the place of the replaced
|
1885
|
+
# price in plan version migrations.
|
1886
|
+
#
|
1887
|
+
# @return [String, nil]
|
1888
|
+
required :replaces_price_id, String, nil?: true
|
1889
|
+
|
1820
1890
|
# @!attribute dimensional_price_configuration
|
1821
1891
|
#
|
1822
1892
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
1823
1893
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
1824
1894
|
|
1825
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, bulk_config:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :bulk)
|
1895
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, bulk_config:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :bulk)
|
1826
1896
|
# Some parameter documentations has been truncated, see {Orb::Models::Price::Bulk}
|
1827
1897
|
# for more details.
|
1828
1898
|
#
|
@@ -1872,6 +1942,8 @@ module Orb
|
|
1872
1942
|
#
|
1873
1943
|
# @param price_type [Symbol, Orb::Models::Price::Bulk::PriceType]
|
1874
1944
|
#
|
1945
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
1946
|
+
#
|
1875
1947
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
1876
1948
|
#
|
1877
1949
|
# @param model_type [Symbol, :bulk]
|
@@ -2044,6 +2116,13 @@ module Orb
|
|
2044
2116
|
# @return [Symbol, Orb::Models::Price::ThresholdTotalAmount::PriceType]
|
2045
2117
|
required :price_type, enum: -> { Orb::Price::ThresholdTotalAmount::PriceType }
|
2046
2118
|
|
2119
|
+
# @!attribute replaces_price_id
|
2120
|
+
# The price id this price replaces. This price will take the place of the replaced
|
2121
|
+
# price in plan version migrations.
|
2122
|
+
#
|
2123
|
+
# @return [String, nil]
|
2124
|
+
required :replaces_price_id, String, nil?: true
|
2125
|
+
|
2047
2126
|
# @!attribute threshold_total_amount_config
|
2048
2127
|
#
|
2049
2128
|
# @return [Hash{Symbol=>Object}]
|
@@ -2054,7 +2133,7 @@ module Orb
|
|
2054
2133
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
2055
2134
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
2056
2135
|
|
2057
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, threshold_total_amount_config:, dimensional_price_configuration: nil, model_type: :threshold_total_amount)
|
2136
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, threshold_total_amount_config:, dimensional_price_configuration: nil, model_type: :threshold_total_amount)
|
2058
2137
|
# Some parameter documentations has been truncated, see
|
2059
2138
|
# {Orb::Models::Price::ThresholdTotalAmount} for more details.
|
2060
2139
|
#
|
@@ -2102,6 +2181,8 @@ module Orb
|
|
2102
2181
|
#
|
2103
2182
|
# @param price_type [Symbol, Orb::Models::Price::ThresholdTotalAmount::PriceType]
|
2104
2183
|
#
|
2184
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
2185
|
+
#
|
2105
2186
|
# @param threshold_total_amount_config [Hash{Symbol=>Object}]
|
2106
2187
|
#
|
2107
2188
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
@@ -2276,6 +2357,13 @@ module Orb
|
|
2276
2357
|
# @return [Symbol, Orb::Models::Price::TieredPackage::PriceType]
|
2277
2358
|
required :price_type, enum: -> { Orb::Price::TieredPackage::PriceType }
|
2278
2359
|
|
2360
|
+
# @!attribute replaces_price_id
|
2361
|
+
# The price id this price replaces. This price will take the place of the replaced
|
2362
|
+
# price in plan version migrations.
|
2363
|
+
#
|
2364
|
+
# @return [String, nil]
|
2365
|
+
required :replaces_price_id, String, nil?: true
|
2366
|
+
|
2279
2367
|
# @!attribute tiered_package_config
|
2280
2368
|
#
|
2281
2369
|
# @return [Hash{Symbol=>Object}]
|
@@ -2286,7 +2374,7 @@ module Orb
|
|
2286
2374
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
2287
2375
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
2288
2376
|
|
2289
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, tiered_package_config:, dimensional_price_configuration: nil, model_type: :tiered_package)
|
2377
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, tiered_package_config:, dimensional_price_configuration: nil, model_type: :tiered_package)
|
2290
2378
|
# Some parameter documentations has been truncated, see
|
2291
2379
|
# {Orb::Models::Price::TieredPackage} for more details.
|
2292
2380
|
#
|
@@ -2334,6 +2422,8 @@ module Orb
|
|
2334
2422
|
#
|
2335
2423
|
# @param price_type [Symbol, Orb::Models::Price::TieredPackage::PriceType]
|
2336
2424
|
#
|
2425
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
2426
|
+
#
|
2337
2427
|
# @param tiered_package_config [Hash{Symbol=>Object}]
|
2338
2428
|
#
|
2339
2429
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
@@ -2513,12 +2603,19 @@ module Orb
|
|
2513
2603
|
# @return [Symbol, Orb::Models::Price::GroupedTiered::PriceType]
|
2514
2604
|
required :price_type, enum: -> { Orb::Price::GroupedTiered::PriceType }
|
2515
2605
|
|
2606
|
+
# @!attribute replaces_price_id
|
2607
|
+
# The price id this price replaces. This price will take the place of the replaced
|
2608
|
+
# price in plan version migrations.
|
2609
|
+
#
|
2610
|
+
# @return [String, nil]
|
2611
|
+
required :replaces_price_id, String, nil?: true
|
2612
|
+
|
2516
2613
|
# @!attribute dimensional_price_configuration
|
2517
2614
|
#
|
2518
2615
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
2519
2616
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
2520
2617
|
|
2521
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, grouped_tiered_config:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :grouped_tiered)
|
2618
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, grouped_tiered_config:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :grouped_tiered)
|
2522
2619
|
# Some parameter documentations has been truncated, see
|
2523
2620
|
# {Orb::Models::Price::GroupedTiered} for more details.
|
2524
2621
|
#
|
@@ -2568,6 +2665,8 @@ module Orb
|
|
2568
2665
|
#
|
2569
2666
|
# @param price_type [Symbol, Orb::Models::Price::GroupedTiered::PriceType]
|
2570
2667
|
#
|
2668
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
2669
|
+
#
|
2571
2670
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
2572
2671
|
#
|
2573
2672
|
# @param model_type [Symbol, :grouped_tiered]
|
@@ -2740,6 +2839,13 @@ module Orb
|
|
2740
2839
|
# @return [Symbol, Orb::Models::Price::TieredWithMinimum::PriceType]
|
2741
2840
|
required :price_type, enum: -> { Orb::Price::TieredWithMinimum::PriceType }
|
2742
2841
|
|
2842
|
+
# @!attribute replaces_price_id
|
2843
|
+
# The price id this price replaces. This price will take the place of the replaced
|
2844
|
+
# price in plan version migrations.
|
2845
|
+
#
|
2846
|
+
# @return [String, nil]
|
2847
|
+
required :replaces_price_id, String, nil?: true
|
2848
|
+
|
2743
2849
|
# @!attribute tiered_with_minimum_config
|
2744
2850
|
#
|
2745
2851
|
# @return [Hash{Symbol=>Object}]
|
@@ -2750,7 +2856,7 @@ module Orb
|
|
2750
2856
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
2751
2857
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
2752
2858
|
|
2753
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, tiered_with_minimum_config:, dimensional_price_configuration: nil, model_type: :tiered_with_minimum)
|
2859
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, tiered_with_minimum_config:, dimensional_price_configuration: nil, model_type: :tiered_with_minimum)
|
2754
2860
|
# Some parameter documentations has been truncated, see
|
2755
2861
|
# {Orb::Models::Price::TieredWithMinimum} for more details.
|
2756
2862
|
#
|
@@ -2798,6 +2904,8 @@ module Orb
|
|
2798
2904
|
#
|
2799
2905
|
# @param price_type [Symbol, Orb::Models::Price::TieredWithMinimum::PriceType]
|
2800
2906
|
#
|
2907
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
2908
|
+
#
|
2801
2909
|
# @param tiered_with_minimum_config [Hash{Symbol=>Object}]
|
2802
2910
|
#
|
2803
2911
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
@@ -2972,6 +3080,13 @@ module Orb
|
|
2972
3080
|
# @return [Symbol, Orb::Models::Price::TieredPackageWithMinimum::PriceType]
|
2973
3081
|
required :price_type, enum: -> { Orb::Price::TieredPackageWithMinimum::PriceType }
|
2974
3082
|
|
3083
|
+
# @!attribute replaces_price_id
|
3084
|
+
# The price id this price replaces. This price will take the place of the replaced
|
3085
|
+
# price in plan version migrations.
|
3086
|
+
#
|
3087
|
+
# @return [String, nil]
|
3088
|
+
required :replaces_price_id, String, nil?: true
|
3089
|
+
|
2975
3090
|
# @!attribute tiered_package_with_minimum_config
|
2976
3091
|
#
|
2977
3092
|
# @return [Hash{Symbol=>Object}]
|
@@ -2983,7 +3098,7 @@ module Orb
|
|
2983
3098
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
2984
3099
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
2985
3100
|
|
2986
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, tiered_package_with_minimum_config:, dimensional_price_configuration: nil, model_type: :tiered_package_with_minimum)
|
3101
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, tiered_package_with_minimum_config:, dimensional_price_configuration: nil, model_type: :tiered_package_with_minimum)
|
2987
3102
|
# Some parameter documentations has been truncated, see
|
2988
3103
|
# {Orb::Models::Price::TieredPackageWithMinimum} for more details.
|
2989
3104
|
#
|
@@ -3031,6 +3146,8 @@ module Orb
|
|
3031
3146
|
#
|
3032
3147
|
# @param price_type [Symbol, Orb::Models::Price::TieredPackageWithMinimum::PriceType]
|
3033
3148
|
#
|
3149
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
3150
|
+
#
|
3034
3151
|
# @param tiered_package_with_minimum_config [Hash{Symbol=>Object}]
|
3035
3152
|
#
|
3036
3153
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
@@ -3210,12 +3327,19 @@ module Orb
|
|
3210
3327
|
# @return [Symbol, Orb::Models::Price::PackageWithAllocation::PriceType]
|
3211
3328
|
required :price_type, enum: -> { Orb::Price::PackageWithAllocation::PriceType }
|
3212
3329
|
|
3330
|
+
# @!attribute replaces_price_id
|
3331
|
+
# The price id this price replaces. This price will take the place of the replaced
|
3332
|
+
# price in plan version migrations.
|
3333
|
+
#
|
3334
|
+
# @return [String, nil]
|
3335
|
+
required :replaces_price_id, String, nil?: true
|
3336
|
+
|
3213
3337
|
# @!attribute dimensional_price_configuration
|
3214
3338
|
#
|
3215
3339
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
3216
3340
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
3217
3341
|
|
3218
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, package_with_allocation_config:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :package_with_allocation)
|
3342
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, package_with_allocation_config:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :package_with_allocation)
|
3219
3343
|
# Some parameter documentations has been truncated, see
|
3220
3344
|
# {Orb::Models::Price::PackageWithAllocation} for more details.
|
3221
3345
|
#
|
@@ -3265,6 +3389,8 @@ module Orb
|
|
3265
3389
|
#
|
3266
3390
|
# @param price_type [Symbol, Orb::Models::Price::PackageWithAllocation::PriceType]
|
3267
3391
|
#
|
3392
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
3393
|
+
#
|
3268
3394
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
3269
3395
|
#
|
3270
3396
|
# @param model_type [Symbol, :package_with_allocation]
|
@@ -3437,6 +3563,13 @@ module Orb
|
|
3437
3563
|
# @return [Symbol, Orb::Models::Price::UnitWithPercent::PriceType]
|
3438
3564
|
required :price_type, enum: -> { Orb::Price::UnitWithPercent::PriceType }
|
3439
3565
|
|
3566
|
+
# @!attribute replaces_price_id
|
3567
|
+
# The price id this price replaces. This price will take the place of the replaced
|
3568
|
+
# price in plan version migrations.
|
3569
|
+
#
|
3570
|
+
# @return [String, nil]
|
3571
|
+
required :replaces_price_id, String, nil?: true
|
3572
|
+
|
3440
3573
|
# @!attribute unit_with_percent_config
|
3441
3574
|
#
|
3442
3575
|
# @return [Hash{Symbol=>Object}]
|
@@ -3447,7 +3580,7 @@ module Orb
|
|
3447
3580
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
3448
3581
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
3449
3582
|
|
3450
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, unit_with_percent_config:, dimensional_price_configuration: nil, model_type: :unit_with_percent)
|
3583
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, unit_with_percent_config:, dimensional_price_configuration: nil, model_type: :unit_with_percent)
|
3451
3584
|
# Some parameter documentations has been truncated, see
|
3452
3585
|
# {Orb::Models::Price::UnitWithPercent} for more details.
|
3453
3586
|
#
|
@@ -3495,6 +3628,8 @@ module Orb
|
|
3495
3628
|
#
|
3496
3629
|
# @param price_type [Symbol, Orb::Models::Price::UnitWithPercent::PriceType]
|
3497
3630
|
#
|
3631
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
3632
|
+
#
|
3498
3633
|
# @param unit_with_percent_config [Hash{Symbol=>Object}]
|
3499
3634
|
#
|
3500
3635
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
@@ -3674,12 +3809,19 @@ module Orb
|
|
3674
3809
|
# @return [Symbol, Orb::Models::Price::MatrixWithAllocation::PriceType]
|
3675
3810
|
required :price_type, enum: -> { Orb::Price::MatrixWithAllocation::PriceType }
|
3676
3811
|
|
3812
|
+
# @!attribute replaces_price_id
|
3813
|
+
# The price id this price replaces. This price will take the place of the replaced
|
3814
|
+
# price in plan version migrations.
|
3815
|
+
#
|
3816
|
+
# @return [String, nil]
|
3817
|
+
required :replaces_price_id, String, nil?: true
|
3818
|
+
|
3677
3819
|
# @!attribute dimensional_price_configuration
|
3678
3820
|
#
|
3679
3821
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
3680
3822
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
3681
3823
|
|
3682
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, matrix_with_allocation_config:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :matrix_with_allocation)
|
3824
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, matrix_with_allocation_config:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :matrix_with_allocation)
|
3683
3825
|
# Some parameter documentations has been truncated, see
|
3684
3826
|
# {Orb::Models::Price::MatrixWithAllocation} for more details.
|
3685
3827
|
#
|
@@ -3729,6 +3871,8 @@ module Orb
|
|
3729
3871
|
#
|
3730
3872
|
# @param price_type [Symbol, Orb::Models::Price::MatrixWithAllocation::PriceType]
|
3731
3873
|
#
|
3874
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
3875
|
+
#
|
3732
3876
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
3733
3877
|
#
|
3734
3878
|
# @param model_type [Symbol, :matrix_with_allocation]
|
@@ -3901,6 +4045,13 @@ module Orb
|
|
3901
4045
|
# @return [Symbol, Orb::Models::Price::TieredWithProration::PriceType]
|
3902
4046
|
required :price_type, enum: -> { Orb::Price::TieredWithProration::PriceType }
|
3903
4047
|
|
4048
|
+
# @!attribute replaces_price_id
|
4049
|
+
# The price id this price replaces. This price will take the place of the replaced
|
4050
|
+
# price in plan version migrations.
|
4051
|
+
#
|
4052
|
+
# @return [String, nil]
|
4053
|
+
required :replaces_price_id, String, nil?: true
|
4054
|
+
|
3904
4055
|
# @!attribute tiered_with_proration_config
|
3905
4056
|
#
|
3906
4057
|
# @return [Hash{Symbol=>Object}]
|
@@ -3911,7 +4062,7 @@ module Orb
|
|
3911
4062
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
3912
4063
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
3913
4064
|
|
3914
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, tiered_with_proration_config:, dimensional_price_configuration: nil, model_type: :tiered_with_proration)
|
4065
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, tiered_with_proration_config:, dimensional_price_configuration: nil, model_type: :tiered_with_proration)
|
3915
4066
|
# Some parameter documentations has been truncated, see
|
3916
4067
|
# {Orb::Models::Price::TieredWithProration} for more details.
|
3917
4068
|
#
|
@@ -3959,6 +4110,8 @@ module Orb
|
|
3959
4110
|
#
|
3960
4111
|
# @param price_type [Symbol, Orb::Models::Price::TieredWithProration::PriceType]
|
3961
4112
|
#
|
4113
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
4114
|
+
#
|
3962
4115
|
# @param tiered_with_proration_config [Hash{Symbol=>Object}]
|
3963
4116
|
#
|
3964
4117
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
@@ -4133,6 +4286,13 @@ module Orb
|
|
4133
4286
|
# @return [Symbol, Orb::Models::Price::UnitWithProration::PriceType]
|
4134
4287
|
required :price_type, enum: -> { Orb::Price::UnitWithProration::PriceType }
|
4135
4288
|
|
4289
|
+
# @!attribute replaces_price_id
|
4290
|
+
# The price id this price replaces. This price will take the place of the replaced
|
4291
|
+
# price in plan version migrations.
|
4292
|
+
#
|
4293
|
+
# @return [String, nil]
|
4294
|
+
required :replaces_price_id, String, nil?: true
|
4295
|
+
|
4136
4296
|
# @!attribute unit_with_proration_config
|
4137
4297
|
#
|
4138
4298
|
# @return [Hash{Symbol=>Object}]
|
@@ -4143,7 +4303,7 @@ module Orb
|
|
4143
4303
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
4144
4304
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
4145
4305
|
|
4146
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, unit_with_proration_config:, dimensional_price_configuration: nil, model_type: :unit_with_proration)
|
4306
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, unit_with_proration_config:, dimensional_price_configuration: nil, model_type: :unit_with_proration)
|
4147
4307
|
# Some parameter documentations has been truncated, see
|
4148
4308
|
# {Orb::Models::Price::UnitWithProration} for more details.
|
4149
4309
|
#
|
@@ -4191,6 +4351,8 @@ module Orb
|
|
4191
4351
|
#
|
4192
4352
|
# @param price_type [Symbol, Orb::Models::Price::UnitWithProration::PriceType]
|
4193
4353
|
#
|
4354
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
4355
|
+
#
|
4194
4356
|
# @param unit_with_proration_config [Hash{Symbol=>Object}]
|
4195
4357
|
#
|
4196
4358
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
@@ -4370,12 +4532,19 @@ module Orb
|
|
4370
4532
|
# @return [Symbol, Orb::Models::Price::GroupedAllocation::PriceType]
|
4371
4533
|
required :price_type, enum: -> { Orb::Price::GroupedAllocation::PriceType }
|
4372
4534
|
|
4535
|
+
# @!attribute replaces_price_id
|
4536
|
+
# The price id this price replaces. This price will take the place of the replaced
|
4537
|
+
# price in plan version migrations.
|
4538
|
+
#
|
4539
|
+
# @return [String, nil]
|
4540
|
+
required :replaces_price_id, String, nil?: true
|
4541
|
+
|
4373
4542
|
# @!attribute dimensional_price_configuration
|
4374
4543
|
#
|
4375
4544
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
4376
4545
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
4377
4546
|
|
4378
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, grouped_allocation_config:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :grouped_allocation)
|
4547
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, grouped_allocation_config:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :grouped_allocation)
|
4379
4548
|
# Some parameter documentations has been truncated, see
|
4380
4549
|
# {Orb::Models::Price::GroupedAllocation} for more details.
|
4381
4550
|
#
|
@@ -4425,6 +4594,8 @@ module Orb
|
|
4425
4594
|
#
|
4426
4595
|
# @param price_type [Symbol, Orb::Models::Price::GroupedAllocation::PriceType]
|
4427
4596
|
#
|
4597
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
4598
|
+
#
|
4428
4599
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
4429
4600
|
#
|
4430
4601
|
# @param model_type [Symbol, :grouped_allocation]
|
@@ -4603,12 +4774,19 @@ module Orb
|
|
4603
4774
|
# @return [Symbol, Orb::Models::Price::GroupedWithProratedMinimum::PriceType]
|
4604
4775
|
required :price_type, enum: -> { Orb::Price::GroupedWithProratedMinimum::PriceType }
|
4605
4776
|
|
4777
|
+
# @!attribute replaces_price_id
|
4778
|
+
# The price id this price replaces. This price will take the place of the replaced
|
4779
|
+
# price in plan version migrations.
|
4780
|
+
#
|
4781
|
+
# @return [String, nil]
|
4782
|
+
required :replaces_price_id, String, nil?: true
|
4783
|
+
|
4606
4784
|
# @!attribute dimensional_price_configuration
|
4607
4785
|
#
|
4608
4786
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
4609
4787
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
4610
4788
|
|
4611
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, grouped_with_prorated_minimum_config:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :grouped_with_prorated_minimum)
|
4789
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, grouped_with_prorated_minimum_config:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :grouped_with_prorated_minimum)
|
4612
4790
|
# Some parameter documentations has been truncated, see
|
4613
4791
|
# {Orb::Models::Price::GroupedWithProratedMinimum} for more details.
|
4614
4792
|
#
|
@@ -4658,6 +4836,8 @@ module Orb
|
|
4658
4836
|
#
|
4659
4837
|
# @param price_type [Symbol, Orb::Models::Price::GroupedWithProratedMinimum::PriceType]
|
4660
4838
|
#
|
4839
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
4840
|
+
#
|
4661
4841
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
4662
4842
|
#
|
4663
4843
|
# @param model_type [Symbol, :grouped_with_prorated_minimum]
|
@@ -4836,12 +5016,19 @@ module Orb
|
|
4836
5016
|
# @return [Symbol, Orb::Models::Price::GroupedWithMeteredMinimum::PriceType]
|
4837
5017
|
required :price_type, enum: -> { Orb::Price::GroupedWithMeteredMinimum::PriceType }
|
4838
5018
|
|
5019
|
+
# @!attribute replaces_price_id
|
5020
|
+
# The price id this price replaces. This price will take the place of the replaced
|
5021
|
+
# price in plan version migrations.
|
5022
|
+
#
|
5023
|
+
# @return [String, nil]
|
5024
|
+
required :replaces_price_id, String, nil?: true
|
5025
|
+
|
4839
5026
|
# @!attribute dimensional_price_configuration
|
4840
5027
|
#
|
4841
5028
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
4842
5029
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
4843
5030
|
|
4844
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, grouped_with_metered_minimum_config:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :grouped_with_metered_minimum)
|
5031
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, grouped_with_metered_minimum_config:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :grouped_with_metered_minimum)
|
4845
5032
|
# Some parameter documentations has been truncated, see
|
4846
5033
|
# {Orb::Models::Price::GroupedWithMeteredMinimum} for more details.
|
4847
5034
|
#
|
@@ -4891,6 +5078,8 @@ module Orb
|
|
4891
5078
|
#
|
4892
5079
|
# @param price_type [Symbol, Orb::Models::Price::GroupedWithMeteredMinimum::PriceType]
|
4893
5080
|
#
|
5081
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
5082
|
+
#
|
4894
5083
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
4895
5084
|
#
|
4896
5085
|
# @param model_type [Symbol, :grouped_with_metered_minimum]
|
@@ -5068,12 +5257,19 @@ module Orb
|
|
5068
5257
|
# @return [Symbol, Orb::Models::Price::MatrixWithDisplayName::PriceType]
|
5069
5258
|
required :price_type, enum: -> { Orb::Price::MatrixWithDisplayName::PriceType }
|
5070
5259
|
|
5260
|
+
# @!attribute replaces_price_id
|
5261
|
+
# The price id this price replaces. This price will take the place of the replaced
|
5262
|
+
# price in plan version migrations.
|
5263
|
+
#
|
5264
|
+
# @return [String, nil]
|
5265
|
+
required :replaces_price_id, String, nil?: true
|
5266
|
+
|
5071
5267
|
# @!attribute dimensional_price_configuration
|
5072
5268
|
#
|
5073
5269
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
5074
5270
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
5075
5271
|
|
5076
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, matrix_with_display_name_config:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :matrix_with_display_name)
|
5272
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, matrix_with_display_name_config:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :matrix_with_display_name)
|
5077
5273
|
# Some parameter documentations has been truncated, see
|
5078
5274
|
# {Orb::Models::Price::MatrixWithDisplayName} for more details.
|
5079
5275
|
#
|
@@ -5123,6 +5319,8 @@ module Orb
|
|
5123
5319
|
#
|
5124
5320
|
# @param price_type [Symbol, Orb::Models::Price::MatrixWithDisplayName::PriceType]
|
5125
5321
|
#
|
5322
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
5323
|
+
#
|
5126
5324
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
5127
5325
|
#
|
5128
5326
|
# @param model_type [Symbol, :matrix_with_display_name]
|
@@ -5300,12 +5498,19 @@ module Orb
|
|
5300
5498
|
# @return [Symbol, Orb::Models::Price::BulkWithProration::PriceType]
|
5301
5499
|
required :price_type, enum: -> { Orb::Price::BulkWithProration::PriceType }
|
5302
5500
|
|
5501
|
+
# @!attribute replaces_price_id
|
5502
|
+
# The price id this price replaces. This price will take the place of the replaced
|
5503
|
+
# price in plan version migrations.
|
5504
|
+
#
|
5505
|
+
# @return [String, nil]
|
5506
|
+
required :replaces_price_id, String, nil?: true
|
5507
|
+
|
5303
5508
|
# @!attribute dimensional_price_configuration
|
5304
5509
|
#
|
5305
5510
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
5306
5511
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
5307
5512
|
|
5308
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, bulk_with_proration_config:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :bulk_with_proration)
|
5513
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, bulk_with_proration_config:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :bulk_with_proration)
|
5309
5514
|
# Some parameter documentations has been truncated, see
|
5310
5515
|
# {Orb::Models::Price::BulkWithProration} for more details.
|
5311
5516
|
#
|
@@ -5355,6 +5560,8 @@ module Orb
|
|
5355
5560
|
#
|
5356
5561
|
# @param price_type [Symbol, Orb::Models::Price::BulkWithProration::PriceType]
|
5357
5562
|
#
|
5563
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
5564
|
+
#
|
5358
5565
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
5359
5566
|
#
|
5360
5567
|
# @param model_type [Symbol, :bulk_with_proration]
|
@@ -5532,12 +5739,19 @@ module Orb
|
|
5532
5739
|
# @return [Symbol, Orb::Models::Price::GroupedTieredPackage::PriceType]
|
5533
5740
|
required :price_type, enum: -> { Orb::Price::GroupedTieredPackage::PriceType }
|
5534
5741
|
|
5742
|
+
# @!attribute replaces_price_id
|
5743
|
+
# The price id this price replaces. This price will take the place of the replaced
|
5744
|
+
# price in plan version migrations.
|
5745
|
+
#
|
5746
|
+
# @return [String, nil]
|
5747
|
+
required :replaces_price_id, String, nil?: true
|
5748
|
+
|
5535
5749
|
# @!attribute dimensional_price_configuration
|
5536
5750
|
#
|
5537
5751
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
5538
5752
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
5539
5753
|
|
5540
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, grouped_tiered_package_config:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :grouped_tiered_package)
|
5754
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, grouped_tiered_package_config:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :grouped_tiered_package)
|
5541
5755
|
# Some parameter documentations has been truncated, see
|
5542
5756
|
# {Orb::Models::Price::GroupedTieredPackage} for more details.
|
5543
5757
|
#
|
@@ -5587,6 +5801,8 @@ module Orb
|
|
5587
5801
|
#
|
5588
5802
|
# @param price_type [Symbol, Orb::Models::Price::GroupedTieredPackage::PriceType]
|
5589
5803
|
#
|
5804
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
5805
|
+
#
|
5590
5806
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
5591
5807
|
#
|
5592
5808
|
# @param model_type [Symbol, :grouped_tiered_package]
|
@@ -5764,12 +5980,19 @@ module Orb
|
|
5764
5980
|
# @return [Symbol, Orb::Models::Price::MaxGroupTieredPackage::PriceType]
|
5765
5981
|
required :price_type, enum: -> { Orb::Price::MaxGroupTieredPackage::PriceType }
|
5766
5982
|
|
5983
|
+
# @!attribute replaces_price_id
|
5984
|
+
# The price id this price replaces. This price will take the place of the replaced
|
5985
|
+
# price in plan version migrations.
|
5986
|
+
#
|
5987
|
+
# @return [String, nil]
|
5988
|
+
required :replaces_price_id, String, nil?: true
|
5989
|
+
|
5767
5990
|
# @!attribute dimensional_price_configuration
|
5768
5991
|
#
|
5769
5992
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
5770
5993
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
5771
5994
|
|
5772
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, max_group_tiered_package_config:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :max_group_tiered_package)
|
5995
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, max_group_tiered_package_config:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :max_group_tiered_package)
|
5773
5996
|
# Some parameter documentations has been truncated, see
|
5774
5997
|
# {Orb::Models::Price::MaxGroupTieredPackage} for more details.
|
5775
5998
|
#
|
@@ -5819,6 +6042,8 @@ module Orb
|
|
5819
6042
|
#
|
5820
6043
|
# @param price_type [Symbol, Orb::Models::Price::MaxGroupTieredPackage::PriceType]
|
5821
6044
|
#
|
6045
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
6046
|
+
#
|
5822
6047
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
5823
6048
|
#
|
5824
6049
|
# @param model_type [Symbol, :max_group_tiered_package]
|
@@ -5991,6 +6216,13 @@ module Orb
|
|
5991
6216
|
# @return [Symbol, Orb::Models::Price::ScalableMatrixWithUnitPricing::PriceType]
|
5992
6217
|
required :price_type, enum: -> { Orb::Price::ScalableMatrixWithUnitPricing::PriceType }
|
5993
6218
|
|
6219
|
+
# @!attribute replaces_price_id
|
6220
|
+
# The price id this price replaces. This price will take the place of the replaced
|
6221
|
+
# price in plan version migrations.
|
6222
|
+
#
|
6223
|
+
# @return [String, nil]
|
6224
|
+
required :replaces_price_id, String, nil?: true
|
6225
|
+
|
5994
6226
|
# @!attribute scalable_matrix_with_unit_pricing_config
|
5995
6227
|
#
|
5996
6228
|
# @return [Hash{Symbol=>Object}]
|
@@ -6002,7 +6234,7 @@ module Orb
|
|
6002
6234
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
6003
6235
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
6004
6236
|
|
6005
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, scalable_matrix_with_unit_pricing_config:, dimensional_price_configuration: nil, model_type: :scalable_matrix_with_unit_pricing)
|
6237
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, scalable_matrix_with_unit_pricing_config:, dimensional_price_configuration: nil, model_type: :scalable_matrix_with_unit_pricing)
|
6006
6238
|
# Some parameter documentations has been truncated, see
|
6007
6239
|
# {Orb::Models::Price::ScalableMatrixWithUnitPricing} for more details.
|
6008
6240
|
#
|
@@ -6050,6 +6282,8 @@ module Orb
|
|
6050
6282
|
#
|
6051
6283
|
# @param price_type [Symbol, Orb::Models::Price::ScalableMatrixWithUnitPricing::PriceType]
|
6052
6284
|
#
|
6285
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
6286
|
+
#
|
6053
6287
|
# @param scalable_matrix_with_unit_pricing_config [Hash{Symbol=>Object}]
|
6054
6288
|
#
|
6055
6289
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
@@ -6224,6 +6458,13 @@ module Orb
|
|
6224
6458
|
# @return [Symbol, Orb::Models::Price::ScalableMatrixWithTieredPricing::PriceType]
|
6225
6459
|
required :price_type, enum: -> { Orb::Price::ScalableMatrixWithTieredPricing::PriceType }
|
6226
6460
|
|
6461
|
+
# @!attribute replaces_price_id
|
6462
|
+
# The price id this price replaces. This price will take the place of the replaced
|
6463
|
+
# price in plan version migrations.
|
6464
|
+
#
|
6465
|
+
# @return [String, nil]
|
6466
|
+
required :replaces_price_id, String, nil?: true
|
6467
|
+
|
6227
6468
|
# @!attribute scalable_matrix_with_tiered_pricing_config
|
6228
6469
|
#
|
6229
6470
|
# @return [Hash{Symbol=>Object}]
|
@@ -6235,7 +6476,7 @@ module Orb
|
|
6235
6476
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
6236
6477
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
6237
6478
|
|
6238
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, scalable_matrix_with_tiered_pricing_config:, dimensional_price_configuration: nil, model_type: :scalable_matrix_with_tiered_pricing)
|
6479
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, scalable_matrix_with_tiered_pricing_config:, dimensional_price_configuration: nil, model_type: :scalable_matrix_with_tiered_pricing)
|
6239
6480
|
# Some parameter documentations has been truncated, see
|
6240
6481
|
# {Orb::Models::Price::ScalableMatrixWithTieredPricing} for more details.
|
6241
6482
|
#
|
@@ -6283,6 +6524,8 @@ module Orb
|
|
6283
6524
|
#
|
6284
6525
|
# @param price_type [Symbol, Orb::Models::Price::ScalableMatrixWithTieredPricing::PriceType]
|
6285
6526
|
#
|
6527
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
6528
|
+
#
|
6286
6529
|
# @param scalable_matrix_with_tiered_pricing_config [Hash{Symbol=>Object}]
|
6287
6530
|
#
|
6288
6531
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
@@ -6462,12 +6705,19 @@ module Orb
|
|
6462
6705
|
# @return [Symbol, Orb::Models::Price::CumulativeGroupedBulk::PriceType]
|
6463
6706
|
required :price_type, enum: -> { Orb::Price::CumulativeGroupedBulk::PriceType }
|
6464
6707
|
|
6708
|
+
# @!attribute replaces_price_id
|
6709
|
+
# The price id this price replaces. This price will take the place of the replaced
|
6710
|
+
# price in plan version migrations.
|
6711
|
+
#
|
6712
|
+
# @return [String, nil]
|
6713
|
+
required :replaces_price_id, String, nil?: true
|
6714
|
+
|
6465
6715
|
# @!attribute dimensional_price_configuration
|
6466
6716
|
#
|
6467
6717
|
# @return [Orb::Models::DimensionalPriceConfiguration, nil]
|
6468
6718
|
optional :dimensional_price_configuration, -> { Orb::DimensionalPriceConfiguration }, nil?: true
|
6469
6719
|
|
6470
|
-
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, cumulative_grouped_bulk_config:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, dimensional_price_configuration: nil, model_type: :cumulative_grouped_bulk)
|
6720
|
+
# @!method initialize(id:, billable_metric:, billing_cycle_configuration:, cadence:, conversion_rate:, conversion_rate_config:, created_at:, credit_allocation:, cumulative_grouped_bulk_config:, currency:, discount:, external_price_id:, fixed_price_quantity:, invoicing_cycle_configuration:, item:, maximum:, maximum_amount:, metadata:, minimum:, minimum_amount:, name:, plan_phase_order:, price_type:, replaces_price_id:, dimensional_price_configuration: nil, model_type: :cumulative_grouped_bulk)
|
6471
6721
|
# Some parameter documentations has been truncated, see
|
6472
6722
|
# {Orb::Models::Price::CumulativeGroupedBulk} for more details.
|
6473
6723
|
#
|
@@ -6517,6 +6767,8 @@ module Orb
|
|
6517
6767
|
#
|
6518
6768
|
# @param price_type [Symbol, Orb::Models::Price::CumulativeGroupedBulk::PriceType]
|
6519
6769
|
#
|
6770
|
+
# @param replaces_price_id [String, nil] The price id this price replaces. This price will take the place of the replaced
|
6771
|
+
#
|
6520
6772
|
# @param dimensional_price_configuration [Orb::Models::DimensionalPriceConfiguration, nil]
|
6521
6773
|
#
|
6522
6774
|
# @param model_type [Symbol, :cumulative_grouped_bulk]
|