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.
@@ -223,16 +223,64 @@ module Orb
223
223
  def self?.values: -> ::Array[Orb::Models::Price::Unit::cadence]
224
224
  end
225
225
 
226
- type credit_allocation = { allows_rollover: bool, currency: String }
226
+ type credit_allocation =
227
+ {
228
+ allows_rollover: bool,
229
+ currency: String,
230
+ custom_expiration: Orb::Price::Unit::CreditAllocation::CustomExpiration?
231
+ }
227
232
 
228
233
  class CreditAllocation < Orb::Internal::Type::BaseModel
229
234
  attr_accessor allows_rollover: bool
230
235
 
231
236
  attr_accessor currency: String
232
237
 
233
- def initialize: (allows_rollover: bool, currency: String) -> void
238
+ attr_accessor custom_expiration: Orb::Price::Unit::CreditAllocation::CustomExpiration?
239
+
240
+ def initialize: (
241
+ allows_rollover: bool,
242
+ currency: String,
243
+ custom_expiration: Orb::Price::Unit::CreditAllocation::CustomExpiration?
244
+ ) -> void
245
+
246
+ def to_hash: -> {
247
+ allows_rollover: bool,
248
+ currency: String,
249
+ custom_expiration: Orb::Price::Unit::CreditAllocation::CustomExpiration?
250
+ }
251
+
252
+ type custom_expiration =
253
+ {
254
+ duration: Integer,
255
+ duration_unit: Orb::Models::Price::Unit::CreditAllocation::CustomExpiration::duration_unit
256
+ }
257
+
258
+ class CustomExpiration < Orb::Internal::Type::BaseModel
259
+ attr_accessor duration: Integer
260
+
261
+ attr_accessor duration_unit: Orb::Models::Price::Unit::CreditAllocation::CustomExpiration::duration_unit
262
+
263
+ def initialize: (
264
+ duration: Integer,
265
+ duration_unit: Orb::Models::Price::Unit::CreditAllocation::CustomExpiration::duration_unit
266
+ ) -> void
267
+
268
+ def to_hash: -> {
269
+ duration: Integer,
270
+ duration_unit: Orb::Models::Price::Unit::CreditAllocation::CustomExpiration::duration_unit
271
+ }
272
+
273
+ type duration_unit = :day | :month
234
274
 
235
- def to_hash: -> { allows_rollover: bool, currency: String }
275
+ module DurationUnit
276
+ extend Orb::Internal::Type::Enum
277
+
278
+ DAY: :day
279
+ MONTH: :month
280
+
281
+ def self?.values: -> ::Array[Orb::Models::Price::Unit::CreditAllocation::CustomExpiration::duration_unit]
282
+ end
283
+ end
236
284
  end
237
285
 
238
286
  type invoicing_cycle_configuration =
@@ -674,16 +722,64 @@ module Orb
674
722
  def self?.values: -> ::Array[Orb::Models::Price::Package::cadence]
675
723
  end
676
724
 
677
- type credit_allocation = { allows_rollover: bool, currency: String }
725
+ type credit_allocation =
726
+ {
727
+ allows_rollover: bool,
728
+ currency: String,
729
+ custom_expiration: Orb::Price::Package::CreditAllocation::CustomExpiration?
730
+ }
678
731
 
679
732
  class CreditAllocation < Orb::Internal::Type::BaseModel
680
733
  attr_accessor allows_rollover: bool
681
734
 
682
735
  attr_accessor currency: String
683
736
 
684
- def initialize: (allows_rollover: bool, currency: String) -> void
737
+ attr_accessor custom_expiration: Orb::Price::Package::CreditAllocation::CustomExpiration?
738
+
739
+ def initialize: (
740
+ allows_rollover: bool,
741
+ currency: String,
742
+ custom_expiration: Orb::Price::Package::CreditAllocation::CustomExpiration?
743
+ ) -> void
744
+
745
+ def to_hash: -> {
746
+ allows_rollover: bool,
747
+ currency: String,
748
+ custom_expiration: Orb::Price::Package::CreditAllocation::CustomExpiration?
749
+ }
750
+
751
+ type custom_expiration =
752
+ {
753
+ duration: Integer,
754
+ duration_unit: Orb::Models::Price::Package::CreditAllocation::CustomExpiration::duration_unit
755
+ }
756
+
757
+ class CustomExpiration < Orb::Internal::Type::BaseModel
758
+ attr_accessor duration: Integer
759
+
760
+ attr_accessor duration_unit: Orb::Models::Price::Package::CreditAllocation::CustomExpiration::duration_unit
761
+
762
+ def initialize: (
763
+ duration: Integer,
764
+ duration_unit: Orb::Models::Price::Package::CreditAllocation::CustomExpiration::duration_unit
765
+ ) -> void
766
+
767
+ def to_hash: -> {
768
+ duration: Integer,
769
+ duration_unit: Orb::Models::Price::Package::CreditAllocation::CustomExpiration::duration_unit
770
+ }
771
+
772
+ type duration_unit = :day | :month
773
+
774
+ module DurationUnit
775
+ extend Orb::Internal::Type::Enum
776
+
777
+ DAY: :day
778
+ MONTH: :month
685
779
 
686
- def to_hash: -> { allows_rollover: bool, currency: String }
780
+ def self?.values: -> ::Array[Orb::Models::Price::Package::CreditAllocation::CustomExpiration::duration_unit]
781
+ end
782
+ end
687
783
  end
688
784
 
689
785
  type invoicing_cycle_configuration =
@@ -1130,16 +1226,64 @@ module Orb
1130
1226
  def self?.values: -> ::Array[Orb::Models::Price::Matrix::cadence]
1131
1227
  end
1132
1228
 
1133
- type credit_allocation = { allows_rollover: bool, currency: String }
1229
+ type credit_allocation =
1230
+ {
1231
+ allows_rollover: bool,
1232
+ currency: String,
1233
+ custom_expiration: Orb::Price::Matrix::CreditAllocation::CustomExpiration?
1234
+ }
1134
1235
 
1135
1236
  class CreditAllocation < Orb::Internal::Type::BaseModel
1136
1237
  attr_accessor allows_rollover: bool
1137
1238
 
1138
1239
  attr_accessor currency: String
1139
1240
 
1140
- def initialize: (allows_rollover: bool, currency: String) -> void
1241
+ attr_accessor custom_expiration: Orb::Price::Matrix::CreditAllocation::CustomExpiration?
1242
+
1243
+ def initialize: (
1244
+ allows_rollover: bool,
1245
+ currency: String,
1246
+ custom_expiration: Orb::Price::Matrix::CreditAllocation::CustomExpiration?
1247
+ ) -> void
1248
+
1249
+ def to_hash: -> {
1250
+ allows_rollover: bool,
1251
+ currency: String,
1252
+ custom_expiration: Orb::Price::Matrix::CreditAllocation::CustomExpiration?
1253
+ }
1254
+
1255
+ type custom_expiration =
1256
+ {
1257
+ duration: Integer,
1258
+ duration_unit: Orb::Models::Price::Matrix::CreditAllocation::CustomExpiration::duration_unit
1259
+ }
1260
+
1261
+ class CustomExpiration < Orb::Internal::Type::BaseModel
1262
+ attr_accessor duration: Integer
1263
+
1264
+ attr_accessor duration_unit: Orb::Models::Price::Matrix::CreditAllocation::CustomExpiration::duration_unit
1265
+
1266
+ def initialize: (
1267
+ duration: Integer,
1268
+ duration_unit: Orb::Models::Price::Matrix::CreditAllocation::CustomExpiration::duration_unit
1269
+ ) -> void
1270
+
1271
+ def to_hash: -> {
1272
+ duration: Integer,
1273
+ duration_unit: Orb::Models::Price::Matrix::CreditAllocation::CustomExpiration::duration_unit
1274
+ }
1275
+
1276
+ type duration_unit = :day | :month
1277
+
1278
+ module DurationUnit
1279
+ extend Orb::Internal::Type::Enum
1141
1280
 
1142
- def to_hash: -> { allows_rollover: bool, currency: String }
1281
+ DAY: :day
1282
+ MONTH: :month
1283
+
1284
+ def self?.values: -> ::Array[Orb::Models::Price::Matrix::CreditAllocation::CustomExpiration::duration_unit]
1285
+ end
1286
+ end
1143
1287
  end
1144
1288
 
1145
1289
  type invoicing_cycle_configuration =
@@ -1617,16 +1761,64 @@ module Orb
1617
1761
  def self?.values: -> ::Array[Orb::Models::Price::Tiered::cadence]
1618
1762
  end
1619
1763
 
1620
- type credit_allocation = { allows_rollover: bool, currency: String }
1764
+ type credit_allocation =
1765
+ {
1766
+ allows_rollover: bool,
1767
+ currency: String,
1768
+ custom_expiration: Orb::Price::Tiered::CreditAllocation::CustomExpiration?
1769
+ }
1621
1770
 
1622
1771
  class CreditAllocation < Orb::Internal::Type::BaseModel
1623
1772
  attr_accessor allows_rollover: bool
1624
1773
 
1625
1774
  attr_accessor currency: String
1626
1775
 
