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.
@@ -428,18 +428,125 @@ module Orb
428
428
  attr_accessor :currency
429
429
 
430
430
  sig do
431
- params(allows_rollover: T::Boolean, currency: String).returns(
432
- T.attached_class
431
+ returns(
432
+ T.nilable(Orb::Price::Unit::CreditAllocation::CustomExpiration)
433
433
  )
434
434
  end
435
- def self.new(allows_rollover:, currency:)
435
+ attr_reader :custom_expiration
436
+
437
+ sig do
438
+ params(
439
+ custom_expiration:
440
+ T.nilable(
441
+ Orb::Price::Unit::CreditAllocation::CustomExpiration::OrHash
442
+ )
443
+ ).void
436
444
  end
445
+ attr_writer :custom_expiration
437
446
 
438
447
  sig do
439
- override.returns({ allows_rollover: T::Boolean, currency: String })
448
+ params(
449
+ allows_rollover: T::Boolean,
450
+ currency: String,
451
+ custom_expiration:
452
+ T.nilable(
453
+ Orb::Price::Unit::CreditAllocation::CustomExpiration::OrHash
454
+ )
455
+ ).returns(T.attached_class)
456
+ end
457
+ def self.new(allows_rollover:, currency:, custom_expiration:)
458
+ end
459
+
460
+ sig do
461
+ override.returns(
462
+ {
463
+ allows_rollover: T::Boolean,
464
+ currency: String,
465
+ custom_expiration:
466
+ T.nilable(
467
+ Orb::Price::Unit::CreditAllocation::CustomExpiration
468
+ )
469
+ }
470
+ )
440
471
  end
441
472
  def to_hash
442
473
  end
474
+
475
+ class CustomExpiration < Orb::Internal::Type::BaseModel
476
+ OrHash =
477
+ T.type_alias do
478
+ T.any(
479
+ Orb::Price::Unit::CreditAllocation::CustomExpiration,
480
+ Orb::Internal::AnyHash
481
+ )
482
+ end
483
+
484
+ sig { returns(Integer) }
485
+ attr_accessor :duration
486
+
487
+ sig do
488
+ returns(
489
+ Orb::Price::Unit::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
490
+ )
491
+ end
492
+ attr_accessor :duration_unit
493
+
494
+ sig do
495
+ params(
496
+ duration: Integer,
497
+ duration_unit:
498
+ Orb::Price::Unit::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
499
+ ).returns(T.attached_class)
500
+ end
501
+ def self.new(duration:, duration_unit:)
502
+ end
503
+
504
+ sig do
505
+ override.returns(
506
+ {
507
+ duration: Integer,
508
+ duration_unit:
509
+ Orb::Price::Unit::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
510
+ }
511
+ )
512
+ end
513
+ def to_hash
514
+ end
515
+
516
+ module DurationUnit
517
+ extend Orb::Internal::Type::Enum
518
+
519
+ TaggedSymbol =
520
+ T.type_alias do
521
+ T.all(
522
+ Symbol,
523
+ Orb::Price::Unit::CreditAllocation::CustomExpiration::DurationUnit
524
+ )
525
+ end
526
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
527
+
528
+ DAY =
529
+ T.let(
530
+ :day,
531
+ Orb::Price::Unit::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
532
+ )
533
+ MONTH =
534
+ T.let(
535
+ :month,
536
+ Orb::Price::Unit::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
537
+ )
538
+
539
+ sig do
540
+ override.returns(
541
+ T::Array[
542
+ Orb::Price::Unit::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
543
+ ]
544
+ )
545
+ end
546
+ def self.values
547
+ end
548
+ end
549
+ end
443
550
  end
444
551
 
445
552
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -1381,18 +1488,125 @@ module Orb
1381
1488
  attr_accessor :currency
1382
1489
 
1383
1490
  sig do
1384
- params(allows_rollover: T::Boolean, currency: String).returns(
1385
- T.attached_class
1491
+ returns(
1492
+ T.nilable(Orb::Price::Package::CreditAllocation::CustomExpiration)
1386
1493
  )
1387
1494
  end
1388
- def self.new(allows_rollover:, currency:)
1495
+ attr_reader :custom_expiration
1496
+
1497
+ sig do
1498
+ params(
1499
+ custom_expiration:
1500
+ T.nilable(
1501
+ Orb::Price::Package::CreditAllocation::CustomExpiration::OrHash
1502
+ )
1503
+ ).void
1389
1504
  end
1505
+ attr_writer :custom_expiration
1390
1506
 
1391
1507
  sig do
1392
- override.returns({ allows_rollover: T::Boolean, currency: String })
1508
+ params(
1509
+ allows_rollover: T::Boolean,
1510
+ currency: String,
1511
+ custom_expiration:
1512
+ T.nilable(
1513
+ Orb::Price::Package::CreditAllocation::CustomExpiration::OrHash
1514
+ )
1515
+ ).returns(T.attached_class)
1516
+ end
1517
+ def self.new(allows_rollover:, currency:, custom_expiration:)
1518
+ end
1519
+
1520
+ sig do
1521
+ override.returns(
1522
+ {
1523
+ allows_rollover: T::Boolean,
1524
+ currency: String,
1525
+ custom_expiration:
1526
+ T.nilable(
1527
+ Orb::Price::Package::CreditAllocation::CustomExpiration
1528
+ )
1529
+ }
1530
+ )
1393
1531
  end
1394
1532
  def to_hash
1395
1533
  end
1534
+
1535
+ class CustomExpiration < Orb::Internal::Type::BaseModel
1536
+ OrHash =
1537
+ T.type_alias do
1538
+ T.any(
1539
+ Orb::Price::Package::CreditAllocation::CustomExpiration,
1540
+ Orb::Internal::AnyHash
1541
+ )
1542
+ end
1543
+
1544
+ sig { returns(Integer) }
1545
+ attr_accessor :duration
1546
+
1547
+ sig do
1548
+ returns(
1549
+ Orb::Price::Package::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
1550
+ )
1551
+ end
1552
+ attr_accessor :duration_unit
1553
+
1554
+ sig do
1555
+ params(
1556
+ duration: Integer,
1557
+ duration_unit:
1558
+ Orb::Price::Package::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
1559
+ ).returns(T.attached_class)
1560
+ end
1561
+ def self.new(duration:, duration_unit:)
1562
+ end
1563
+
1564
+ sig do
1565
+ override.returns(
1566
+ {
1567
+ duration: Integer,
1568
+ duration_unit:
1569
+ Orb::Price::Package::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
1570
+ }
1571
+ )
1572
+ end
1573
+ def to_hash
1574
+ end
1575
+
1576
+ module DurationUnit
1577
+ extend Orb::Internal::Type::Enum
1578
+
1579
+ TaggedSymbol =
1580
+ T.type_alias do
1581
+ T.all(
1582
+ Symbol,
1583
+ Orb::Price::Package::CreditAllocation::CustomExpiration::DurationUnit
1584
+ )
1585
+ end
1586
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1587
+
1588
+ DAY =
1589
+ T.let(
1590
+ :day,
1591
+ Orb::Price::Package::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
1592
+ )
1593
+ MONTH =
1594
+ T.let(
1595
+ :month,
1596
+ Orb::Price::Package::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
1597
+ )
1598
+
1599
+ sig do
1600
+ override.returns(
1601
+ T::Array[
1602
+ Orb::Price::Package::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
1603
+ ]
1604
+ )
1605
+ end
1606
+ def self.values
1607
+ end
1608
+ end
1609
+ end
1396
1610
  end
1397
1611
 
1398
1612
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -2357,18 +2571,125 @@ module Orb
2357
2571
  attr_accessor :currency
2358
2572
 
2359
2573
  sig do
2360
- params(allows_rollover: T::Boolean, currency: String).returns(
2361
- T.attached_class
2574
+ returns(
2575
+ T.nilable(Orb::Price::Matrix::CreditAllocation::CustomExpiration)
2362
2576
  )
2363
2577
  end
2364
- def self.new(allows_rollover:, currency:)
2578
+ attr_reader :custom_expiration
2579
+
2580
+ sig do
2581
+ params(
2582
+ custom_expiration:
2583
+ T.nilable(
2584
+ Orb::Price::Matrix::CreditAllocation::CustomExpiration::OrHash
2585
+ )
2586
+ ).void
2365
2587
  end
2588
+ attr_writer :custom_expiration
2366
2589
 
2367
2590
  sig do
2368
- override.returns({ allows_rollover: T::Boolean, currency: String })
2591
+ params(
2592
+ allows_rollover: T::Boolean,
2593
+ currency: String,
2594
+ custom_expiration:
2595
+ T.nilable(
2596
+ Orb::Price::Matrix::CreditAllocation::CustomExpiration::OrHash
2597
+ )
2598
+ ).returns(T.attached_class)
2599
+ end
2600
+ def self.new(allows_rollover:, currency:, custom_expiration:)
2601
+ end
2602
+
2603
+ sig do
2604
+ override.returns(
2605
+ {
2606
+ allows_rollover: T::Boolean,
2607
+ currency: String,
2608
+ custom_expiration:
2609
+ T.nilable(
2610
+ Orb::Price::Matrix::CreditAllocation::CustomExpiration
2611
+ )
2612
+ }
2613
+ )
2369
2614
  end
2370
2615
  def to_hash
2371
2616
  end
2617
+
2618
+ class CustomExpiration < Orb::Internal::Type::BaseModel
2619
+ OrHash =
2620
+ T.type_alias do
2621
+ T.any(
2622
+ Orb::Price::Matrix::CreditAllocation::CustomExpiration,
2623
+ Orb::Internal::AnyHash
2624
+ )
2625
+ end
2626
+
2627
+ sig { returns(Integer) }
2628
+ attr_accessor :duration
2629
+
2630
+ sig do
2631
+ returns(
2632
+ Orb::Price::Matrix::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
2633
+ )
2634
+ end
2635
+ attr_accessor :duration_unit
2636
+
2637
+ sig do
2638
+ params(
2639
+ duration: Integer,
2640
+ duration_unit:
2641
+ Orb::Price::Matrix::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
2642
+ ).returns(T.attached_class)
2643
+ end
2644
+ def self.new(duration:, duration_unit:)
2645
+ end
2646
+
2647
+ sig do
2648
+ override.returns(
2649
+ {
2650
+ duration: Integer,
2651
+ duration_unit:
2652
+ Orb::Price::Matrix::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
2653
+ }
2654
+ )
2655
+ end
2656
+ def to_hash
2657
+ end
2658
+
2659
+ module DurationUnit
2660
+ extend Orb::Internal::Type::Enum
2661
+
2662
+ TaggedSymbol =
2663
+ T.type_alias do
2664
+ T.all(
2665
+ Symbol,
2666
+ Orb::Price::Matrix::CreditAllocation::CustomExpiration::DurationUnit
2667
+ )
2668
+ end
2669
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2670
+
2671
+ DAY =
2672
+ T.let(
2673
+ :day,
2674
+ Orb::Price::Matrix::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
2675
+ )
2676
+ MONTH =
2677
+ T.let(
2678
+ :month,
2679
+ Orb::Price::Matrix::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
2680
+ )
2681
+
2682
+ sig do
2683
+ override.returns(
2684
+ T::Array[
2685
+ Orb::Price::Matrix::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
2686
+ ]
2687
+ )
2688
+ end
2689
+ def self.values
2690
+ end
2691
+ end
2692
+ end
2372
2693
  end
2373
2694
 
2374
2695
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -3389,24 +3710,131 @@ module Orb
3389
3710
  )
3390
3711
  end
3391
3712
 
3392
- sig { returns(T::Boolean) }
3393
- attr_accessor :allows_rollover
3713
+ sig { returns(T::Boolean) }
3714
+ attr_accessor :allows_rollover
3715
+
3716
+ sig { returns(String) }
3717
+ attr_accessor :currency
3718
+
3719
+ sig do
3720
+ returns(
3721
+ T.nilable(Orb::Price::Tiered::CreditAllocation::CustomExpiration)
3722
+ )
3723
+ end
3724
+ attr_reader :custom_expiration
3725
+
3726
+ sig do
3727
+ params(
3728
+ custom_expiration:
3729
+ T.nilable(
3730
+ Orb::Price::Tiered::CreditAllocation::CustomExpiration::OrHash
3731
+ )
3732
+ ).void
3733
+ end
3734
+ attr_writer :custom_expiration
3735
+
3736
+ sig do
3737
+ params(
3738
+ allows_rollover: T::Boolean,
3739
+ currency: String,
3740
+ custom_expiration:
3741
+ T.nilable(
3742
+ Orb::Price::Tiered::CreditAllocation::CustomExpiration::OrHash
3743
+ )
3744
+ ).returns(T.attached_class)
3745
+ end
3746
+ def self.new(allows_rollover:, currency:, custom_expiration:)
3747
+ end
3748
+
3749
+ sig do
3750
+ override.returns(
3751
+ {
3752
+ allows_rollover: T::Boolean,
3753
+ currency: String,
3754
+ custom_expiration:
3755
+ T.nilable(
3756
+ Orb::Price::Tiered::CreditAllocation::CustomExpiration
3757
+ )
3758
+ }
3759
+ )
3760
+ end
3761
+ def to_hash
3762
+ end
3763
+
3764
+ class CustomExpiration < Orb::Internal::Type::BaseModel
3765
+ OrHash =
3766
+ T.type_alias do
3767
+ T.any(
3768
+ Orb::Price::Tiered::CreditAllocation::CustomExpiration,
3769
+ Orb::Internal::AnyHash
3770
+ )
3771
+ end
3772
+
3773
+ sig { returns(Integer) }
3774
+ attr_accessor :duration
3775
+
3776
+ sig do
3777
+ returns(
3778
+ Orb::Price::Tiered::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
3779
+ )
3780
+ end
3781
+ attr_accessor :duration_unit
3782
+
3783
+ sig do
3784
+ params(
3785
+ duration: Integer,
3786
+ duration_unit:
3787
+ Orb::Price::Tiered::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
3788
+ ).returns(T.attached_class)
3789
+ end
3790
+ def self.new(duration:, duration_unit:)
3791
+ end
3792
+
3793
+ sig do
3794
+ override.returns(
3795
+ {
3796
+ duration: Integer,
3797
+ duration_unit:
3798
+ Orb::Price::Tiered::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
3799
+ }
3800
+ )
3801
+ end
3802
+ def to_hash
3803
+ end
3804
+
3805
+ module DurationUnit
3806
+ extend Orb::Internal::Type::Enum
3394
3807
 
3395
- sig { returns(String) }
3396
- attr_accessor :currency
3808
+ TaggedSymbol =
3809
+ T.type_alias do
3810
+ T.all(
3811
+ Symbol,
3812
+ Orb::Price::Tiered::CreditAllocation::CustomExpiration::DurationUnit
3813
+ )
3814
+ end
3815
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
3397
3816
 
3398
- sig do
3399
- params(allows_rollover: T::Boolean, currency: String).returns(
3400
- T.attached_class
3401
- )
3402
- end
3403
- def self.new(allows_rollover:, currency:)
3404
- end
3817
+ DAY =
3818
+ T.let(
3819
+ :day,
3820
+ Orb::Price::Tiered::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
3821
+ )
3822
+ MONTH =
3823
+ T.let(
3824
+ :month,
3825
+ Orb::Price::Tiered::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
3826
+ )
3405
3827
 
3406
- sig do
3407
- override.returns({ allows_rollover: T::Boolean, currency: String })
3408
- end
3409
- def to_hash
3828
+ sig do
3829
+ override.returns(
3830
+ T::Array[
3831
+ Orb::Price::Tiered::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
3832
+ ]
3833
+ )
3834
+ end
3835
+ def self.values
3836
+ end
3837
+ end
3410
3838
  end
3411
3839
  end
3412
3840
 
@@ -4432,18 +4860,127 @@ module Orb
4432
4860
  attr_accessor :currency
4433
4861
 
4434
4862
  sig do
4435
- params(allows_rollover: T::Boolean, currency: String).returns(
4436
- T.attached_class
4863
+ returns(
4864
+ T.nilable(
4865
+ Orb::Price::TieredBps::CreditAllocation::CustomExpiration
4866
+ )
4437
4867
  )
4438
4868
  end
4439
- def self.new(allows_rollover:, currency:)
4869
+ attr_reader :custom_expiration
4870
+
4871
+ sig do
4872
+ params(
4873
+ custom_expiration:
4874
+ T.nilable(
4875
+ Orb::Price::TieredBps::CreditAllocation::CustomExpiration::OrHash
4876
+ )
4877
+ ).void
4878
+ end
4879
+ attr_writer :custom_expiration
4880
+
4881
+ sig do
4882
+ params(
4883
+ allows_rollover: T::Boolean,
4884
+ currency: String,
4885
+ custom_expiration:
4886
+ T.nilable(
4887
+ Orb::Price::TieredBps::CreditAllocation::CustomExpiration::OrHash
4888
+ )
4889
+ ).returns(T.attached_class)
4890
+ end
4891
+ def self.new(allows_rollover:, currency:, custom_expiration:)
4440
4892
  end
4441
4893
 
4442
4894
  sig do
4443
- override.returns({ allows_rollover: T::Boolean, currency: String })
4895
+ override.returns(
4896
+ {
4897
+ allows_rollover: T::Boolean,
4898
+ currency: String,
4899
+ custom_expiration:
4900
+ T.nilable(
4901
+ Orb::Price::TieredBps::CreditAllocation::CustomExpiration
4902
+ )
4903
+ }
4904
+ )
4444
4905
  end
4445
4906
  def to_hash
4446
4907
  end
4908
+
4909
+ class CustomExpiration < Orb::Internal::Type::BaseModel
4910
+ OrHash =
4911
+ T.type_alias do
4912
+ T.any(
4913
+ Orb::Price::TieredBps::CreditAllocation::CustomExpiration,
4914
+ Orb::Internal::AnyHash
4915
+ )
4916
+ end
4917
+
4918
+ sig { returns(Integer) }
4919
+ attr_accessor :duration
4920
+
4921
+ sig do
4922
+ returns(
4923
+ Orb::Price::TieredBps::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
4924
+ )
4925
+ end
4926
+ attr_accessor :duration_unit
4927
+
4928
+ sig do
4929
+ params(
4930
+ duration: Integer,
4931
+ duration_unit:
4932
+ Orb::Price::TieredBps::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
4933
+ ).returns(T.attached_class)
4934
+ end
4935
+ def self.new(duration:, duration_unit:)
4936
+ end
4937
+
4938
+ sig do
4939
+ override.returns(
4940
+ {
4941
+ duration: Integer,
4942
+ duration_unit:
4943
+ Orb::Price::TieredBps::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
4944
+ }
4945
+ )
4946
+ end
4947
+ def to_hash
4948
+ end
4949
+
4950
+ module DurationUnit
4951
+ extend Orb::Internal::Type::Enum
4952
+
4953
+ TaggedSymbol =
4954
+ T.type_alias do
4955
+ T.all(
4956
+ Symbol,
4957
+ Orb::Price::TieredBps::CreditAllocation::CustomExpiration::DurationUnit
4958
+ )
4959
+ end
4960
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
4961
+
4962
+ DAY =
4963
+ T.let(
4964
+ :day,
4965
+ Orb::Price::TieredBps::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
4966
+ )
4967
+ MONTH =
4968
+ T.let(
4969
+ :month,
4970
+ Orb::Price::TieredBps::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
4971
+ )
4972
+
4973
+ sig do
4974
+ override.returns(
4975
+ T::Array[
4976
+ Orb::Price::TieredBps::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
4977
+ ]
4978
+ )
4979
+ end
4980
+ def self.values
4981
+ end
4982
+ end
4983
+ end
4447
4984
  end
4448
4985
 
4449
4986
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -5495,18 +6032,123 @@ module Orb
5495
6032
  attr_accessor :currency
5496
6033
 
5497
6034
  sig do
5498
- params(allows_rollover: T::Boolean, currency: String).returns(
5499
- T.attached_class
6035
+ returns(
6036
+ T.nilable(Orb::Price::Bps::CreditAllocation::CustomExpiration)
5500
6037
  )
5501
6038
  end
5502
- def self.new(allows_rollover:, currency:)
6039
+ attr_reader :custom_expiration
6040
+
6041
+ sig do
6042
+ params(
6043
+ custom_expiration:
6044
+ T.nilable(
6045
+ Orb::Price::Bps::CreditAllocation::CustomExpiration::OrHash
6046
+ )
6047
+ ).void
6048
+ end
6049
+ attr_writer :custom_expiration
6050
+
6051
+ sig do
6052
+ params(
6053
+ allows_rollover: T::Boolean,
6054
+ currency: String,
6055
+ custom_expiration:
6056
+ T.nilable(
6057
+ Orb::Price::Bps::CreditAllocation::CustomExpiration::OrHash
6058
+ )
6059
+ ).returns(T.attached_class)
6060
+ end
6061
+ def self.new(allows_rollover:, currency:, custom_expiration:)
5503
6062
  end
5504
6063
 
5505
6064
  sig do
5506
- override.returns({ allows_rollover: T::Boolean, currency: String })
6065
+ override.returns(
6066
+ {
6067
+ allows_rollover: T::Boolean,
6068
+ currency: String,
6069
+ custom_expiration:
6070
+ T.nilable(Orb::Price::Bps::CreditAllocation::CustomExpiration)
6071
+ }
6072
+ )
5507
6073
  end
5508
6074
  def to_hash
5509
6075
  end
6076
+
6077
+ class CustomExpiration < Orb::Internal::Type::BaseModel
6078
+ OrHash =
6079
+ T.type_alias do
6080
+ T.any(
6081
+ Orb::Price::Bps::CreditAllocation::CustomExpiration,
6082
+ Orb::Internal::AnyHash
6083
+ )
6084
+ end
6085
+
6086
+ sig { returns(Integer) }
6087
+ attr_accessor :duration
6088
+
6089
+ sig do
6090
+ returns(
6091
+ Orb::Price::Bps::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
6092
+ )
6093
+ end
6094
+ attr_accessor :duration_unit
6095
+
6096
+ sig do
6097
+ params(
6098
+ duration: Integer,
6099
+ duration_unit:
6100
+ Orb::Price::Bps::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
6101
+ ).returns(T.attached_class)
6102
+ end
6103
+ def self.new(duration:, duration_unit:)
6104
+ end
6105
+
6106
+ sig do
6107
+ override.returns(
6108
+ {
6109
+ duration: Integer,
6110
+ duration_unit:
6111
+ Orb::Price::Bps::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
6112
+ }
6113
+ )
6114
+ end
6115
+ def to_hash
6116
+ end
6117
+
6118
+ module DurationUnit
6119
+ extend Orb::Internal::Type::Enum
6120
+
6121
+ TaggedSymbol =
6122
+ T.type_alias do
6123
+ T.all(
6124
+ Symbol,
6125
+ Orb::Price::Bps::CreditAllocation::CustomExpiration::DurationUnit
6126
+ )
6127
+ end
6128
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
6129
+
6130
+ DAY =
6131
+ T.let(
6132
+ :day,
6133
+ Orb::Price::Bps::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
6134
+ )
6135
+ MONTH =
6136
+ T.let(
6137
+ :month,
6138
+ Orb::Price::Bps::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
6139
+ )
6140
+
6141
+ sig do
6142
+ override.returns(
6143
+ T::Array[
6144
+ Orb::Price::Bps::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
6145
+ ]
6146
+ )
6147
+ end
6148
+ def self.values
6149
+ end
6150
+ end
6151
+ end
5510
6152
  end
5511
6153
 
5512
6154
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -6500,24 +7142,131 @@ module Orb
6500
7142
  )
6501
7143
  end
6502
7144
 
6503
- sig { returns(T::Boolean) }
6504
- attr_accessor :allows_rollover
7145
+ sig { returns(T::Boolean) }
7146
+ attr_accessor :allows_rollover
7147
+
7148
+ sig { returns(String) }
7149
+ attr_accessor :currency
7150
+
7151
+ sig do
7152
+ returns(
7153
+ T.nilable(Orb::Price::BulkBps::CreditAllocation::CustomExpiration)
7154
+ )
7155
+ end
7156
+ attr_reader :custom_expiration
7157
+
7158
+ sig do
7159
+ params(
7160
+ custom_expiration:
7161
+ T.nilable(
7162
+ Orb::Price::BulkBps::CreditAllocation::CustomExpiration::OrHash
7163
+ )
7164
+ ).void
7165
+ end
7166
+ attr_writer :custom_expiration
7167
+
7168
+ sig do
7169
+ params(
7170
+ allows_rollover: T::Boolean,
7171
+ currency: String,
7172
+ custom_expiration:
7173
+ T.nilable(
7174
+ Orb::Price::BulkBps::CreditAllocation::CustomExpiration::OrHash
7175
+ )
7176
+ ).returns(T.attached_class)
7177
+ end
7178
+ def self.new(allows_rollover:, currency:, custom_expiration:)
7179
+ end
7180
+
7181
+ sig do
7182
+ override.returns(
7183
+ {
7184
+ allows_rollover: T::Boolean,
7185
+ currency: String,
7186
+ custom_expiration:
7187
+ T.nilable(
7188
+ Orb::Price::BulkBps::CreditAllocation::CustomExpiration
7189
+ )
7190
+ }
7191
+ )
7192
+ end
7193
+ def to_hash
7194
+ end
7195
+
7196
+ class CustomExpiration < Orb::Internal::Type::BaseModel
7197
+ OrHash =
7198
+ T.type_alias do
7199
+ T.any(
7200
+ Orb::Price::BulkBps::CreditAllocation::CustomExpiration,
7201
+ Orb::Internal::AnyHash
7202
+ )
7203
+ end
7204
+
7205
+ sig { returns(Integer) }
7206
+ attr_accessor :duration
7207
+
7208
+ sig do
7209
+ returns(
7210
+ Orb::Price::BulkBps::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
7211
+ )
7212
+ end
7213
+ attr_accessor :duration_unit
7214
+
7215
+ sig do
7216
+ params(
7217
+ duration: Integer,
7218
+ duration_unit:
7219
+ Orb::Price::BulkBps::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
7220
+ ).returns(T.attached_class)
7221
+ end
7222
+ def self.new(duration:, duration_unit:)
7223
+ end
7224
+
7225
+ sig do
7226
+ override.returns(
7227
+ {
7228
+ duration: Integer,
7229
+ duration_unit:
7230
+ Orb::Price::BulkBps::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
7231
+ }
7232
+ )
7233
+ end
7234
+ def to_hash
7235
+ end
7236
+
7237
+ module DurationUnit
7238
+ extend Orb::Internal::Type::Enum
6505
7239
 
6506
- sig { returns(String) }
6507
- attr_accessor :currency
7240
+ TaggedSymbol =
7241
+ T.type_alias do
7242
+ T.all(
7243
+ Symbol,
7244
+ Orb::Price::BulkBps::CreditAllocation::CustomExpiration::DurationUnit
7245
+ )
7246
+ end
7247
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
6508
7248
 
6509
- sig do
6510
- params(allows_rollover: T::Boolean, currency: String).returns(
6511
- T.attached_class
6512
- )
6513
- end
6514
- def self.new(allows_rollover:, currency:)
6515
- end
7249
+ DAY =
7250
+ T.let(
7251
+ :day,
7252
+ Orb::Price::BulkBps::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
7253
+ )
7254
+ MONTH =
7255
+ T.let(
7256
+ :month,
7257
+ Orb::Price::BulkBps::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
7258
+ )
6516
7259
 
6517
- sig do
6518
- override.returns({ allows_rollover: T::Boolean, currency: String })
6519
- end
6520
- def to_hash
7260
+ sig do
7261
+ override.returns(
7262
+ T::Array[
7263
+ Orb::Price::BulkBps::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
7264
+ ]
7265
+ )
7266
+ end
7267
+ def self.values
7268
+ end
7269
+ end
6521
7270
  end
6522
7271
  end
6523
7272
 
@@ -7503,18 +8252,125 @@ module Orb
7503
8252
  attr_accessor :currency
7504
8253
 
7505
8254
  sig do
7506
- params(allows_rollover: T::Boolean, currency: String).returns(
7507
- T.attached_class
8255
+ returns(
8256
+ T.nilable(Orb::Price::Bulk::CreditAllocation::CustomExpiration)
7508
8257
  )
7509
8258
  end
7510
- def self.new(allows_rollover:, currency:)
8259
+ attr_reader :custom_expiration
8260
+
8261
+ sig do
8262
+ params(
8263
+ custom_expiration:
8264
+ T.nilable(
8265
+ Orb::Price::Bulk::CreditAllocation::CustomExpiration::OrHash
8266
+ )
8267
+ ).void
8268
+ end
8269
+ attr_writer :custom_expiration
8270
+
8271
+ sig do
8272
+ params(
8273
+ allows_rollover: T::Boolean,
8274
+ currency: String,
8275
+ custom_expiration:
8276
+ T.nilable(
8277
+ Orb::Price::Bulk::CreditAllocation::CustomExpiration::OrHash
8278
+ )
8279
+ ).returns(T.attached_class)
8280
+ end
8281
+ def self.new(allows_rollover:, currency:, custom_expiration:)
7511
8282
  end
7512
8283
 
7513
8284
  sig do
7514
- override.returns({ allows_rollover: T::Boolean, currency: String })
8285
+ override.returns(
8286
+ {
8287
+ allows_rollover: T::Boolean,
8288
+ currency: String,
8289
+ custom_expiration:
8290
+ T.nilable(
8291
+ Orb::Price::Bulk::CreditAllocation::CustomExpiration
8292
+ )
8293
+ }
8294
+ )
7515
8295
  end
7516
8296
  def to_hash
7517
8297
  end
8298
+
8299
+ class CustomExpiration < Orb::Internal::Type::BaseModel
8300
+ OrHash =
8301
+ T.type_alias do
8302
+ T.any(
8303
+ Orb::Price::Bulk::CreditAllocation::CustomExpiration,
8304
+ Orb::Internal::AnyHash
8305
+ )
8306
+ end
8307
+
8308
+ sig { returns(Integer) }
8309
+ attr_accessor :duration
8310
+
8311
+ sig do
8312
+ returns(
8313
+ Orb::Price::Bulk::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
8314
+ )
8315
+ end
8316
+ attr_accessor :duration_unit
8317
+
8318
+ sig do
8319
+ params(
8320
+ duration: Integer,
8321
+ duration_unit:
8322
+ Orb::Price::Bulk::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
8323
+ ).returns(T.attached_class)
8324
+ end
8325
+ def self.new(duration:, duration_unit:)
8326
+ end
8327
+
8328
+ sig do
8329
+ override.returns(
8330
+ {
8331
+ duration: Integer,
8332
+ duration_unit:
8333
+ Orb::Price::Bulk::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
8334
+ }
8335
+ )
8336
+ end
8337
+ def to_hash
8338
+ end
8339
+
8340
+ module DurationUnit
8341
+ extend Orb::Internal::Type::Enum
8342
+
8343
+ TaggedSymbol =
8344
+ T.type_alias do
8345
+ T.all(
8346
+ Symbol,
8347
+ Orb::Price::Bulk::CreditAllocation::CustomExpiration::DurationUnit
8348
+ )
8349
+ end
8350
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
8351
+
8352
+ DAY =
8353
+ T.let(
8354
+ :day,
8355
+ Orb::Price::Bulk::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
8356
+ )
8357
+ MONTH =
8358
+ T.let(
8359
+ :month,
8360
+ Orb::Price::Bulk::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
8361
+ )
8362
+
8363
+ sig do
8364
+ override.returns(
8365
+ T::Array[
8366
+ Orb::Price::Bulk::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
8367
+ ]
8368
+ )
8369
+ end
8370
+ def self.values
8371
+ end
8372
+ end
8373
+ end
7518
8374
  end
7519
8375
 
7520
8376
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -8495,18 +9351,127 @@ module Orb
8495
9351
  attr_accessor :currency
8496
9352
 
8497
9353
  sig do
8498
- params(allows_rollover: T::Boolean, currency: String).returns(
8499
- T.attached_class
9354
+ returns(
9355
+ T.nilable(
9356
+ Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration
9357
+ )
8500
9358
  )
8501
9359
  end
8502
- def self.new(allows_rollover:, currency:)
9360
+ attr_reader :custom_expiration
9361
+
9362
+ sig do
9363
+ params(
9364
+ custom_expiration:
9365
+ T.nilable(
9366
+ Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::OrHash
9367
+ )
9368
+ ).void
9369
+ end
9370
+ attr_writer :custom_expiration
9371
+
9372
+ sig do
9373
+ params(
9374
+ allows_rollover: T::Boolean,
9375
+ currency: String,
9376
+ custom_expiration:
9377
+ T.nilable(
9378
+ Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::OrHash
9379
+ )
9380
+ ).returns(T.attached_class)
9381
+ end
9382
+ def self.new(allows_rollover:, currency:, custom_expiration:)
8503
9383
  end
8504
9384
 
8505
9385
  sig do
8506
- override.returns({ allows_rollover: T::Boolean, currency: String })
9386
+ override.returns(
9387
+ {
9388
+ allows_rollover: T::Boolean,
9389
+ currency: String,
9390
+ custom_expiration:
9391
+ T.nilable(
9392
+ Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration
9393
+ )
9394
+ }
9395
+ )
8507
9396
  end
8508
9397
  def to_hash
8509
9398
  end
9399
+
9400
+ class CustomExpiration < Orb::Internal::Type::BaseModel
9401
+ OrHash =
9402
+ T.type_alias do
9403
+ T.any(
9404
+ Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration,
9405
+ Orb::Internal::AnyHash
9406
+ )
9407
+ end
9408
+
9409
+ sig { returns(Integer) }
9410
+ attr_accessor :duration
9411
+
9412
+ sig do
9413
+ returns(
9414
+ Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
9415
+ )
9416
+ end
9417
+ attr_accessor :duration_unit
9418
+
9419
+ sig do
9420
+ params(
9421
+ duration: Integer,
9422
+ duration_unit:
9423
+ Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
9424
+ ).returns(T.attached_class)
9425
+ end
9426
+ def self.new(duration:, duration_unit:)
9427
+ end
9428
+
9429
+ sig do
9430
+ override.returns(
9431
+ {
9432
+ duration: Integer,
9433
+ duration_unit:
9434
+ Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
9435
+ }
9436
+ )
9437
+ end
9438
+ def to_hash
9439
+ end
9440
+
9441
+ module DurationUnit
9442
+ extend Orb::Internal::Type::Enum
9443
+
9444
+ TaggedSymbol =
9445
+ T.type_alias do
9446
+ T.all(
9447
+ Symbol,
9448
+ Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::DurationUnit
9449
+ )
9450
+ end
9451
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
9452
+
9453
+ DAY =
9454
+ T.let(
9455
+ :day,
9456
+ Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
9457
+ )
9458
+ MONTH =
9459
+ T.let(
9460
+ :month,
9461
+ Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
9462
+ )
9463
+
9464
+ sig do
9465
+ override.returns(
9466
+ T::Array[
9467
+ Orb::Price::ThresholdTotalAmount::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
9468
+ ]
9469
+ )
9470
+ end
9471
+ def self.values
9472
+ end
9473
+ end
9474
+ end
8510
9475
  end
8511
9476
 
8512
9477
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -9502,21 +10467,130 @@ module Orb
9502
10467
  sig { returns(T::Boolean) }
9503
10468
  attr_accessor :allows_rollover
9504
10469
 
9505
- sig { returns(String) }
9506
- attr_accessor :currency
10470
+ sig { returns(String) }
10471
+ attr_accessor :currency
10472
+
10473
+ sig do
10474
+ returns(
10475
+ T.nilable(
10476
+ Orb::Price::TieredPackage::CreditAllocation::CustomExpiration
10477
+ )
10478
+ )
10479
+ end
10480
+ attr_reader :custom_expiration
10481
+
10482
+ sig do
10483
+ params(
10484
+ custom_expiration:
10485
+ T.nilable(
10486
+ Orb::Price::TieredPackage::CreditAllocation::CustomExpiration::OrHash
10487
+ )
10488
+ ).void
10489
+ end
10490
+ attr_writer :custom_expiration
10491
+
10492
+ sig do
10493
+ params(
10494
+ allows_rollover: T::Boolean,
10495
+ currency: String,
10496
+ custom_expiration:
10497
+ T.nilable(
10498
+ Orb::Price::TieredPackage::CreditAllocation::CustomExpiration::OrHash
10499
+ )
10500
+ ).returns(T.attached_class)
10501
+ end
10502
+ def self.new(allows_rollover:, currency:, custom_expiration:)
10503
+ end
10504
+
10505
+ sig do
10506
+ override.returns(
10507
+ {
10508
+ allows_rollover: T::Boolean,
10509
+ currency: String,
10510
+ custom_expiration:
10511
+ T.nilable(
10512
+ Orb::Price::TieredPackage::CreditAllocation::CustomExpiration
10513
+ )
10514
+ }
10515
+ )
10516
+ end
10517
+ def to_hash
10518
+ end
10519
+
10520
+ class CustomExpiration < Orb::Internal::Type::BaseModel
10521
+ OrHash =
10522
+ T.type_alias do
10523
+ T.any(
10524
+ Orb::Price::TieredPackage::CreditAllocation::CustomExpiration,
10525
+ Orb::Internal::AnyHash
10526
+ )
10527
+ end
10528
+
10529
+ sig { returns(Integer) }
10530
+ attr_accessor :duration
10531
+
10532
+ sig do
10533
+ returns(
10534
+ Orb::Price::TieredPackage::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
10535
+ )
10536
+ end
10537
+ attr_accessor :duration_unit
10538
+
10539
+ sig do
10540
+ params(
10541
+ duration: Integer,
10542
+ duration_unit:
10543
+ Orb::Price::TieredPackage::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
10544
+ ).returns(T.attached_class)
10545
+ end
10546
+ def self.new(duration:, duration_unit:)
10547
+ end
10548
+
10549
+ sig do
10550
+ override.returns(
10551
+ {
10552
+ duration: Integer,
10553
+ duration_unit:
10554
+ Orb::Price::TieredPackage::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
10555
+ }
10556
+ )
10557
+ end
10558
+ def to_hash
10559
+ end
10560
+
10561
+ module DurationUnit
10562
+ extend Orb::Internal::Type::Enum
9507
10563
 
9508
- sig do
9509
- params(allows_rollover: T::Boolean, currency: String).returns(
9510
- T.attached_class
9511
- )
9512
- end
9513
- def self.new(allows_rollover:, currency:)
9514
- end
10564
+ TaggedSymbol =
10565
+ T.type_alias do
10566
+ T.all(
10567
+ Symbol,
10568
+ Orb::Price::TieredPackage::CreditAllocation::CustomExpiration::DurationUnit
10569
+ )
10570
+ end
10571
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
9515
10572
 
9516
- sig do
9517
- override.returns({ allows_rollover: T::Boolean, currency: String })
9518
- end
9519
- def to_hash
10573
+ DAY =
10574
+ T.let(
10575
+ :day,
10576
+ Orb::Price::TieredPackage::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
10577
+ )
10578
+ MONTH =
10579
+ T.let(
10580
+ :month,
10581
+ Orb::Price::TieredPackage::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
10582
+ )
10583
+
10584
+ sig do
10585
+ override.returns(
10586
+ T::Array[
10587
+ Orb::Price::TieredPackage::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
10588
+ ]
10589
+ )
10590
+ end
10591
+ def self.values
10592
+ end
10593
+ end
9520
10594
  end
9521
10595
  end
9522
10596
 
@@ -10494,18 +11568,127 @@ module Orb
10494
11568
  attr_accessor :currency
10495
11569
 
10496
11570
  sig do
10497
- params(allows_rollover: T::Boolean, currency: String).returns(
10498
- T.attached_class
11571
+ returns(
11572
+ T.nilable(
11573
+ Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration
11574
+ )
10499
11575
  )
10500
11576
  end
10501
- def self.new(allows_rollover:, currency:)
11577
+ attr_reader :custom_expiration
11578
+
11579
+ sig do
11580
+ params(
11581
+ custom_expiration:
11582
+ T.nilable(
11583
+ Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration::OrHash
11584
+ )
11585
+ ).void
11586
+ end
11587
+ attr_writer :custom_expiration
11588
+
11589
+ sig do
11590
+ params(
11591
+ allows_rollover: T::Boolean,
11592
+ currency: String,
11593
+ custom_expiration:
11594
+ T.nilable(
11595
+ Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration::OrHash
11596
+ )
11597
+ ).returns(T.attached_class)
11598
+ end
11599
+ def self.new(allows_rollover:, currency:, custom_expiration:)
10502
11600
  end
10503
11601
 
10504
11602
  sig do
10505
- override.returns({ allows_rollover: T::Boolean, currency: String })
11603
+ override.returns(
11604
+ {
11605
+ allows_rollover: T::Boolean,
11606
+ currency: String,
11607
+ custom_expiration:
11608
+ T.nilable(
11609
+ Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration
11610
+ )
11611
+ }
11612
+ )
10506
11613
  end
10507
11614
  def to_hash
10508
11615
  end
11616
+
11617
+ class CustomExpiration < Orb::Internal::Type::BaseModel
11618
+ OrHash =
11619
+ T.type_alias do
11620
+ T.any(
11621
+ Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration,
11622
+ Orb::Internal::AnyHash
11623
+ )
11624
+ end
11625
+
11626
+ sig { returns(Integer) }
11627
+ attr_accessor :duration
11628
+
11629
+ sig do
11630
+ returns(
11631
+ Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
11632
+ )
11633
+ end
11634
+ attr_accessor :duration_unit
11635
+
11636
+ sig do
11637
+ params(
11638
+ duration: Integer,
11639
+ duration_unit:
11640
+ Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
11641
+ ).returns(T.attached_class)
11642
+ end
11643
+ def self.new(duration:, duration_unit:)
11644
+ end
11645
+
11646
+ sig do
11647
+ override.returns(
11648
+ {
11649
+ duration: Integer,
11650
+ duration_unit:
11651
+ Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
11652
+ }
11653
+ )
11654
+ end
11655
+ def to_hash
11656
+ end
11657
+
11658
+ module DurationUnit
11659
+ extend Orb::Internal::Type::Enum
11660
+
11661
+ TaggedSymbol =
11662
+ T.type_alias do
11663
+ T.all(
11664
+ Symbol,
11665
+ Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration::DurationUnit
11666
+ )
11667
+ end
11668
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
11669
+
11670
+ DAY =
11671
+ T.let(
11672
+ :day,
11673
+ Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
11674
+ )
11675
+ MONTH =
11676
+ T.let(
11677
+ :month,
11678
+ Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
11679
+ )
11680
+
11681
+ sig do
11682
+ override.returns(
11683
+ T::Array[
11684
+ Orb::Price::GroupedTiered::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
11685
+ ]
11686
+ )
11687
+ end
11688
+ def self.values
11689
+ end
11690
+ end
11691
+ end
10509
11692
  end
10510
11693
 
10511
11694
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -11506,18 +12689,127 @@ module Orb
11506
12689
  attr_accessor :currency
11507
12690
 
11508
12691
  sig do
11509
- params(allows_rollover: T::Boolean, currency: String).returns(
11510
- T.attached_class
12692
+ returns(
12693
+ T.nilable(
12694
+ Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration
12695
+ )
11511
12696
  )
11512
12697
  end
11513
- def self.new(allows_rollover:, currency:)
12698
+ attr_reader :custom_expiration
12699
+
12700
+ sig do
12701
+ params(
12702
+ custom_expiration:
12703
+ T.nilable(
12704
+ Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::OrHash
12705
+ )
12706
+ ).void
12707
+ end
12708
+ attr_writer :custom_expiration
12709
+
12710
+ sig do
12711
+ params(
12712
+ allows_rollover: T::Boolean,
12713
+ currency: String,
12714
+ custom_expiration:
12715
+ T.nilable(
12716
+ Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::OrHash
12717
+ )
12718
+ ).returns(T.attached_class)
12719
+ end
12720
+ def self.new(allows_rollover:, currency:, custom_expiration:)
11514
12721
  end
11515
12722
 
11516
12723
  sig do
11517
- override.returns({ allows_rollover: T::Boolean, currency: String })
12724
+ override.returns(
12725
+ {
12726
+ allows_rollover: T::Boolean,
12727
+ currency: String,
12728
+ custom_expiration:
12729
+ T.nilable(
12730
+ Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration
12731
+ )
12732
+ }
12733
+ )
11518
12734
  end
11519
12735
  def to_hash
11520
12736
  end
12737
+
12738
+ class CustomExpiration < Orb::Internal::Type::BaseModel
12739
+ OrHash =
12740
+ T.type_alias do
12741
+ T.any(
12742
+ Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration,
12743
+ Orb::Internal::AnyHash
12744
+ )
12745
+ end
12746
+
12747
+ sig { returns(Integer) }
12748
+ attr_accessor :duration
12749
+
12750
+ sig do
12751
+ returns(
12752
+ Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
12753
+ )
12754
+ end
12755
+ attr_accessor :duration_unit
12756
+
12757
+ sig do
12758
+ params(
12759
+ duration: Integer,
12760
+ duration_unit:
12761
+ Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
12762
+ ).returns(T.attached_class)
12763
+ end
12764
+ def self.new(duration:, duration_unit:)
12765
+ end
12766
+
12767
+ sig do
12768
+ override.returns(
12769
+ {
12770
+ duration: Integer,
12771
+ duration_unit:
12772
+ Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
12773
+ }
12774
+ )
12775
+ end
12776
+ def to_hash
12777
+ end
12778
+
12779
+ module DurationUnit
12780
+ extend Orb::Internal::Type::Enum
12781
+
12782
+ TaggedSymbol =
12783
+ T.type_alias do
12784
+ T.all(
12785
+ Symbol,
12786
+ Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::DurationUnit
12787
+ )
12788
+ end
12789
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
12790
+
12791
+ DAY =
12792
+ T.let(
12793
+ :day,
12794
+ Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
12795
+ )
12796
+ MONTH =
12797
+ T.let(
12798
+ :month,
12799
+ Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
12800
+ )
12801
+
12802
+ sig do
12803
+ override.returns(
12804
+ T::Array[
12805
+ Orb::Price::TieredWithMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
12806
+ ]
12807
+ )
12808
+ end
12809
+ def self.values
12810
+ end
12811
+ end
12812
+ end
11521
12813
  end
11522
12814
 
11523
12815
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -12570,21 +13862,130 @@ module Orb
12570
13862
  sig { returns(T::Boolean) }
12571
13863
  attr_accessor :allows_rollover
12572
13864
 
12573
- sig { returns(String) }
12574
- attr_accessor :currency
13865
+ sig { returns(String) }
13866
+ attr_accessor :currency
13867
+
13868
+ sig do
13869
+ returns(
13870
+ T.nilable(
13871
+ Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration
13872
+ )
13873
+ )
13874
+ end
13875
+ attr_reader :custom_expiration
13876
+
13877
+ sig do
13878
+ params(
13879
+ custom_expiration:
13880
+ T.nilable(
13881
+ Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::OrHash
13882
+ )
13883
+ ).void
13884
+ end
13885
+ attr_writer :custom_expiration
13886
+
13887
+ sig do
13888
+ params(
13889
+ allows_rollover: T::Boolean,
13890
+ currency: String,
13891
+ custom_expiration:
13892
+ T.nilable(
13893
+ Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::OrHash
13894
+ )
13895
+ ).returns(T.attached_class)
13896
+ end
13897
+ def self.new(allows_rollover:, currency:, custom_expiration:)
13898
+ end
13899
+
13900
+ sig do
13901
+ override.returns(
13902
+ {
13903
+ allows_rollover: T::Boolean,
13904
+ currency: String,
13905
+ custom_expiration:
13906
+ T.nilable(
13907
+ Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration
13908
+ )
13909
+ }
13910
+ )
13911
+ end
13912
+ def to_hash
13913
+ end
13914
+
13915
+ class CustomExpiration < Orb::Internal::Type::BaseModel
13916
+ OrHash =
13917
+ T.type_alias do
13918
+ T.any(
13919
+ Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration,
13920
+ Orb::Internal::AnyHash
13921
+ )
13922
+ end
13923
+
13924
+ sig { returns(Integer) }
13925
+ attr_accessor :duration
13926
+
13927
+ sig do
13928
+ returns(
13929
+ Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
13930
+ )
13931
+ end
13932
+ attr_accessor :duration_unit
13933
+
13934
+ sig do
13935
+ params(
13936
+ duration: Integer,
13937
+ duration_unit:
13938
+ Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
13939
+ ).returns(T.attached_class)
13940
+ end
13941
+ def self.new(duration:, duration_unit:)
13942
+ end
13943
+
13944
+ sig do
13945
+ override.returns(
13946
+ {
13947
+ duration: Integer,
13948
+ duration_unit:
13949
+ Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
13950
+ }
13951
+ )
13952
+ end
13953
+ def to_hash
13954
+ end
13955
+
13956
+ module DurationUnit
13957
+ extend Orb::Internal::Type::Enum
13958
+
13959
+ TaggedSymbol =
13960
+ T.type_alias do
13961
+ T.all(
13962
+ Symbol,
13963
+ Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::DurationUnit
13964
+ )
13965
+ end
13966
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
12575
13967
 
12576
- sig do
12577
- params(allows_rollover: T::Boolean, currency: String).returns(
12578
- T.attached_class
12579
- )
12580
- end
12581
- def self.new(allows_rollover:, currency:)
12582
- end
13968
+ DAY =
13969
+ T.let(
13970
+ :day,
13971
+ Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
13972
+ )
13973
+ MONTH =
13974
+ T.let(
13975
+ :month,
13976
+ Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
13977
+ )
12583
13978
 
12584
- sig do
12585
- override.returns({ allows_rollover: T::Boolean, currency: String })
12586
- end
12587
- def to_hash
13979
+ sig do
13980
+ override.returns(
13981
+ T::Array[
13982
+ Orb::Price::TieredPackageWithMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
13983
+ ]
13984
+ )
13985
+ end
13986
+ def self.values
13987
+ end
13988
+ end
12588
13989
  end
12589
13990
  end
12590
13991
 
@@ -13641,18 +15042,127 @@ module Orb
13641
15042
  attr_accessor :currency
13642
15043
 
13643
15044
  sig do
13644
- params(allows_rollover: T::Boolean, currency: String).returns(
13645
- T.attached_class
15045
+ returns(
15046
+ T.nilable(
15047
+ Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration
15048
+ )
13646
15049
  )
13647
15050
  end
13648
- def self.new(allows_rollover:, currency:)
15051
+ attr_reader :custom_expiration
15052
+
15053
+ sig do
15054
+ params(
15055
+ custom_expiration:
15056
+ T.nilable(
15057
+ Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::OrHash
15058
+ )
15059
+ ).void
15060
+ end
15061
+ attr_writer :custom_expiration
15062
+
15063
+ sig do
15064
+ params(
15065
+ allows_rollover: T::Boolean,
15066
+ currency: String,
15067
+ custom_expiration:
15068
+ T.nilable(
15069
+ Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::OrHash
15070
+ )
15071
+ ).returns(T.attached_class)
15072
+ end
15073
+ def self.new(allows_rollover:, currency:, custom_expiration:)
13649
15074
  end
13650
15075
 
13651
15076
  sig do
13652
- override.returns({ allows_rollover: T::Boolean, currency: String })
15077
+ override.returns(
15078
+ {
15079
+ allows_rollover: T::Boolean,
15080
+ currency: String,
15081
+ custom_expiration:
15082
+ T.nilable(
15083
+ Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration
15084
+ )
15085
+ }
15086
+ )
13653
15087
  end
13654
15088
  def to_hash
13655
15089
  end
15090
+
15091
+ class CustomExpiration < Orb::Internal::Type::BaseModel
15092
+ OrHash =
15093
+ T.type_alias do
15094
+ T.any(
15095
+ Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration,
15096
+ Orb::Internal::AnyHash
15097
+ )
15098
+ end
15099
+
15100
+ sig { returns(Integer) }
15101
+ attr_accessor :duration
15102
+
15103
+ sig do
15104
+ returns(
15105
+ Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
15106
+ )
15107
+ end
15108
+ attr_accessor :duration_unit
15109
+
15110
+ sig do
15111
+ params(
15112
+ duration: Integer,
15113
+ duration_unit:
15114
+ Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
15115
+ ).returns(T.attached_class)
15116
+ end
15117
+ def self.new(duration:, duration_unit:)
15118
+ end
15119
+
15120
+ sig do
15121
+ override.returns(
15122
+ {
15123
+ duration: Integer,
15124
+ duration_unit:
15125
+ Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
15126
+ }
15127
+ )
15128
+ end
15129
+ def to_hash
15130
+ end
15131
+
15132
+ module DurationUnit
15133
+ extend Orb::Internal::Type::Enum
15134
+
15135
+ TaggedSymbol =
15136
+ T.type_alias do
15137
+ T.all(
15138
+ Symbol,
15139
+ Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::DurationUnit
15140
+ )
15141
+ end
15142
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
15143
+
15144
+ DAY =
15145
+ T.let(
15146
+ :day,
15147
+ Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
15148
+ )
15149
+ MONTH =
15150
+ T.let(
15151
+ :month,
15152
+ Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
15153
+ )
15154
+
15155
+ sig do
15156
+ override.returns(
15157
+ T::Array[
15158
+ Orb::Price::PackageWithAllocation::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
15159
+ ]
15160
+ )
15161
+ end
15162
+ def self.values
15163
+ end
15164
+ end
15165
+ end
13656
15166
  end
13657
15167
 
13658
15168
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -14663,18 +16173,127 @@ module Orb
14663
16173
  attr_accessor :currency
14664
16174
 
14665
16175
  sig do
14666
- params(allows_rollover: T::Boolean, currency: String).returns(
14667
- T.attached_class
16176
+ returns(
16177
+ T.nilable(
16178
+ Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration
16179
+ )
14668
16180
  )
14669
16181
  end
14670
- def self.new(allows_rollover:, currency:)
16182
+ attr_reader :custom_expiration
16183
+
16184
+ sig do
16185
+ params(
16186
+ custom_expiration:
16187
+ T.nilable(
16188
+ Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration::OrHash
16189
+ )
16190
+ ).void
16191
+ end
16192
+ attr_writer :custom_expiration
16193
+
16194
+ sig do
16195
+ params(
16196
+ allows_rollover: T::Boolean,
16197
+ currency: String,
16198
+ custom_expiration:
16199
+ T.nilable(
16200
+ Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration::OrHash
16201
+ )
16202
+ ).returns(T.attached_class)
16203
+ end
16204
+ def self.new(allows_rollover:, currency:, custom_expiration:)
14671
16205
  end
14672
16206
 
14673
16207
  sig do
14674
- override.returns({ allows_rollover: T::Boolean, currency: String })
16208
+ override.returns(
16209
+ {
16210
+ allows_rollover: T::Boolean,
16211
+ currency: String,
16212
+ custom_expiration:
16213
+ T.nilable(
16214
+ Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration
16215
+ )
16216
+ }
16217
+ )
14675
16218
  end
14676
16219
  def to_hash
14677
16220
  end
16221
+
16222
+ class CustomExpiration < Orb::Internal::Type::BaseModel
16223
+ OrHash =
16224
+ T.type_alias do
16225
+ T.any(
16226
+ Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration,
16227
+ Orb::Internal::AnyHash
16228
+ )
16229
+ end
16230
+
16231
+ sig { returns(Integer) }
16232
+ attr_accessor :duration
16233
+
16234
+ sig do
16235
+ returns(
16236
+ Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
16237
+ )
16238
+ end
16239
+ attr_accessor :duration_unit
16240
+
16241
+ sig do
16242
+ params(
16243
+ duration: Integer,
16244
+ duration_unit:
16245
+ Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
16246
+ ).returns(T.attached_class)
16247
+ end
16248
+ def self.new(duration:, duration_unit:)
16249
+ end
16250
+
16251
+ sig do
16252
+ override.returns(
16253
+ {
16254
+ duration: Integer,
16255
+ duration_unit:
16256
+ Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
16257
+ }
16258
+ )
16259
+ end
16260
+ def to_hash
16261
+ end
16262
+
16263
+ module DurationUnit
16264
+ extend Orb::Internal::Type::Enum
16265
+
16266
+ TaggedSymbol =
16267
+ T.type_alias do
16268
+ T.all(
16269
+ Symbol,
16270
+ Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration::DurationUnit
16271
+ )
16272
+ end
16273
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
16274
+
16275
+ DAY =
16276
+ T.let(
16277
+ :day,
16278
+ Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
16279
+ )
16280
+ MONTH =
16281
+ T.let(
16282
+ :month,
16283
+ Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
16284
+ )
16285
+
16286
+ sig do
16287
+ override.returns(
16288
+ T::Array[
16289
+ Orb::Price::UnitWithPercent::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
16290
+ ]
16291
+ )
16292
+ end
16293
+ def self.values
16294
+ end
16295
+ end
16296
+ end
14678
16297
  end
14679
16298
 
14680
16299
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -15715,21 +17334,130 @@ module Orb
15715
17334
  sig { returns(T::Boolean) }
15716
17335
  attr_accessor :allows_rollover
15717
17336
 
15718
- sig { returns(String) }
15719
- attr_accessor :currency
17337
+ sig { returns(String) }
17338
+ attr_accessor :currency
17339
+
17340
+ sig do
17341
+ returns(
17342
+ T.nilable(
17343
+ Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration
17344
+ )
17345
+ )
17346
+ end
17347
+ attr_reader :custom_expiration
17348
+
17349
+ sig do
17350
+ params(
17351
+ custom_expiration:
17352
+ T.nilable(
17353
+ Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::OrHash
17354
+ )
17355
+ ).void
17356
+ end
17357
+ attr_writer :custom_expiration
17358
+
17359
+ sig do
17360
+ params(
17361
+ allows_rollover: T::Boolean,
17362
+ currency: String,
17363
+ custom_expiration:
17364
+ T.nilable(
17365
+ Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::OrHash
17366
+ )
17367
+ ).returns(T.attached_class)
17368
+ end
17369
+ def self.new(allows_rollover:, currency:, custom_expiration:)
17370
+ end
17371
+
17372
+ sig do
17373
+ override.returns(
17374
+ {
17375
+ allows_rollover: T::Boolean,
17376
+ currency: String,
17377
+ custom_expiration:
17378
+ T.nilable(
17379
+ Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration
17380
+ )
17381
+ }
17382
+ )
17383
+ end
17384
+ def to_hash
17385
+ end
17386
+
17387
+ class CustomExpiration < Orb::Internal::Type::BaseModel
17388
+ OrHash =
17389
+ T.type_alias do
17390
+ T.any(
17391
+ Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration,
17392
+ Orb::Internal::AnyHash
17393
+ )
17394
+ end
17395
+
17396
+ sig { returns(Integer) }
17397
+ attr_accessor :duration
17398
+
17399
+ sig do
17400
+ returns(
17401
+ Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
17402
+ )
17403
+ end
17404
+ attr_accessor :duration_unit
17405
+
17406
+ sig do
17407
+ params(
17408
+ duration: Integer,
17409
+ duration_unit:
17410
+ Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
17411
+ ).returns(T.attached_class)
17412
+ end
17413
+ def self.new(duration:, duration_unit:)
17414
+ end
17415
+
17416
+ sig do
17417
+ override.returns(
17418
+ {
17419
+ duration: Integer,
17420
+ duration_unit:
17421
+ Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
17422
+ }
17423
+ )
17424
+ end
17425
+ def to_hash
17426
+ end
17427
+
17428
+ module DurationUnit
17429
+ extend Orb::Internal::Type::Enum
17430
+
17431
+ TaggedSymbol =
17432
+ T.type_alias do
17433
+ T.all(
17434
+ Symbol,
17435
+ Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::DurationUnit
17436
+ )
17437
+ end
17438
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
15720
17439
 
15721
- sig do
15722
- params(allows_rollover: T::Boolean, currency: String).returns(
15723
- T.attached_class
15724
- )
15725
- end
15726
- def self.new(allows_rollover:, currency:)
15727
- end
17440
+ DAY =
17441
+ T.let(
17442
+ :day,
17443
+ Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
17444
+ )
17445
+ MONTH =
17446
+ T.let(
17447
+ :month,
17448
+ Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
17449
+ )
15728
17450
 
15729
- sig do
15730
- override.returns({ allows_rollover: T::Boolean, currency: String })
15731
- end
15732
- def to_hash
17451
+ sig do
17452
+ override.returns(
17453
+ T::Array[
17454
+ Orb::Price::MatrixWithAllocation::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
17455
+ ]
17456
+ )
17457
+ end
17458
+ def self.values
17459
+ end
17460
+ end
15733
17461
  end
15734
17462
  end
15735
17463
 
@@ -16886,18 +18614,127 @@ module Orb
16886
18614
  attr_accessor :currency
16887
18615
 
16888
18616
  sig do
16889
- params(allows_rollover: T::Boolean, currency: String).returns(
16890
- T.attached_class
18617
+ returns(
18618
+ T.nilable(
18619
+ Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration
18620
+ )
16891
18621
  )
16892
18622
  end
16893
- def self.new(allows_rollover:, currency:)
18623
+ attr_reader :custom_expiration
18624
+
18625
+ sig do
18626
+ params(
18627
+ custom_expiration:
18628
+ T.nilable(
18629
+ Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration::OrHash
18630
+ )
18631
+ ).void
18632
+ end
18633
+ attr_writer :custom_expiration
18634
+
18635
+ sig do
18636
+ params(
18637
+ allows_rollover: T::Boolean,
18638
+ currency: String,
18639
+ custom_expiration:
18640
+ T.nilable(
18641
+ Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration::OrHash
18642
+ )
18643
+ ).returns(T.attached_class)
18644
+ end
18645
+ def self.new(allows_rollover:, currency:, custom_expiration:)
16894
18646
  end
16895
18647
 
16896
18648
  sig do
16897
- override.returns({ allows_rollover: T::Boolean, currency: String })
18649
+ override.returns(
18650
+ {
18651
+ allows_rollover: T::Boolean,
18652
+ currency: String,
18653
+ custom_expiration:
18654
+ T.nilable(
18655
+ Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration
18656
+ )
18657
+ }
18658
+ )
16898
18659
  end
16899
18660
  def to_hash
16900
18661
  end
18662
+
18663
+ class CustomExpiration < Orb::Internal::Type::BaseModel
18664
+ OrHash =
18665
+ T.type_alias do
18666
+ T.any(
18667
+ Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration,
18668
+ Orb::Internal::AnyHash
18669
+ )
18670
+ end
18671
+
18672
+ sig { returns(Integer) }
18673
+ attr_accessor :duration
18674
+
18675
+ sig do
18676
+ returns(
18677
+ Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
18678
+ )
18679
+ end
18680
+ attr_accessor :duration_unit
18681
+
18682
+ sig do
18683
+ params(
18684
+ duration: Integer,
18685
+ duration_unit:
18686
+ Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
18687
+ ).returns(T.attached_class)
18688
+ end
18689
+ def self.new(duration:, duration_unit:)
18690
+ end
18691
+
18692
+ sig do
18693
+ override.returns(
18694
+ {
18695
+ duration: Integer,
18696
+ duration_unit:
18697
+ Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
18698
+ }
18699
+ )
18700
+ end
18701
+ def to_hash
18702
+ end
18703
+
18704
+ module DurationUnit
18705
+ extend Orb::Internal::Type::Enum
18706
+
18707
+ TaggedSymbol =
18708
+ T.type_alias do
18709
+ T.all(
18710
+ Symbol,
18711
+ Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration::DurationUnit
18712
+ )
18713
+ end
18714
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
18715
+
18716
+ DAY =
18717
+ T.let(
18718
+ :day,
18719
+ Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
18720
+ )
18721
+ MONTH =
18722
+ T.let(
18723
+ :month,
18724
+ Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
18725
+ )
18726
+
18727
+ sig do
18728
+ override.returns(
18729
+ T::Array[
18730
+ Orb::Price::TieredWithProration::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
18731
+ ]
18732
+ )
18733
+ end
18734
+ def self.values
18735
+ end
18736
+ end
18737
+ end
16901
18738
  end
16902
18739
 
16903
18740
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -17919,18 +19756,127 @@ module Orb
17919
19756
  attr_accessor :currency
17920
19757
 
17921
19758
  sig do
17922
- params(allows_rollover: T::Boolean, currency: String).returns(
17923
- T.attached_class
19759
+ returns(
19760
+ T.nilable(
19761
+ Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration
19762
+ )
17924
19763
  )
17925
19764
  end
17926
- def self.new(allows_rollover:, currency:)
19765
+ attr_reader :custom_expiration
19766
+
19767
+ sig do
19768
+ params(
19769
+ custom_expiration:
19770
+ T.nilable(
19771
+ Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration::OrHash
19772
+ )
19773
+ ).void
19774
+ end
19775
+ attr_writer :custom_expiration
19776
+
19777
+ sig do
19778
+ params(
19779
+ allows_rollover: T::Boolean,
19780
+ currency: String,
19781
+ custom_expiration:
19782
+ T.nilable(
19783
+ Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration::OrHash
19784
+ )
19785
+ ).returns(T.attached_class)
19786
+ end
19787
+ def self.new(allows_rollover:, currency:, custom_expiration:)
17927
19788
  end
17928
19789
 
17929
19790
  sig do
17930
- override.returns({ allows_rollover: T::Boolean, currency: String })
19791
+ override.returns(
19792
+ {
19793
+ allows_rollover: T::Boolean,
19794
+ currency: String,
19795
+ custom_expiration:
19796
+ T.nilable(
19797
+ Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration
19798
+ )
19799
+ }
19800
+ )
17931
19801
  end
17932
19802
  def to_hash
17933
19803
  end
19804
+
19805
+ class CustomExpiration < Orb::Internal::Type::BaseModel
19806
+ OrHash =
19807
+ T.type_alias do
19808
+ T.any(
19809
+ Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration,
19810
+ Orb::Internal::AnyHash
19811
+ )
19812
+ end
19813
+
19814
+ sig { returns(Integer) }
19815
+ attr_accessor :duration
19816
+
19817
+ sig do
19818
+ returns(
19819
+ Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
19820
+ )
19821
+ end
19822
+ attr_accessor :duration_unit
19823
+
19824
+ sig do
19825
+ params(
19826
+ duration: Integer,
19827
+ duration_unit:
19828
+ Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
19829
+ ).returns(T.attached_class)
19830
+ end
19831
+ def self.new(duration:, duration_unit:)
19832
+ end
19833
+
19834
+ sig do
19835
+ override.returns(
19836
+ {
19837
+ duration: Integer,
19838
+ duration_unit:
19839
+ Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
19840
+ }
19841
+ )
19842
+ end
19843
+ def to_hash
19844
+ end
19845
+
19846
+ module DurationUnit
19847
+ extend Orb::Internal::Type::Enum
19848
+
19849
+ TaggedSymbol =
19850
+ T.type_alias do
19851
+ T.all(
19852
+ Symbol,
19853
+ Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration::DurationUnit
19854
+ )
19855
+ end
19856
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
19857
+
19858
+ DAY =
19859
+ T.let(
19860
+ :day,
19861
+ Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
19862
+ )
19863
+ MONTH =
19864
+ T.let(
19865
+ :month,
19866
+ Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
19867
+ )
19868
+
19869
+ sig do
19870
+ override.returns(
19871
+ T::Array[
19872
+ Orb::Price::UnitWithProration::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
19873
+ ]
19874
+ )
19875
+ end
19876
+ def self.values
19877
+ end
19878
+ end
19879
+ end
17934
19880
  end
17935
19881
 
17936
19882
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -18942,24 +20888,133 @@ module Orb
18942
20888
  )
18943
20889
  end
18944
20890
 
18945
- sig { returns(T::Boolean) }
18946
- attr_accessor :allows_rollover
20891
+ sig { returns(T::Boolean) }
20892
+ attr_accessor :allows_rollover
20893
+
20894
+ sig { returns(String) }
20895
+ attr_accessor :currency
20896
+
20897
+ sig do
20898
+ returns(
20899
+ T.nilable(
20900
+ Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration
20901
+ )
20902
+ )
20903
+ end
20904
+ attr_reader :custom_expiration
20905
+
20906
+ sig do
20907
+ params(
20908
+ custom_expiration:
20909
+ T.nilable(
20910
+ Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration::OrHash
20911
+ )
20912
+ ).void
20913
+ end
20914
+ attr_writer :custom_expiration
20915
+
20916
+ sig do
20917
+ params(
20918
+ allows_rollover: T::Boolean,
20919
+ currency: String,
20920
+ custom_expiration:
20921
+ T.nilable(
20922
+ Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration::OrHash
20923
+ )
20924
+ ).returns(T.attached_class)
20925
+ end
20926
+ def self.new(allows_rollover:, currency:, custom_expiration:)
20927
+ end
20928
+
20929
+ sig do
20930
+ override.returns(
20931
+ {
20932
+ allows_rollover: T::Boolean,
20933
+ currency: String,
20934
+ custom_expiration:
20935
+ T.nilable(
20936
+ Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration
20937
+ )
20938
+ }
20939
+ )
20940
+ end
20941
+ def to_hash
20942
+ end
20943
+
20944
+ class CustomExpiration < Orb::Internal::Type::BaseModel
20945
+ OrHash =
20946
+ T.type_alias do
20947
+ T.any(
20948
+ Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration,
20949
+ Orb::Internal::AnyHash
20950
+ )
20951
+ end
20952
+
20953
+ sig { returns(Integer) }
20954
+ attr_accessor :duration
20955
+
20956
+ sig do
20957
+ returns(
20958
+ Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
20959
+ )
20960
+ end
20961
+ attr_accessor :duration_unit
20962
+
20963
+ sig do
20964
+ params(
20965
+ duration: Integer,
20966
+ duration_unit:
20967
+ Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
20968
+ ).returns(T.attached_class)
20969
+ end
20970
+ def self.new(duration:, duration_unit:)
20971
+ end
20972
+
20973
+ sig do
20974
+ override.returns(
20975
+ {
20976
+ duration: Integer,
20977
+ duration_unit:
20978
+ Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
20979
+ }
20980
+ )
20981
+ end
20982
+ def to_hash
20983
+ end
20984
+
20985
+ module DurationUnit
20986
+ extend Orb::Internal::Type::Enum
18947
20987
 
18948
- sig { returns(String) }
18949
- attr_accessor :currency
20988
+ TaggedSymbol =
20989
+ T.type_alias do
20990
+ T.all(
20991
+ Symbol,
20992
+ Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration::DurationUnit
20993
+ )
20994
+ end
20995
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
18950
20996
 
18951
- sig do
18952
- params(allows_rollover: T::Boolean, currency: String).returns(
18953
- T.attached_class
18954
- )
18955
- end
18956
- def self.new(allows_rollover:, currency:)
18957
- end
20997
+ DAY =
20998
+ T.let(
20999
+ :day,
21000
+ Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
21001
+ )
21002
+ MONTH =
21003
+ T.let(
21004
+ :month,
21005
+ Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
21006
+ )
18958
21007
 
18959
- sig do
18960
- override.returns({ allows_rollover: T::Boolean, currency: String })
18961
- end
18962
- def to_hash
21008
+ sig do
21009
+ override.returns(
21010
+ T::Array[
21011
+ Orb::Price::GroupedAllocation::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
21012
+ ]
21013
+ )
21014
+ end
21015
+ def self.values
21016
+ end
21017
+ end
18963
21018
  end
18964
21019
  end
18965
21020
 
@@ -20032,18 +22087,127 @@ module Orb
20032
22087
  attr_accessor :currency
20033
22088
 
20034
22089
  sig do
20035
- params(allows_rollover: T::Boolean, currency: String).returns(
20036
- T.attached_class
22090
+ returns(
22091
+ T.nilable(
22092
+ Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration
22093
+ )
20037
22094
  )
20038
22095
  end
20039
- def self.new(allows_rollover:, currency:)
22096
+ attr_reader :custom_expiration
22097
+
22098
+ sig do
22099
+ params(
22100
+ custom_expiration:
22101
+ T.nilable(
22102
+ Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::OrHash
22103
+ )
22104
+ ).void
22105
+ end
22106
+ attr_writer :custom_expiration
22107
+
22108
+ sig do
22109
+ params(
22110
+ allows_rollover: T::Boolean,
22111
+ currency: String,
22112
+ custom_expiration:
22113
+ T.nilable(
22114
+ Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::OrHash
22115
+ )
22116
+ ).returns(T.attached_class)
22117
+ end
22118
+ def self.new(allows_rollover:, currency:, custom_expiration:)
20040
22119
  end
20041
22120
 
20042
22121
  sig do
20043
- override.returns({ allows_rollover: T::Boolean, currency: String })
22122
+ override.returns(
22123
+ {
22124
+ allows_rollover: T::Boolean,
22125
+ currency: String,
22126
+ custom_expiration:
22127
+ T.nilable(
22128
+ Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration
22129
+ )
22130
+ }
22131
+ )
20044
22132
  end
20045
22133
  def to_hash
20046
22134
  end
22135
+
22136
+ class CustomExpiration < Orb::Internal::Type::BaseModel
22137
+ OrHash =
22138
+ T.type_alias do
22139
+ T.any(
22140
+ Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration,
22141
+ Orb::Internal::AnyHash
22142
+ )
22143
+ end
22144
+
22145
+ sig { returns(Integer) }
22146
+ attr_accessor :duration
22147
+
22148
+ sig do
22149
+ returns(
22150
+ Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
22151
+ )
22152
+ end
22153
+ attr_accessor :duration_unit
22154
+
22155
+ sig do
22156
+ params(
22157
+ duration: Integer,
22158
+ duration_unit:
22159
+ Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
22160
+ ).returns(T.attached_class)
22161
+ end
22162
+ def self.new(duration:, duration_unit:)
22163
+ end
22164
+
22165
+ sig do
22166
+ override.returns(
22167
+ {
22168
+ duration: Integer,
22169
+ duration_unit:
22170
+ Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
22171
+ }
22172
+ )
22173
+ end
22174
+ def to_hash
22175
+ end
22176
+
22177
+ module DurationUnit
22178
+ extend Orb::Internal::Type::Enum
22179
+
22180
+ TaggedSymbol =
22181
+ T.type_alias do
22182
+ T.all(
22183
+ Symbol,
22184
+ Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::DurationUnit
22185
+ )
22186
+ end
22187
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
22188
+
22189
+ DAY =
22190
+ T.let(
22191
+ :day,
22192
+ Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
22193
+ )
22194
+ MONTH =
22195
+ T.let(
22196
+ :month,
22197
+ Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
22198
+ )
22199
+
22200
+ sig do
22201
+ override.returns(
22202
+ T::Array[
22203
+ Orb::Price::GroupedWithProratedMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
22204
+ ]
22205
+ )
22206
+ end
22207
+ def self.values
22208
+ end
22209
+ end
22210
+ end
20047
22211
  end
20048
22212
 
20049
22213
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -21119,18 +23283,127 @@ module Orb
21119
23283
  attr_accessor :currency
21120
23284
 
21121
23285
  sig do
21122
- params(allows_rollover: T::Boolean, currency: String).returns(
21123
- T.attached_class
23286
+ returns(
23287
+ T.nilable(
23288
+ Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration
23289
+ )
21124
23290
  )
21125
23291
  end
21126
- def self.new(allows_rollover:, currency:)
23292
+ attr_reader :custom_expiration
23293
+
23294
+ sig do
23295
+ params(
23296
+ custom_expiration:
23297
+ T.nilable(
23298
+ Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::OrHash
23299
+ )
23300
+ ).void
23301
+ end
23302
+ attr_writer :custom_expiration
23303
+
23304
+ sig do
23305
+ params(
23306
+ allows_rollover: T::Boolean,
23307
+ currency: String,
23308
+ custom_expiration:
23309
+ T.nilable(
23310
+ Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::OrHash
23311
+ )
23312
+ ).returns(T.attached_class)
23313
+ end
23314
+ def self.new(allows_rollover:, currency:, custom_expiration:)
21127
23315
  end
21128
23316
 
21129
23317
  sig do
21130
- override.returns({ allows_rollover: T::Boolean, currency: String })
23318
+ override.returns(
23319
+ {
23320
+ allows_rollover: T::Boolean,
23321
+ currency: String,
23322
+ custom_expiration:
23323
+ T.nilable(
23324
+ Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration
23325
+ )
23326
+ }
23327
+ )
21131
23328
  end
21132
23329
  def to_hash
21133
23330
  end
23331
+
23332
+ class CustomExpiration < Orb::Internal::Type::BaseModel
23333
+ OrHash =
23334
+ T.type_alias do
23335
+ T.any(
23336
+ Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration,
23337
+ Orb::Internal::AnyHash
23338
+ )
23339
+ end
23340
+
23341
+ sig { returns(Integer) }
23342
+ attr_accessor :duration
23343
+
23344
+ sig do
23345
+ returns(
23346
+ Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
23347
+ )
23348
+ end
23349
+ attr_accessor :duration_unit
23350
+
23351
+ sig do
23352
+ params(
23353
+ duration: Integer,
23354
+ duration_unit:
23355
+ Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
23356
+ ).returns(T.attached_class)
23357
+ end
23358
+ def self.new(duration:, duration_unit:)
23359
+ end
23360
+
23361
+ sig do
23362
+ override.returns(
23363
+ {
23364
+ duration: Integer,
23365
+ duration_unit:
23366
+ Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
23367
+ }
23368
+ )
23369
+ end
23370
+ def to_hash
23371
+ end
23372
+
23373
+ module DurationUnit
23374
+ extend Orb::Internal::Type::Enum
23375
+
23376
+ TaggedSymbol =
23377
+ T.type_alias do
23378
+ T.all(
23379
+ Symbol,
23380
+ Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::DurationUnit
23381
+ )
23382
+ end
23383
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
23384
+
23385
+ DAY =
23386
+ T.let(
23387
+ :day,
23388
+ Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
23389
+ )
23390
+ MONTH =
23391
+ T.let(
23392
+ :month,
23393
+ Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
23394
+ )
23395
+
23396
+ sig do
23397
+ override.returns(
23398
+ T::Array[
23399
+ Orb::Price::GroupedWithMeteredMinimum::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
23400
+ ]
23401
+ )
23402
+ end
23403
+ def self.values
23404
+ end
23405
+ end
23406
+ end
21134
23407
  end
21135
23408
 
21136
23409
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -22182,21 +24455,130 @@ module Orb
22182
24455
  sig { returns(T::Boolean) }
22183
24456
  attr_accessor :allows_rollover
22184
24457
 
22185
- sig { returns(String) }
22186
- attr_accessor :currency
24458
+ sig { returns(String) }
24459
+ attr_accessor :currency
24460
+
24461
+ sig do
24462
+ returns(
24463
+ T.nilable(
24464
+ Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration
24465
+ )
24466
+ )
24467
+ end
24468
+ attr_reader :custom_expiration
24469
+
24470
+ sig do
24471
+ params(
24472
+ custom_expiration:
24473
+ T.nilable(
24474
+ Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::OrHash
24475
+ )
24476
+ ).void
24477
+ end
24478
+ attr_writer :custom_expiration
24479
+
24480
+ sig do
24481
+ params(
24482
+ allows_rollover: T::Boolean,
24483
+ currency: String,
24484
+ custom_expiration:
24485
+ T.nilable(
24486
+ Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::OrHash
24487
+ )
24488
+ ).returns(T.attached_class)
24489
+ end
24490
+ def self.new(allows_rollover:, currency:, custom_expiration:)
24491
+ end
24492
+
24493
+ sig do
24494
+ override.returns(
24495
+ {
24496
+ allows_rollover: T::Boolean,
24497
+ currency: String,
24498
+ custom_expiration:
24499
+ T.nilable(
24500
+ Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration
24501
+ )
24502
+ }
24503
+ )
24504
+ end
24505
+ def to_hash
24506
+ end
24507
+
24508
+ class CustomExpiration < Orb::Internal::Type::BaseModel
24509
+ OrHash =
24510
+ T.type_alias do
24511
+ T.any(
24512
+ Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration,
24513
+ Orb::Internal::AnyHash
24514
+ )
24515
+ end
24516
+
24517
+ sig { returns(Integer) }
24518
+ attr_accessor :duration
24519
+
24520
+ sig do
24521
+ returns(
24522
+ Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
24523
+ )
24524
+ end
24525
+ attr_accessor :duration_unit
24526
+
24527
+ sig do
24528
+ params(
24529
+ duration: Integer,
24530
+ duration_unit:
24531
+ Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
24532
+ ).returns(T.attached_class)
24533
+ end
24534
+ def self.new(duration:, duration_unit:)
24535
+ end
24536
+
24537
+ sig do
24538
+ override.returns(
24539
+ {
24540
+ duration: Integer,
24541
+ duration_unit:
24542
+ Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
24543
+ }
24544
+ )
24545
+ end
24546
+ def to_hash
24547
+ end
24548
+
24549
+ module DurationUnit
24550
+ extend Orb::Internal::Type::Enum
22187
24551
 
22188
- sig do
22189
- params(allows_rollover: T::Boolean, currency: String).returns(
22190
- T.attached_class
22191
- )
22192
- end
22193
- def self.new(allows_rollover:, currency:)
22194
- end
24552
+ TaggedSymbol =
24553
+ T.type_alias do
24554
+ T.all(
24555
+ Symbol,
24556
+ Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::DurationUnit
24557
+ )
24558
+ end
24559
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
22195
24560
 
22196
- sig do
22197
- override.returns({ allows_rollover: T::Boolean, currency: String })
22198
- end
22199
- def to_hash
24561
+ DAY =
24562
+ T.let(
24563
+ :day,
24564
+ Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
24565
+ )
24566
+ MONTH =
24567
+ T.let(
24568
+ :month,
24569
+ Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
24570
+ )
24571
+
24572
+ sig do
24573
+ override.returns(
24574
+ T::Array[
24575
+ Orb::Price::MatrixWithDisplayName::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
24576
+ ]
24577
+ )
24578
+ end
24579
+ def self.values
24580
+ end
24581
+ end
22200
24582
  end
22201
24583
  end
22202
24584
 
@@ -23225,18 +25607,127 @@ module Orb
23225
25607
  attr_accessor :currency
23226
25608
 
23227
25609
  sig do
23228
- params(allows_rollover: T::Boolean, currency: String).returns(
23229
- T.attached_class
25610
+ returns(
25611
+ T.nilable(
25612
+ Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration
25613
+ )
23230
25614
  )
23231
25615
  end
23232
- def self.new(allows_rollover:, currency:)
25616
+ attr_reader :custom_expiration
25617
+
25618
+ sig do
25619
+ params(
25620
+ custom_expiration:
25621
+ T.nilable(
25622
+ Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration::OrHash
25623
+ )
25624
+ ).void
25625
+ end
25626
+ attr_writer :custom_expiration
25627
+
25628
+ sig do
25629
+ params(
25630
+ allows_rollover: T::Boolean,
25631
+ currency: String,
25632
+ custom_expiration:
25633
+ T.nilable(
25634
+ Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration::OrHash
25635
+ )
25636
+ ).returns(T.attached_class)
25637
+ end
25638
+ def self.new(allows_rollover:, currency:, custom_expiration:)
23233
25639
  end
23234
25640
 
23235
25641
  sig do
23236
- override.returns({ allows_rollover: T::Boolean, currency: String })
25642
+ override.returns(
25643
+ {
25644
+ allows_rollover: T::Boolean,
25645
+ currency: String,
25646
+ custom_expiration:
25647
+ T.nilable(
25648
+ Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration
25649
+ )
25650
+ }
25651
+ )
23237
25652
  end
23238
25653
  def to_hash
23239
25654
  end
25655
+
25656
+ class CustomExpiration < Orb::Internal::Type::BaseModel
25657
+ OrHash =
25658
+ T.type_alias do
25659
+ T.any(
25660
+ Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration,
25661
+ Orb::Internal::AnyHash
25662
+ )
25663
+ end
25664
+
25665
+ sig { returns(Integer) }
25666
+ attr_accessor :duration
25667
+
25668
+ sig do
25669
+ returns(
25670
+ Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
25671
+ )
25672
+ end
25673
+ attr_accessor :duration_unit
25674
+
25675
+ sig do
25676
+ params(
25677
+ duration: Integer,
25678
+ duration_unit:
25679
+ Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
25680
+ ).returns(T.attached_class)
25681
+ end
25682
+ def self.new(duration:, duration_unit:)
25683
+ end
25684
+
25685
+ sig do
25686
+ override.returns(
25687
+ {
25688
+ duration: Integer,
25689
+ duration_unit:
25690
+ Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
25691
+ }
25692
+ )
25693
+ end
25694
+ def to_hash
25695
+ end
25696
+
25697
+ module DurationUnit
25698
+ extend Orb::Internal::Type::Enum
25699
+
25700
+ TaggedSymbol =
25701
+ T.type_alias do
25702
+ T.all(
25703
+ Symbol,
25704
+ Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration::DurationUnit
25705
+ )
25706
+ end
25707
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
25708
+
25709
+ DAY =
25710
+ T.let(
25711
+ :day,
25712
+ Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
25713
+ )
25714
+ MONTH =
25715
+ T.let(
25716
+ :month,
25717
+ Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
25718
+ )
25719
+
25720
+ sig do
25721
+ override.returns(
25722
+ T::Array[
25723
+ Orb::Price::BulkWithProration::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
25724
+ ]
25725
+ )
25726
+ end
25727
+ def self.values
25728
+ end
25729
+ end
25730
+ end
23240
25731
  end
23241
25732
 
23242
25733
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -24275,18 +26766,127 @@ module Orb
24275
26766
  attr_accessor :currency
24276
26767
 
24277
26768
  sig do
24278
- params(allows_rollover: T::Boolean, currency: String).returns(
24279
- T.attached_class
26769
+ returns(
26770
+ T.nilable(
26771
+ Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration
26772
+ )
24280
26773
  )
24281
26774
  end
24282
- def self.new(allows_rollover:, currency:)
26775
+ attr_reader :custom_expiration
26776
+
26777
+ sig do
26778
+ params(
26779
+ custom_expiration:
26780
+ T.nilable(
26781
+ Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::OrHash
26782
+ )
26783
+ ).void
26784
+ end
26785
+ attr_writer :custom_expiration
26786
+
26787
+ sig do
26788
+ params(
26789
+ allows_rollover: T::Boolean,
26790
+ currency: String,
26791
+ custom_expiration:
26792
+ T.nilable(
26793
+ Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::OrHash
26794
+ )
26795
+ ).returns(T.attached_class)
26796
+ end
26797
+ def self.new(allows_rollover:, currency:, custom_expiration:)
24283
26798
  end
24284
26799
 
24285
26800
  sig do
24286
- override.returns({ allows_rollover: T::Boolean, currency: String })
26801
+ override.returns(
26802
+ {
26803
+ allows_rollover: T::Boolean,
26804
+ currency: String,
26805
+ custom_expiration:
26806
+ T.nilable(
26807
+ Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration
26808
+ )
26809
+ }
26810
+ )
24287
26811
  end
24288
26812
  def to_hash
24289
26813
  end
26814
+
26815
+ class CustomExpiration < Orb::Internal::Type::BaseModel
26816
+ OrHash =
26817
+ T.type_alias do
26818
+ T.any(
26819
+ Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration,
26820
+ Orb::Internal::AnyHash
26821
+ )
26822
+ end
26823
+
26824
+ sig { returns(Integer) }
26825
+ attr_accessor :duration
26826
+
26827
+ sig do
26828
+ returns(
26829
+ Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
26830
+ )
26831
+ end
26832
+ attr_accessor :duration_unit
26833
+
26834
+ sig do
26835
+ params(
26836
+ duration: Integer,
26837
+ duration_unit:
26838
+ Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
26839
+ ).returns(T.attached_class)
26840
+ end
26841
+ def self.new(duration:, duration_unit:)
26842
+ end
26843
+
26844
+ sig do
26845
+ override.returns(
26846
+ {
26847
+ duration: Integer,
26848
+ duration_unit:
26849
+ Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
26850
+ }
26851
+ )
26852
+ end
26853
+ def to_hash
26854
+ end
26855
+
26856
+ module DurationUnit
26857
+ extend Orb::Internal::Type::Enum
26858
+
26859
+ TaggedSymbol =
26860
+ T.type_alias do
26861
+ T.all(
26862
+ Symbol,
26863
+ Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::DurationUnit
26864
+ )
26865
+ end
26866
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
26867
+
26868
+ DAY =
26869
+ T.let(
26870
+ :day,
26871
+ Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
26872
+ )
26873
+ MONTH =
26874
+ T.let(
26875
+ :month,
26876
+ Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
26877
+ )
26878
+
26879
+ sig do
26880
+ override.returns(
26881
+ T::Array[
26882
+ Orb::Price::GroupedTieredPackage::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
26883
+ ]
26884
+ )
26885
+ end
26886
+ def self.values
26887
+ end
26888
+ end
26889
+ end
24290
26890
  end
24291
26891
 
24292
26892
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -25334,17 +27934,126 @@ module Orb
25334
27934
  attr_accessor :currency
25335
27935
 
25336
27936
  sig do
25337
- params(allows_rollover: T::Boolean, currency: String).returns(
25338
- T.attached_class
27937
+ returns(
27938
+ T.nilable(
27939
+ Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration
27940
+ )
27941
+ )
27942
+ end
27943
+ attr_reader :custom_expiration
27944
+
27945
+ sig do
27946
+ params(
27947
+ custom_expiration:
27948
+ T.nilable(
27949
+ Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::OrHash
27950
+ )
27951
+ ).void
27952
+ end
27953
+ attr_writer :custom_expiration
27954
+
27955
+ sig do
27956
+ params(
27957
+ allows_rollover: T::Boolean,
27958
+ currency: String,
27959
+ custom_expiration:
27960
+ T.nilable(
27961
+ Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::OrHash
27962
+ )
27963
+ ).returns(T.attached_class)
27964
+ end
27965
+ def self.new(allows_rollover:, currency:, custom_expiration:)
27966
+ end
27967
+
27968
+ sig do
27969
+ override.returns(
27970
+ {
27971
+ allows_rollover: T::Boolean,
27972
+ currency: String,
27973
+ custom_expiration:
27974
+ T.nilable(
27975
+ Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration
27976
+ )
27977
+ }
25339
27978
  )
25340
27979
  end
25341
- def self.new(allows_rollover:, currency:)
27980
+ def to_hash
25342
27981
  end
25343
27982
 
25344
- sig do
25345
- override.returns({ allows_rollover: T::Boolean, currency: String })
25346
- end
25347
- def to_hash
27983
+ class CustomExpiration < Orb::Internal::Type::BaseModel
27984
+ OrHash =
27985
+ T.type_alias do
27986
+ T.any(
27987
+ Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration,
27988
+ Orb::Internal::AnyHash
27989
+ )
27990
+ end
27991
+
27992
+ sig { returns(Integer) }
27993
+ attr_accessor :duration
27994
+
27995
+ sig do
27996
+ returns(
27997
+ Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
27998
+ )
27999
+ end
28000
+ attr_accessor :duration_unit
28001
+
28002
+ sig do
28003
+ params(
28004
+ duration: Integer,
28005
+ duration_unit:
28006
+ Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
28007
+ ).returns(T.attached_class)
28008
+ end
28009
+ def self.new(duration:, duration_unit:)
28010
+ end
28011
+
28012
+ sig do
28013
+ override.returns(
28014
+ {
28015
+ duration: Integer,
28016
+ duration_unit:
28017
+ Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
28018
+ }
28019
+ )
28020
+ end
28021
+ def to_hash
28022
+ end
28023
+
28024
+ module DurationUnit
28025
+ extend Orb::Internal::Type::Enum
28026
+
28027
+ TaggedSymbol =
28028
+ T.type_alias do
28029
+ T.all(
28030
+ Symbol,
28031
+ Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::DurationUnit
28032
+ )
28033
+ end
28034
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
28035
+
28036
+ DAY =
28037
+ T.let(
28038
+ :day,
28039
+ Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
28040
+ )
28041
+ MONTH =
28042
+ T.let(
28043
+ :month,
28044
+ Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
28045
+ )
28046
+
28047
+ sig do
28048
+ override.returns(
28049
+ T::Array[
28050
+ Orb::Price::MaxGroupTieredPackage::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
28051
+ ]
28052
+ )
28053
+ end
28054
+ def self.values
28055
+ end
28056
+ end
25348
28057
  end
25349
28058
  end
25350
28059
 
@@ -26437,18 +29146,127 @@ module Orb
26437
29146
  attr_accessor :currency
26438
29147
 
26439
29148
  sig do
26440
- params(allows_rollover: T::Boolean, currency: String).returns(
26441
- T.attached_class
29149
+ returns(
29150
+ T.nilable(
29151
+ Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration
29152
+ )
26442
29153
  )
26443
29154
  end
26444
- def self.new(allows_rollover:, currency:)
29155
+ attr_reader :custom_expiration
29156
+
29157
+ sig do
29158
+ params(
29159
+ custom_expiration:
29160
+ T.nilable(
29161
+ Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::OrHash
29162
+ )
29163
+ ).void
29164
+ end
29165
+ attr_writer :custom_expiration
29166
+
29167
+ sig do
29168
+ params(
29169
+ allows_rollover: T::Boolean,
29170
+ currency: String,
29171
+ custom_expiration:
29172
+ T.nilable(
29173
+ Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::OrHash
29174
+ )
29175
+ ).returns(T.attached_class)
29176
+ end
29177
+ def self.new(allows_rollover:, currency:, custom_expiration:)
26445
29178
  end
26446
29179
 
26447
29180
  sig do
26448
- override.returns({ allows_rollover: T::Boolean, currency: String })
29181
+ override.returns(
29182
+ {
29183
+ allows_rollover: T::Boolean,
29184
+ currency: String,
29185
+ custom_expiration:
29186
+ T.nilable(
29187
+ Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration
29188
+ )
29189
+ }
29190
+ )
26449
29191
  end
26450
29192
  def to_hash
26451
29193
  end
29194
+
29195
+ class CustomExpiration < Orb::Internal::Type::BaseModel
29196
+ OrHash =
29197
+ T.type_alias do
29198
+ T.any(
29199
+ Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration,
29200
+ Orb::Internal::AnyHash
29201
+ )
29202
+ end
29203
+
29204
+ sig { returns(Integer) }
29205
+ attr_accessor :duration
29206
+
29207
+ sig do
29208
+ returns(
29209
+ Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
29210
+ )
29211
+ end
29212
+ attr_accessor :duration_unit
29213
+
29214
+ sig do
29215
+ params(
29216
+ duration: Integer,
29217
+ duration_unit:
29218
+ Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
29219
+ ).returns(T.attached_class)
29220
+ end
29221
+ def self.new(duration:, duration_unit:)
29222
+ end
29223
+
29224
+ sig do
29225
+ override.returns(
29226
+ {
29227
+ duration: Integer,
29228
+ duration_unit:
29229
+ Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
29230
+ }
29231
+ )
29232
+ end
29233
+ def to_hash
29234
+ end
29235
+
29236
+ module DurationUnit
29237
+ extend Orb::Internal::Type::Enum
29238
+
29239
+ TaggedSymbol =
29240
+ T.type_alias do
29241
+ T.all(
29242
+ Symbol,
29243
+ Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::DurationUnit
29244
+ )
29245
+ end
29246
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
29247
+
29248
+ DAY =
29249
+ T.let(
29250
+ :day,
29251
+ Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
29252
+ )
29253
+ MONTH =
29254
+ T.let(
29255
+ :month,
29256
+ Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
29257
+ )
29258
+
29259
+ sig do
29260
+ override.returns(
29261
+ T::Array[
29262
+ Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
29263
+ ]
29264
+ )
29265
+ end
29266
+ def self.values
29267
+ end
29268
+ end
29269
+ end
26452
29270
  end
26453
29271
 
26454
29272
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -27560,18 +30378,127 @@ module Orb
27560
30378
  attr_accessor :currency
27561
30379
 
27562
30380
  sig do
27563
- params(allows_rollover: T::Boolean, currency: String).returns(
27564
- T.attached_class
30381
+ returns(
30382
+ T.nilable(
30383
+ Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration
30384
+ )
27565
30385
  )
27566
30386
  end
27567
- def self.new(allows_rollover:, currency:)
30387
+ attr_reader :custom_expiration
30388
+
30389
+ sig do
30390
+ params(
30391
+ custom_expiration:
30392
+ T.nilable(
30393
+ Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::OrHash
30394
+ )
30395
+ ).void
30396
+ end
30397
+ attr_writer :custom_expiration
30398
+
30399
+ sig do
30400
+ params(
30401
+ allows_rollover: T::Boolean,
30402
+ currency: String,
30403
+ custom_expiration:
30404
+ T.nilable(
30405
+ Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::OrHash
30406
+ )
30407
+ ).returns(T.attached_class)
30408
+ end
30409
+ def self.new(allows_rollover:, currency:, custom_expiration:)
27568
30410
  end
27569
30411
 
27570
30412
  sig do
27571
- override.returns({ allows_rollover: T::Boolean, currency: String })
30413
+ override.returns(
30414
+ {
30415
+ allows_rollover: T::Boolean,
30416
+ currency: String,
30417
+ custom_expiration:
30418
+ T.nilable(
30419
+ Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration
30420
+ )
30421
+ }
30422
+ )
27572
30423
  end
27573
30424
  def to_hash
27574
30425
  end
30426
+
30427
+ class CustomExpiration < Orb::Internal::Type::BaseModel
30428
+ OrHash =
30429
+ T.type_alias do
30430
+ T.any(
30431
+ Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration,
30432
+ Orb::Internal::AnyHash
30433
+ )
30434
+ end
30435
+
30436
+ sig { returns(Integer) }
30437
+ attr_accessor :duration
30438
+
30439
+ sig do
30440
+ returns(
30441
+ Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
30442
+ )
30443
+ end
30444
+ attr_accessor :duration_unit
30445
+
30446
+ sig do
30447
+ params(
30448
+ duration: Integer,
30449
+ duration_unit:
30450
+ Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
30451
+ ).returns(T.attached_class)
30452
+ end
30453
+ def self.new(duration:, duration_unit:)
30454
+ end
30455
+
30456
+ sig do
30457
+ override.returns(
30458
+ {
30459
+ duration: Integer,
30460
+ duration_unit:
30461
+ Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
30462
+ }
30463
+ )
30464
+ end
30465
+ def to_hash
30466
+ end
30467
+
30468
+ module DurationUnit
30469
+ extend Orb::Internal::Type::Enum
30470
+
30471
+ TaggedSymbol =
30472
+ T.type_alias do
30473
+ T.all(
30474
+ Symbol,
30475
+ Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::DurationUnit
30476
+ )
30477
+ end
30478
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
30479
+
30480
+ DAY =
30481
+ T.let(
30482
+ :day,
30483
+ Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
30484
+ )
30485
+ MONTH =
30486
+ T.let(
30487
+ :month,
30488
+ Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
30489
+ )
30490
+
30491
+ sig do
30492
+ override.returns(
30493
+ T::Array[
30494
+ Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
30495
+ ]
30496
+ )
30497
+ end
30498
+ def self.values
30499
+ end
30500
+ end
30501
+ end
27575
30502
  end
27576
30503
 
27577
30504
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
@@ -28634,18 +31561,127 @@ module Orb
28634
31561
  attr_accessor :currency
28635
31562
 
28636
31563
  sig do
28637
- params(allows_rollover: T::Boolean, currency: String).returns(
28638
- T.attached_class
31564
+ returns(
31565
+ T.nilable(
31566
+ Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration
31567
+ )
28639
31568
  )
28640
31569
  end
28641
- def self.new(allows_rollover:, currency:)
31570
+ attr_reader :custom_expiration
31571
+
31572
+ sig do
31573
+ params(
31574
+ custom_expiration:
31575
+ T.nilable(
31576
+ Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::OrHash
31577
+ )
31578
+ ).void
31579
+ end
31580
+ attr_writer :custom_expiration
31581
+
31582
+ sig do
31583
+ params(
31584
+ allows_rollover: T::Boolean,
31585
+ currency: String,
31586
+ custom_expiration:
31587
+ T.nilable(
31588
+ Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::OrHash
31589
+ )
31590
+ ).returns(T.attached_class)
31591
+ end
31592
+ def self.new(allows_rollover:, currency:, custom_expiration:)
28642
31593
  end
28643
31594
 
28644
31595
  sig do
28645
- override.returns({ allows_rollover: T::Boolean, currency: String })
31596
+ override.returns(
31597
+ {
31598
+ allows_rollover: T::Boolean,
31599
+ currency: String,
31600
+ custom_expiration:
31601
+ T.nilable(
31602
+ Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration
31603
+ )
31604
+ }
31605
+ )
28646
31606
  end
28647
31607
  def to_hash
28648
31608
  end
31609
+
31610
+ class CustomExpiration < Orb::Internal::Type::BaseModel
31611
+ OrHash =
31612
+ T.type_alias do
31613
+ T.any(
31614
+ Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration,
31615
+ Orb::Internal::AnyHash
31616
+ )
31617
+ end
31618
+
31619
+ sig { returns(Integer) }
31620
+ attr_accessor :duration
31621
+
31622
+ sig do
31623
+ returns(
31624
+ Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
31625
+ )
31626
+ end
31627
+ attr_accessor :duration_unit
31628
+
31629
+ sig do
31630
+ params(
31631
+ duration: Integer,
31632
+ duration_unit:
31633
+ Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::DurationUnit::OrSymbol
31634
+ ).returns(T.attached_class)
31635
+ end
31636
+ def self.new(duration:, duration_unit:)
31637
+ end
31638
+
31639
+ sig do
31640
+ override.returns(
31641
+ {
31642
+ duration: Integer,
31643
+ duration_unit:
31644
+ Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
31645
+ }
31646
+ )
31647
+ end
31648
+ def to_hash
31649
+ end
31650
+
31651
+ module DurationUnit
31652
+ extend Orb::Internal::Type::Enum
31653
+
31654
+ TaggedSymbol =
31655
+ T.type_alias do
31656
+ T.all(
31657
+ Symbol,
31658
+ Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::DurationUnit
31659
+ )
31660
+ end
31661
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
31662
+
31663
+ DAY =
31664
+ T.let(
31665
+ :day,
31666
+ Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
31667
+ )
31668
+ MONTH =
31669
+ T.let(
31670
+ :month,
31671
+ Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
31672
+ )
31673
+
31674
+ sig do
31675
+ override.returns(
31676
+ T::Array[
31677
+ Orb::Price::CumulativeGroupedBulk::CreditAllocation::CustomExpiration::DurationUnit::TaggedSymbol
31678
+ ]
31679
+ )
31680
+ end
31681
+ def self.values
31682
+ end
31683
+ end
31684
+ end
28649
31685
  end
28650
31686
 
28651
31687
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel