increase 1.18.1 → 1.20.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.
@@ -440,6 +440,7 @@ module Increase
440
440
  {
441
441
  id: String,
442
442
  actioner: Increase::Models::CardPayment::Element::CardAuthorization::actioner,
443
+ additional_amounts: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts,
443
444
  amount: Integer,
444
445
  card_payment_id: String,
445
446
  currency: Increase::Models::CardPayment::Element::CardAuthorization::currency,
@@ -472,6 +473,8 @@ module Increase
472
473
 
473
474
  attr_accessor actioner: Increase::Models::CardPayment::Element::CardAuthorization::actioner
474
475
 
476
+ attr_accessor additional_amounts: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts
477
+
475
478
  attr_accessor amount: Integer
476
479
 
477
480
  attr_accessor card_payment_id: String
@@ -525,6 +528,7 @@ module Increase
525
528
  def initialize: (
526
529
  id: String,
527
530
  actioner: Increase::Models::CardPayment::Element::CardAuthorization::actioner,
531
+ additional_amounts: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts,
528
532
  amount: Integer,
529
533
  card_payment_id: String,
530
534
  currency: Increase::Models::CardPayment::Element::CardAuthorization::currency,
@@ -555,6 +559,7 @@ module Increase
555
559
  def to_hash: -> {
556
560
  id: String,
557
561
  actioner: Increase::Models::CardPayment::Element::CardAuthorization::actioner,
562
+ additional_amounts: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts,
558
563
  amount: Integer,
559
564
  card_payment_id: String,
560
565
  currency: Increase::Models::CardPayment::Element::CardAuthorization::currency,
@@ -599,6 +604,171 @@ module Increase
599
604
  def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::actioner]
600
605
  end
601
606
 
607
+ type additional_amounts =
608
+ {
609
+ clinic: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Clinic?,
610
+ dental: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Dental?,
611
+ prescription: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Prescription?,
612
+ surcharge: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Surcharge?,
613
+ total_cumulative: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalCumulative?,
614
+ total_healthcare: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalHealthcare?,
615
+ transit: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Transit?,
616
+ unknown: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Unknown?,
617
+ vision: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Vision?
618
+ }
619
+
620
+ class AdditionalAmounts < Increase::Internal::Type::BaseModel
621
+ attr_accessor clinic: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Clinic?
622
+
623
+ attr_accessor dental: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Dental?
624
+
625
+ attr_accessor prescription: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Prescription?
626
+
627
+ attr_accessor surcharge: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Surcharge?
628
+
629
+ attr_accessor total_cumulative: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalCumulative?
630
+
631
+ attr_accessor total_healthcare: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalHealthcare?
632
+
633
+ attr_accessor transit: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Transit?
634
+
635
+ attr_accessor unknown: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Unknown?
636
+
637
+ attr_accessor vision: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Vision?
638
+
639
+ def initialize: (
640
+ clinic: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Clinic?,
641
+ dental: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Dental?,
642
+ prescription: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Prescription?,
643
+ surcharge: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Surcharge?,
644
+ total_cumulative: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalCumulative?,
645
+ total_healthcare: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalHealthcare?,
646
+ transit: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Transit?,
647
+ unknown: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Unknown?,
648
+ vision: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Vision?
649
+ ) -> void
650
+
651
+ def to_hash: -> {
652
+ clinic: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Clinic?,
653
+ dental: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Dental?,
654
+ prescription: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Prescription?,
655
+ surcharge: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Surcharge?,
656
+ total_cumulative: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalCumulative?,
657
+ total_healthcare: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::TotalHealthcare?,
658
+ transit: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Transit?,
659
+ unknown: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Unknown?,
660
+ vision: Increase::CardPayment::Element::CardAuthorization::AdditionalAmounts::Vision?
661
+ }
662
+
663
+ type clinic = { amount: Integer, currency: String }
664
+
665
+ class Clinic < Increase::Internal::Type::BaseModel
666
+ attr_accessor amount: Integer
667
+
668
+ attr_accessor currency: String
669
+
670
+ def initialize: (amount: Integer, currency: String) -> void
671
+
672
+ def to_hash: -> { amount: Integer, currency: String }
673
+ end
674
+
675
+ type dental = { amount: Integer, currency: String }
676
+
677
+ class Dental < Increase::Internal::Type::BaseModel
678
+ attr_accessor amount: Integer
679
+
680
+ attr_accessor currency: String
681
+
682
+ def initialize: (amount: Integer, currency: String) -> void
683
+
684
+ def to_hash: -> { amount: Integer, currency: String }
685
+ end
686
+
687
+ type prescription = { amount: Integer, currency: String }
688
+
689
+ class Prescription < Increase::Internal::Type::BaseModel
690
+ attr_accessor amount: Integer
691
+
692
+ attr_accessor currency: String
693
+
694
+ def initialize: (amount: Integer, currency: String) -> void
695
+
696
+ def to_hash: -> { amount: Integer, currency: String }
697
+ end
698
+
699
+ type surcharge = { amount: Integer, currency: String }
700
+
701
+ class Surcharge < Increase::Internal::Type::BaseModel
702
+ attr_accessor amount: Integer
703
+
704
+ attr_accessor currency: String
705
+
706
+ def initialize: (amount: Integer, currency: String) -> void
707
+
708
+ def to_hash: -> { amount: Integer, currency: String }
709
+ end
710
+
711
+ type total_cumulative = { amount: Integer, currency: String }
712
+
713
+ class TotalCumulative < Increase::Internal::Type::BaseModel
714
+ attr_accessor amount: Integer
715
+
716
+ attr_accessor currency: String
717
+
718
+ def initialize: (amount: Integer, currency: String) -> void
719
+
720
+ def to_hash: -> { amount: Integer, currency: String }
721
+ end
722
+
723
+ type total_healthcare = { amount: Integer, currency: String }
724
+
725
+ class TotalHealthcare < Increase::Internal::Type::BaseModel
726
+ attr_accessor amount: Integer
727
+
728
+ attr_accessor currency: String
729
+
730
+ def initialize: (amount: Integer, currency: String) -> void
731
+
732
+ def to_hash: -> { amount: Integer, currency: String }
733
+ end
734
+
735
+ type transit = { amount: Integer, currency: String }
736
+
737
+ class Transit < Increase::Internal::Type::BaseModel
738
+ attr_accessor amount: Integer
739
+
740
+ attr_accessor currency: String
741
+
742
+ def initialize: (amount: Integer, currency: String) -> void
743
+
744
+ def to_hash: -> { amount: Integer, currency: String }
745
+ end
746
+
747
+ type unknown = { amount: Integer, currency: String }
748
+
749
+ class Unknown < Increase::Internal::Type::BaseModel
750
+ attr_accessor amount: Integer
751
+
752
+ attr_accessor currency: String
753
+
754
+ def initialize: (amount: Integer, currency: String) -> void
755
+
756
+ def to_hash: -> { amount: Integer, currency: String }
757
+ end
758
+
759
+ type vision = { amount: Integer, currency: String }
760
+
761
+ class Vision < Increase::Internal::Type::BaseModel
762
+ attr_accessor amount: Integer
763
+
764
+ attr_accessor currency: String
765
+
766
+ def initialize: (amount: Integer, currency: String) -> void
767
+
768
+ def to_hash: -> { amount: Integer, currency: String }
769
+ end
770
+ end
771
+
602
772
  type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD
603
773
 
604
774
  module Currency
@@ -1123,6 +1293,7 @@ module Increase
1123
1293
  {
1124
1294
  id: String,
1125
1295
  actioner: Increase::Models::CardPayment::Element::CardDecline::actioner,
1296
+ additional_amounts: Increase::CardPayment::Element::CardDecline::AdditionalAmounts,
1126
1297
  amount: Integer,
1127
1298
  card_payment_id: String,
1128
1299
  currency: Increase::Models::CardPayment::Element::CardDecline::currency,
@@ -1155,6 +1326,8 @@ module Increase
1155
1326
 
1156
1327
  attr_accessor actioner: Increase::Models::CardPayment::Element::CardDecline::actioner
1157
1328
 
1329
+ attr_accessor additional_amounts: Increase::CardPayment::Element::CardDecline::AdditionalAmounts
1330
+
1158
1331
  attr_accessor amount: Integer
1159
1332
 
1160
1333
  attr_accessor card_payment_id: String
@@ -1208,6 +1381,7 @@ module Increase
1208
1381
  def initialize: (
1209
1382
  id: String,
1210
1383
  actioner: Increase::Models::CardPayment::Element::CardDecline::actioner,
1384
+ additional_amounts: Increase::CardPayment::Element::CardDecline::AdditionalAmounts,
1211
1385
  amount: Integer,
1212
1386
  card_payment_id: String,
1213
1387
  currency: Increase::Models::CardPayment::Element::CardDecline::currency,
@@ -1238,6 +1412,7 @@ module Increase
1238
1412
  def to_hash: -> {
1239
1413
  id: String,
1240
1414
  actioner: Increase::Models::CardPayment::Element::CardDecline::actioner,
1415
+ additional_amounts: Increase::CardPayment::Element::CardDecline::AdditionalAmounts,
1241
1416
  amount: Integer,
1242
1417
  card_payment_id: String,
1243
1418
  currency: Increase::Models::CardPayment::Element::CardDecline::currency,
@@ -1282,6 +1457,171 @@ module Increase
1282
1457
  def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::actioner]
1283
1458
  end
1284
1459
 
1460
+ type additional_amounts =
1461
+ {
1462
+ clinic: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic?,
1463
+ dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?,
1464
+ prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?,
1465
+ surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?,
1466
+ total_cumulative: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative?,
1467
+ total_healthcare: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare?,
1468
+ transit: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Transit?,
1469
+ unknown: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown?,
1470
+ vision: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Vision?
1471
+ }
1472
+
1473
+ class AdditionalAmounts < Increase::Internal::Type::BaseModel
1474
+ attr_accessor clinic: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic?
1475
+
1476
+ attr_accessor dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?
1477
+
1478
+ attr_accessor prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?
1479
+
1480
+ attr_accessor surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?
1481
+
1482
+ attr_accessor total_cumulative: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative?
1483
+
1484
+ attr_accessor total_healthcare: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare?
1485
+
1486
+ attr_accessor transit: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Transit?
1487
+
1488
+ attr_accessor unknown: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown?
1489
+
1490
+ attr_accessor vision: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Vision?
1491
+
1492
+ def initialize: (
1493
+ clinic: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic?,
1494
+ dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?,
1495
+ prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?,
1496
+ surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?,
1497
+ total_cumulative: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative?,
1498
+ total_healthcare: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare?,
1499
+ transit: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Transit?,
1500
+ unknown: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown?,
1501
+ vision: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Vision?
1502
+ ) -> void
1503
+
1504
+ def to_hash: -> {
1505
+ clinic: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic?,
1506
+ dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?,
1507
+ prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?,
1508
+ surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?,
1509
+ total_cumulative: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative?,
1510
+ total_healthcare: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare?,
1511
+ transit: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Transit?,
1512
+ unknown: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown?,
1513
+ vision: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Vision?
1514
+ }
1515
+
1516
+ type clinic = { amount: Integer, currency: String }
1517
+
1518
+ class Clinic < Increase::Internal::Type::BaseModel
1519
+ attr_accessor amount: Integer
1520
+
1521
+ attr_accessor currency: String
1522
+
1523
+ def initialize: (amount: Integer, currency: String) -> void
1524
+
1525
+ def to_hash: -> { amount: Integer, currency: String }
1526
+ end
1527
+
1528
+ type dental = { amount: Integer, currency: String }
1529
+
1530
+ class Dental < Increase::Internal::Type::BaseModel
1531
+ attr_accessor amount: Integer
1532
+
1533
+ attr_accessor currency: String
1534
+
1535
+ def initialize: (amount: Integer, currency: String) -> void
1536
+
1537
+ def to_hash: -> { amount: Integer, currency: String }
1538
+ end
1539
+
1540
+ type prescription = { amount: Integer, currency: String }
1541
+
1542
+ class Prescription < Increase::Internal::Type::BaseModel
1543
+ attr_accessor amount: Integer
1544
+
1545
+ attr_accessor currency: String
1546
+
1547
+ def initialize: (amount: Integer, currency: String) -> void
1548
+
1549
+ def to_hash: -> { amount: Integer, currency: String }
1550
+ end
1551
+
1552
+ type surcharge = { amount: Integer, currency: String }
1553
+
1554
+ class Surcharge < Increase::Internal::Type::BaseModel
1555
+ attr_accessor amount: Integer
1556
+
1557
+ attr_accessor currency: String
1558
+
1559
+ def initialize: (amount: Integer, currency: String) -> void
1560
+
1561
+ def to_hash: -> { amount: Integer, currency: String }
1562
+ end
1563
+
1564
+ type total_cumulative = { amount: Integer, currency: String }
1565
+
1566
+ class TotalCumulative < Increase::Internal::Type::BaseModel
1567
+ attr_accessor amount: Integer
1568
+
1569
+ attr_accessor currency: String
1570
+
1571
+ def initialize: (amount: Integer, currency: String) -> void
1572
+
1573
+ def to_hash: -> { amount: Integer, currency: String }
1574
+ end
1575
+
1576
+ type total_healthcare = { amount: Integer, currency: String }
1577
+
1578
+ class TotalHealthcare < Increase::Internal::Type::BaseModel
1579
+ attr_accessor amount: Integer
1580
+
1581
+ attr_accessor currency: String
1582
+
1583
+ def initialize: (amount: Integer, currency: String) -> void
1584
+
1585
+ def to_hash: -> { amount: Integer, currency: String }
1586
+ end
1587
+
1588
+ type transit = { amount: Integer, currency: String }
1589
+
1590
+ class Transit < Increase::Internal::Type::BaseModel
1591
+ attr_accessor amount: Integer
1592
+
1593
+ attr_accessor currency: String
1594
+
1595
+ def initialize: (amount: Integer, currency: String) -> void
1596
+
1597
+ def to_hash: -> { amount: Integer, currency: String }
1598
+ end
1599
+
1600
+ type unknown = { amount: Integer, currency: String }
1601
+
1602
+ class Unknown < Increase::Internal::Type::BaseModel
1603
+ attr_accessor amount: Integer
1604
+
1605
+ attr_accessor currency: String
1606
+
1607
+ def initialize: (amount: Integer, currency: String) -> void
1608
+
1609
+ def to_hash: -> { amount: Integer, currency: String }
1610
+ end
1611
+
1612
+ type vision = { amount: Integer, currency: String }
1613
+
1614
+ class Vision < Increase::Internal::Type::BaseModel
1615
+ attr_accessor amount: Integer
1616
+
1617
+ attr_accessor currency: String
1618
+
1619
+ def initialize: (amount: Integer, currency: String) -> void
1620
+
1621
+ def to_hash: -> { amount: Integer, currency: String }
1622
+ end
1623
+ end
1624
+
1285
1625
  type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD
1286
1626
 
1287
1627
  module Currency
@@ -1953,6 +2293,7 @@ module Increase
1953
2293
  {
1954
2294
  id: String,
1955
2295
  actioner: Increase::Models::CardPayment::Element::CardIncrement::actioner,
2296
+ additional_amounts: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts,
1956
2297
  amount: Integer,
1957
2298
  card_authorization_id: String,
1958
2299
  currency: Increase::Models::CardPayment::Element::CardIncrement::currency,
@@ -1960,6 +2301,8 @@ module Increase
1960
2301
  network_identifiers: Increase::CardPayment::Element::CardIncrement::NetworkIdentifiers,
1961
2302
  network_risk_score: Integer?,
1962
2303
  pending_transaction_id: String?,
2304
+ presentment_amount: Integer,
2305
+ presentment_currency: String,
1963
2306
  real_time_decision_id: String?,
1964
2307
  type: Increase::Models::CardPayment::Element::CardIncrement::type_,
1965
2308
  updated_authorization_amount: Integer
@@ -1970,6 +2313,8 @@ module Increase
1970
2313
 
1971
2314
  attr_accessor actioner: Increase::Models::CardPayment::Element::CardIncrement::actioner
1972
2315
 
2316
+ attr_accessor additional_amounts: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts
2317
+
1973
2318
  attr_accessor amount: Integer
1974
2319
 
1975
2320
  attr_accessor card_authorization_id: String
@@ -1984,6 +2329,10 @@ module Increase
1984
2329
 
1985
2330
  attr_accessor pending_transaction_id: String?
1986
2331
 
2332
+ attr_accessor presentment_amount: Integer
2333
+
2334
+ attr_accessor presentment_currency: String
2335
+
1987
2336
  attr_accessor real_time_decision_id: String?
1988
2337
 
1989
2338
  attr_accessor type: Increase::Models::CardPayment::Element::CardIncrement::type_
@@ -1993,6 +2342,7 @@ module Increase
1993
2342
  def initialize: (
1994
2343
  id: String,
1995
2344
  actioner: Increase::Models::CardPayment::Element::CardIncrement::actioner,
2345
+ additional_amounts: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts,
1996
2346
  amount: Integer,
1997
2347
  card_authorization_id: String,
1998
2348
  currency: Increase::Models::CardPayment::Element::CardIncrement::currency,
@@ -2000,6 +2350,8 @@ module Increase
2000
2350
  network_identifiers: Increase::CardPayment::Element::CardIncrement::NetworkIdentifiers,
2001
2351
  network_risk_score: Integer?,
2002
2352
  pending_transaction_id: String?,
2353
+ presentment_amount: Integer,
2354
+ presentment_currency: String,
2003
2355
  real_time_decision_id: String?,
2004
2356
  type: Increase::Models::CardPayment::Element::CardIncrement::type_,
2005
2357
  updated_authorization_amount: Integer
@@ -2008,6 +2360,7 @@ module Increase
2008
2360
  def to_hash: -> {
2009
2361
  id: String,
2010
2362
  actioner: Increase::Models::CardPayment::Element::CardIncrement::actioner,
2363
+ additional_amounts: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts,
2011
2364
  amount: Integer,
2012
2365
  card_authorization_id: String,
2013
2366
  currency: Increase::Models::CardPayment::Element::CardIncrement::currency,
@@ -2015,6 +2368,8 @@ module Increase
2015
2368
  network_identifiers: Increase::CardPayment::Element::CardIncrement::NetworkIdentifiers,
2016
2369
  network_risk_score: Integer?,
2017
2370
  pending_transaction_id: String?,
2371
+ presentment_amount: Integer,
2372
+ presentment_currency: String,
2018
2373
  real_time_decision_id: String?,
2019
2374
  type: Increase::Models::CardPayment::Element::CardIncrement::type_,
2020
2375
  updated_authorization_amount: Integer
@@ -2037,6 +2392,171 @@ module Increase
2037
2392
  def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardIncrement::actioner]
2038
2393
  end
2039
2394
 
2395
+ type additional_amounts =
2396
+ {
2397
+ clinic: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Clinic?,
2398
+ dental: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Dental?,
2399
+ prescription: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Prescription?,
2400
+ surcharge: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Surcharge?,
2401
+ total_cumulative: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::TotalCumulative?,
2402
+ total_healthcare: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::TotalHealthcare?,
2403
+ transit: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Transit?,
2404
+ unknown: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Unknown?,
2405
+ vision: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Vision?
2406
+ }
2407
+
2408
+ class AdditionalAmounts < Increase::Internal::Type::BaseModel
2409
+ attr_accessor clinic: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Clinic?
2410
+
2411
+ attr_accessor dental: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Dental?
2412
+
2413
+ attr_accessor prescription: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Prescription?
2414
+
2415
+ attr_accessor surcharge: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Surcharge?
2416
+
2417
+ attr_accessor total_cumulative: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::TotalCumulative?
2418
+
2419
+ attr_accessor total_healthcare: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::TotalHealthcare?
2420
+
2421
+ attr_accessor transit: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Transit?
2422
+
2423
+ attr_accessor unknown: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Unknown?
2424
+
2425
+ attr_accessor vision: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Vision?
2426
+
2427
+ def initialize: (
2428
+ clinic: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Clinic?,
2429
+ dental: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Dental?,
2430
+ prescription: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Prescription?,
2431
+ surcharge: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Surcharge?,
2432
+ total_cumulative: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::TotalCumulative?,
2433
+ total_healthcare: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::TotalHealthcare?,
2434
+ transit: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Transit?,
2435
+ unknown: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Unknown?,
2436
+ vision: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Vision?
2437
+ ) -> void
2438
+
2439
+ def to_hash: -> {
2440
+ clinic: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Clinic?,
2441
+ dental: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Dental?,
2442
+ prescription: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Prescription?,
2443
+ surcharge: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Surcharge?,
2444
+ total_cumulative: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::TotalCumulative?,
2445
+ total_healthcare: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::TotalHealthcare?,
2446
+ transit: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Transit?,
2447
+ unknown: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Unknown?,
2448
+ vision: Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Vision?
2449
+ }
2450
+
2451
+ type clinic = { amount: Integer, currency: String }
2452
+
2453
+ class Clinic < Increase::Internal::Type::BaseModel
2454
+ attr_accessor amount: Integer
2455
+
2456
+ attr_accessor currency: String
2457
+
2458
+ def initialize: (amount: Integer, currency: String) -> void
2459
+
2460
+ def to_hash: -> { amount: Integer, currency: String }
2461
+ end
2462
+
2463
+ type dental = { amount: Integer, currency: String }
2464
+
2465
+ class Dental < Increase::Internal::Type::BaseModel
2466
+ attr_accessor amount: Integer
2467
+
2468
+ attr_accessor currency: String
2469
+
2470
+ def initialize: (amount: Integer, currency: String) -> void
2471
+
2472
+ def to_hash: -> { amount: Integer, currency: String }
2473
+ end
2474
+
2475
+ type prescription = { amount: Integer, currency: String }
2476
+
2477
+ class Prescription < Increase::Internal::Type::BaseModel
2478
+ attr_accessor amount: Integer
2479
+
2480
+ attr_accessor currency: String
2481
+
2482
+ def initialize: (amount: Integer, currency: String) -> void
2483
+
2484
+ def to_hash: -> { amount: Integer, currency: String }
2485
+ end
2486
+
2487
+ type surcharge = { amount: Integer, currency: String }
2488
+
2489
+ class Surcharge < Increase::Internal::Type::BaseModel
2490
+ attr_accessor amount: Integer
2491
+
2492
+ attr_accessor currency: String
2493
+
2494
+ def initialize: (amount: Integer, currency: String) -> void
2495
+
2496
+ def to_hash: -> { amount: Integer, currency: String }
2497
+ end
2498
+
2499
+ type total_cumulative = { amount: Integer, currency: String }
2500
+
2501
+ class TotalCumulative < Increase::Internal::Type::BaseModel
2502
+ attr_accessor amount: Integer
2503
+
2504
+ attr_accessor currency: String
2505
+
2506
+ def initialize: (amount: Integer, currency: String) -> void
2507
+
2508
+ def to_hash: -> { amount: Integer, currency: String }
2509
+ end
2510
+
2511
+ type total_healthcare = { amount: Integer, currency: String }
2512
+
2513
+ class TotalHealthcare < Increase::Internal::Type::BaseModel
2514
+ attr_accessor amount: Integer
2515
+
2516
+ attr_accessor currency: String
2517
+
2518
+ def initialize: (amount: Integer, currency: String) -> void
2519
+
2520
+ def to_hash: -> { amount: Integer, currency: String }
2521
+ end
2522
+
2523
+ type transit = { amount: Integer, currency: String }
2524
+
2525
+ class Transit < Increase::Internal::Type::BaseModel
2526
+ attr_accessor amount: Integer
2527
+
2528
+ attr_accessor currency: String
2529
+
2530
+ def initialize: (amount: Integer, currency: String) -> void
2531
+
2532
+ def to_hash: -> { amount: Integer, currency: String }
2533
+ end
2534
+
2535
+ type unknown = { amount: Integer, currency: String }
2536
+
2537
+ class Unknown < Increase::Internal::Type::BaseModel
2538
+ attr_accessor amount: Integer
2539
+
2540
+ attr_accessor currency: String
2541
+
2542
+ def initialize: (amount: Integer, currency: String) -> void
2543
+
2544
+ def to_hash: -> { amount: Integer, currency: String }
2545
+ end
2546
+
2547
+ type vision = { amount: Integer, currency: String }
2548
+
2549
+ class Vision < Increase::Internal::Type::BaseModel
2550
+ attr_accessor amount: Integer
2551
+
2552
+ attr_accessor currency: String
2553
+
2554
+ def initialize: (amount: Integer, currency: String) -> void
2555
+
2556
+ def to_hash: -> { amount: Integer, currency: String }
2557
+ end
2558
+ end
2559
+
2040
2560
  type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD
2041
2561
 
2042
2562
  module Currency
@@ -3153,11 +3673,14 @@ module Increase
3153
3673
  network: Increase::Models::CardPayment::Element::CardReversal::network,
3154
3674
  network_identifiers: Increase::CardPayment::Element::CardReversal::NetworkIdentifiers,
3155
3675
  pending_transaction_id: String?,
3676
+ presentment_currency: String,
3156
3677
  reversal_amount: Integer,
3678
+ reversal_presentment_amount: Integer,
3157
3679
  reversal_reason: Increase::Models::CardPayment::Element::CardReversal::reversal_reason?,
3158
3680
  terminal_id: String?,
3159
3681
  type: Increase::Models::CardPayment::Element::CardReversal::type_,
3160
- updated_authorization_amount: Integer
3682
+ updated_authorization_amount: Integer,
3683
+ updated_authorization_presentment_amount: Integer
3161
3684
  }
3162
3685
 
3163
3686
  class CardReversal < Increase::Internal::Type::BaseModel
@@ -3187,8 +3710,12 @@ module Increase
3187
3710
 
3188
3711
  attr_accessor pending_transaction_id: String?
3189
3712
 
3713
+ attr_accessor presentment_currency: String
3714
+
3190
3715
  attr_accessor reversal_amount: Integer
3191
3716
 
3717
+ attr_accessor reversal_presentment_amount: Integer
3718
+
3192
3719
  attr_accessor reversal_reason: Increase::Models::CardPayment::Element::CardReversal::reversal_reason?
3193
3720
 
3194
3721
  attr_accessor terminal_id: String?
@@ -3197,6 +3724,8 @@ module Increase
3197
3724
 
3198
3725
  attr_accessor updated_authorization_amount: Integer
3199
3726
 
3727
+ attr_accessor updated_authorization_presentment_amount: Integer
3728
+
3200
3729
  def initialize: (
3201
3730
  id: String,
3202
3731
  card_authorization_id: String,
@@ -3211,11 +3740,14 @@ module Increase
3211
3740
  network: Increase::Models::CardPayment::Element::CardReversal::network,
3212
3741
  network_identifiers: Increase::CardPayment::Element::CardReversal::NetworkIdentifiers,
3213
3742
  pending_transaction_id: String?,
3743
+ presentment_currency: String,
3214
3744
  reversal_amount: Integer,
3745
+ reversal_presentment_amount: Integer,
3215
3746
  reversal_reason: Increase::Models::CardPayment::Element::CardReversal::reversal_reason?,
3216
3747
  terminal_id: String?,
3217
3748
  type: Increase::Models::CardPayment::Element::CardReversal::type_,
3218
- updated_authorization_amount: Integer
3749
+ updated_authorization_amount: Integer,
3750
+ updated_authorization_presentment_amount: Integer
3219
3751
  ) -> void
3220
3752
 
3221
3753
  def to_hash: -> {
@@ -3232,11 +3764,14 @@ module Increase
3232
3764
  network: Increase::Models::CardPayment::Element::CardReversal::network,
3233
3765
  network_identifiers: Increase::CardPayment::Element::CardReversal::NetworkIdentifiers,
3234
3766
  pending_transaction_id: String?,
3767
+ presentment_currency: String,
3235
3768
  reversal_amount: Integer,
3769
+ reversal_presentment_amount: Integer,
3236
3770
  reversal_reason: Increase::Models::CardPayment::Element::CardReversal::reversal_reason?,
3237
3771
  terminal_id: String?,
3238
3772
  type: Increase::Models::CardPayment::Element::CardReversal::type_,
3239
- updated_authorization_amount: Integer
3773
+ updated_authorization_amount: Integer,
3774
+ updated_authorization_presentment_amount: Integer
3240
3775
  }
3241
3776
 
3242
3777
  type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD
@@ -4378,6 +4913,7 @@ module Increase
4378
4913
  {
4379
4914
  id: String,
4380
4915
  actioner: Increase::Models::CardPayment::Element::CardValidation::actioner,
4916
+ additional_amounts: Increase::CardPayment::Element::CardValidation::AdditionalAmounts,
4381
4917
  card_payment_id: String,
4382
4918
  currency: Increase::Models::CardPayment::Element::CardValidation::currency,
4383
4919
  digital_wallet_token_id: String?,
@@ -4403,6 +4939,8 @@ module Increase
4403
4939
 
4404
4940
  attr_accessor actioner: Increase::Models::CardPayment::Element::CardValidation::actioner
4405
4941
 
4942
+ attr_accessor additional_amounts: Increase::CardPayment::Element::CardValidation::AdditionalAmounts
4943
+
4406
4944
  attr_accessor card_payment_id: String
4407
4945
 
4408
4946
  attr_accessor currency: Increase::Models::CardPayment::Element::CardValidation::currency
@@ -4442,6 +4980,7 @@ module Increase
4442
4980
  def initialize: (
4443
4981
  id: String,
4444
4982
  actioner: Increase::Models::CardPayment::Element::CardValidation::actioner,
4983
+ additional_amounts: Increase::CardPayment::Element::CardValidation::AdditionalAmounts,
4445
4984
  card_payment_id: String,
4446
4985
  currency: Increase::Models::CardPayment::Element::CardValidation::currency,
4447
4986
  digital_wallet_token_id: String?,
@@ -4465,6 +5004,7 @@ module Increase
4465
5004
  def to_hash: -> {
4466
5005
  id: String,
4467
5006
  actioner: Increase::Models::CardPayment::Element::CardValidation::actioner,
5007
+ additional_amounts: Increase::CardPayment::Element::CardValidation::AdditionalAmounts,
4468
5008
  card_payment_id: String,
4469
5009
  currency: Increase::Models::CardPayment::Element::CardValidation::currency,
4470
5010
  digital_wallet_token_id: String?,
@@ -4502,6 +5042,171 @@ module Increase
4502
5042
  def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardValidation::actioner]
4503
5043
  end
4504
5044
 
5045
+ type additional_amounts =
5046
+ {
5047
+ clinic: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Clinic?,
5048
+ dental: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Dental?,
5049
+ prescription: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Prescription?,
5050
+ surcharge: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Surcharge?,
5051
+ total_cumulative: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::TotalCumulative?,
5052
+ total_healthcare: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::TotalHealthcare?,
5053
+ transit: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Transit?,
5054
+ unknown: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Unknown?,
5055
+ vision: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Vision?
5056
+ }
5057
+
5058
+ class AdditionalAmounts < Increase::Internal::Type::BaseModel
5059
+ attr_accessor clinic: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Clinic?
5060
+
5061
+ attr_accessor dental: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Dental?
5062
+
5063
+ attr_accessor prescription: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Prescription?
5064
+
5065
+ attr_accessor surcharge: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Surcharge?
5066
+
5067
+ attr_accessor total_cumulative: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::TotalCumulative?
5068
+
5069
+ attr_accessor total_healthcare: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::TotalHealthcare?
5070
+
5071
+ attr_accessor transit: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Transit?
5072
+
5073
+ attr_accessor unknown: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Unknown?
5074
+
5075
+ attr_accessor vision: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Vision?
5076
+
5077
+ def initialize: (
5078
+ clinic: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Clinic?,
5079
+ dental: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Dental?,
5080
+ prescription: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Prescription?,
5081
+ surcharge: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Surcharge?,
5082
+ total_cumulative: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::TotalCumulative?,
5083
+ total_healthcare: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::TotalHealthcare?,
5084
+ transit: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Transit?,
5085
+ unknown: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Unknown?,
5086
+ vision: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Vision?
5087
+ ) -> void
5088
+
5089
+ def to_hash: -> {
5090
+ clinic: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Clinic?,
5091
+ dental: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Dental?,
5092
+ prescription: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Prescription?,
5093
+ surcharge: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Surcharge?,
5094
+ total_cumulative: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::TotalCumulative?,
5095
+ total_healthcare: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::TotalHealthcare?,
5096
+ transit: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Transit?,
5097
+ unknown: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Unknown?,
5098
+ vision: Increase::CardPayment::Element::CardValidation::AdditionalAmounts::Vision?
5099
+ }
5100
+
5101
+ type clinic = { amount: Integer, currency: String }
5102
+
5103
+ class Clinic < Increase::Internal::Type::BaseModel
5104
+ attr_accessor amount: Integer
5105
+
5106
+ attr_accessor currency: String
5107
+
5108
+ def initialize: (amount: Integer, currency: String) -> void
5109
+
5110
+ def to_hash: -> { amount: Integer, currency: String }
5111
+ end
5112
+
5113
+ type dental = { amount: Integer, currency: String }
5114
+
5115
+ class Dental < Increase::Internal::Type::BaseModel
5116
+ attr_accessor amount: Integer
5117
+
5118
+ attr_accessor currency: String
5119
+
5120
+ def initialize: (amount: Integer, currency: String) -> void
5121
+
5122
+ def to_hash: -> { amount: Integer, currency: String }
5123
+ end
5124
+
5125
+ type prescription = { amount: Integer, currency: String }
5126
+
5127
+ class Prescription < Increase::Internal::Type::BaseModel
5128
+ attr_accessor amount: Integer
5129
+
5130
+ attr_accessor currency: String
5131
+
5132
+ def initialize: (amount: Integer, currency: String) -> void
5133
+
5134
+ def to_hash: -> { amount: Integer, currency: String }
5135
+ end
5136
+
5137
+ type surcharge = { amount: Integer, currency: String }
5138
+
5139
+ class Surcharge < Increase::Internal::Type::BaseModel
5140
+ attr_accessor amount: Integer
5141
+
5142
+ attr_accessor currency: String
5143
+
5144
+ def initialize: (amount: Integer, currency: String) -> void
5145
+
5146
+ def to_hash: -> { amount: Integer, currency: String }
5147
+ end
5148
+
5149
+ type total_cumulative = { amount: Integer, currency: String }
5150
+
5151
+ class TotalCumulative < Increase::Internal::Type::BaseModel
5152
+ attr_accessor amount: Integer
5153
+
5154
+ attr_accessor currency: String
5155
+
5156
+ def initialize: (amount: Integer, currency: String) -> void
5157
+
5158
+ def to_hash: -> { amount: Integer, currency: String }
5159
+ end
5160
+
5161
+ type total_healthcare = { amount: Integer, currency: String }
5162
+
5163
+ class TotalHealthcare < Increase::Internal::Type::BaseModel
5164
+ attr_accessor amount: Integer
5165
+
5166
+ attr_accessor currency: String
5167
+
5168
+ def initialize: (amount: Integer, currency: String) -> void
5169
+
5170
+ def to_hash: -> { amount: Integer, currency: String }
5171
+ end
5172
+
5173
+ type transit = { amount: Integer, currency: String }
5174
+
5175
+ class Transit < Increase::Internal::Type::BaseModel
5176
+ attr_accessor amount: Integer
5177
+
5178
+ attr_accessor currency: String
5179
+
5180
+ def initialize: (amount: Integer, currency: String) -> void
5181
+
5182
+ def to_hash: -> { amount: Integer, currency: String }
5183
+ end
5184
+
5185
+ type unknown = { amount: Integer, currency: String }
5186
+
5187
+ class Unknown < Increase::Internal::Type::BaseModel
5188
+ attr_accessor amount: Integer
5189
+
5190
+ attr_accessor currency: String
5191
+
5192
+ def initialize: (amount: Integer, currency: String) -> void
5193
+
5194
+ def to_hash: -> { amount: Integer, currency: String }
5195
+ end
5196
+
5197
+ type vision = { amount: Integer, currency: String }
5198
+
5199
+ class Vision < Increase::Internal::Type::BaseModel
5200
+ attr_accessor amount: Integer
5201
+
5202
+ attr_accessor currency: String
5203
+
5204
+ def initialize: (amount: Integer, currency: String) -> void
5205
+
5206
+ def to_hash: -> { amount: Integer, currency: String }
5207
+ end
5208
+ end
5209
+
4505
5210
  type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD
4506
5211
 
4507
5212
  module Currency