1627
- def initialize: (allows_rollover: bool, currency: String) -> void
1776
+ attr_accessor custom_expiration: Orb::Price::Tiered::CreditAllocation::CustomExpiration?
1777
+
1778
+ def initialize: (
1779
+ allows_rollover: bool,
1780
+ currency: String,
1781
+ custom_expiration: Orb::Price::Tiered::CreditAllocation::CustomExpiration?
1782
+ ) -> void
1783
+
1784
+ def to_hash: -> {
1785
+ allows_rollover: bool,
1786
+ currency: String,
1787
+ custom_expiration: Orb::Price::Tiered::CreditAllocation::CustomExpiration?
1788
+ }
1789
+
1790
+ type custom_expiration =
1791
+ {
1792
+ duration: Integer,
1793
+ duration_unit: Orb::Models::Price::Tiered::CreditAllocation::CustomExpiration::duration_unit
1794
+ }
1795
+
1796
+ class CustomExpiration < Orb::Internal::Type::BaseModel
1797
+ attr_accessor duration: Integer
1798
+
1799
+ attr_accessor duration_unit: Orb::Models::Price::Tiered::CreditAllocation::CustomExpiration::duration_unit
1800
+
1801
+ def initialize: (
1802
+ duration: Integer,
1803
+ duration_unit: Orb::Models::Price::Tiered::CreditAllocation::CustomExpiration::duration_unit
1804
+ ) -> void
1805
+
1806
+ def to_hash: -> {
1807
+ duration: Integer,
1808
+ duration_unit: Orb::Models::Price::Tiered::CreditAllocation::CustomExpiration::duration_unit
1809
+ }
1810
+
1811
+ type duration_unit = :day | :month
1812
+
1813
+ module DurationUnit
1814
+ extend Orb::Internal::Type::Enum
1815
+
1816
+ DAY: :day
1817
+ MONTH: :month
1628
1818
 
1629
- def to_hash: -> { allows_rollover: bool, currency: String }
1819
+ def self?.values: -> ::Array[Orb::Models::Price::Tiered::CreditAllocation::CustomExpiration::duration_unit]
1820
+ end
1821
+ end
1630
1822
  end
1631
1823
 
1632
1824
  type invoicing_cycle_configuration =
@@ -2096,16 +2288,64 @@ module Orb
2096
2288
  def self?.values: -> ::Array[Orb::Models::Price::TieredBps::cadence]
2097
2289
  end
2098
2290
 
2099
- type credit_allocation = { allows_rollover: bool, currency: String }
2291
+ type credit_allocation =
2292
+ {
2293
+ allows_rollover: bool,
2294
+ currency: String,
2295
+ custom_expiration: Orb::Price::TieredBps::CreditAllocation::CustomExpiration?
2296
+ }
2100
2297
 
2101
2298
  class CreditAllocation < Orb::Internal::Type::BaseModel
2102
2299
  attr_accessor allows_rollover: bool
2103
2300
 
2104
2301
  attr_accessor currency: String
2105
2302
 
2106
- def initialize: (allows_rollover: bool, currency: String) -> void
2303
+ attr_accessor custom_expiration: Orb::Price::TieredBps::CreditAllocation::CustomExpiration?
2304
+
2305
+ def initialize: (
2306
+ allows_rollover: bool,
2307
+ currency: String,
2308
+ custom_expiration: Orb::Price::TieredBps::CreditAllocation::CustomExpiration?
2309
+ ) -> void
2310
+
2311
+ def to_hash: -> {
2312
+ allows_rollover: bool,
2313
+ currency: String,
2314
+ custom_expiration: Orb::Price::TieredBps::CreditAllocation::CustomExpiration?
2315
+ }
2316
+
2317
+ type custom_expiration =
2318
+ {
2319
+ duration: Integer,
2320
+ duration_unit: Orb::Models::Price::TieredBps::CreditAllocation::CustomExpiration::duration_unit
2321
+ }
2322
+
2323
+ class CustomExpiration < Orb::Internal::Type::BaseModel
2324
+ attr_accessor duration: Integer
2107
2325
 
2108
- def to_hash: -> { allows_rollover: bool, currency: String }
2326
+ attr_accessor duration_unit: Orb::Models::Price::TieredBps::CreditAllocation::CustomExpiration::duration_unit
2327
+
2328
+ def initialize: (
2329
+ duration: Integer,
2330
+ duration_unit: Orb::Models::Price::TieredBps::CreditAllocation::CustomExpiration::duration_unit
2331
+ ) -> void
2332
+
2333
+ def to_hash: -> {
2334
+ duration: Integer,
2335
+ duration_unit: Orb::Models::Price::TieredBps::CreditAllocation::CustomExpiration::duration_unit
2336
+ }
2337
+
2338
+ type duration_unit = :day | :month
2339
+
2340
+ module DurationUnit
2341
+ extend Orb::Internal::Type::Enum
2342
+
2343
+ DAY: :day
2344
+ MONTH: :month
2345
+
2346
+ def self?.values: -> ::Array[Orb::Models::Price::TieredBps::CreditAllocation::CustomExpiration::duration_unit]
2347
+ end
2348
+ end
2109
2349
  end
2110
2350
 
2111
2351
  type invoicing_cycle_configuration =
@@ -2596,16 +2836,64 @@ module Orb
2596
2836
  def self?.values: -> ::Array[Orb::Models::Price::Bps::cadence]
2597
2837
  end
2598
2838
 
2599
- type credit_allocation = { allows_rollover: bool, currency: String }
2839
+ type credit_allocation =
2840
+ {
2841
+ allows_rollover: bool,
2842
+ currency: String,
2843
+ custom_expiration: Orb::Price::Bps::CreditAllocation::CustomExpiration?
2844
+ }
2600
2845
 
2601
2846
  class CreditAllocation < Orb::Internal::Type::BaseModel
2602
2847
  attr_accessor allows_rollover: bool
2603
2848
 
2604
2849
  attr_accessor currency: String
2605
2850
 
2606
- def initialize: (allows_rollover: bool, currency: String) -> void
2851
+ attr_accessor custom_expiration: Orb::Price::Bps::CreditAllocation::CustomExpiration?
2852
+
2853
+ def initialize: (
2854
+ allows_rollover: bool,
2855
+ currency: String,
2856
+ custom_expiration: Orb::Price::Bps::CreditAllocation::CustomExpiration?
2857
+ ) -> void
2858
+
2859
+ def to_hash: -> {
2860
+ allows_rollover: bool,
2861
+ currency: String,
2862
+ custom_expiration: Orb::Price::Bps::CreditAllocation::CustomExpiration?
2863
+ }
2864
+
2865
+ type custom_expiration =
2866
+ {
2867
+ duration: Integer,
2868
+ duration_unit: Orb::Models::Price::Bps::CreditAllocation::CustomExpiration::duration_unit
2869
+ }
2870
+
2871
+ class CustomExpiration < Orb::Internal::Type::BaseModel
2872
+ attr_accessor duration: Integer
2873
+
2874
+ attr_accessor duration_unit: Orb::Models::Price::Bps::CreditAllocation::CustomExpiration::duration_unit
2875
+
2876
+ def initialize: (
2877
+ duration: Integer,
2878
+ duration_unit: Orb::Models::Price::Bps::CreditAllocation::CustomExpiration::duration_unit
2879
+ ) -> void
2880
+
2881
+ def to_hash: -> {
2882
+ duration: Integer,
2883
+ duration_unit: Orb::Models::Price::Bps::CreditAllocation::CustomExpiration::duration_unit
2884
+ }
2607
2885
 
2608
- def to_hash: -> { allows_rollover: bool, currency: String }
2886
+ type duration_unit = :day | :month
2887
+
2888
+ module DurationUnit
2889
+ extend Orb::Internal::Type::Enum
2890
+
2891
+ DAY: :day
2892
+ MONTH: :month
2893
+
2894
+ def self?.values: -> ::Array[Orb::Models::Price::Bps::CreditAllocation::CustomExpiration::duration_unit]
2895
+ end
2896
+ end
2609
2897
  end
2610
2898
 
2611
2899
  type invoicing_cycle_configuration =
@@ -3075,16 +3363,64 @@ module Orb
3075
3363
  def self?.values: -> ::Array[Orb::Models::Price::BulkBps::cadence]
3076
3364
  end
3077
3365
 
3078
- type credit_allocation = { allows_rollover: bool, currency: String }
3366
+ type credit_allocation =
3367
+ {
3368
+ allows_rollover: bool,
3369
+ currency: String,
3370
+ custom_expiration: Orb::Price::BulkBps::CreditAllocation::CustomExpiration?
3371
+ }
3079
3372
 
3080
3373
  class CreditAllocation < Orb::Internal::Type::BaseModel
3081
3374
  attr_accessor allows_rollover: bool
3082
3375
 
3083
3376
  attr_accessor currency: String
3084
3377
 
