orb-billing 0.7.0 → 0.8.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/README.md +1 -1
- data/lib/orb/models/beta/external_plan_id_create_plan_version_params.rb +100 -10
- data/lib/orb/models/beta_create_plan_version_params.rb +96 -10
- data/lib/orb/models/price.rb +1114 -28
- data/lib/orb/models/subscription_create_params.rb +96 -10
- data/lib/orb/models/subscription_price_intervals_params.rb +48 -5
- data/lib/orb/models/subscription_schedule_plan_change_params.rb +100 -10
- data/lib/orb/version.rb +1 -1
- data/rbi/orb/models/beta/external_plan_id_create_plan_version_params.rbi +226 -12
- data/rbi/orb/models/beta_create_plan_version_params.rbi +226 -12
- data/rbi/orb/models/price.rbi +3220 -184
- data/rbi/orb/models/subscription_create_params.rbi +226 -12
- data/rbi/orb/models/subscription_price_intervals_params.rbi +113 -6
- data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +226 -12
- data/sig/orb/models/beta/external_plan_id_create_plan_version_params.rbs +84 -8
- data/sig/orb/models/beta_create_plan_version_params.rbs +84 -8
- data/sig/orb/models/price.rbs +1430 -86
- data/sig/orb/models/subscription_create_params.rbs +84 -8
- data/sig/orb/models/subscription_price_intervals_params.rbs +42 -4
- data/sig/orb/models/subscription_schedule_plan_change_params.rbs +84 -8
- metadata +2 -2
data/lib/orb/models/price.rb
CHANGED
@@ -329,9 +329,46 @@ module Orb
|
|
329
329
|
# @return [String]
|
330
330
|
required :currency, String
|
331
331
|
|
332
|
-
# @!
|
332
|
+
# @!attribute custom_expiration
|
333
|
+
#
|
334
|
+
# @return [Orb::Models::Price::Unit::CreditAllocation::CustomExpiration, nil]
|
335
|
+
required :custom_expiration, -> { Orb::Price::Unit::CreditAllocation::CustomExpiration }, nil?: true
|
336
|
+
|
337
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
333
338
|
# @param allows_rollover [Boolean]
|
334
339
|
# @param currency [String]
|
340
|
+
# @param custom_expiration [Orb::Models::Price::Unit::CreditAllocation::CustomExpiration, nil]
|
341
|
+
|
342
|
+
# @see Orb::Models::Price::Unit::CreditAllocation#custom_expiration
|
343
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
344
|
+
# @!attribute duration
|
345
|
+
#
|
346
|
+
# @return [Integer]
|
347
|
+
required :duration, Integer
|
348
|
+
|
349
|
+
# @!attribute duration_unit
|
350
|
+
#
|
351
|
+
# @return [Symbol, Orb::Models::Price::Unit::CreditAllocation::CustomExpiration::DurationUnit]
|
352
|
+
required :duration_unit,
|
353
|
+
enum: -> {
|
354
|
+
Orb::Price::Unit::CreditAllocation::CustomExpiration::DurationUnit
|
355
|
+
}
|
356
|
+
|
357
|
+
# @!method initialize(duration:, duration_unit:)
|
358
|
+
# @param duration [Integer]
|
359
|
+
# @param duration_unit [Symbol, Orb::Models::Price::Unit::CreditAllocation::CustomExpiration::DurationUnit]
|
360
|
+
|
361
|
+
# @see Orb::Models::Price::Unit::CreditAllocation::CustomExpiration#duration_unit
|
362
|
+
module DurationUnit
|
363
|
+
extend Orb::Internal::Type::Enum
|
364
|
+
|
365
|
+
DAY = :day
|
366
|
+
MONTH = :month
|
367
|
+
|
368
|
+
# @!method self.values
|
369
|
+
# @return [Array<Symbol>]
|
370
|
+
end
|
371
|
+
end
|
335
372
|
end
|
336
373
|
|
337
374
|
# @see Orb::Models::Price::Unit#invoicing_cycle_configuration
|
@@ -856,9 +893,48 @@ module Orb
|
|
856
893
|
# @return [String]
|
857
894
|
required :currency, String
|
858
895
|
|
859
|
-
# @!
|
896
|
+
# @!attribute custom_expiration
|
897
|
+
#
|
898
|
+
# @return [Orb::Models::Price::Package::CreditAllocation::CustomExpiration, nil]
|
899
|
+
required :custom_expiration,
|
900
|
+
-> {
|
901
|
+
Orb::Price::Package::CreditAllocation::CustomExpiration
|
902
|
+
},
|
903
|
+
nil?: true
|
904
|
+
|
905
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
860
906
|
# @param allows_rollover [Boolean]
|
861
907
|
# @param currency [String]
|
908
|
+
# @param custom_expiration [Orb::Models::Price::Package::CreditAllocation::CustomExpiration, nil]
|
909
|
+
|
910
|
+
# @see Orb::Models::Price::Package::CreditAllocation#custom_expiration
|
911
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
912
|
+
# @!attribute duration
|
913
|
+
#
|
914
|
+
# @return [Integer]
|
915
|
+
required :duration, Integer
|
916
|
+
|
917
|
+
# @!attribute duration_unit
|
918
|
+
#
|
919
|
+
# @return [Symbol, Orb::Models::Price::Package::CreditAllocation::CustomExpiration::DurationUnit]
|
920
|
+
required :duration_unit,
|
921
|
+
enum: -> { Orb::Price::Package::CreditAllocation::CustomExpiration::DurationUnit }
|
922
|
+
|
923
|
+
# @!method initialize(duration:, duration_unit:)
|
924
|
+
# @param duration [Integer]
|
925
|
+
# @param duration_unit [Symbol, Orb::Models::Price::Package::CreditAllocation::CustomExpiration::DurationUnit]
|
926
|
+
|
927
|
+
# @see Orb::Models::Price::Package::CreditAllocation::CustomExpiration#duration_unit
|
928
|
+
module DurationUnit
|
929
|
+
extend Orb::Internal::Type::Enum
|
930
|
+
|
931
|
+
DAY = :day
|
932
|
+
MONTH = :month
|
933
|
+
|
934
|
+
# @!method self.values
|
935
|
+
# @return [Array<Symbol>]
|
936
|
+
end
|
937
|
+
end
|
862
938
|
end
|
863
939
|
|
864
940
|
# @see Orb::Models::Price::Package#invoicing_cycle_configuration
|
@@ -1395,9 +1471,50 @@ module Orb
|
|
1395
1471
|
# @return [String]
|
1396
1472
|
required :currency, String
|
1397
1473
|
|
1398
|
-
# @!
|
1474
|
+
# @!attribute custom_expiration
|
1475
|
+
#
|
1476
|
+
# @return [Orb::Models::Price::Matrix::CreditAllocation::CustomExpiration, nil]
|
1477
|
+
required :custom_expiration,
|
1478
|
+
-> {
|
1479
|
+
Orb::Price::Matrix::CreditAllocation::CustomExpiration
|
1480
|
+
},
|
1481
|
+
nil?: true
|
1482
|
+
|
1483
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
1399
1484
|
# @param allows_rollover [Boolean]
|
1400
1485
|
# @param currency [String]
|
1486
|
+
# @param custom_expiration [Orb::Models::Price::Matrix::CreditAllocation::CustomExpiration, nil]
|
1487
|
+
|
1488
|
+
# @see Orb::Models::Price::Matrix::CreditAllocation#custom_expiration
|
1489
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
1490
|
+
# @!attribute duration
|
1491
|
+
#
|
1492
|
+
# @return [Integer]
|
1493
|
+
required :duration, Integer
|
1494
|
+
|
1495
|
+
# @!attribute duration_unit
|
1496
|
+
#
|
1497
|
+
# @return [Symbol, Orb::Models::Price::Matrix::CreditAllocation::CustomExpiration::DurationUnit]
|
1498
|
+
required :duration_unit,
|
1499
|
+
enum: -> {
|
1500
|
+
Orb::Price::Matrix::CreditAllocation::CustomExpiration::DurationUnit
|
1501
|
+
}
|
1502
|
+
|
1503
|
+
# @!method initialize(duration:, duration_unit:)
|
1504
|
+
# @param duration [Integer]
|
1505
|
+
# @param duration_unit [Symbol, Orb::Models::Price::Matrix::CreditAllocation::CustomExpiration::DurationUnit]
|
1506
|
+
|
1507
|
+
# @see Orb::Models::Price::Matrix::CreditAllocation::CustomExpiration#duration_unit
|
1508
|
+
module DurationUnit
|
1509
|
+
extend Orb::Internal::Type::Enum
|
1510
|
+
|
1511
|
+
DAY = :day
|
1512
|
+
MONTH = :month
|
1513
|
+
|
1514
|
+
# @!method self.values
|
1515
|
+
# @return [Array<Symbol>]
|
1516
|
+
end
|
1517
|
+
end
|
1401
1518
|
end
|
1402
1519
|
|
1403
1520
|
# @see Orb::Models::Price::Matrix#invoicing_cycle_configuration
|
@@ -1963,9 +2080,50 @@ module Orb
|
|
1963
2080
|
# @return [String]
|
1964
2081
|
required :currency, String
|
1965
2082
|
|
1966
|
-
# @!
|
2083
|
+
# @!attribute custom_expiration
|
2084
|
+
#
|
2085
|
+
# @return [Orb::Models::Price::Tiered::CreditAllocation::CustomExpiration, nil]
|
2086
|
+
required :custom_expiration,
|
2087
|
+
-> {
|
2088
|
+
Orb::Price::Tiered::CreditAllocation::CustomExpiration
|
2089
|
+
},
|
2090
|
+
nil?: true
|
2091
|
+
|
2092
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
1967
2093
|
# @param allows_rollover [Boolean]
|
1968
2094
|
# @param currency [String]
|
2095
|
+
# @param custom_expiration [Orb::Models::Price::Tiered::CreditAllocation::CustomExpiration, nil]
|
2096
|
+
|
2097
|
+
# @see Orb::Models::Price::Tiered::CreditAllocation#custom_expiration
|
2098
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
2099
|
+
# @!attribute duration
|
2100
|
+
#
|
2101
|
+
# @return [Integer]
|
2102
|
+
required :duration, Integer
|
2103
|
+
|
2104
|
+
# @!attribute duration_unit
|
2105
|
+
#
|
2106
|
+
# @return [Symbol, Orb::Models::Price::Tiered::CreditAllocation::CustomExpiration::DurationUnit]
|
2107
|
+
required :duration_unit,
|
2108
|
+
enum: -> {
|
2109
|
+
Orb::Price::Tiered::CreditAllocation::CustomExpiration::DurationUnit
|
2110
|
+
}
|
2111
|
+
|
2112
|
+
# @!method initialize(duration:, duration_unit:)
|
2113
|
+
# @param duration [Integer]
|
2114
|
+
# @param duration_unit [Symbol, Orb::Models::Price::Tiered::CreditAllocation::CustomExpiration::DurationUnit]
|
2115
|
+
|
2116
|
+
# @see Orb::Models::Price::Tiered::CreditAllocation::CustomExpiration#duration_unit
|
2117
|
+
module DurationUnit
|
2118
|
+
extend Orb::Internal::Type::Enum
|
2119
|
+
|
2120
|
+
DAY = :day
|
2121
|
+
MONTH = :month
|
2122
|
+
|
2123
|
+
# @!method self.values
|
2124
|
+
# @return [Array<Symbol>]
|
2125
|
+
end
|
2126
|
+
end
|
1969
2127
|
end
|
1970
2128
|
|
1971
2129
|
# @see Orb::Models::Price::Tiered#invoicing_cycle_configuration
|
@@ -2517,9 +2675,48 @@ module Orb
|
|
2517
2675
|
# @return [String]
|
2518
2676
|
required :currency, String
|
2519
2677
|
|
2520
|
-
# @!
|
2678
|
+
# @!attribute custom_expiration
|
2679
|
+
#
|
2680
|
+
# @return [Orb::Models::Price::TieredBps::CreditAllocation::CustomExpiration, nil]
|
2681
|
+
required :custom_expiration,
|
2682
|
+
-> {
|
2683
|
+
Orb::Price::TieredBps::CreditAllocation::CustomExpiration
|
2684
|
+
},
|
2685
|
+
nil?: true
|
2686
|
+
|
2687
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
2521
2688
|
# @param allows_rollover [Boolean]
|
2522
2689
|
# @param currency [String]
|
2690
|
+
# @param custom_expiration [Orb::Models::Price::TieredBps::CreditAllocation::CustomExpiration, nil]
|
2691
|
+
|
2692
|
+
# @see Orb::Models::Price::TieredBps::CreditAllocation#custom_expiration
|
2693
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
2694
|
+
# @!attribute duration
|
2695
|
+
#
|
2696
|
+
# @return [Integer]
|
2697
|
+
required :duration, Integer
|
2698
|
+
|
2699
|
+
# @!attribute duration_unit
|
2700
|
+
#
|
2701
|
+
# @return [Symbol, Orb::Models::Price::TieredBps::CreditAllocation::CustomExpiration::DurationUnit]
|
2702
|
+
required :duration_unit,
|
2703
|
+
enum: -> { Orb::Price::TieredBps::CreditAllocation::CustomExpiration::DurationUnit }
|
2704
|
+
|
2705
|
+
# @!method initialize(duration:, duration_unit:)
|
2706
|
+
# @param duration [Integer]
|
2707
|
+
# @param duration_unit [Symbol, Orb::Models::Price::TieredBps::CreditAllocation::CustomExpiration::DurationUnit]
|
2708
|
+
|
2709
|
+
# @see Orb::Models::Price::TieredBps::CreditAllocation::CustomExpiration#duration_unit
|
2710
|
+
module DurationUnit
|
2711
|
+
extend Orb::Internal::Type::Enum
|
2712
|
+
|
2713
|
+
DAY = :day
|
2714
|
+
MONTH = :month
|
2715
|
+
|
2716
|
+
# @!method self.values
|
2717
|
+
# @return [Array<Symbol>]
|
2718
|
+
end
|
2719
|
+
end
|
2523
2720
|
end
|
2524
2721
|
|
2525
2722
|
# @see Orb::Models::Price::TieredBps#invoicing_cycle_configuration
|
@@ -3108,9 +3305,46 @@ module Orb
|
|
3108
3305
|
# @return [String]
|
3109
3306
|
required :currency, String
|
3110
3307
|
|
3111
|
-
# @!
|
3308
|
+
# @!attribute custom_expiration
|
3309
|
+
#
|
3310
|
+
# @return [Orb::Models::Price::Bps::CreditAllocation::CustomExpiration, nil]
|
3311
|
+
required :custom_expiration, -> { Orb::Price::Bps::CreditAllocation::CustomExpiration }, nil?: true
|
3312
|
+
|
3313
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
3112
3314
|
# @param allows_rollover [Boolean]
|
3113
3315
|
# @param currency [String]
|
3316
|
+
# @param custom_expiration [Orb::Models::Price::Bps::CreditAllocation::CustomExpiration, nil]
|
3317
|
+
|
3318
|
+
# @see Orb::Models::Price::Bps::CreditAllocation#custom_expiration
|
3319
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
3320
|
+
# @!attribute duration
|
3321
|
+
#
|
3322
|
+
# @return [Integer]
|
3323
|
+
required :duration, Integer
|
3324
|
+
|
3325
|
+
# @!attribute duration_unit
|
3326
|
+
#
|
3327
|
+
# @return [Symbol, Orb::Models::Price::Bps::CreditAllocation::CustomExpiration::DurationUnit]
|
3328
|
+
required :duration_unit,
|
3329
|
+
enum: -> {
|
3330
|
+
Orb::Price::Bps::CreditAllocation::CustomExpiration::DurationUnit
|
3331
|
+
}
|
3332
|
+
|
3333
|
+
# @!method initialize(duration:, duration_unit:)
|
3334
|
+
# @param duration [Integer]
|
3335
|
+
# @param duration_unit [Symbol, Orb::Models::Price::Bps::CreditAllocation::CustomExpiration::DurationUnit]
|
3336
|
+
|
3337
|
+
# @see Orb::Models::Price::Bps::CreditAllocation::CustomExpiration#duration_unit
|
3338
|
+
module DurationUnit
|
3339
|
+
extend Orb::Internal::Type::Enum
|
3340
|
+
|
3341
|
+
DAY = :day
|
3342
|
+
MONTH = :month
|
3343
|
+
|
3344
|
+
# @!method self.values
|
3345
|
+
# @return [Array<Symbol>]
|
3346
|
+
end
|
3347
|
+
end
|
3114
3348
|
end
|
3115
3349
|
|
3116
3350
|
# @see Orb::Models::Price::Bps#invoicing_cycle_configuration
|
@@ -3666,9 +3900,48 @@ module Orb
|
|
3666
3900
|
# @return [String]
|
3667
3901
|
required :currency, String
|
3668
3902
|
|
3669
|
-
# @!
|
3903
|
+
# @!attribute custom_expiration
|
3904
|
+
#
|
3905
|
+
# @return [Orb::Models::Price::BulkBps::CreditAllocation::CustomExpiration, nil]
|
3906
|
+
required :custom_expiration,
|
3907
|
+
-> {
|
3908
|
+
Orb::Price::BulkBps::CreditAllocation::CustomExpiration
|
3909
|
+
},
|
3910
|
+
nil?: true
|
3911
|
+
|
3912
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
3670
3913
|
# @param allows_rollover [Boolean]
|
3671
3914
|
# @param currency [String]
|
3915
|
+
# @param custom_expiration [Orb::Models::Price::BulkBps::CreditAllocation::CustomExpiration, nil]
|
3916
|
+
|
3917
|
+
# @see Orb::Models::Price::BulkBps::CreditAllocation#custom_expiration
|
3918
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
3919
|
+
# @!attribute duration
|
3920
|
+
#
|
3921
|
+
# @return [Integer]
|
3922
|
+
required :duration, Integer
|
3923
|
+
|
3924
|
+
# @!attribute duration_unit
|
3925
|
+
#
|
3926
|
+
# @return [Symbol, Orb::Models::Price::BulkBps::CreditAllocation::CustomExpiration::DurationUnit]
|
3927
|
+
required :duration_unit,
|
3928
|
+
enum: -> { Orb::Price::BulkBps::CreditAllocation::CustomExpiration::DurationUnit }
|
3929
|
+
|
3930
|
+
# @!method initialize(duration:, duration_unit:)
|
3931
|
+
# @param duration [Integer]
|
3932
|
+
# @param duration_unit [Symbol, Orb::Models::Price::BulkBps::CreditAllocation::CustomExpiration::DurationUnit]
|
3933
|
+
|
3934
|
+
# @see Orb::Models::Price::BulkBps::CreditAllocation::CustomExpiration#duration_unit
|
3935
|
+
module DurationUnit
|
3936
|
+
extend Orb::Internal::Type::Enum
|
3937
|
+
|
3938
|
+
DAY = :day
|
3939
|
+
MONTH = :month
|
3940
|
+
|
3941
|
+
# @!method self.values
|
3942
|
+
# @return [Array<Symbol>]
|
3943
|
+
end
|
3944
|
+
end
|
3672
3945
|
end
|
3673
3946
|
|
3674
3947
|
# @see Orb::Models::Price::BulkBps#invoicing_cycle_configuration
|
@@ -4214,9 +4487,46 @@ module Orb
|
|
4214
4487
|
# @return [String]
|
4215
4488
|
required :currency, String
|
4216
4489
|
|
4217
|
-
# @!
|
4490
|
+
# @!attribute custom_expiration
|
4491
|
+
#
|
4492
|
+
# @return [Orb::Models::Price::Bulk::CreditAllocation::CustomExpiration, nil]
|
4493
|
+
required :custom_expiration, -> { Orb::Price::Bulk::CreditAllocation::CustomExpiration }, nil?: true
|
4494
|
+
|
4495
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
4218
4496
|
# @param allows_rollover [Boolean]
|
4219
4497
|
# @param currency [String]
|
4498
|
+
# @param custom_expiration [Orb::Models::Price::Bulk::CreditAllocation::CustomExpiration, nil]
|
4499
|
+
|
4500
|
+
# @see Orb::Models::Price::Bulk::CreditAllocation#custom_expiration
|
4501
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
4502
|
+
# @!attribute duration
|
4503
|
+
#
|
4504
|
+
# @return [Integer]
|
4505
|
+
required :duration, Integer
|
4506
|
+
|
4507
|
+
# @!attribute duration_unit
|
4508
|
+
#
|
4509
|
+
# @return [Symbol, Orb::Models::Price::Bulk::CreditAllocation::CustomExpiration::DurationUnit]
|
4510
|
+
required :duration_unit,
|
4511
|
+
enum: -> {
|
4512
|
+
Orb::Price::Bulk::CreditAllocation::CustomExpiration::DurationUnit
|
4513
|
+
}
|
4514
|
+
|
4515
|
+
# @!method initialize(duration:, duration_unit:)
|
4516
|
+
# @param duration [Integer]
|
4517
|
+
# @param duration_unit [Symbol, Orb::Models::Price::Bulk::CreditAllocation::CustomExpiration::DurationUnit]
|
4518
|
+
|
4519
|
+
# @see Orb::Models::Price::Bulk::CreditAllocation::CustomExpiration#duration_unit
|
4520
|
+
module DurationUnit
|
4521
|
+
extend Orb::Internal::Type::Enum
|
4522
|
+
|
4523
|
+
DAY = :day
|
4524
|
+
MONTH = :month
|
4525
|
+
|
4526
|
+
# @!method self.values
|
4527
|
+
# @return [Array<Symbol>]
|
4528
|
+
end
|
4529
|
+
end
|
4220
4530
|
end
|
4221
4531
|
|
4222
4532
|
# @see Orb::Models::Price::Bulk#invoicing_cycle_configuration
|
@@ -4733,9 +5043,48 @@ module Orb
|
|
4733
5043
|
# @return [String]
|
4734
5044
|
required :currency, String
|
4735
5045
|
|
4736
|
-
# @!
|
5046
|
+
# @!attribute custom_expiration
|
5047
|
+
#
|
5048
|
+
# @return [Orb::Models::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration, nil]
|
5049
|
+
required :custom_expiration,
|
5050
|
+
-> { Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration },
|
5051
|
+
nil?: true
|
5052
|
+
|
5053
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
4737
5054
|
# @param allows_rollover [Boolean]
|
4738
5055
|
# @param currency [String]
|
5056
|
+
# @param custom_expiration [Orb::Models::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration, nil]
|
5057
|
+
|
5058
|
+
# @see Orb::Models::Price::ThresholdTotalAmount::CreditAllocation#custom_expiration
|
5059
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
5060
|
+
# @!attribute duration
|
5061
|
+
#
|
5062
|
+
# @return [Integer]
|
5063
|
+
required :duration, Integer
|
5064
|
+
|
5065
|
+
# @!attribute duration_unit
|
5066
|
+
#
|
5067
|
+
# @return [Symbol, Orb::Models::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::DurationUnit]
|
5068
|
+
required :duration_unit,
|
5069
|
+
enum: -> {
|
5070
|
+
Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::DurationUnit
|
5071
|
+
}
|
5072
|
+
|
5073
|
+
# @!method initialize(duration:, duration_unit:)
|
5074
|
+
# @param duration [Integer]
|
5075
|
+
# @param duration_unit [Symbol, Orb::Models::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::DurationUnit]
|
5076
|
+
|
5077
|
+
# @see Orb::Models::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration#duration_unit
|
5078
|
+
module DurationUnit
|
5079
|
+
extend Orb::Internal::Type::Enum
|
5080
|
+
|
5081
|
+
DAY = :day
|
5082
|
+
MONTH = :month
|
5083
|
+
|
5084
|
+
# @!method self.values
|
5085
|
+
# @return [Array<Symbol>]
|
5086
|
+
end
|
5087
|
+
end
|
4739
5088
|
end
|
4740
5089
|
|
4741
5090
|
# @see Orb::Models::Price::ThresholdTotalAmount#invoicing_cycle_configuration
|
@@ -5258,9 +5607,46 @@ module Orb
|
|
5258
5607
|
# @return [String]
|
5259
5608
|
required :currency, String
|
5260
5609
|
|
5261
|
-
# @!
|
5610
|
+
# @!attribute custom_expiration
|
5611
|
+
#
|
5612
|
+
# @return [Orb::Models::Price::TieredPackage::CreditAllocation::CustomExpiration, nil]
|
5613
|
+
required :custom_expiration,
|
5614
|
+
-> { Orb::Price::TieredPackage::CreditAllocation::CustomExpiration },
|
5615
|
+
nil?: true
|
5616
|
+
|
5617
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
5262
5618
|
# @param allows_rollover [Boolean]
|
5263
5619
|
# @param currency [String]
|
5620
|
+
# @param custom_expiration [Orb::Models::Price::TieredPackage::CreditAllocation::CustomExpiration, nil]
|
5621
|
+
|
5622
|
+
# @see Orb::Models::Price::TieredPackage::CreditAllocation#custom_expiration
|
5623
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
5624
|
+
# @!attribute duration
|
5625
|
+
#
|
5626
|
+
# @return [Integer]
|
5627
|
+
required :duration, Integer
|
5628
|
+
|
5629
|
+
# @!attribute duration_unit
|
5630
|
+
#
|
5631
|
+
# @return [Symbol, Orb::Models::Price::TieredPackage::CreditAllocation::CustomExpiration::DurationUnit]
|
5632
|
+
required :duration_unit,
|
5633
|
+
enum: -> { Orb::Price::TieredPackage::CreditAllocation::CustomExpiration::DurationUnit }
|
5634
|
+
|
5635
|
+
# @!method initialize(duration:, duration_unit:)
|
5636
|
+
# @param duration [Integer]
|
5637
|
+
# @param duration_unit [Symbol, Orb::Models::Price::TieredPackage::CreditAllocation::CustomExpiration::DurationUnit]
|
5638
|
+
|
5639
|
+
# @see Orb::Models::Price::TieredPackage::CreditAllocation::CustomExpiration#duration_unit
|
5640
|
+
module DurationUnit
|
5641
|
+
extend Orb::Internal::Type::Enum
|
5642
|
+
|
5643
|
+
DAY = :day
|
5644
|
+
MONTH = :month
|
5645
|
+
|
5646
|
+
# @!method self.values
|
5647
|
+
# @return [Array<Symbol>]
|
5648
|
+
end
|
5649
|
+
end
|
5264
5650
|
end
|
5265
5651
|
|
5266
5652
|
# @see Orb::Models::Price::TieredPackage#invoicing_cycle_configuration
|
@@ -5779,9 +6165,46 @@ module Orb
|
|
5779
6165
|
# @return [String]
|
5780
6166
|
required :currency, String
|
5781
6167
|
|
5782
|
-
# @!
|
6168
|
+
# @!attribute custom_expiration
|
6169
|
+
#
|
6170
|
+
# @return [Orb::Models::Price::GroupedTiered::CreditAllocation::CustomExpiration, nil]
|
6171
|
+
required :custom_expiration,
|
6172
|
+
-> { Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration },
|
6173
|
+
nil?: true
|
6174
|
+
|
6175
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
5783
6176
|
# @param allows_rollover [Boolean]
|
5784
6177
|
# @param currency [String]
|
6178
|
+
# @param custom_expiration [Orb::Models::Price::GroupedTiered::CreditAllocation::CustomExpiration, nil]
|
6179
|
+
|
6180
|
+
# @see Orb::Models::Price::GroupedTiered::CreditAllocation#custom_expiration
|
6181
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
6182
|
+
# @!attribute duration
|
6183
|
+
#
|
6184
|
+
# @return [Integer]
|
6185
|
+
required :duration, Integer
|
6186
|
+
|
6187
|
+
# @!attribute duration_unit
|
6188
|
+
#
|
6189
|
+
# @return [Symbol, Orb::Models::Price::GroupedTiered::CreditAllocation::CustomExpiration::DurationUnit]
|
6190
|
+
required :duration_unit,
|
6191
|
+
enum: -> { Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration::DurationUnit }
|
6192
|
+
|
6193
|
+
# @!method initialize(duration:, duration_unit:)
|
6194
|
+
# @param duration [Integer]
|
6195
|
+
# @param duration_unit [Symbol, Orb::Models::Price::GroupedTiered::CreditAllocation::CustomExpiration::DurationUnit]
|
6196
|
+
|
6197
|
+
# @see Orb::Models::Price::GroupedTiered::CreditAllocation::CustomExpiration#duration_unit
|
6198
|
+
module DurationUnit
|
6199
|
+
extend Orb::Internal::Type::Enum
|
6200
|
+
|
6201
|
+
DAY = :day
|
6202
|
+
MONTH = :month
|
6203
|
+
|
6204
|
+
# @!method self.values
|
6205
|
+
# @return [Array<Symbol>]
|
6206
|
+
end
|
6207
|
+
end
|
5785
6208
|
end
|
5786
6209
|
|
5787
6210
|
# @see Orb::Models::Price::GroupedTiered#invoicing_cycle_configuration
|
@@ -6298,9 +6721,48 @@ module Orb
|
|
6298
6721
|
# @return [String]
|
6299
6722
|
required :currency, String
|
6300
6723
|
|
6301
|
-
# @!
|
6724
|
+
# @!attribute custom_expiration
|
6725
|
+
#
|
6726
|
+
# @return [Orb::Models::Price::TieredWithMinimum::CreditAllocation::CustomExpiration, nil]
|
6727
|
+
required :custom_expiration,
|
6728
|
+
-> { Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration },
|
6729
|
+
nil?: true
|
6730
|
+
|
6731
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
6302
6732
|
# @param allows_rollover [Boolean]
|
6303
6733
|
# @param currency [String]
|
6734
|
+
# @param custom_expiration [Orb::Models::Price::TieredWithMinimum::CreditAllocation::CustomExpiration, nil]
|
6735
|
+
|
6736
|
+
# @see Orb::Models::Price::TieredWithMinimum::CreditAllocation#custom_expiration
|
6737
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
6738
|
+
# @!attribute duration
|
6739
|
+
#
|
6740
|
+
# @return [Integer]
|
6741
|
+
required :duration, Integer
|
6742
|
+
|
6743
|
+
# @!attribute duration_unit
|
6744
|
+
#
|
6745
|
+
# @return [Symbol, Orb::Models::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::DurationUnit]
|
6746
|
+
required :duration_unit,
|
6747
|
+
enum: -> {
|
6748
|
+
Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::DurationUnit
|
6749
|
+
}
|
6750
|
+
|
6751
|
+
# @!method initialize(duration:, duration_unit:)
|
6752
|
+
# @param duration [Integer]
|
6753
|
+
# @param duration_unit [Symbol, Orb::Models::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::DurationUnit]
|
6754
|
+
|
6755
|
+
# @see Orb::Models::Price::TieredWithMinimum::CreditAllocation::CustomExpiration#duration_unit
|
6756
|
+
module DurationUnit
|
6757
|
+
extend Orb::Internal::Type::Enum
|
6758
|
+
|
6759
|
+
DAY = :day
|
6760
|
+
MONTH = :month
|
6761
|
+
|
6762
|
+
# @!method self.values
|
6763
|
+
# @return [Array<Symbol>]
|
6764
|
+
end
|
6765
|
+
end
|
6304
6766
|
end
|
6305
6767
|
|
6306
6768
|
# @see Orb::Models::Price::TieredWithMinimum#invoicing_cycle_configuration
|
@@ -6823,9 +7285,48 @@ module Orb
|
|
6823
7285
|
# @return [String]
|
6824
7286
|
required :currency, String
|
6825
7287
|
|
6826
|
-
# @!
|
7288
|
+
# @!attribute custom_expiration
|
7289
|
+
#
|
7290
|
+
# @return [Orb::Models::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration, nil]
|
7291
|
+
required :custom_expiration,
|
7292
|
+
-> { Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration },
|
7293
|
+
nil?: true
|
7294
|
+
|
7295
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
6827
7296
|
# @param allows_rollover [Boolean]
|
6828
7297
|
# @param currency [String]
|
7298
|
+
# @param custom_expiration [Orb::Models::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration, nil]
|
7299
|
+
|
7300
|
+
# @see Orb::Models::Price::TieredPackageWithMinimum::CreditAllocation#custom_expiration
|
7301
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
7302
|
+
# @!attribute duration
|
7303
|
+
#
|
7304
|
+
# @return [Integer]
|
7305
|
+
required :duration, Integer
|
7306
|
+
|
7307
|
+
# @!attribute duration_unit
|
7308
|
+
#
|
7309
|
+
# @return [Symbol, Orb::Models::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::DurationUnit]
|
7310
|
+
required :duration_unit,
|
7311
|
+
enum: -> {
|
7312
|
+
Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::DurationUnit
|
7313
|
+
}
|
7314
|
+
|
7315
|
+
# @!method initialize(duration:, duration_unit:)
|
7316
|
+
# @param duration [Integer]
|
7317
|
+
# @param duration_unit [Symbol, Orb::Models::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::DurationUnit]
|
7318
|
+
|
7319
|
+
# @see Orb::Models::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration#duration_unit
|
7320
|
+
module DurationUnit
|
7321
|
+
extend Orb::Internal::Type::Enum
|
7322
|
+
|
7323
|
+
DAY = :day
|
7324
|
+
MONTH = :month
|
7325
|
+
|
7326
|
+
# @!method self.values
|
7327
|
+
# @return [Array<Symbol>]
|
7328
|
+
end
|
7329
|
+
end
|
6829
7330
|
end
|
6830
7331
|
|
6831
7332
|
# @see Orb::Models::Price::TieredPackageWithMinimum#invoicing_cycle_configuration
|
@@ -7347,9 +7848,48 @@ module Orb
|
|
7347
7848
|
# @return [String]
|
7348
7849
|
required :currency, String
|
7349
7850
|
|
7350
|
-
# @!
|
7851
|
+
# @!attribute custom_expiration
|
7852
|
+
#
|
7853
|
+
# @return [Orb::Models::Price::PackageWithAllocation::CreditAllocation::CustomExpiration, nil]
|
7854
|
+
required :custom_expiration,
|
7855
|
+
-> { Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration },
|
7856
|
+
nil?: true
|
7857
|
+
|
7858
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
7351
7859
|
# @param allows_rollover [Boolean]
|
7352
7860
|
# @param currency [String]
|
7861
|
+
# @param custom_expiration [Orb::Models::Price::PackageWithAllocation::CreditAllocation::CustomExpiration, nil]
|
7862
|
+
|
7863
|
+
# @see Orb::Models::Price::PackageWithAllocation::CreditAllocation#custom_expiration
|
7864
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
7865
|
+
# @!attribute duration
|
7866
|
+
#
|
7867
|
+
# @return [Integer]
|
7868
|
+
required :duration, Integer
|
7869
|
+
|
7870
|
+
# @!attribute duration_unit
|
7871
|
+
#
|
7872
|
+
# @return [Symbol, Orb::Models::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::DurationUnit]
|
7873
|
+
required :duration_unit,
|
7874
|
+
enum: -> {
|
7875
|
+
Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::DurationUnit
|
7876
|
+
}
|
7877
|
+
|
7878
|
+
# @!method initialize(duration:, duration_unit:)
|
7879
|
+
# @param duration [Integer]
|
7880
|
+
# @param duration_unit [Symbol, Orb::Models::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::DurationUnit]
|
7881
|
+
|
7882
|
+
# @see Orb::Models::Price::PackageWithAllocation::CreditAllocation::CustomExpiration#duration_unit
|
7883
|
+
module DurationUnit
|
7884
|
+
extend Orb::Internal::Type::Enum
|
7885
|
+
|
7886
|
+
DAY = :day
|
7887
|
+
MONTH = :month
|
7888
|
+
|
7889
|
+
# @!method self.values
|
7890
|
+
# @return [Array<Symbol>]
|
7891
|
+
end
|
7892
|
+
end
|
7353
7893
|
end
|
7354
7894
|
|
7355
7895
|
# @see Orb::Models::Price::PackageWithAllocation#invoicing_cycle_configuration
|
@@ -7872,9 +8412,48 @@ module Orb
|
|
7872
8412
|
# @return [String]
|
7873
8413
|
required :currency, String
|
7874
8414
|
|
7875
|
-
# @!
|
8415
|
+
# @!attribute custom_expiration
|
8416
|
+
#
|
8417
|
+
# @return [Orb::Models::Price::UnitWithPercent::CreditAllocation::CustomExpiration, nil]
|
8418
|
+
required :custom_expiration,
|
8419
|
+
-> { Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration },
|
8420
|
+
nil?: true
|
8421
|
+
|
8422
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
7876
8423
|
# @param allows_rollover [Boolean]
|
7877
8424
|
# @param currency [String]
|
8425
|
+
# @param custom_expiration [Orb::Models::Price::UnitWithPercent::CreditAllocation::CustomExpiration, nil]
|
8426
|
+
|
8427
|
+
# @see Orb::Models::Price::UnitWithPercent::CreditAllocation#custom_expiration
|
8428
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
8429
|
+
# @!attribute duration
|
8430
|
+
#
|
8431
|
+
# @return [Integer]
|
8432
|
+
required :duration, Integer
|
8433
|
+
|
8434
|
+
# @!attribute duration_unit
|
8435
|
+
#
|
8436
|
+
# @return [Symbol, Orb::Models::Price::UnitWithPercent::CreditAllocation::CustomExpiration::DurationUnit]
|
8437
|
+
required :duration_unit,
|
8438
|
+
enum: -> {
|
8439
|
+
Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration::DurationUnit
|
8440
|
+
}
|
8441
|
+
|
8442
|
+
# @!method initialize(duration:, duration_unit:)
|
8443
|
+
# @param duration [Integer]
|
8444
|
+
# @param duration_unit [Symbol, Orb::Models::Price::UnitWithPercent::CreditAllocation::CustomExpiration::DurationUnit]
|
8445
|
+
|
8446
|
+
# @see Orb::Models::Price::UnitWithPercent::CreditAllocation::CustomExpiration#duration_unit
|
8447
|
+
module DurationUnit
|
8448
|
+
extend Orb::Internal::Type::Enum
|
8449
|
+
|
8450
|
+
DAY = :day
|
8451
|
+
MONTH = :month
|
8452
|
+
|
8453
|
+
# @!method self.values
|
8454
|
+
# @return [Array<Symbol>]
|
8455
|
+
end
|
8456
|
+
end
|
7878
8457
|
end
|
7879
8458
|
|
7880
8459
|
# @see Orb::Models::Price::UnitWithPercent#invoicing_cycle_configuration
|
@@ -8393,9 +8972,48 @@ module Orb
|
|
8393
8972
|
# @return [String]
|
8394
8973
|
required :currency, String
|
8395
8974
|
|
8396
|
-
# @!
|
8975
|
+
# @!attribute custom_expiration
|
8976
|
+
#
|
8977
|
+
# @return [Orb::Models::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration, nil]
|
8978
|
+
required :custom_expiration,
|
8979
|
+
-> { Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration },
|
8980
|
+
nil?: true
|
8981
|
+
|
8982
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
8397
8983
|
# @param allows_rollover [Boolean]
|
8398
8984
|
# @param currency [String]
|
8985
|
+
# @param custom_expiration [Orb::Models::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration, nil]
|
8986
|
+
|
8987
|
+
# @see Orb::Models::Price::MatrixWithAllocation::CreditAllocation#custom_expiration
|
8988
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
8989
|
+
# @!attribute duration
|
8990
|
+
#
|
8991
|
+
# @return [Integer]
|
8992
|
+
required :duration, Integer
|
8993
|
+
|
8994
|
+
# @!attribute duration_unit
|
8995
|
+
#
|
8996
|
+
# @return [Symbol, Orb::Models::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::DurationUnit]
|
8997
|
+
required :duration_unit,
|
8998
|
+
enum: -> {
|
8999
|
+
Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::DurationUnit
|
9000
|
+
}
|
9001
|
+
|
9002
|
+
# @!method initialize(duration:, duration_unit:)
|
9003
|
+
# @param duration [Integer]
|
9004
|
+
# @param duration_unit [Symbol, Orb::Models::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::DurationUnit]
|
9005
|
+
|
9006
|
+
# @see Orb::Models::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration#duration_unit
|
9007
|
+
module DurationUnit
|
9008
|
+
extend Orb::Internal::Type::Enum
|
9009
|
+
|
9010
|
+
DAY = :day
|
9011
|
+
MONTH = :month
|
9012
|
+
|
9013
|
+
# @!method self.values
|
9014
|
+
# @return [Array<Symbol>]
|
9015
|
+
end
|
9016
|
+
end
|
8399
9017
|
end
|
8400
9018
|
|
8401
9019
|
# @see Orb::Models::Price::MatrixWithAllocation#invoicing_cycle_configuration
|
@@ -8983,9 +9601,48 @@ module Orb
|
|
8983
9601
|
# @return [String]
|
8984
9602
|
required :currency, String
|
8985
9603
|
|
8986
|
-
# @!
|
9604
|
+
# @!attribute custom_expiration
|
9605
|
+
#
|
9606
|
+
# @return [Orb::Models::Price::TieredWithProration::CreditAllocation::CustomExpiration, nil]
|
9607
|
+
required :custom_expiration,
|
9608
|
+
-> { Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration },
|
9609
|
+
nil?: true
|
9610
|
+
|
9611
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
8987
9612
|
# @param allows_rollover [Boolean]
|
8988
9613
|
# @param currency [String]
|
9614
|
+
# @param custom_expiration [Orb::Models::Price::TieredWithProration::CreditAllocation::CustomExpiration, nil]
|
9615
|
+
|
9616
|
+
# @see Orb::Models::Price::TieredWithProration::CreditAllocation#custom_expiration
|
9617
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
9618
|
+
# @!attribute duration
|
9619
|
+
#
|
9620
|
+
# @return [Integer]
|
9621
|
+
required :duration, Integer
|
9622
|
+
|
9623
|
+
# @!attribute duration_unit
|
9624
|
+
#
|
9625
|
+
# @return [Symbol, Orb::Models::Price::TieredWithProration::CreditAllocation::CustomExpiration::DurationUnit]
|
9626
|
+
required :duration_unit,
|
9627
|
+
enum: -> {
|
9628
|
+
Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration::DurationUnit
|
9629
|
+
}
|
9630
|
+
|
9631
|
+
# @!method initialize(duration:, duration_unit:)
|
9632
|
+
# @param duration [Integer]
|
9633
|
+
# @param duration_unit [Symbol, Orb::Models::Price::TieredWithProration::CreditAllocation::CustomExpiration::DurationUnit]
|
9634
|
+
|
9635
|
+
# @see Orb::Models::Price::TieredWithProration::CreditAllocation::CustomExpiration#duration_unit
|
9636
|
+
module DurationUnit
|
9637
|
+
extend Orb::Internal::Type::Enum
|
9638
|
+
|
9639
|
+
DAY = :day
|
9640
|
+
MONTH = :month
|
9641
|
+
|
9642
|
+
# @!method self.values
|
9643
|
+
# @return [Array<Symbol>]
|
9644
|
+
end
|
9645
|
+
end
|
8989
9646
|
end
|
8990
9647
|
|
8991
9648
|
# @see Orb::Models::Price::TieredWithProration#invoicing_cycle_configuration
|
@@ -9506,9 +10163,48 @@ module Orb
|
|
9506
10163
|
# @return [String]
|
9507
10164
|
required :currency, String
|
9508
10165
|
|
9509
|
-
# @!
|
10166
|
+
# @!attribute custom_expiration
|
10167
|
+
#
|
10168
|
+
# @return [Orb::Models::Price::UnitWithProration::CreditAllocation::CustomExpiration, nil]
|
10169
|
+
required :custom_expiration,
|
10170
|
+
-> { Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration },
|
10171
|
+
nil?: true
|
10172
|
+
|
10173
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
9510
10174
|
# @param allows_rollover [Boolean]
|
9511
10175
|
# @param currency [String]
|
10176
|
+
# @param custom_expiration [Orb::Models::Price::UnitWithProration::CreditAllocation::CustomExpiration, nil]
|
10177
|
+
|
10178
|
+
# @see Orb::Models::Price::UnitWithProration::CreditAllocation#custom_expiration
|
10179
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
10180
|
+
# @!attribute duration
|
10181
|
+
#
|
10182
|
+
# @return [Integer]
|
10183
|
+
required :duration, Integer
|
10184
|
+
|
10185
|
+
# @!attribute duration_unit
|
10186
|
+
#
|
10187
|
+
# @return [Symbol, Orb::Models::Price::UnitWithProration::CreditAllocation::CustomExpiration::DurationUnit]
|
10188
|
+
required :duration_unit,
|
10189
|
+
enum: -> {
|
10190
|
+
Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration::DurationUnit
|
10191
|
+
}
|
10192
|
+
|
10193
|
+
# @!method initialize(duration:, duration_unit:)
|
10194
|
+
# @param duration [Integer]
|
10195
|
+
# @param duration_unit [Symbol, Orb::Models::Price::UnitWithProration::CreditAllocation::CustomExpiration::DurationUnit]
|
10196
|
+
|
10197
|
+
# @see Orb::Models::Price::UnitWithProration::CreditAllocation::CustomExpiration#duration_unit
|
10198
|
+
module DurationUnit
|
10199
|
+
extend Orb::Internal::Type::Enum
|
10200
|
+
|
10201
|
+
DAY = :day
|
10202
|
+
MONTH = :month
|
10203
|
+
|
10204
|
+
# @!method self.values
|
10205
|
+
# @return [Array<Symbol>]
|
10206
|
+
end
|
10207
|
+
end
|
9512
10208
|
end
|
9513
10209
|
|
9514
10210
|
# @see Orb::Models::Price::UnitWithProration#invoicing_cycle_configuration
|
@@ -10029,9 +10725,48 @@ module Orb
|
|
10029
10725
|
# @return [String]
|
10030
10726
|
required :currency, String
|
10031
10727
|
|
10032
|
-
# @!
|
10728
|
+
# @!attribute custom_expiration
|
10729
|
+
#
|
10730
|
+
# @return [Orb::Models::Price::GroupedAllocation::CreditAllocation::CustomExpiration, nil]
|
10731
|
+
required :custom_expiration,
|
10732
|
+
-> { Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration },
|
10733
|
+
nil?: true
|
10734
|
+
|
10735
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
10033
10736
|
# @param allows_rollover [Boolean]
|
10034
10737
|
# @param currency [String]
|
10738
|
+
# @param custom_expiration [Orb::Models::Price::GroupedAllocation::CreditAllocation::CustomExpiration, nil]
|
10739
|
+
|
10740
|
+
# @see Orb::Models::Price::GroupedAllocation::CreditAllocation#custom_expiration
|
10741
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
10742
|
+
# @!attribute duration
|
10743
|
+
#
|
10744
|
+
# @return [Integer]
|
10745
|
+
required :duration, Integer
|
10746
|
+
|
10747
|
+
# @!attribute duration_unit
|
10748
|
+
#
|
10749
|
+
# @return [Symbol, Orb::Models::Price::GroupedAllocation::CreditAllocation::CustomExpiration::DurationUnit]
|
10750
|
+
required :duration_unit,
|
10751
|
+
enum: -> {
|
10752
|
+
Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration::DurationUnit
|
10753
|
+
}
|
10754
|
+
|
10755
|
+
# @!method initialize(duration:, duration_unit:)
|
10756
|
+
# @param duration [Integer]
|
10757
|
+
# @param duration_unit [Symbol, Orb::Models::Price::GroupedAllocation::CreditAllocation::CustomExpiration::DurationUnit]
|
10758
|
+
|
10759
|
+
# @see Orb::Models::Price::GroupedAllocation::CreditAllocation::CustomExpiration#duration_unit
|
10760
|
+
module DurationUnit
|
10761
|
+
extend Orb::Internal::Type::Enum
|
10762
|
+
|
10763
|
+
DAY = :day
|
10764
|
+
MONTH = :month
|
10765
|
+
|
10766
|
+
# @!method self.values
|
10767
|
+
# @return [Array<Symbol>]
|
10768
|
+
end
|
10769
|
+
end
|
10035
10770
|
end
|
10036
10771
|
|
10037
10772
|
# @see Orb::Models::Price::GroupedAllocation#invoicing_cycle_configuration
|
@@ -10560,9 +11295,48 @@ module Orb
|
|
10560
11295
|
# @return [String]
|
10561
11296
|
required :currency, String
|
10562
11297
|
|
10563
|
-
# @!
|
11298
|
+
# @!attribute custom_expiration
|
11299
|
+
#
|
11300
|
+
# @return [Orb::Models::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration, nil]
|
11301
|
+
required :custom_expiration,
|
11302
|
+
-> { Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration },
|
11303
|
+
nil?: true
|
11304
|
+
|
11305
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
10564
11306
|
# @param allows_rollover [Boolean]
|
10565
11307
|
# @param currency [String]
|
11308
|
+
# @param custom_expiration [Orb::Models::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration, nil]
|
11309
|
+
|
11310
|
+
# @see Orb::Models::Price::GroupedWithProratedMinimum::CreditAllocation#custom_expiration
|
11311
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
11312
|
+
# @!attribute duration
|
11313
|
+
#
|
11314
|
+
# @return [Integer]
|
11315
|
+
required :duration, Integer
|
11316
|
+
|
11317
|
+
# @!attribute duration_unit
|
11318
|
+
#
|
11319
|
+
# @return [Symbol, Orb::Models::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::DurationUnit]
|
11320
|
+
required :duration_unit,
|
11321
|
+
enum: -> {
|
11322
|
+
Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::DurationUnit
|
11323
|
+
}
|
11324
|
+
|
11325
|
+
# @!method initialize(duration:, duration_unit:)
|
11326
|
+
# @param duration [Integer]
|
11327
|
+
# @param duration_unit [Symbol, Orb::Models::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::DurationUnit]
|
11328
|
+
|
11329
|
+
# @see Orb::Models::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration#duration_unit
|
11330
|
+
module DurationUnit
|
11331
|
+
extend Orb::Internal::Type::Enum
|
11332
|
+
|
11333
|
+
DAY = :day
|
11334
|
+
MONTH = :month
|
11335
|
+
|
11336
|
+
# @!method self.values
|
11337
|
+
# @return [Array<Symbol>]
|
11338
|
+
end
|
11339
|
+
end
|
10566
11340
|
end
|
10567
11341
|
|
10568
11342
|
# @see Orb::Models::Price::GroupedWithProratedMinimum#invoicing_cycle_configuration
|
@@ -11091,9 +11865,48 @@ module Orb
|
|
11091
11865
|
# @return [String]
|
11092
11866
|
required :currency, String
|
11093
11867
|
|
11094
|
-
# @!
|
11868
|
+
# @!attribute custom_expiration
|
11869
|
+
#
|
11870
|
+
# @return [Orb::Models::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration, nil]
|
11871
|
+
required :custom_expiration,
|
11872
|
+
-> { Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration },
|
11873
|
+
nil?: true
|
11874
|
+
|
11875
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
11095
11876
|
# @param allows_rollover [Boolean]
|
11096
11877
|
# @param currency [String]
|
11878
|
+
# @param custom_expiration [Orb::Models::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration, nil]
|
11879
|
+
|
11880
|
+
# @see Orb::Models::Price::GroupedWithMeteredMinimum::CreditAllocation#custom_expiration
|
11881
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
11882
|
+
# @!attribute duration
|
11883
|
+
#
|
11884
|
+
# @return [Integer]
|
11885
|
+
required :duration, Integer
|
11886
|
+
|
11887
|
+
# @!attribute duration_unit
|
11888
|
+
#
|
11889
|
+
# @return [Symbol, Orb::Models::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::DurationUnit]
|
11890
|
+
required :duration_unit,
|
11891
|
+
enum: -> {
|
11892
|
+
Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::DurationUnit
|
11893
|
+
}
|
11894
|
+
|
11895
|
+
# @!method initialize(duration:, duration_unit:)
|
11896
|
+
# @param duration [Integer]
|
11897
|
+
# @param duration_unit [Symbol, Orb::Models::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::DurationUnit]
|
11898
|
+
|
11899
|
+
# @see Orb::Models::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration#duration_unit
|
11900
|
+
module DurationUnit
|
11901
|
+
extend Orb::Internal::Type::Enum
|
11902
|
+
|
11903
|
+
DAY = :day
|
11904
|
+
MONTH = :month
|
11905
|
+
|
11906
|
+
# @!method self.values
|
11907
|
+
# @return [Array<Symbol>]
|
11908
|
+
end
|
11909
|
+
end
|
11097
11910
|
end
|
11098
11911
|
|
11099
11912
|
# @see Orb::Models::Price::GroupedWithMeteredMinimum#invoicing_cycle_configuration
|
@@ -11615,9 +12428,48 @@ module Orb
|
|
11615
12428
|
# @return [String]
|
11616
12429
|
required :currency, String
|
11617
12430
|
|
11618
|
-
# @!
|
12431
|
+
# @!attribute custom_expiration
|
12432
|
+
#
|
12433
|
+
# @return [Orb::Models::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration, nil]
|
12434
|
+
required :custom_expiration,
|
12435
|
+
-> { Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration },
|
12436
|
+
nil?: true
|
12437
|
+
|
12438
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
11619
12439
|
# @param allows_rollover [Boolean]
|
11620
12440
|
# @param currency [String]
|
12441
|
+
# @param custom_expiration [Orb::Models::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration, nil]
|
12442
|
+
|
12443
|
+
# @see Orb::Models::Price::MatrixWithDisplayName::CreditAllocation#custom_expiration
|
12444
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
12445
|
+
# @!attribute duration
|
12446
|
+
#
|
12447
|
+
# @return [Integer]
|
12448
|
+
required :duration, Integer
|
12449
|
+
|
12450
|
+
# @!attribute duration_unit
|
12451
|
+
#
|
12452
|
+
# @return [Symbol, Orb::Models::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::DurationUnit]
|
12453
|
+
required :duration_unit,
|
12454
|
+
enum: -> {
|
12455
|
+
Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::DurationUnit
|
12456
|
+
}
|
12457
|
+
|
12458
|
+
# @!method initialize(duration:, duration_unit:)
|
12459
|
+
# @param duration [Integer]
|
12460
|
+
# @param duration_unit [Symbol, Orb::Models::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::DurationUnit]
|
12461
|
+
|
12462
|
+
# @see Orb::Models::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration#duration_unit
|
12463
|
+
module DurationUnit
|
12464
|
+
extend Orb::Internal::Type::Enum
|
12465
|
+
|
12466
|
+
DAY = :day
|
12467
|
+
MONTH = :month
|
12468
|
+
|
12469
|
+
# @!method self.values
|
12470
|
+
# @return [Array<Symbol>]
|
12471
|
+
end
|
12472
|
+
end
|
11621
12473
|
end
|
11622
12474
|
|
11623
12475
|
# @see Orb::Models::Price::MatrixWithDisplayName#invoicing_cycle_configuration
|
@@ -12138,9 +12990,48 @@ module Orb
|
|
12138
12990
|
# @return [String]
|
12139
12991
|
required :currency, String
|
12140
12992
|
|
12141
|
-
# @!
|
12993
|
+
# @!attribute custom_expiration
|
12994
|
+
#
|
12995
|
+
# @return [Orb::Models::Price::BulkWithProration::CreditAllocation::CustomExpiration, nil]
|
12996
|
+
required :custom_expiration,
|
12997
|
+
-> { Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration },
|
12998
|
+
nil?: true
|
12999
|
+
|
13000
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
12142
13001
|
# @param allows_rollover [Boolean]
|
12143
13002
|
# @param currency [String]
|
13003
|
+
# @param custom_expiration [Orb::Models::Price::BulkWithProration::CreditAllocation::CustomExpiration, nil]
|
13004
|
+
|
13005
|
+
# @see Orb::Models::Price::BulkWithProration::CreditAllocation#custom_expiration
|
13006
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
13007
|
+
# @!attribute duration
|
13008
|
+
#
|
13009
|
+
# @return [Integer]
|
13010
|
+
required :duration, Integer
|
13011
|
+
|
13012
|
+
# @!attribute duration_unit
|
13013
|
+
#
|
13014
|
+
# @return [Symbol, Orb::Models::Price::BulkWithProration::CreditAllocation::CustomExpiration::DurationUnit]
|
13015
|
+
required :duration_unit,
|
13016
|
+
enum: -> {
|
13017
|
+
Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration::DurationUnit
|
13018
|
+
}
|
13019
|
+
|
13020
|
+
# @!method initialize(duration:, duration_unit:)
|
13021
|
+
# @param duration [Integer]
|
13022
|
+
# @param duration_unit [Symbol, Orb::Models::Price::BulkWithProration::CreditAllocation::CustomExpiration::DurationUnit]
|
13023
|
+
|
13024
|
+
# @see Orb::Models::Price::BulkWithProration::CreditAllocation::CustomExpiration#duration_unit
|
13025
|
+
module DurationUnit
|
13026
|
+
extend Orb::Internal::Type::Enum
|
13027
|
+
|
13028
|
+
DAY = :day
|
13029
|
+
MONTH = :month
|
13030
|
+
|
13031
|
+
# @!method self.values
|
13032
|
+
# @return [Array<Symbol>]
|
13033
|
+
end
|
13034
|
+
end
|
12144
13035
|
end
|
12145
13036
|
|
12146
13037
|
# @see Orb::Models::Price::BulkWithProration#invoicing_cycle_configuration
|
@@ -12664,9 +13555,48 @@ module Orb
|
|
12664
13555
|
# @return [String]
|
12665
13556
|
required :currency, String
|
12666
13557
|
|
12667
|
-
# @!
|
13558
|
+
# @!attribute custom_expiration
|
13559
|
+
#
|
13560
|
+
# @return [Orb::Models::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration, nil]
|
13561
|
+
required :custom_expiration,
|
13562
|
+
-> { Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration },
|
13563
|
+
nil?: true
|
13564
|
+
|
13565
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
12668
13566
|
# @param allows_rollover [Boolean]
|
12669
13567
|
# @param currency [String]
|
13568
|
+
# @param custom_expiration [Orb::Models::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration, nil]
|
13569
|
+
|
13570
|
+
# @see Orb::Models::Price::GroupedTieredPackage::CreditAllocation#custom_expiration
|
13571
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
13572
|
+
# @!attribute duration
|
13573
|
+
#
|
13574
|
+
# @return [Integer]
|
13575
|
+
required :duration, Integer
|
13576
|
+
|
13577
|
+
# @!attribute duration_unit
|
13578
|
+
#
|
13579
|
+
# @return [Symbol, Orb::Models::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::DurationUnit]
|
13580
|
+
required :duration_unit,
|
13581
|
+
enum: -> {
|
13582
|
+
Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::DurationUnit
|
13583
|
+
}
|
13584
|
+
|
13585
|
+
# @!method initialize(duration:, duration_unit:)
|
13586
|
+
# @param duration [Integer]
|
13587
|
+
# @param duration_unit [Symbol, Orb::Models::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::DurationUnit]
|
13588
|
+
|
13589
|
+
# @see Orb::Models::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration#duration_unit
|
13590
|
+
module DurationUnit
|
13591
|
+
extend Orb::Internal::Type::Enum
|
13592
|
+
|
13593
|
+
DAY = :day
|
13594
|
+
MONTH = :month
|
13595
|
+
|
13596
|
+
# @!method self.values
|
13597
|
+
# @return [Array<Symbol>]
|
13598
|
+
end
|
13599
|
+
end
|
12670
13600
|
end
|
12671
13601
|
|
12672
13602
|
# @see Orb::Models::Price::GroupedTieredPackage#invoicing_cycle_configuration
|
@@ -13190,9 +14120,48 @@ module Orb
|
|
13190
14120
|
# @return [String]
|
13191
14121
|
required :currency, String
|
13192
14122
|
|
13193
|
-
# @!
|
14123
|
+
# @!attribute custom_expiration
|
14124
|
+
#
|
14125
|
+
# @return [Orb::Models::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration, nil]
|
14126
|
+
required :custom_expiration,
|
14127
|
+
-> { Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration },
|
14128
|
+
nil?: true
|
14129
|
+
|
14130
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
13194
14131
|
# @param allows_rollover [Boolean]
|
13195
14132
|
# @param currency [String]
|
14133
|
+
# @param custom_expiration [Orb::Models::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration, nil]
|
14134
|
+
|
14135
|
+
# @see Orb::Models::Price::MaxGroupTieredPackage::CreditAllocation#custom_expiration
|
14136
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
14137
|
+
# @!attribute duration
|
14138
|
+
#
|
14139
|
+
# @return [Integer]
|
14140
|
+
required :duration, Integer
|
14141
|
+
|
14142
|
+
# @!attribute duration_unit
|
14143
|
+
#
|
14144
|
+
# @return [Symbol, Orb::Models::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::DurationUnit]
|
14145
|
+
required :duration_unit,
|
14146
|
+
enum: -> {
|
14147
|
+
Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::DurationUnit
|
14148
|
+
}
|
14149
|
+
|
14150
|
+
# @!method initialize(duration:, duration_unit:)
|
14151
|
+
# @param duration [Integer]
|
14152
|
+
# @param duration_unit [Symbol, Orb::Models::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::DurationUnit]
|
14153
|
+
|
14154
|
+
# @see Orb::Models::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration#duration_unit
|
14155
|
+
module DurationUnit
|
14156
|
+
extend Orb::Internal::Type::Enum
|
14157
|
+
|
14158
|
+
DAY = :day
|
14159
|
+
MONTH = :month
|
14160
|
+
|
14161
|
+
# @!method self.values
|
14162
|
+
# @return [Array<Symbol>]
|
14163
|
+
end
|
14164
|
+
end
|
13196
14165
|
end
|
13197
14166
|
|
13198
14167
|
# @see Orb::Models::Price::MaxGroupTieredPackage#invoicing_cycle_configuration
|
@@ -13723,9 +14692,48 @@ module Orb
|
|
13723
14692
|
# @return [String]
|
13724
14693
|
required :currency, String
|
13725
14694
|
|
13726
|
-
# @!
|
14695
|
+
# @!attribute custom_expiration
|
14696
|
+
#
|
14697
|
+
# @return [Orb::Models::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration, nil]
|
14698
|
+
required :custom_expiration,
|
14699
|
+
-> { Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration },
|
14700
|
+
nil?: true
|
14701
|
+
|
14702
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
13727
14703
|
# @param allows_rollover [Boolean]
|
13728
14704
|
# @param currency [String]
|
14705
|
+
# @param custom_expiration [Orb::Models::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration, nil]
|
14706
|
+
|
14707
|
+
# @see Orb::Models::Price::ScalableMatrixWithUnitPricing::CreditAllocation#custom_expiration
|
14708
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
14709
|
+
# @!attribute duration
|
14710
|
+
#
|
14711
|
+
# @return [Integer]
|
14712
|
+
required :duration, Integer
|
14713
|
+
|
14714
|
+
# @!attribute duration_unit
|
14715
|
+
#
|
14716
|
+
# @return [Symbol, Orb::Models::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::DurationUnit]
|
14717
|
+
required :duration_unit,
|
14718
|
+
enum: -> {
|
14719
|
+
Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::DurationUnit
|
14720
|
+
}
|
14721
|
+
|
14722
|
+
# @!method initialize(duration:, duration_unit:)
|
14723
|
+
# @param duration [Integer]
|
14724
|
+
# @param duration_unit [Symbol, Orb::Models::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::DurationUnit]
|
14725
|
+
|
14726
|
+
# @see Orb::Models::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration#duration_unit
|
14727
|
+
module DurationUnit
|
14728
|
+
extend Orb::Internal::Type::Enum
|
14729
|
+
|
14730
|
+
DAY = :day
|
14731
|
+
MONTH = :month
|
14732
|
+
|
14733
|
+
# @!method self.values
|
14734
|
+
# @return [Array<Symbol>]
|
14735
|
+
end
|
14736
|
+
end
|
13729
14737
|
end
|
13730
14738
|
|
13731
14739
|
# @see Orb::Models::Price::ScalableMatrixWithUnitPricing#invoicing_cycle_configuration
|
@@ -14264,9 +15272,48 @@ module Orb
|
|
14264
15272
|
# @return [String]
|
14265
15273
|
required :currency, String
|
14266
15274
|
|
14267
|
-
# @!
|
15275
|
+
# @!attribute custom_expiration
|
15276
|
+
#
|
15277
|
+
# @return [Orb::Models::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration, nil]
|
15278
|
+
required :custom_expiration,
|
15279
|
+
-> { Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration },
|
15280
|
+
nil?: true
|
15281
|
+
|
15282
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
14268
15283
|
# @param allows_rollover [Boolean]
|
14269
15284
|
# @param currency [String]
|
15285
|
+
# @param custom_expiration [Orb::Models::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration, nil]
|
15286
|
+
|
15287
|
+
# @see Orb::Models::Price::ScalableMatrixWithTieredPricing::CreditAllocation#custom_expiration
|
15288
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
15289
|
+
# @!attribute duration
|
15290
|
+
#
|
15291
|
+
# @return [Integer]
|
15292
|
+
required :duration, Integer
|
15293
|
+
|
15294
|
+
# @!attribute duration_unit
|
15295
|
+
#
|
15296
|
+
# @return [Symbol, Orb::Models::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::DurationUnit]
|
15297
|
+
required :duration_unit,
|
15298
|
+
enum: -> {
|
15299
|
+
Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::DurationUnit
|
15300
|
+
}
|
15301
|
+
|
15302
|
+
# @!method initialize(duration:, duration_unit:)
|
15303
|
+
# @param duration [Integer]
|
15304
|
+
# @param duration_unit [Symbol, Orb::Models::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::DurationUnit]
|
15305
|
+
|
15306
|
+
# @see Orb::Models::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration#duration_unit
|
15307
|
+
module DurationUnit
|
15308
|
+
extend Orb::Internal::Type::Enum
|
15309
|
+
|
15310
|
+
DAY = :day
|
15311
|
+
MONTH = :month
|
15312
|
+
|
15313
|
+
# @!method self.values
|
15314
|
+
# @return [Array<Symbol>]
|
15315
|
+
end
|
15316
|
+
end
|
14270
15317
|
end
|
14271
15318
|
|
14272
15319
|
# @see Orb::Models::Price::ScalableMatrixWithTieredPricing#invoicing_cycle_configuration
|
@@ -14798,9 +15845,48 @@ module Orb
|
|
14798
15845
|
# @return [String]
|
14799
15846
|
required :currency, String
|
14800
15847
|
|
14801
|
-
# @!
|
15848
|
+
# @!attribute custom_expiration
|
15849
|
+
#
|
15850
|
+
# @return [Orb::Models::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration, nil]
|
15851
|
+
required :custom_expiration,
|
15852
|
+
-> { Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration },
|
15853
|
+
nil?: true
|
15854
|
+
|
15855
|
+
# @!method initialize(allows_rollover:, currency:, custom_expiration:)
|
14802
15856
|
# @param allows_rollover [Boolean]
|
14803
15857
|
# @param currency [String]
|
15858
|
+
# @param custom_expiration [Orb::Models::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration, nil]
|
15859
|
+
|
15860
|
+
# @see Orb::Models::Price::CumulativeGroupedBulk::CreditAllocation#custom_expiration
|
15861
|
+
class CustomExpiration < Orb::Internal::Type::BaseModel
|
15862
|
+
# @!attribute duration
|
15863
|
+
#
|
15864
|
+
# @return [Integer]
|
15865
|
+
required :duration, Integer
|
15866
|
+
|
15867
|
+
# @!attribute duration_unit
|
15868
|
+
#
|
15869
|
+
# @return [Symbol, Orb::Models::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::DurationUnit]
|
15870
|
+
required :duration_unit,
|
15871
|
+
enum: -> {
|
15872
|
+
Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::DurationUnit
|
15873
|
+
}
|
15874
|
+
|
15875
|
+
# @!method initialize(duration:, duration_unit:)
|
15876
|
+
# @param duration [Integer]
|
15877
|
+
# @param duration_unit [Symbol, Orb::Models::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::DurationUnit]
|
15878
|
+
|
15879
|
+
# @see Orb::Models::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration#duration_unit
|
15880
|
+
module DurationUnit
|
15881
|
+
extend Orb::Internal::Type::Enum
|
15882
|
+
|
15883
|
+
DAY = :day
|
15884
|
+
MONTH = :month
|
15885
|
+
|
15886
|
+
# @!method self.values
|
15887
|
+
# @return [Array<Symbol>]
|
15888
|
+
end
|
15889
|
+
end
|
14804
15890
|
end
|
14805
15891
|
|
14806
15892
|
# @see Orb::Models::Price::CumulativeGroupedBulk#invoicing_cycle_configuration
|