3085
- def initialize: (allows_rollover: bool, currency: String) -> void
3378
+ attr_accessor custom_expiration: Orb::Price::BulkBps::CreditAllocation::CustomExpiration?
3379
+
3380
+ def initialize: (
3381
+ allows_rollover: bool,
3382
+ currency: String,
3383
+ custom_expiration: Orb::Price::BulkBps::CreditAllocation::CustomExpiration?
3384
+ ) -> void
3385
+
3386
+ def to_hash: -> {
3387
+ allows_rollover: bool,
3388
+ currency: String,
3389
+ custom_expiration: Orb::Price::BulkBps::CreditAllocation::CustomExpiration?
3390
+ }
3391
+
3392
+ type custom_expiration =
3393
+ {
3394
+ duration: Integer,
3395
+ duration_unit: Orb::Models::Price::BulkBps::CreditAllocation::CustomExpiration::duration_unit
3396
+ }
3397
+
3398
+ class CustomExpiration < Orb::Internal::Type::BaseModel
3399
+ attr_accessor duration: Integer
3400
+
3401
+ attr_accessor duration_unit: Orb::Models::Price::BulkBps::CreditAllocation::CustomExpiration::duration_unit
3402
+
3403
+ def initialize: (
3404
+ duration: Integer,
3405
+ duration_unit: Orb::Models::Price::BulkBps::CreditAllocation::CustomExpiration::duration_unit
3406
+ ) -> void
3407
+
3408
+ def to_hash: -> {
3409
+ duration: Integer,
3410
+ duration_unit: Orb::Models::Price::BulkBps::CreditAllocation::CustomExpiration::duration_unit
3411
+ }
3412
+
3413
+ type duration_unit = :day | :month
3414
+
3415
+ module DurationUnit
3416
+ extend Orb::Internal::Type::Enum
3417
+
3418
+ DAY: :day
3419
+ MONTH: :month
3086
3420
 
3087
- def to_hash: -> { allows_rollover: bool, currency: String }
3421
+ def self?.values: -> ::Array[Orb::Models::Price::BulkBps::CreditAllocation::CustomExpiration::duration_unit]
3422
+ end
3423
+ end
3088
3424
  end
3089
3425
 
3090
3426
  type invoicing_cycle_configuration =
@@ -3544,16 +3880,64 @@ module Orb
3544
3880
  def self?.values: -> ::Array[Orb::Models::Price::Bulk::cadence]
3545
3881
  end
3546
3882
 
3547
- type credit_allocation = { allows_rollover: bool, currency: String }
3883
+ type credit_allocation =
3884
+ {
3885
+ allows_rollover: bool,
3886
+ currency: String,
3887
+ custom_expiration: Orb::Price::Bulk::CreditAllocation::CustomExpiration?
3888
+ }
3548
3889
 
3549
3890
  class CreditAllocation < Orb::Internal::Type::BaseModel
3550
3891
  attr_accessor allows_rollover: bool
3551
3892
 
3552
3893
  attr_accessor currency: String
3553
3894
 
3554
- def initialize: (allows_rollover: bool, currency: String) -> void
3895
+ attr_accessor custom_expiration: Orb::Price::Bulk::CreditAllocation::CustomExpiration?
3896
+
3897
+ def initialize: (
3898
+ allows_rollover: bool,
3899
+ currency: String,
3900
+ custom_expiration: Orb::Price::Bulk::CreditAllocation::CustomExpiration?
3901
+ ) -> void
3902
+
3903
+ def to_hash: -> {
3904
+ allows_rollover: bool,
3905
+ currency: String,
3906
+ custom_expiration: Orb::Price::Bulk::CreditAllocation::CustomExpiration?
3907
+ }
3908
+
3909
+ type custom_expiration =
3910
+ {
3911
+ duration: Integer,
3912
+ duration_unit: Orb::Models::Price::Bulk::CreditAllocation::CustomExpiration::duration_unit
3913
+ }
3914
+
3915
+ class CustomExpiration < Orb::Internal::Type::BaseModel
3916
+ attr_accessor duration: Integer
3917
+
3918
+ attr_accessor duration_unit: Orb::Models::Price::Bulk::CreditAllocation::CustomExpiration::duration_unit
3919
+
3920
+ def initialize: (
3921
+ duration: Integer,
3922
+ duration_unit: Orb::Models::Price::Bulk::CreditAllocation::CustomExpiration::duration_unit
3923
+ ) -> void
3924
+
3925
+ def to_hash: -> {
3926
+ duration: Integer,
3927
+ duration_unit: Orb::Models::Price::Bulk::CreditAllocation::CustomExpiration::duration_unit
3928
+ }
3929
+
3930
+ type duration_unit = :day | :month
3931
+
3932
+ module DurationUnit
3933
+ extend Orb::Internal::Type::Enum
3934
+
3935
+ DAY: :day
3936
+ MONTH: :month
3555
3937
 
3556
- def to_hash: -> { allows_rollover: bool, currency: String }
3938
+ def self?.values: -> ::Array[Orb::Models::Price::Bulk::CreditAllocation::CustomExpiration::duration_unit]
3939
+ end
3940
+ end
3557
3941
  end
3558
3942
 
3559
3943
  type invoicing_cycle_configuration =
@@ -3985,16 +4369,64 @@ module Orb
3985
4369
  def self?.values: -> ::Array[Orb::Models::Price::ThresholdTotalAmount::cadence]
3986
4370
  end
3987
4371
 
3988
- type credit_allocation = { allows_rollover: bool, currency: String }
4372
+ type credit_allocation =
4373
+ {
4374
+ allows_rollover: bool,
4375
+ currency: String,
4376
+ custom_expiration: Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration?
4377
+ }
3989
4378
 
3990
4379
  class CreditAllocation < Orb::Internal::Type::BaseModel
3991
4380
  attr_accessor allows_rollover: bool
3992
4381
 
3993
4382
  attr_accessor currency: String
3994
4383
 
3995
- def initialize: (allows_rollover: bool, currency: String) -> void
4384
+ attr_accessor custom_expiration: Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration?
4385
+
4386
+ def initialize: (
4387
+ allows_rollover: bool,
4388
+ currency: String,
4389
+ custom_expiration: Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration?
4390
+ ) -> void
4391
+
4392
+ def to_hash: -> {
4393
+ allows_rollover: bool,
4394
+ currency: String,
4395
+ custom_expiration: Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration?
4396
+ }
4397
+
4398
+ type custom_expiration =
4399
+ {
4400
+ duration: Integer,
4401
+ duration_unit: Orb::Models::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::duration_unit
4402
+ }
4403
+
4404
+ class CustomExpiration < Orb::Internal::Type::BaseModel
4405
+ attr_accessor duration: Integer
4406
+
4407
+ attr_accessor duration_unit: Orb::Models::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::duration_unit
4408
+
4409
+ def initialize: (
4410
+ duration: Integer,
4411
+ duration_unit: Orb::Models::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::duration_unit
4412
+ ) -> void
4413
+
4414
+ def to_hash: -> {
4415
+ duration: Integer,
4416
+ duration_unit: Orb::Models::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::duration_unit
4417
+ }
4418
+
4419
+ type duration_unit = :day | :month
3996
4420
 
3997
- def to_hash: -> { allows_rollover: bool, currency: String }
4421
+ module DurationUnit
4422
+ extend Orb::Internal::Type::Enum
4423
+
4424
+ DAY: :day
4425
+ MONTH: :month
4426
+
4427
+ def self?.values: -> ::Array[Orb::Models::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::duration_unit]
4428
+ end
4429
+ end
3998
4430
  end
3999
4431
 
4000
4432
  type invoicing_cycle_configuration =
@@ -4426,16 +4858,64 @@ module Orb
4426
4858
  def self?.values: -> ::Array[Orb::Models::Price::TieredPackage::cadence]
4427
4859
  end
4428
4860
 
4429
- type credit_allocation = { allows_rollover: bool, currency: String }
4861
+ type credit_allocation =
4862
+ {
4863
+ allows_rollover: bool,
4864
+ currency: String,
4865
+ custom_expiration: Orb::Price::TieredPackage::CreditAllocation::CustomExpiration?
4866
+ }
4430
4867
 
4431
4868
  class CreditAllocation < Orb::Internal::Type::BaseModel
4432
4869
  attr_accessor allows_rollover: bool
4433
4870
 
4434
4871
  attr_accessor currency: String
4435
4872
 
4436
- def initialize: (allows_rollover: bool, currency: String) -> void
4873
+ attr_accessor custom_expiration: Orb::Price::TieredPackage::CreditAllocation::CustomExpiration?
4874
+
4875
+ def initialize: (
4876
+ allows_rollover: bool,
4877
+ currency: String,
4878
+ custom_expiration: Orb::Price::TieredPackage::CreditAllocation::CustomExpiration?
4879
+ ) -> void
4880
+
4881
+ def to_hash: -> {
4882
+ allows_rollover: bool,
4883
+ currency: String,
4884
+ custom_expiration: Orb::Price::TieredPackage::CreditAllocation::CustomExpiration?
4885
+ }
4886
+
4887
+ type custom_expiration =
4888
+ {
4889
+ duration: Integer,
4890
+ duration_unit: Orb::Models::Price::TieredPackage::CreditAllocation::CustomExpiration::duration_unit
4891
+ }
4892
+
4893
+ class CustomExpiration < Orb::Internal::Type::BaseModel
4894
+ attr_accessor duration: Integer
4895
+
4896
+ attr_accessor duration_unit: Orb::Models::Price::TieredPackage::CreditAllocation::CustomExpiration::duration_unit
4897
+
4898
+ def initialize: (
4899
+ duration: Integer,
4900
+ duration_unit: Orb::Models::Price::TieredPackage::CreditAllocation::CustomExpiration::duration_unit
4901
+ ) -> void
4902
+
4903
+ def to_hash: -> {
4904
+ duration: Integer,
4905
+ duration_unit: Orb::Models::Price::TieredPackage::CreditAllocation::CustomExpiration::duration_unit
4906
+ }
4907
+
4908
+ type duration_unit = :day | :month
4909
+
4910
+ module DurationUnit
4911
+ extend Orb::Internal::Type::Enum
4912
+
4913
+ DAY: :day
4914
+ MONTH: :month
4437
4915
 
4438
- def to_hash: -> { allows_rollover: bool, currency: String }
4916
+ def self?.values: -> ::Array[Orb::Models::Price::TieredPackage::CreditAllocation::CustomExpiration::duration_unit]
4917
+ end
4918
+ end
4439
4919
  end
4440
4920
 
4441
4921
  type invoicing_cycle_configuration =
@@ -4867,19 +5347,67 @@ module Orb
4867
5347
  def self?.values: -> ::Array[Orb::Models::Price::GroupedTiered::cadence]
4868
5348
  end
4869
5349
 
4870
- type credit_allocation = { allows_rollover: bool, currency: String }
5350
+ type credit_allocation =
5351
+ {
5352
+ allows_rollover: bool,
5353
+ currency: String,
5354
+ custom_expiration: Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration?
5355
+ }
4871
5356
 
4872
5357
  class CreditAllocation < Orb::Internal::Type::BaseModel
4873
5358
  attr_accessor allows_rollover: bool
4874
5359
 
4875
5360
  attr_accessor currency: String
4876
5361
 
4877
- def initialize: (allows_rollover: bool, currency: String) -> void
5362
+ attr_accessor custom_expiration: Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration?
4878
5363
 
4879
- def to_hash: -> { allows_rollover: bool, currency: String }
4880
- end
5364
+ def initialize: (
5365
+ allows_rollover: bool,
5366
+ currency: String,
5367
+ custom_expiration: Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration?
5368
+ ) -> void
4881
5369
 
4882
- type invoicing_cycle_configuration =
5370
+ def to_hash: -> {
5371
+ allows_rollover: bool,
5372
+ currency: String,
5373
+ custom_expiration: Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration?
5374
+ }
5375
+
5376
+ type custom_expiration =
5377
+ {
5378
+ duration: Integer,
5379
+ duration_unit: Orb::Models::Price::GroupedTiered::CreditAllocation::CustomExpiration::duration_unit
5380
+ }
5381
+
5382
+ class CustomExpiration < Orb::Internal::Type::BaseModel
5383
+ attr_accessor duration: Integer
5384
+
5385
+ attr_accessor duration_unit: Orb::Models::Price::GroupedTiered::CreditAllocation::CustomExpiration::duration_unit
5386
+
5387
+ def initialize: (
5388
+ duration: Integer,
5389
+ duration_unit: Orb::Models::Price::GroupedTiered::CreditAllocation::CustomExpiration::duration_unit
5390
+ ) -> void
5391
+
5392
+ def to_hash: -> {
5393
+ duration: Integer,
5394
+ duration_unit: Orb::Models::Price::GroupedTiered::CreditAllocation::CustomExpiration::duration_unit
5395
+ }
5396
+
5397
+ type duration_unit = :day | :month
5398
+
5399
+ module DurationUnit
5400
+ extend Orb::Internal::Type::Enum
5401
+
5402
+ DAY: :day
5403
+ MONTH: :month
5404
+
5405
+ def self?.values: -> ::Array[Orb::Models::Price::GroupedTiered::CreditAllocation::CustomExpiration::duration_unit]
5406
+ end
5407
+ end
5408
+ end
5409
+
5410
+ type invoicing_cycle_configuration =
4883
5411
  {
4884
5412
  duration: Integer,
4885
5413
  duration_unit: Orb::Models::Price::GroupedTiered::InvoicingCycleConfiguration::duration_unit
@@ -5308,16 +5836,64 @@ module Orb
5308
5836
  def self?.values: -> ::Array[Orb::Models::Price::TieredWithMinimum::cadence]
5309
5837
  end
5310
5838
 
5311
- type credit_allocation = { allows_rollover: bool, currency: String }
5839
+ type credit_allocation =
5840
+ {
5841
+ allows_rollover: bool,
5842
+ currency: String,
5843
+ custom_expiration: Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration?
5844
+ }
5312
5845
 
5313
5846
  class CreditAllocation < Orb::Internal::Type::BaseModel
5314
5847
  attr_accessor allows_rollover: bool
5315
5848
 
5316
5849
  attr_accessor currency: String
5317
5850
 
5318
- def initialize: (allows_rollover: bool, currency: String) -> void
5851
+ attr_accessor custom_expiration: Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration?
5852
+
5853
+ def initialize: (
5854
+ allows_rollover: bool,
5855
+ currency: String,
5856
+ custom_expiration: Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration?
5857
+ ) -> void
5858
+
5859
+ def to_hash: -> {
5860
+ allows_rollover: bool,
5861
+ currency: String,
5862
+ custom_expiration: Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration?
5863
+ }
5864
+
5865
+ type custom_expiration =
5866
+ {
5867
+ duration: Integer,
5868
+ duration_unit: Orb::Models::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::duration_unit
5869
+ }
5870
+
5871
+ class CustomExpiration < Orb::Internal::Type::BaseModel
5872
+ attr_accessor duration: Integer
5873
+
5874
+ attr_accessor duration_unit: Orb::Models::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::duration_unit
5875
+
5876
+ def initialize: (
5877
+ duration: Integer,
5878
+ duration_unit: Orb::Models::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::duration_unit
5879
+ ) -> void
5880
+
5881
+ def to_hash: -> {
5882
+ duration: Integer,
5883
+ duration_unit: Orb::Models::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::duration_unit
5884
+ }
5885
+
5886
+ type duration_unit = :day | :month
5887
+
5888
+ module DurationUnit
5889
+ extend Orb::Internal::Type::Enum
5890
+
5891
+ DAY: :day
5892
+ MONTH: :month
5319
5893
 
5320
- def to_hash: -> { allows_rollover: bool, currency: String }
5894
+ def self?.values: -> ::Array[Orb::Models::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::duration_unit]
5895
+ end
5896
+ end
5321
5897
  end
5322
5898
 
5323
5899
  type invoicing_cycle_configuration =
@@ -5749,16 +6325,64 @@ module Orb
5749
6325
  def self?.values: -> ::Array[Orb::Models::Price::TieredPackageWithMinimum::cadence]
5750
6326
  end
5751
6327
 
5752
- type credit_allocation = { allows_rollover: bool, currency: String }
6328
+ type credit_allocation =
6329
+ {
6330
+ allows_rollover: bool,
6331
+ currency: String,
6332
+ custom_expiration: Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration?
6333
+ }
5753
6334
 
5754
6335
  class CreditAllocation < Orb::Internal::Type::BaseModel
5755
6336
  attr_accessor allows_rollover: bool
5756
6337
 
5757
6338
  attr_accessor currency: String
5758
6339
 
5759
- def initialize: (allows_rollover: bool, currency: String) -> void
6340
+ attr_accessor custom_expiration: Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration?
6341
+
6342
+ def initialize: (
6343
+ allows_rollover: bool,
6344
+ currency: String,
6345
+ custom_expiration: Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration?
6346
+ ) -> void
6347
+
6348
+ def to_hash: -> {
6349
+ allows_rollover: bool,
6350
+ currency: String,
6351
+ custom_expiration: Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration?
6352
+ }
6353
+
6354
+ type custom_expiration =
6355
+ {
6356
+ duration: Integer,
6357
+ duration_unit: Orb::Models::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::duration_unit
6358
+ }
6359
+
6360
+ class CustomExpiration < Orb::Internal::Type::BaseModel
6361
+ attr_accessor duration: Integer
6362
+
6363
+ attr_accessor duration_unit: Orb::Models::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::duration_unit
6364
+
6365
+ def initialize: (
6366
+ duration: Integer,
6367
+ duration_unit: Orb::Models::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::duration_unit
6368
+ ) -> void
6369
+
6370
+ def to_hash: -> {
6371
+ duration: Integer,
6372
+ duration_unit: Orb::Models::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::duration_unit
6373
+ }
6374
+
6375
+ type duration_unit = :day | :month
6376
+
6377
+ module DurationUnit
6378
+ extend Orb::Internal::Type::Enum
6379
+
6380
+ DAY: :day
6381
+ MONTH: :month
5760
6382
 
5761
- def to_hash: -> { allows_rollover: bool, currency: String }
6383
+ def self?.values: -> ::Array[Orb::Models::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::duration_unit]
6384
+ end
6385
+ end
5762
6386
  end
5763
6387
 
5764
6388
  type invoicing_cycle_configuration =
@@ -6190,16 +6814,64 @@ module Orb
6190
6814
  def self?.values: -> ::Array[Orb::Models::Price::PackageWithAllocation::cadence]
6191
6815
  end
6192
6816
 
6193
- type credit_allocation = { allows_rollover: bool, currency: String }
6817
+ type credit_allocation =
6818
+ {
6819
+ allows_rollover: bool,
6820
+ currency: String,
6821
+ custom_expiration: Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration?
6822
+ }
6194
6823
 
6195
6824
  class CreditAllocation < Orb::Internal::Type::BaseModel
6196
6825
  attr_accessor allows_rollover: bool
6197
6826
 
6198
6827
  attr_accessor currency: String
6199
6828
 
6200
- def initialize: (allows_rollover: bool, currency: String) -> void
6829
+ attr_accessor custom_expiration: Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration?
6830
+
6831
+ def initialize: (
6832
+ allows_rollover: bool,
6833
+ currency: String,
6834
+ custom_expiration: Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration?
6835
+ ) -> void
6836
+
6837
+ def to_hash: -> {
6838
+ allows_rollover: bool,
6839
+ currency: String,
6840
+ custom_expiration: Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration?
6841
+ }
6842
+
6843
+ type custom_expiration =
6844
+ {
6845
+ duration: Integer,
6846
+ duration_unit: Orb::Models::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::duration_unit
6847
+ }
6848
+
6849
+ class CustomExpiration < Orb::Internal::Type::BaseModel
6850
+ attr_accessor duration: Integer
6851
+
6852
+ attr_accessor duration_unit: Orb::Models::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::duration_unit
6853
+
6854
+ def initialize: (
6855
+ duration: Integer,
6856
+ duration_unit: Orb::Models::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::duration_unit
6857
+ ) -> void
6858
+
6859
+ def to_hash: -> {
6860
+ duration: Integer,
6861
+ duration_unit: Orb::Models::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::duration_unit
6862
+ }
6863
+
6864
+ type duration_unit = :day | :month
6865
+
6866
+ module DurationUnit
6867
+ extend Orb::Internal::Type::Enum
6201
6868
 
6202
- def to_hash: -> { allows_rollover: bool, currency: String }
6869
+ DAY: :day
6870
+ MONTH: :month
6871
+
6872
+ def self?.values: -> ::Array[Orb::Models::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::duration_unit]
6873
+ end
6874
+ end
6203
6875
  end
6204
6876
 
6205
6877
  type invoicing_cycle_configuration =
@@ -6631,16 +7303,64 @@ module Orb
6631
7303
  def self?.values: -> ::Array[Orb::Models::Price::UnitWithPercent::cadence]
6632
7304
  end
6633
7305
 
6634
- type credit_allocation = { allows_rollover: bool, currency: String }
7306
+ type credit_allocation =
7307
+ {
7308
+ allows_rollover: bool,
7309
+ currency: String,
7310
+ custom_expiration: Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration?
7311
+ }
6635
7312
 
6636
7313
  class CreditAllocation < Orb::Internal::Type::BaseModel
6637
7314
  attr_accessor allows_rollover: bool
6638
7315
 
6639
7316
  attr_accessor currency: String
6640
7317
 
6641
- def initialize: (allows_rollover: bool, currency: String) -> void
7318
+ attr_accessor custom_expiration: Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration?
7319
+
7320
+ def initialize: (
7321
+ allows_rollover: bool,
7322
+ currency: String,
7323
+ custom_expiration: Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration?
7324
+ ) -> void
7325
+
7326
+ def to_hash: -> {
7327
+ allows_rollover: bool,
7328
+ currency: String,
7329
+ custom_expiration: Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration?
7330
+ }
7331
+
7332
+ type custom_expiration =
7333
+ {
7334
+ duration: Integer,
7335
+ duration_unit: Orb::Models::Price::UnitWithPercent::CreditAllocation::CustomExpiration::duration_unit
7336
+ }
7337
+
7338
+ class CustomExpiration < Orb::Internal::Type::BaseModel
7339
+ attr_accessor duration: Integer
7340
+
7341
+ attr_accessor duration_unit: Orb::Models::Price::UnitWithPercent::CreditAllocation::CustomExpiration::duration_unit
7342
+
7343
+ def initialize: (
7344
+ duration: Integer,
7345
+ duration_unit: Orb::Models::Price::UnitWithPercent::CreditAllocation::CustomExpiration::duration_unit
7346
+ ) -> void
7347
+
7348
+ def to_hash: -> {
7349
+ duration: Integer,
7350
+ duration_unit: Orb::Models::Price::UnitWithPercent::CreditAllocation::CustomExpiration::duration_unit
7351
+ }
7352
+
7353
+ type duration_unit = :day | :month
7354
+
7355
+ module DurationUnit
7356
+ extend Orb::Internal::Type::Enum
7357
+
7358
+ DAY: :day
7359
+ MONTH: :month
6642
7360
 
6643
- def to_hash: -> { allows_rollover: bool, currency: String }
7361
+ def self?.values: -> ::Array[Orb::Models::Price::UnitWithPercent::CreditAllocation::CustomExpiration::duration_unit]
7362
+ end
7363
+ end
6644
7364
  end
6645
7365
 
6646
7366
  type invoicing_cycle_configuration =
@@ -7072,16 +7792,64 @@ module Orb
7072
7792
  def self?.values: -> ::Array[Orb::Models::Price::MatrixWithAllocation::cadence]
7073
7793
  end
7074
7794
 
7075
- type credit_allocation = { allows_rollover: bool, currency: String }
7795
+ type credit_allocation =
7796
+ {
7797
+ allows_rollover: bool,
7798
+ currency: String,
7799
+ custom_expiration: Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration?
7800
+ }
7076
7801
 
7077
7802
  class CreditAllocation < Orb::Internal::Type::BaseModel
7078
7803
  attr_accessor allows_rollover: bool
7079
7804
 
7080
7805
  attr_accessor currency: String
7081
7806
 
7082
- def initialize: (allows_rollover: bool, currency: String) -> void
7807
+ attr_accessor custom_expiration: Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration?
7808
+
7809
+ def initialize: (
7810
+ allows_rollover: bool,
7811
+ currency: String,
7812
+ custom_expiration: Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration?
7813
+ ) -> void
7814
+
7815
+ def to_hash: -> {
7816
+ allows_rollover: bool,
7817
+ currency: String,
7818
+ custom_expiration: Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration?
7819
+ }
7820
+
7821
+ type custom_expiration =
7822
+ {
7823
+ duration: Integer,
7824
+ duration_unit: Orb::Models::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::duration_unit
7825
+ }
7826
+
7827
+ class CustomExpiration < Orb::Internal::Type::BaseModel
7828
+ attr_accessor duration: Integer
7829
+
7830
+ attr_accessor duration_unit: Orb::Models::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::duration_unit
7831
+
7832
+ def initialize: (
7833
+ duration: Integer,
7834
+ duration_unit: Orb::Models::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::duration_unit
7835
+ ) -> void
7836
+
7837
+ def to_hash: -> {
7838
+ duration: Integer,
7839
+ duration_unit: Orb::Models::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::duration_unit
7840
+ }
7083
7841
 
7084
- def to_hash: -> { allows_rollover: bool, currency: String }
7842
+ type duration_unit = :day | :month
7843
+
7844
+ module DurationUnit
7845
+ extend Orb::Internal::Type::Enum
7846
+
7847
+ DAY: :day
7848
+ MONTH: :month
7849
+
7850
+ def self?.values: -> ::Array[Orb::Models::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::duration_unit]
7851
+ end
7852
+ end
7085
7853
  end
7086
7854
 
7087
7855
  type invoicing_cycle_configuration =
@@ -7564,16 +8332,64 @@ module Orb
7564
8332
  def self?.values: -> ::Array[Orb::Models::Price::TieredWithProration::cadence]
7565
8333
  end
7566
8334
 
7567
- type credit_allocation = { allows_rollover: bool, currency: String }
8335
+ type credit_allocation =
8336
+ {
8337
+ allows_rollover: bool,
8338
+ currency: String,
8339
+ custom_expiration: Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration?
8340
+ }
7568
8341
 
7569
8342
  class CreditAllocation < Orb::Internal::Type::BaseModel
7570
8343
  attr_accessor allows_rollover: bool
7571
8344
 
7572
8345
  attr_accessor currency: String
7573
8346
 
7574
- def initialize: (allows_rollover: bool, currency: String) -> void
8347
+ attr_accessor custom_expiration: Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration?
8348
+
8349
+ def initialize: (
8350
+ allows_rollover: bool,
8351
+ currency: String,
8352
+ custom_expiration: Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration?
8353
+ ) -> void
8354
+
8355
+ def to_hash: -> {
8356
+ allows_rollover: bool,
8357
+ currency: String,
8358
+ custom_expiration: Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration?
8359
+ }
8360
+
8361
+ type custom_expiration =
8362
+ {
8363
+ duration: Integer,
8364
+ duration_unit: Orb::Models::Price::TieredWithProration::CreditAllocation::CustomExpiration::duration_unit
8365
+ }
8366
+
8367
+ class CustomExpiration < Orb::Internal::Type::BaseModel
8368
+ attr_accessor duration: Integer
8369
+
8370
+ attr_accessor duration_unit: Orb::Models::Price::TieredWithProration::CreditAllocation::CustomExpiration::duration_unit
8371
+
8372
+ def initialize: (
8373
+ duration: Integer,
8374
+ duration_unit: Orb::Models::Price::TieredWithProration::CreditAllocation::CustomExpiration::duration_unit
8375
+ ) -> void
8376
+
8377
+ def to_hash: -> {
8378
+ duration: Integer,
8379
+ duration_unit: Orb::Models::Price::TieredWithProration::CreditAllocation::CustomExpiration::duration_unit
8380
+ }
8381
+
8382
+ type duration_unit = :day | :month
7575
8383
 
7576
- def to_hash: -> { allows_rollover: bool, currency: String }
8384
+ module DurationUnit
8385
+ extend Orb::Internal::Type::Enum
8386
+
8387
+ DAY: :day
8388
+ MONTH: :month
8389
+
8390
+ def self?.values: -> ::Array[Orb::Models::Price::TieredWithProration::CreditAllocation::CustomExpiration::duration_unit]
8391
+ end
8392
+ end
7577
8393
  end
7578
8394
 
7579
8395
  type invoicing_cycle_configuration =
@@ -8005,16 +8821,64 @@ module Orb
8005
8821
  def self?.values: -> ::Array[Orb::Models::Price::UnitWithProration::cadence]
8006
8822
  end
8007
8823
 
8008
- type credit_allocation = { allows_rollover: bool, currency: String }
8824
+ type credit_allocation =
8825
+ {
8826
+ allows_rollover: bool,
8827
+ currency: String,
8828
+ custom_expiration: Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration?
8829
+ }
8009
8830
 
8010
8831
  class CreditAllocation < Orb::Internal::Type::BaseModel
8011
8832
  attr_accessor allows_rollover: bool
8012
8833
 
8013
8834
  attr_accessor currency: String
8014
8835
 
8015
- def initialize: (allows_rollover: bool, currency: String) -> void
8836
+ attr_accessor custom_expiration: Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration?
8837
+
8838
+ def initialize: (
8839
+ allows_rollover: bool,
8840
+ currency: String,
8841
+ custom_expiration: Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration?
8842
+ ) -> void
8843
+
8844
+ def to_hash: -> {
8845
+ allows_rollover: bool,
8846
+ currency: String,
8847
+ custom_expiration: Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration?
8848
+ }
8849
+
8850
+ type custom_expiration =
8851
+ {
8852
+ duration: Integer,
8853
+ duration_unit: Orb::Models::Price::UnitWithProration::CreditAllocation::CustomExpiration::duration_unit
8854
+ }
8855
+
8856
+ class CustomExpiration < Orb::Internal::Type::BaseModel
8857
+ attr_accessor duration: Integer
8858
+
8859
+ attr_accessor duration_unit: Orb::Models::Price::UnitWithProration::CreditAllocation::CustomExpiration::duration_unit
8860
+
8861
+ def initialize: (
8862
+ duration: Integer,
8863
+ duration_unit: Orb::Models::Price::UnitWithProration::CreditAllocation::CustomExpiration::duration_unit
8864
+ ) -> void
8865
+
8866
+ def to_hash: -> {
8867
+ duration: Integer,
8868
+ duration_unit: Orb::Models::Price::UnitWithProration::CreditAllocation::CustomExpiration::duration_unit
8869
+ }
8870
+
8871
+ type duration_unit = :day | :month
8872
+
8873
+ module DurationUnit
8874
+ extend Orb::Internal::Type::Enum
8875
+
8876
+ DAY: :day
8877
+ MONTH: :month
8016
8878
 
8017
- def to_hash: -> { allows_rollover: bool, currency: String }
8879
+ def self?.values: -> ::Array[Orb::Models::Price::UnitWithProration::CreditAllocation::CustomExpiration::duration_unit]
8880
+ end
8881
+ end
8018
8882
  end
8019
8883
 
8020
8884
  type invoicing_cycle_configuration =
@@ -8446,16 +9310,64 @@ module Orb
8446
9310
  def self?.values: -> ::Array[Orb::Models::Price::GroupedAllocation::cadence]
8447
9311
  end
8448
9312
 
8449
- type credit_allocation = { allows_rollover: bool, currency: String }
9313
+ type credit_allocation =
9314
+ {
9315
+ allows_rollover: bool,
9316
+ currency: String,
9317
+ custom_expiration: Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration?
9318
+ }
8450
9319
 
8451
9320
  class CreditAllocation < Orb::Internal::Type::BaseModel
8452
9321
  attr_accessor allows_rollover: bool
8453
9322
 
8454
9323
  attr_accessor currency: String
8455
9324
 
8456
- def initialize: (allows_rollover: bool, currency: String) -> void
9325
+ attr_accessor custom_expiration: Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration?
9326
+
9327
+ def initialize: (
9328
+ allows_rollover: bool,
9329
+ currency: String,
9330
+ custom_expiration: Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration?
9331
+ ) -> void
9332
+
9333
+ def to_hash: -> {
9334
+ allows_rollover: bool,
9335
+ currency: String,
9336
+ custom_expiration: Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration?
9337
+ }
9338
+
9339
+ type custom_expiration =
9340
+ {
9341
+ duration: Integer,
9342
+ duration_unit: Orb::Models::Price::GroupedAllocation::CreditAllocation::CustomExpiration::duration_unit
9343
+ }
9344
+
9345
+ class CustomExpiration < Orb::Internal::Type::BaseModel
9346
+ attr_accessor duration: Integer
8457
9347
 
8458
- def to_hash: -> { allows_rollover: bool, currency: String }
9348
+ attr_accessor duration_unit: Orb::Models::Price::GroupedAllocation::CreditAllocation::CustomExpiration::duration_unit
9349
+
9350
+ def initialize: (
9351
+ duration: Integer,
9352
+ duration_unit: Orb::Models::Price::GroupedAllocation::CreditAllocation::CustomExpiration::duration_unit
9353
+ ) -> void
9354
+
9355
+ def to_hash: -> {
9356
+ duration: Integer,
9357
+ duration_unit: Orb::Models::Price::GroupedAllocation::CreditAllocation::CustomExpiration::duration_unit
9358
+ }
9359
+
9360
+ type duration_unit = :day | :month
9361
+
9362
+ module DurationUnit
9363
+ extend Orb::Internal::Type::Enum
9364
+
9365
+ DAY: :day
9366
+ MONTH: :month
9367
+
9368
+ def self?.values: -> ::Array[Orb::Models::Price::GroupedAllocation::CreditAllocation::CustomExpiration::duration_unit]
9369
+ end
9370
+ end
8459
9371
  end
8460
9372
 
8461
9373
  type invoicing_cycle_configuration =
@@ -8887,16 +9799,64 @@ module Orb
8887
9799
  def self?.values: -> ::Array[Orb::Models::Price::GroupedWithProratedMinimum::cadence]
8888
9800
  end
8889
9801
 
8890
- type credit_allocation = { allows_rollover: bool, currency: String }
9802
+ type credit_allocation =
9803
+ {
9804
+ allows_rollover: bool,
9805
+ currency: String,
9806
+ custom_expiration: Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration?
9807
+ }
8891
9808
 
8892
9809
  class CreditAllocation < Orb::Internal::Type::BaseModel
8893
9810
  attr_accessor allows_rollover: bool
8894
9811
 
8895
9812
  attr_accessor currency: String
8896
9813
 
8897
- def initialize: (allows_rollover: bool, currency: String) -> void
9814
+ attr_accessor custom_expiration: Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration?
9815
+
9816
+ def initialize: (
9817
+ allows_rollover: bool,
9818
+ currency: String,
9819
+ custom_expiration: Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration?
9820
+ ) -> void
9821
+
9822
+ def to_hash: -> {
9823
+ allows_rollover: bool,
9824
+ currency: String,
9825
+ custom_expiration: Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration?
9826
+ }
9827
+
9828
+ type custom_expiration =
9829
+ {
9830
+ duration: Integer,
9831
+ duration_unit: Orb::Models::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::duration_unit
9832
+ }
9833
+
9834
+ class CustomExpiration < Orb::Internal::Type::BaseModel
9835
+ attr_accessor duration: Integer
9836
+
9837
+ attr_accessor duration_unit: Orb::Models::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::duration_unit
9838
+
9839
+ def initialize: (
9840
+ duration: Integer,
9841
+ duration_unit: Orb::Models::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::duration_unit
9842
+ ) -> void
9843
+
9844
+ def to_hash: -> {
9845
+ duration: Integer,
9846
+ duration_unit: Orb::Models::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::duration_unit
9847
+ }
9848
+
9849
+ type duration_unit = :day | :month
9850
+
9851
+ module DurationUnit
9852
+ extend Orb::Internal::Type::Enum
9853
+
9854
+ DAY: :day
9855
+ MONTH: :month
8898
9856
 
8899
- def to_hash: -> { allows_rollover: bool, currency: String }
9857
+ def self?.values: -> ::Array[Orb::Models::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::duration_unit]
9858
+ end
9859
+ end
8900
9860
  end
8901
9861
 
8902
9862
  type invoicing_cycle_configuration =
@@ -9328,16 +10288,64 @@ module Orb
9328
10288
  def self?.values: -> ::Array[Orb::Models::Price::GroupedWithMeteredMinimum::cadence]
9329
10289
  end
9330
10290
 
9331
- type credit_allocation = { allows_rollover: bool, currency: String }
10291
+ type credit_allocation =
10292
+ {
10293
+ allows_rollover: bool,
10294
+ currency: String,
10295
+ custom_expiration: Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration?
10296
+ }
9332
10297
 
9333
10298
  class CreditAllocation < Orb::Internal::Type::BaseModel
9334
10299
  attr_accessor allows_rollover: bool
9335
10300
 
9336
10301
  attr_accessor currency: String
9337
10302
 
9338
- def initialize: (allows_rollover: bool, currency: String) -> void
10303
+ attr_accessor custom_expiration: Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration?
10304
+
10305
+ def initialize: (
10306
+ allows_rollover: bool,
10307
+ currency: String,
10308
+ custom_expiration: Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration?
10309
+ ) -> void
10310
+
10311
+ def to_hash: -> {
10312
+ allows_rollover: bool,
10313
+ currency: String,
10314
+ custom_expiration: Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration?
10315
+ }
10316
+
10317
+ type custom_expiration =
10318
+ {
10319
+ duration: Integer,
10320
+ duration_unit: Orb::Models::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::duration_unit
10321
+ }
10322
+
10323
+ class CustomExpiration < Orb::Internal::Type::BaseModel
10324
+ attr_accessor duration: Integer
10325
+
10326
+ attr_accessor duration_unit: Orb::Models::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::duration_unit
10327
+
10328
+ def initialize: (
10329
+ duration: Integer,
10330
+ duration_unit: Orb::Models::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::duration_unit
10331
+ ) -> void
10332
+
10333
+ def to_hash: -> {
10334
+ duration: Integer,
10335
+ duration_unit: Orb::Models::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::duration_unit
10336
+ }
10337
+
10338
+ type duration_unit = :day | :month
10339
+
10340
+ module DurationUnit
10341
+ extend Orb::Internal::Type::Enum
9339
10342
 
9340
- def to_hash: -> { allows_rollover: bool, currency: String }
10343
+ DAY: :day
10344
+ MONTH: :month
10345
+
10346
+ def self?.values: -> ::Array[Orb::Models::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::duration_unit]
10347
+ end
10348
+ end
9341
10349
  end
9342
10350
 
9343
10351
  type invoicing_cycle_configuration =
@@ -9769,16 +10777,64 @@ module Orb
9769
10777
  def self?.values: -> ::Array[Orb::Models::Price::MatrixWithDisplayName::cadence]
9770
10778
  end
9771
10779
 
9772
- type credit_allocation = { allows_rollover: bool, currency: String }
10780
+ type credit_allocation =
10781
+ {
10782
+ allows_rollover: bool,
10783
+ currency: String,
10784
+ custom_expiration: Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration?
10785
+ }
9773
10786
 
9774
10787
  class CreditAllocation < Orb::Internal::Type::BaseModel
9775
10788
  attr_accessor allows_rollover: bool
9776
10789
 
9777
10790
  attr_accessor currency: String
9778
10791
 
9779
- def initialize: (allows_rollover: bool, currency: String) -> void
10792
+ attr_accessor custom_expiration: Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration?
10793
+
10794
+ def initialize: (
10795
+ allows_rollover: bool,
10796
+ currency: String,
10797
+ custom_expiration: Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration?
10798
+ ) -> void
10799
+
10800
+ def to_hash: -> {
10801
+ allows_rollover: bool,
10802
+ currency: String,
10803
+ custom_expiration: Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration?
10804
+ }
10805
+
10806
+ type custom_expiration =
10807
+ {
10808
+ duration: Integer,
10809
+ duration_unit: Orb::Models::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::duration_unit
10810
+ }
10811
+
10812
+ class CustomExpiration < Orb::Internal::Type::BaseModel
10813
+ attr_accessor duration: Integer
10814
+
10815
+ attr_accessor duration_unit: Orb::Models::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::duration_unit
10816
+
10817
+ def initialize: (
10818
+ duration: Integer,
10819
+ duration_unit: Orb::Models::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::duration_unit
10820
+ ) -> void
10821
+
10822
+ def to_hash: -> {
10823
+ duration: Integer,
10824
+ duration_unit: Orb::Models::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::duration_unit
10825
+ }
10826
+
10827
+ type duration_unit = :day | :month
10828
+
10829
+ module DurationUnit
10830
+ extend Orb::Internal::Type::Enum
10831
+
10832
+ DAY: :day
10833
+ MONTH: :month
9780
10834
 
9781
- def to_hash: -> { allows_rollover: bool, currency: String }
10835
+ def self?.values: -> ::Array[Orb::Models::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::duration_unit]
10836
+ end
10837
+ end
9782
10838
  end
9783
10839
 
9784
10840
  type invoicing_cycle_configuration =
@@ -10210,16 +11266,64 @@ module Orb
10210
11266
  def self?.values: -> ::Array[Orb::Models::Price::BulkWithProration::cadence]
10211
11267
  end
10212
11268
 
10213
- type credit_allocation = { allows_rollover: bool, currency: String }
11269
+ type credit_allocation =
11270
+ {
11271
+ allows_rollover: bool,
11272
+ currency: String,
11273
+ custom_expiration: Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration?
11274
+ }
10214
11275
 
10215
11276
  class CreditAllocation < Orb::Internal::Type::BaseModel
10216
11277
  attr_accessor allows_rollover: bool
10217
11278
 
10218
11279
  attr_accessor currency: String
10219
11280
 
10220
- def initialize: (allows_rollover: bool, currency: String) -> void
11281
+ attr_accessor custom_expiration: Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration?
11282
+
11283
+ def initialize: (
11284
+ allows_rollover: bool,
11285
+ currency: String,
11286
+ custom_expiration: Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration?
11287
+ ) -> void
11288
+
11289
+ def to_hash: -> {
11290
+ allows_rollover: bool,
11291
+ currency: String,
11292
+ custom_expiration: Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration?
11293
+ }
11294
+
11295
+ type custom_expiration =
11296
+ {
11297
+ duration: Integer,
11298
+ duration_unit: Orb::Models::Price::BulkWithProration::CreditAllocation::CustomExpiration::duration_unit
11299
+ }
11300
+
11301
+ class CustomExpiration < Orb::Internal::Type::BaseModel
11302
+ attr_accessor duration: Integer
11303
+
11304
+ attr_accessor duration_unit: Orb::Models::Price::BulkWithProration::CreditAllocation::CustomExpiration::duration_unit
11305
+
11306
+ def initialize: (
11307
+ duration: Integer,
11308
+ duration_unit: Orb::Models::Price::BulkWithProration::CreditAllocation::CustomExpiration::duration_unit
11309
+ ) -> void
11310
+
11311
+ def to_hash: -> {
11312
+ duration: Integer,
11313
+ duration_unit: Orb::Models::Price::BulkWithProration::CreditAllocation::CustomExpiration::duration_unit
11314
+ }
10221
11315
 
10222
- def to_hash: -> { allows_rollover: bool, currency: String }
11316
+ type duration_unit = :day | :month
11317
+
11318
+ module DurationUnit
11319
+ extend Orb::Internal::Type::Enum
11320
+
11321
+ DAY: :day
11322
+ MONTH: :month
11323
+
11324
+ def self?.values: -> ::Array[Orb::Models::Price::BulkWithProration::CreditAllocation::CustomExpiration::duration_unit]
11325
+ end
11326
+ end
10223
11327
  end
10224
11328
 
10225
11329
  type invoicing_cycle_configuration =
@@ -10651,16 +11755,64 @@ module Orb
10651
11755
  def self?.values: -> ::Array[Orb::Models::Price::GroupedTieredPackage::cadence]
10652
11756
  end
10653
11757
 
10654
- type credit_allocation = { allows_rollover: bool, currency: String }
11758
+ type credit_allocation =
11759
+ {
11760
+ allows_rollover: bool,
11761
+ currency: String,
11762
+ custom_expiration: Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration?
11763
+ }
10655
11764
 
10656
11765
  class CreditAllocation < Orb::Internal::Type::BaseModel
10657
11766
  attr_accessor allows_rollover: bool
10658
11767
 
10659
11768
  attr_accessor currency: String
10660
11769
 
10661
- def initialize: (allows_rollover: bool, currency: String) -> void
11770
+ attr_accessor custom_expiration: Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration?
11771
+
11772
+ def initialize: (
11773
+ allows_rollover: bool,
11774
+ currency: String,
11775
+ custom_expiration: Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration?
11776
+ ) -> void
11777
+
11778
+ def to_hash: -> {
11779
+ allows_rollover: bool,
11780
+ currency: String,
11781
+ custom_expiration: Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration?
11782
+ }
11783
+
11784
+ type custom_expiration =
11785
+ {
11786
+ duration: Integer,
11787
+ duration_unit: Orb::Models::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::duration_unit
11788
+ }
11789
+
11790
+ class CustomExpiration < Orb::Internal::Type::BaseModel
11791
+ attr_accessor duration: Integer
11792
+
11793
+ attr_accessor duration_unit: Orb::Models::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::duration_unit
10662
11794
 
10663
- def to_hash: -> { allows_rollover: bool, currency: String }
11795
+ def initialize: (
11796
+ duration: Integer,
11797
+ duration_unit: Orb::Models::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::duration_unit
11798
+ ) -> void
11799
+
11800
+ def to_hash: -> {
11801
+ duration: Integer,
11802
+ duration_unit: Orb::Models::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::duration_unit
11803
+ }
11804
+
11805
+ type duration_unit = :day | :month
11806
+
11807
+ module DurationUnit
11808
+ extend Orb::Internal::Type::Enum
11809
+
11810
+ DAY: :day
11811
+ MONTH: :month
11812
+
11813
+ def self?.values: -> ::Array[Orb::Models::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::duration_unit]
11814
+ end
11815
+ end
10664
11816
  end
10665
11817
 
10666
11818
  type invoicing_cycle_configuration =
@@ -11092,16 +12244,64 @@ module Orb
11092
12244
  def self?.values: -> ::Array[Orb::Models::Price::MaxGroupTieredPackage::cadence]
11093
12245
  end
11094
12246
 
11095
- type credit_allocation = { allows_rollover: bool, currency: String }
12247
+ type credit_allocation =
12248
+ {
12249
+ allows_rollover: bool,
12250
+ currency: String,
12251
+ custom_expiration: Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration?
12252
+ }
11096
12253
 
11097
12254
  class CreditAllocation < Orb::Internal::Type::BaseModel
11098
12255
  attr_accessor allows_rollover: bool
11099
12256
 
11100
12257
  attr_accessor currency: String
11101
12258
 
11102
- def initialize: (allows_rollover: bool, currency: String) -> void
12259
+ attr_accessor custom_expiration: Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration?
12260
+
12261
+ def initialize: (
12262
+ allows_rollover: bool,
12263
+ currency: String,
12264
+ custom_expiration: Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration?
12265
+ ) -> void
12266
+
12267
+ def to_hash: -> {
12268
+ allows_rollover: bool,
12269
+ currency: String,
12270
+ custom_expiration: Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration?
12271
+ }
12272
+
12273
+ type custom_expiration =
12274
+ {
12275
+ duration: Integer,
12276
+ duration_unit: Orb::Models::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::duration_unit
12277
+ }
12278
+
12279
+ class CustomExpiration < Orb::Internal::Type::BaseModel
12280
+ attr_accessor duration: Integer
12281
+
12282
+ attr_accessor duration_unit: Orb::Models::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::duration_unit
12283
+
12284
+ def initialize: (
12285
+ duration: Integer,
12286
+ duration_unit: Orb::Models::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::duration_unit
12287
+ ) -> void
12288
+
12289
+ def to_hash: -> {
12290
+ duration: Integer,
12291
+ duration_unit: Orb::Models::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::duration_unit
12292
+ }
12293
+
12294
+ type duration_unit = :day | :month
12295
+
12296
+ module DurationUnit
12297
+ extend Orb::Internal::Type::Enum
12298
+
12299
+ DAY: :day
12300
+ MONTH: :month
11103
12301
 
11104
- def to_hash: -> { allows_rollover: bool, currency: String }
12302
+ def self?.values: -> ::Array[Orb::Models::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::duration_unit]
12303
+ end
12304
+ end
11105
12305
  end
11106
12306
 
11107
12307
  type invoicing_cycle_configuration =
@@ -11533,16 +12733,64 @@ module Orb
11533
12733
  def self?.values: -> ::Array[Orb::Models::Price::ScalableMatrixWithUnitPricing::cadence]
11534
12734
  end
11535
12735
 
11536
- type credit_allocation = { allows_rollover: bool, currency: String }
12736
+ type credit_allocation =
12737
+ {
12738
+ allows_rollover: bool,
12739
+ currency: String,
12740
+ custom_expiration: Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration?
12741
+ }
11537
12742
 
11538
12743
  class CreditAllocation < Orb::Internal::Type::BaseModel
11539
12744
  attr_accessor allows_rollover: bool
11540
12745
 
11541
12746
  attr_accessor currency: String
11542
12747
 
11543
- def initialize: (allows_rollover: bool, currency: String) -> void
12748
+ attr_accessor custom_expiration: Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration?
12749
+
12750
+ def initialize: (
12751
+ allows_rollover: bool,
12752
+ currency: String,
12753
+ custom_expiration: Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration?
12754
+ ) -> void
12755
+
12756
+ def to_hash: -> {
12757
+ allows_rollover: bool,
12758
+ currency: String,
12759
+ custom_expiration: Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration?
12760
+ }
12761
+
12762
+ type custom_expiration =
12763
+ {
12764
+ duration: Integer,
12765
+ duration_unit: Orb::Models::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::duration_unit
12766
+ }
12767
+
12768
+ class CustomExpiration < Orb::Internal::Type::BaseModel
12769
+ attr_accessor duration: Integer
12770
+
12771
+ attr_accessor duration_unit: Orb::Models::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::duration_unit
12772
+
12773
+ def initialize: (
12774
+ duration: Integer,
12775
+ duration_unit: Orb::Models::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::duration_unit
12776
+ ) -> void
12777
+
12778
+ def to_hash: -> {
12779
+ duration: Integer,
12780
+ duration_unit: Orb::Models::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::duration_unit
12781
+ }
12782
+
12783
+ type duration_unit = :day | :month
12784
+
12785
+ module DurationUnit
12786
+ extend Orb::Internal::Type::Enum
12787
+
12788
+ DAY: :day
12789
+ MONTH: :month
11544
12790
 
11545
- def to_hash: -> { allows_rollover: bool, currency: String }
12791
+ def self?.values: -> ::Array[Orb::Models::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::duration_unit]
12792
+ end
12793
+ end
11546
12794
  end
11547
12795
 
11548
12796
  type invoicing_cycle_configuration =
@@ -11974,16 +13222,64 @@ module Orb
11974
13222
  def self?.values: -> ::Array[Orb::Models::Price::ScalableMatrixWithTieredPricing::cadence]
11975
13223
  end
11976
13224
 
11977
- type credit_allocation = { allows_rollover: bool, currency: String }
13225
+ type credit_allocation =
13226
+ {
13227
+ allows_rollover: bool,
13228
+ currency: String,
13229
+ custom_expiration: Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration?
13230
+ }
11978
13231
 
11979
13232
  class CreditAllocation < Orb::Internal::Type::BaseModel
11980
13233
  attr_accessor allows_rollover: bool
11981
13234
 
11982
13235
  attr_accessor currency: String
11983
13236
 
11984
- def initialize: (allows_rollover: bool, currency: String) -> void
13237
+ attr_accessor custom_expiration: Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration?
13238
+
13239
+ def initialize: (
13240
+ allows_rollover: bool,
13241
+ currency: String,
13242
+ custom_expiration: Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration?
13243
+ ) -> void
13244
+
13245
+ def to_hash: -> {
13246
+ allows_rollover: bool,
13247
+ currency: String,
13248
+ custom_expiration: Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration?
13249
+ }
13250
+
13251
+ type custom_expiration =
13252
+ {
13253
+ duration: Integer,
13254
+ duration_unit: Orb::Models::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::duration_unit
13255
+ }
13256
+
13257
+ class CustomExpiration < Orb::Internal::Type::BaseModel
13258
+ attr_accessor duration: Integer
13259
+
13260
+ attr_accessor duration_unit: Orb::Models::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::duration_unit
13261
+
13262
+ def initialize: (
13263
+ duration: Integer,
13264
+ duration_unit: Orb::Models::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::duration_unit
13265
+ ) -> void
13266
+
13267
+ def to_hash: -> {
13268
+ duration: Integer,
13269
+ duration_unit: Orb::Models::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::duration_unit
13270
+ }
13271
+
13272
+ type duration_unit = :day | :month
13273
+
13274
+ module DurationUnit
13275
+ extend Orb::Internal::Type::Enum
13276
+
13277
+ DAY: :day
13278
+ MONTH: :month
11985
13279
 
11986
- def to_hash: -> { allows_rollover: bool, currency: String }
13280
+ def self?.values: -> ::Array[Orb::Models::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::duration_unit]
13281
+ end
13282
+ end
11987
13283
  end
11988
13284
 
11989
13285
  type invoicing_cycle_configuration =
@@ -12415,16 +13711,64 @@ module Orb
12415
13711
  def self?.values: -> ::Array[Orb::Models::Price::CumulativeGroupedBulk::cadence]
12416
13712
  end
12417
13713
 
12418
- type credit_allocation = { allows_rollover: bool, currency: String }
13714
+ type credit_allocation =
13715
+ {
13716
+ allows_rollover: bool,
13717
+ currency: String,
13718
+ custom_expiration: Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration?
13719
+ }
12419
13720
 
12420
13721
  class CreditAllocation < Orb::Internal::Type::BaseModel
12421
13722
  attr_accessor allows_rollover: bool
12422
13723
 
12423
13724
  attr_accessor currency: String
12424
13725
 
12425
- def initialize: (allows_rollover: bool, currency: String) -> void
13726
+ attr_accessor custom_expiration: Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration?
13727
+
13728
+ def initialize: (
13729
+ allows_rollover: bool,
13730
+ currency: String,
13731
+ custom_expiration: Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration?
13732
+ ) -> void
13733
+
13734
+ def to_hash: -> {
13735
+ allows_rollover: bool,
13736
+ currency: String,
13737
+ custom_expiration: Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration?
13738
+ }
13739
+
13740
+ type custom_expiration =
13741
+ {
13742
+ duration: Integer,
13743
+ duration_unit: Orb::Models::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::duration_unit
13744
+ }
13745
+
13746
+ class CustomExpiration < Orb::Internal::Type::BaseModel
13747
+ attr_accessor duration: Integer
13748
+
13749
+ attr_accessor duration_unit: Orb::Models::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::duration_unit
13750
+
13751
+ def initialize: (
13752
+ duration: Integer,
13753
+ duration_unit: Orb::Models::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::duration_unit
13754
+ ) -> void
13755
+
13756
+ def to_hash: -> {
13757
+ duration: Integer,
13758
+ duration_unit: Orb::Models::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::duration_unit
13759
+ }
13760
+
13761
+ type duration_unit = :day | :month
13762
+
13763
+ module DurationUnit
13764
+ extend Orb::Internal::Type::Enum
12426
13765
 
12427
- def to_hash: -> { allows_rollover: bool, currency: String }
13766
+ DAY: :day
13767
+ MONTH: :month
13768
+
13769
+ def self?.values: -> ::Array[Orb::Models::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::duration_unit]
13770
+ end
13771
+ end
12428
13772
  end
12429
13773
 
12430
13774
  type invoicing_cycle_configuration =