increase 1.117.0 → 1.119.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.
@@ -62,6 +62,7 @@ module Increase
62
62
  card_authorization: Increase::CardPayment::Element::CardAuthorization?,
63
63
  card_authorization_expiration: Increase::CardPayment::Element::CardAuthorizationExpiration?,
64
64
  card_decline: Increase::CardPayment::Element::CardDecline?,
65
+ card_financial: Increase::CardPayment::Element::CardFinancial?,
65
66
  card_fuel_confirmation: Increase::CardPayment::Element::CardFuelConfirmation?,
66
67
  card_increment: Increase::CardPayment::Element::CardIncrement?,
67
68
  card_refund: Increase::CardPayment::Element::CardRefund?,
@@ -82,6 +83,8 @@ module Increase
82
83
 
83
84
  attr_accessor card_decline: Increase::CardPayment::Element::CardDecline?
84
85
 
86
+ attr_accessor card_financial: Increase::CardPayment::Element::CardFinancial?
87
+
85
88
  attr_accessor card_fuel_confirmation: Increase::CardPayment::Element::CardFuelConfirmation?
86
89
 
87
90
  attr_accessor card_increment: Increase::CardPayment::Element::CardIncrement?
@@ -105,6 +108,7 @@ module Increase
105
108
  card_authorization: Increase::CardPayment::Element::CardAuthorization?,
106
109
  card_authorization_expiration: Increase::CardPayment::Element::CardAuthorizationExpiration?,
107
110
  card_decline: Increase::CardPayment::Element::CardDecline?,
111
+ card_financial: Increase::CardPayment::Element::CardFinancial?,
108
112
  card_fuel_confirmation: Increase::CardPayment::Element::CardFuelConfirmation?,
109
113
  card_increment: Increase::CardPayment::Element::CardIncrement?,
110
114
  card_refund: Increase::CardPayment::Element::CardRefund?,
@@ -121,6 +125,7 @@ module Increase
121
125
  card_authorization: Increase::CardPayment::Element::CardAuthorization?,
122
126
  card_authorization_expiration: Increase::CardPayment::Element::CardAuthorizationExpiration?,
123
127
  card_decline: Increase::CardPayment::Element::CardDecline?,
128
+ card_financial: Increase::CardPayment::Element::CardFinancial?,
124
129
  card_fuel_confirmation: Increase::CardPayment::Element::CardFuelConfirmation?,
125
130
  card_increment: Increase::CardPayment::Element::CardIncrement?,
126
131
  card_refund: Increase::CardPayment::Element::CardRefund?,
@@ -1332,8 +1337,915 @@ module Increase
1332
1337
  currency: Increase::Models::CardPayment::Element::CardDecline::currency,
1333
1338
  declined_transaction_id: String,
1334
1339
  digital_wallet_token_id: String?,
1335
- direction: Increase::Models::CardPayment::Element::CardDecline::direction,
1336
- incremented_card_authorization_id: String?,
1340
+ direction: Increase::Models::CardPayment::Element::CardDecline::direction,
1341
+ incremented_card_authorization_id: String?,
1342
+ merchant_acceptor_id: String,
1343
+ merchant_category_code: String,
1344
+ merchant_city: String?,
1345
+ merchant_country: String,
1346
+ merchant_descriptor: String,
1347
+ merchant_postal_code: String?,
1348
+ merchant_state: String?,
1349
+ network_details: Increase::CardPayment::Element::CardDecline::NetworkDetails,
1350
+ network_identifiers: Increase::CardPayment::Element::CardDecline::NetworkIdentifiers,
1351
+ network_risk_score: Integer?,
1352
+ physical_card_id: String?,
1353
+ presentment_amount: Integer,
1354
+ presentment_currency: String,
1355
+ processing_category: Increase::Models::CardPayment::Element::CardDecline::processing_category,
1356
+ real_time_decision_id: String?,
1357
+ real_time_decision_reason: Increase::Models::CardPayment::Element::CardDecline::real_time_decision_reason?,
1358
+ reason: Increase::Models::CardPayment::Element::CardDecline::reason,
1359
+ terminal_id: String?,
1360
+ verification: Increase::CardPayment::Element::CardDecline::Verification
1361
+ }
1362
+
1363
+ class CardDecline < Increase::Internal::Type::BaseModel
1364
+ attr_accessor id: String
1365
+
1366
+ attr_accessor actioner: Increase::Models::CardPayment::Element::CardDecline::actioner
1367
+
1368
+ attr_accessor additional_amounts: Increase::CardPayment::Element::CardDecline::AdditionalAmounts
1369
+
1370
+ attr_accessor amount: Integer
1371
+
1372
+ attr_accessor card_payment_id: String
1373
+
1374
+ attr_accessor currency: Increase::Models::CardPayment::Element::CardDecline::currency
1375
+
1376
+ attr_accessor declined_transaction_id: String
1377
+
1378
+ attr_accessor digital_wallet_token_id: String?
1379
+
1380
+ attr_accessor direction: Increase::Models::CardPayment::Element::CardDecline::direction
1381
+
1382
+ attr_accessor incremented_card_authorization_id: String?
1383
+
1384
+ attr_accessor merchant_acceptor_id: String
1385
+
1386
+ attr_accessor merchant_category_code: String
1387
+
1388
+ attr_accessor merchant_city: String?
1389
+
1390
+ attr_accessor merchant_country: String
1391
+
1392
+ attr_accessor merchant_descriptor: String
1393
+
1394
+ attr_accessor merchant_postal_code: String?
1395
+
1396
+ attr_accessor merchant_state: String?
1397
+
1398
+ attr_accessor network_details: Increase::CardPayment::Element::CardDecline::NetworkDetails
1399
+
1400
+ attr_accessor network_identifiers: Increase::CardPayment::Element::CardDecline::NetworkIdentifiers
1401
+
1402
+ attr_accessor network_risk_score: Integer?
1403
+
1404
+ attr_accessor physical_card_id: String?
1405
+
1406
+ attr_accessor presentment_amount: Integer
1407
+
1408
+ attr_accessor presentment_currency: String
1409
+
1410
+ attr_accessor processing_category: Increase::Models::CardPayment::Element::CardDecline::processing_category
1411
+
1412
+ attr_accessor real_time_decision_id: String?
1413
+
1414
+ attr_accessor real_time_decision_reason: Increase::Models::CardPayment::Element::CardDecline::real_time_decision_reason?
1415
+
1416
+ attr_accessor reason: Increase::Models::CardPayment::Element::CardDecline::reason
1417
+
1418
+ attr_accessor terminal_id: String?
1419
+
1420
+ attr_accessor verification: Increase::CardPayment::Element::CardDecline::Verification
1421
+
1422
+ def initialize: (
1423
+ id: String,
1424
+ actioner: Increase::Models::CardPayment::Element::CardDecline::actioner,
1425
+ additional_amounts: Increase::CardPayment::Element::CardDecline::AdditionalAmounts,
1426
+ amount: Integer,
1427
+ card_payment_id: String,
1428
+ currency: Increase::Models::CardPayment::Element::CardDecline::currency,
1429
+ declined_transaction_id: String,
1430
+ digital_wallet_token_id: String?,
1431
+ direction: Increase::Models::CardPayment::Element::CardDecline::direction,
1432
+ incremented_card_authorization_id: String?,
1433
+ merchant_acceptor_id: String,
1434
+ merchant_category_code: String,
1435
+ merchant_city: String?,
1436
+ merchant_country: String,
1437
+ merchant_descriptor: String,
1438
+ merchant_postal_code: String?,
1439
+ merchant_state: String?,
1440
+ network_details: Increase::CardPayment::Element::CardDecline::NetworkDetails,
1441
+ network_identifiers: Increase::CardPayment::Element::CardDecline::NetworkIdentifiers,
1442
+ network_risk_score: Integer?,
1443
+ physical_card_id: String?,
1444
+ presentment_amount: Integer,
1445
+ presentment_currency: String,
1446
+ processing_category: Increase::Models::CardPayment::Element::CardDecline::processing_category,
1447
+ real_time_decision_id: String?,
1448
+ real_time_decision_reason: Increase::Models::CardPayment::Element::CardDecline::real_time_decision_reason?,
1449
+ reason: Increase::Models::CardPayment::Element::CardDecline::reason,
1450
+ terminal_id: String?,
1451
+ verification: Increase::CardPayment::Element::CardDecline::Verification
1452
+ ) -> void
1453
+
1454
+ def to_hash: -> {
1455
+ id: String,
1456
+ actioner: Increase::Models::CardPayment::Element::CardDecline::actioner,
1457
+ additional_amounts: Increase::CardPayment::Element::CardDecline::AdditionalAmounts,
1458
+ amount: Integer,
1459
+ card_payment_id: String,
1460
+ currency: Increase::Models::CardPayment::Element::CardDecline::currency,
1461
+ declined_transaction_id: String,
1462
+ digital_wallet_token_id: String?,
1463
+ direction: Increase::Models::CardPayment::Element::CardDecline::direction,
1464
+ incremented_card_authorization_id: String?,
1465
+ merchant_acceptor_id: String,
1466
+ merchant_category_code: String,
1467
+ merchant_city: String?,
1468
+ merchant_country: String,
1469
+ merchant_descriptor: String,
1470
+ merchant_postal_code: String?,
1471
+ merchant_state: String?,
1472
+ network_details: Increase::CardPayment::Element::CardDecline::NetworkDetails,
1473
+ network_identifiers: Increase::CardPayment::Element::CardDecline::NetworkIdentifiers,
1474
+ network_risk_score: Integer?,
1475
+ physical_card_id: String?,
1476
+ presentment_amount: Integer,
1477
+ presentment_currency: String,
1478
+ processing_category: Increase::Models::CardPayment::Element::CardDecline::processing_category,
1479
+ real_time_decision_id: String?,
1480
+ real_time_decision_reason: Increase::Models::CardPayment::Element::CardDecline::real_time_decision_reason?,
1481
+ reason: Increase::Models::CardPayment::Element::CardDecline::reason,
1482
+ terminal_id: String?,
1483
+ verification: Increase::CardPayment::Element::CardDecline::Verification
1484
+ }
1485
+
1486
+ type actioner = :user | :increase | :network
1487
+
1488
+ module Actioner
1489
+ extend Increase::Internal::Type::Enum
1490
+
1491
+ # This object was actioned by the user through a real-time decision.
1492
+ USER: :user
1493
+
1494
+ # This object was actioned by Increase without user intervention.
1495
+ INCREASE: :increase
1496
+
1497
+ # This object was actioned by the network, through stand-in processing.
1498
+ NETWORK: :network
1499
+
1500
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::actioner]
1501
+ end
1502
+
1503
+ type additional_amounts =
1504
+ {
1505
+ clinic: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic?,
1506
+ dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?,
1507
+ original: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Original?,
1508
+ prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?,
1509
+ surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?,
1510
+ total_cumulative: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative?,
1511
+ total_healthcare: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare?,
1512
+ transit: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Transit?,
1513
+ unknown: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown?,
1514
+ vision: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Vision?
1515
+ }
1516
+
1517
+ class AdditionalAmounts < Increase::Internal::Type::BaseModel
1518
+ attr_accessor clinic: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic?
1519
+
1520
+ attr_accessor dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?
1521
+
1522
+ attr_accessor original: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Original?
1523
+
1524
+ attr_accessor prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?
1525
+
1526
+ attr_accessor surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?
1527
+
1528
+ attr_accessor total_cumulative: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative?
1529
+
1530
+ attr_accessor total_healthcare: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare?
1531
+
1532
+ attr_accessor transit: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Transit?
1533
+
1534
+ attr_accessor unknown: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown?
1535
+
1536
+ attr_accessor vision: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Vision?
1537
+
1538
+ def initialize: (
1539
+ clinic: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic?,
1540
+ dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?,
1541
+ original: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Original?,
1542
+ prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?,
1543
+ surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?,
1544
+ total_cumulative: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative?,
1545
+ total_healthcare: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare?,
1546
+ transit: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Transit?,
1547
+ unknown: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown?,
1548
+ vision: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Vision?
1549
+ ) -> void
1550
+
1551
+ def to_hash: -> {
1552
+ clinic: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic?,
1553
+ dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?,
1554
+ original: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Original?,
1555
+ prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?,
1556
+ surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?,
1557
+ total_cumulative: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative?,
1558
+ total_healthcare: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare?,
1559
+ transit: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Transit?,
1560
+ unknown: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown?,
1561
+ vision: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Vision?
1562
+ }
1563
+
1564
+ type clinic = { amount: Integer, currency: String }
1565
+
1566
+ class Clinic < 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 dental = { amount: Integer, currency: String }
1577
+
1578
+ class Dental < 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 original = { amount: Integer, currency: String }
1589
+
1590
+ class Original < 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 prescription = { amount: Integer, currency: String }
1601
+
1602
+ class Prescription < 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 surcharge = { amount: Integer, currency: String }
1613
+
1614
+ class Surcharge < 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
+
1624
+ type total_cumulative = { amount: Integer, currency: String }
1625
+
1626
+ class TotalCumulative < Increase::Internal::Type::BaseModel
1627
+ attr_accessor amount: Integer
1628
+
1629
+ attr_accessor currency: String
1630
+
1631
+ def initialize: (amount: Integer, currency: String) -> void
1632
+
1633
+ def to_hash: -> { amount: Integer, currency: String }
1634
+ end
1635
+
1636
+ type total_healthcare = { amount: Integer, currency: String }
1637
+
1638
+ class TotalHealthcare < Increase::Internal::Type::BaseModel
1639
+ attr_accessor amount: Integer
1640
+
1641
+ attr_accessor currency: String
1642
+
1643
+ def initialize: (amount: Integer, currency: String) -> void
1644
+
1645
+ def to_hash: -> { amount: Integer, currency: String }
1646
+ end
1647
+
1648
+ type transit = { amount: Integer, currency: String }
1649
+
1650
+ class Transit < Increase::Internal::Type::BaseModel
1651
+ attr_accessor amount: Integer
1652
+
1653
+ attr_accessor currency: String
1654
+
1655
+ def initialize: (amount: Integer, currency: String) -> void
1656
+
1657
+ def to_hash: -> { amount: Integer, currency: String }
1658
+ end
1659
+
1660
+ type unknown = { amount: Integer, currency: String }
1661
+
1662
+ class Unknown < Increase::Internal::Type::BaseModel
1663
+ attr_accessor amount: Integer
1664
+
1665
+ attr_accessor currency: String
1666
+
1667
+ def initialize: (amount: Integer, currency: String) -> void
1668
+
1669
+ def to_hash: -> { amount: Integer, currency: String }
1670
+ end
1671
+
1672
+ type vision = { amount: Integer, currency: String }
1673
+
1674
+ class Vision < Increase::Internal::Type::BaseModel
1675
+ attr_accessor amount: Integer
1676
+
1677
+ attr_accessor currency: String
1678
+
1679
+ def initialize: (amount: Integer, currency: String) -> void
1680
+
1681
+ def to_hash: -> { amount: Integer, currency: String }
1682
+ end
1683
+ end
1684
+
1685
+ type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD
1686
+
1687
+ module Currency
1688
+ extend Increase::Internal::Type::Enum
1689
+
1690
+ # Canadian Dollar (CAD)
1691
+ CAD: :CAD
1692
+
1693
+ # Swiss Franc (CHF)
1694
+ CHF: :CHF
1695
+
1696
+ # Euro (EUR)
1697
+ EUR: :EUR
1698
+
1699
+ # British Pound (GBP)
1700
+ GBP: :GBP
1701
+
1702
+ # Japanese Yen (JPY)
1703
+ JPY: :JPY
1704
+
1705
+ # US Dollar (USD)
1706
+ USD: :USD
1707
+
1708
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::currency]
1709
+ end
1710
+
1711
+ type direction = :settlement | :refund
1712
+
1713
+ module Direction
1714
+ extend Increase::Internal::Type::Enum
1715
+
1716
+ # A regular card authorization where funds are debited from the cardholder.
1717
+ SETTLEMENT: :settlement
1718
+
1719
+ # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
1720
+ REFUND: :refund
1721
+
1722
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::direction]
1723
+ end
1724
+
1725
+ type network_details =
1726
+ {
1727
+ category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category,
1728
+ pulse: top?,
1729
+ visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa?
1730
+ }
1731
+
1732
+ class NetworkDetails < Increase::Internal::Type::BaseModel
1733
+ attr_accessor category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category
1734
+
1735
+ attr_accessor pulse: top?
1736
+
1737
+ attr_accessor visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa?
1738
+
1739
+ def initialize: (
1740
+ category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category,
1741
+ pulse: top?,
1742
+ visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa?
1743
+ ) -> void
1744
+
1745
+ def to_hash: -> {
1746
+ category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category,
1747
+ pulse: top?,
1748
+ visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa?
1749
+ }
1750
+
1751
+ type category = :visa | :pulse
1752
+
1753
+ module Category
1754
+ extend Increase::Internal::Type::Enum
1755
+
1756
+ # Visa
1757
+ VISA: :visa
1758
+
1759
+ # Pulse
1760
+ PULSE: :pulse
1761
+
1762
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category]
1763
+ end
1764
+
1765
+ type visa =
1766
+ {
1767
+ electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?,
1768
+ point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?,
1769
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason?
1770
+ }
1771
+
1772
+ class Visa < Increase::Internal::Type::BaseModel
1773
+ attr_accessor electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?
1774
+
1775
+ attr_accessor point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?
1776
+
1777
+ attr_accessor stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason?
1778
+
1779
+ def initialize: (
1780
+ electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?,
1781
+ point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?,
1782
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason?
1783
+ ) -> void
1784
+
1785
+ def to_hash: -> {
1786
+ electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?,
1787
+ point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?,
1788
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason?
1789
+ }
1790
+
1791
+ type electronic_commerce_indicator =
1792
+ :mail_phone_order
1793
+ | :recurring
1794
+ | :installment
1795
+ | :unknown_mail_phone_order
1796
+ | :secure_electronic_commerce
1797
+ | :non_authenticated_security_transaction_at_3ds_capable_merchant
1798
+ | :non_authenticated_security_transaction
1799
+ | :non_secure_transaction
1800
+
1801
+ module ElectronicCommerceIndicator
1802
+ extend Increase::Internal::Type::Enum
1803
+
1804
+ # Single transaction of a mail/phone order: Use to indicate that the transaction is a mail/phone order purchase, not a recurring transaction or installment payment. For domestic transactions in the US region, this value may also indicate one bill payment transaction in the card-present or card-absent environments.
1805
+ MAIL_PHONE_ORDER: :mail_phone_order
1806
+
1807
+ # Recurring transaction: Payment indicator used to indicate a recurring transaction that originates from an acquirer in the US region.
1808
+ RECURRING: :recurring
1809
+
1810
+ # Installment payment: Payment indicator used to indicate one purchase of goods or services that is billed to the account in multiple charges over a period of time agreed upon by the cardholder and merchant from transactions that originate from an acquirer in the US region.
1811
+ INSTALLMENT: :installment
1812
+
1813
+ # Unknown classification: other mail order: Use to indicate that the type of mail/telephone order is unknown.
1814
+ UNKNOWN_MAIL_PHONE_ORDER: :unknown_mail_phone_order
1815
+
1816
+ # Secure electronic commerce transaction: Use to indicate that the electronic commerce transaction has been authenticated using e.g., 3-D Secure
1817
+ SECURE_ELECTRONIC_COMMERCE: :secure_electronic_commerce
1818
+
1819
+ # Non-authenticated security transaction at a 3-D Secure-capable merchant, and merchant attempted to authenticate the cardholder using 3-D Secure: Use to identify an electronic commerce transaction where the merchant attempted to authenticate the cardholder using 3-D Secure, but was unable to complete the authentication because the issuer or cardholder does not participate in the 3-D Secure program.
1820
+ NON_AUTHENTICATED_SECURITY_TRANSACTION_AT_3DS_CAPABLE_MERCHANT: :non_authenticated_security_transaction_at_3ds_capable_merchant
1821
+
1822
+ # Non-authenticated security transaction: Use to identify an electronic commerce transaction that uses data encryption for security however, cardholder authentication is not performed using 3-D Secure.
1823
+ NON_AUTHENTICATED_SECURITY_TRANSACTION: :non_authenticated_security_transaction
1824
+
1825
+ # Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection.
1826
+ NON_SECURE_TRANSACTION: :non_secure_transaction
1827
+
1828
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator]
1829
+ end
1830
+
1831
+ type point_of_service_entry_mode =
1832
+ :unknown
1833
+ | :manual
1834
+ | :magnetic_stripe_no_cvv
1835
+ | :optical_code
1836
+ | :integrated_circuit_card
1837
+ | :contactless
1838
+ | :credential_on_file
1839
+ | :magnetic_stripe
1840
+ | :contactless_magnetic_stripe
1841
+ | :integrated_circuit_card_no_cvv
1842
+
1843
+ module PointOfServiceEntryMode
1844
+ extend Increase::Internal::Type::Enum
1845
+
1846
+ # Unknown
1847
+ UNKNOWN: :unknown
1848
+
1849
+ # Manual key entry
1850
+ MANUAL: :manual
1851
+
1852
+ # Magnetic stripe read, without card verification value
1853
+ MAGNETIC_STRIPE_NO_CVV: :magnetic_stripe_no_cvv
1854
+
1855
+ # Optical code
1856
+ OPTICAL_CODE: :optical_code
1857
+
1858
+ # Contact chip card
1859
+ INTEGRATED_CIRCUIT_CARD: :integrated_circuit_card
1860
+
1861
+ # Contactless read of chip card
1862
+ CONTACTLESS: :contactless
1863
+
1864
+ # Transaction initiated using a credential that has previously been stored on file
1865
+ CREDENTIAL_ON_FILE: :credential_on_file
1866
+
1867
+ # Magnetic stripe read
1868
+ MAGNETIC_STRIPE: :magnetic_stripe
1869
+
1870
+ # Contactless read of magnetic stripe data
1871
+ CONTACTLESS_MAGNETIC_STRIPE: :contactless_magnetic_stripe
1872
+
1873
+ # Contact chip card, without card verification value
1874
+ INTEGRATED_CIRCUIT_CARD_NO_CVV: :integrated_circuit_card_no_cvv
1875
+
1876
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode]
1877
+ end
1878
+
1879
+ type stand_in_processing_reason =
1880
+ :issuer_error
1881
+ | :invalid_physical_card
1882
+ | :invalid_cardholder_authentication_verification_value
1883
+ | :internal_visa_error
1884
+ | :merchant_transaction_advisory_service_authentication_required
1885
+ | :payment_fraud_disruption_acquirer_block
1886
+ | :other
1887
+
1888
+ module StandInProcessingReason
1889
+ extend Increase::Internal::Type::Enum
1890
+
1891
+ # Increase failed to process the authorization in a timely manner.
1892
+ ISSUER_ERROR: :issuer_error
1893
+
1894
+ # The physical card read had an invalid CVV, dCVV, or authorization request cryptogram.
1895
+ INVALID_PHYSICAL_CARD: :invalid_physical_card
1896
+
1897
+ # The 3DS cardholder authentication verification value was invalid.
1898
+ INVALID_CARDHOLDER_AUTHENTICATION_VERIFICATION_VALUE: :invalid_cardholder_authentication_verification_value
1899
+
1900
+ # An internal Visa error occurred. Visa uses this reason code for certain expected occurrences as well, such as Application Transaction Counter (ATC) replays.
1901
+ INTERNAL_VISA_ERROR: :internal_visa_error
1902
+
1903
+ # The merchant has enabled Visa's Transaction Advisory Service and requires further authentication to perform the transaction. In practice this is often utilized at fuel pumps to tell the cardholder to see the cashier.
1904
+ MERCHANT_TRANSACTION_ADVISORY_SERVICE_AUTHENTICATION_REQUIRED: :merchant_transaction_advisory_service_authentication_required
1905
+
1906
+ # The transaction was blocked by Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior, such as card testing.
1907
+ PAYMENT_FRAUD_DISRUPTION_ACQUIRER_BLOCK: :payment_fraud_disruption_acquirer_block
1908
+
1909
+ # An unspecific reason for stand-in processing.
1910
+ OTHER: :other
1911
+
1912
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason]
1913
+ end
1914
+ end
1915
+ end
1916
+
1917
+ type network_identifiers =
1918
+ {
1919
+ authorization_identification_response: String?,
1920
+ retrieval_reference_number: String?,
1921
+ trace_number: String?,
1922
+ transaction_id: String?
1923
+ }
1924
+
1925
+ class NetworkIdentifiers < Increase::Internal::Type::BaseModel
1926
+ attr_accessor authorization_identification_response: String?
1927
+
1928
+ attr_accessor retrieval_reference_number: String?
1929
+
1930
+ attr_accessor trace_number: String?
1931
+
1932
+ attr_accessor transaction_id: String?
1933
+
1934
+ def initialize: (
1935
+ authorization_identification_response: String?,
1936
+ retrieval_reference_number: String?,
1937
+ trace_number: String?,
1938
+ transaction_id: String?
1939
+ ) -> void
1940
+
1941
+ def to_hash: -> {
1942
+ authorization_identification_response: String?,
1943
+ retrieval_reference_number: String?,
1944
+ trace_number: String?,
1945
+ transaction_id: String?
1946
+ }
1947
+ end
1948
+
1949
+ type processing_category =
1950
+ :account_funding
1951
+ | :automatic_fuel_dispenser
1952
+ | :bill_payment
1953
+ | :original_credit
1954
+ | :purchase
1955
+ | :quasi_cash
1956
+ | :refund
1957
+ | :cash_disbursement
1958
+ | :unknown
1959
+
1960
+ module ProcessingCategory
1961
+ extend Increase::Internal::Type::Enum
1962
+
1963
+ # Account funding transactions are transactions used to e.g., fund an account or transfer funds between accounts.
1964
+ ACCOUNT_FUNDING: :account_funding
1965
+
1966
+ # Automatic fuel dispenser authorizations occur when a card is used at a gas pump, prior to the actual transaction amount being known. They are followed by an advice message that updates the amount of the pending transaction.
1967
+ AUTOMATIC_FUEL_DISPENSER: :automatic_fuel_dispenser
1968
+
1969
+ # A transaction used to pay a bill.
1970
+ BILL_PAYMENT: :bill_payment
1971
+
1972
+ # Original credit transactions are used to send money to a cardholder.
1973
+ ORIGINAL_CREDIT: :original_credit
1974
+
1975
+ # A regular purchase.
1976
+ PURCHASE: :purchase
1977
+
1978
+ # Quasi-cash transactions represent purchases of items which may be convertible to cash.
1979
+ QUASI_CASH: :quasi_cash
1980
+
1981
+ # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
1982
+ REFUND: :refund
1983
+
1984
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1985
+ CASH_DISBURSEMENT: :cash_disbursement
1986
+
1987
+ # The processing category is unknown.
1988
+ UNKNOWN: :unknown
1989
+
1990
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::processing_category]
1991
+ end
1992
+
1993
+ type real_time_decision_reason =
1994
+ :insufficient_funds
1995
+ | :transaction_never_allowed
1996
+ | :exceeds_approval_limit
1997
+ | :card_temporarily_disabled
1998
+ | :suspected_fraud
1999
+ | :other
2000
+
2001
+ module RealTimeDecisionReason
2002
+ extend Increase::Internal::Type::Enum
2003
+
2004
+ # The cardholder does not have sufficient funds to cover the transaction. The merchant may attempt to process the transaction again.
2005
+ INSUFFICIENT_FUNDS: :insufficient_funds
2006
+
2007
+ # This type of transaction is not allowed for this card. This transaction should not be retried.
2008
+ TRANSACTION_NEVER_ALLOWED: :transaction_never_allowed
2009
+
2010
+ # The transaction amount exceeds the cardholder's approval limit. The merchant may attempt to process the transaction again.
2011
+ EXCEEDS_APPROVAL_LIMIT: :exceeds_approval_limit
2012
+
2013
+ # The card has been temporarily disabled or not yet activated. The merchant may attempt to process the transaction again.
2014
+ CARD_TEMPORARILY_DISABLED: :card_temporarily_disabled
2015
+
2016
+ # The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
2017
+ SUSPECTED_FRAUD: :suspected_fraud
2018
+
2019
+ # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
2020
+ OTHER: :other
2021
+
2022
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::real_time_decision_reason]
2023
+ end
2024
+
2025
+ type reason =
2026
+ :account_closed
2027
+ | :card_not_active
2028
+ | :card_canceled
2029
+ | :physical_card_not_active
2030
+ | :entity_not_active
2031
+ | :group_locked
2032
+ | :insufficient_funds
2033
+ | :cvv2_mismatch
2034
+ | :pin_mismatch
2035
+ | :card_expiration_mismatch
2036
+ | :transaction_not_allowed
2037
+ | :breaches_limit
2038
+ | :webhook_declined
2039
+ | :webhook_timed_out
2040
+ | :declined_by_stand_in_processing
2041
+ | :invalid_physical_card
2042
+ | :missing_original_authorization
2043
+ | :failed_3ds_authentication
2044
+ | :suspected_card_testing
2045
+ | :suspected_fraud
2046
+
2047
+ module Reason
2048
+ extend Increase::Internal::Type::Enum
2049
+
2050
+ # The account has been closed.
2051
+ ACCOUNT_CLOSED: :account_closed
2052
+
2053
+ # The Card was not active.
2054
+ CARD_NOT_ACTIVE: :card_not_active
2055
+
2056
+ # The Card has been canceled.
2057
+ CARD_CANCELED: :card_canceled
2058
+
2059
+ # The Physical Card was not active.
2060
+ PHYSICAL_CARD_NOT_ACTIVE: :physical_card_not_active
2061
+
2062
+ # The account's entity was not active.
2063
+ ENTITY_NOT_ACTIVE: :entity_not_active
2064
+
2065
+ # The account was inactive.
2066
+ GROUP_LOCKED: :group_locked
2067
+
2068
+ # The Card's Account did not have a sufficient available balance.
2069
+ INSUFFICIENT_FUNDS: :insufficient_funds
2070
+
2071
+ # The given CVV2 did not match the card's value.
2072
+ CVV2_MISMATCH: :cvv2_mismatch
2073
+
2074
+ # The given PIN did not match the card's value.
2075
+ PIN_MISMATCH: :pin_mismatch
2076
+
2077
+ # The given expiration date did not match the card's value. Only applies when a CVV2 is present.
2078
+ CARD_EXPIRATION_MISMATCH: :card_expiration_mismatch
2079
+
2080
+ # The attempted card transaction is not allowed per Increase's terms.
2081
+ TRANSACTION_NOT_ALLOWED: :transaction_not_allowed
2082
+
2083
+ # The transaction was blocked by a Limit.
2084
+ BREACHES_LIMIT: :breaches_limit
2085
+
2086
+ # Your application declined the transaction via webhook.
2087
+ WEBHOOK_DECLINED: :webhook_declined
2088
+
2089
+ # Your application webhook did not respond without the required timeout.
2090
+ WEBHOOK_TIMED_OUT: :webhook_timed_out
2091
+
2092
+ # Declined by stand-in processing.
2093
+ DECLINED_BY_STAND_IN_PROCESSING: :declined_by_stand_in_processing
2094
+
2095
+ # The card read had an invalid CVV, dCVV, or authorization request cryptogram.
2096
+ INVALID_PHYSICAL_CARD: :invalid_physical_card
2097
+
2098
+ # The original card authorization for this incremental authorization does not exist.
2099
+ MISSING_ORIGINAL_AUTHORIZATION: :missing_original_authorization
2100
+
2101
+ # The transaction was declined because the 3DS authentication failed.
2102
+ FAILED_3DS_AUTHENTICATION: :failed_3ds_authentication
2103
+
2104
+ # The transaction was suspected to be used by a card tester to test for valid card numbers.
2105
+ SUSPECTED_CARD_TESTING: :suspected_card_testing
2106
+
2107
+ # The transaction was suspected to be fraudulent. Please reach out to support@increase.com for more information.
2108
+ SUSPECTED_FRAUD: :suspected_fraud
2109
+
2110
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::reason]
2111
+ end
2112
+
2113
+ type verification =
2114
+ {
2115
+ card_verification_code: Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode,
2116
+ cardholder_address: Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress
2117
+ }
2118
+
2119
+ class Verification < Increase::Internal::Type::BaseModel
2120
+ attr_accessor card_verification_code: Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode
2121
+
2122
+ attr_accessor cardholder_address: Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress
2123
+
2124
+ def initialize: (
2125
+ card_verification_code: Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode,
2126
+ cardholder_address: Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress
2127
+ ) -> void
2128
+
2129
+ def to_hash: -> {
2130
+ card_verification_code: Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode,
2131
+ cardholder_address: Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress
2132
+ }
2133
+
2134
+ type card_verification_code =
2135
+ {
2136
+ result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result
2137
+ }
2138
+
2139
+ class CardVerificationCode < Increase::Internal::Type::BaseModel
2140
+ attr_accessor result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result
2141
+
2142
+ def initialize: (
2143
+ result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result
2144
+ ) -> void
2145
+
2146
+ def to_hash: -> {
2147
+ result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result
2148
+ }
2149
+
2150
+ type result = :not_checked | :match | :no_match
2151
+
2152
+ module Result
2153
+ extend Increase::Internal::Type::Enum
2154
+
2155
+ # No card verification code was provided in the authorization request.
2156
+ NOT_CHECKED: :not_checked
2157
+
2158
+ # The card verification code matched the one on file.
2159
+ MATCH: :match
2160
+
2161
+ # The card verification code did not match the one on file.
2162
+ NO_MATCH: :no_match
2163
+
2164
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result]
2165
+ end
2166
+ end
2167
+
2168
+ type cardholder_address =
2169
+ {
2170
+ :actual_line1 => String?,
2171
+ actual_postal_code: String?,
2172
+ :provided_line1 => String?,
2173
+ provided_postal_code: String?,
2174
+ result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result
2175
+ }
2176
+
2177
+ class CardholderAddress < Increase::Internal::Type::BaseModel
2178
+ attr_accessor actual_line1: String?
2179
+
2180
+ attr_accessor actual_postal_code: String?
2181
+
2182
+ attr_accessor provided_line1: String?
2183
+
2184
+ attr_accessor provided_postal_code: String?
2185
+
2186
+ attr_accessor result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result
2187
+
2188
+ def initialize: (
2189
+ actual_line1: String?,
2190
+ actual_postal_code: String?,
2191
+ provided_line1: String?,
2192
+ provided_postal_code: String?,
2193
+ result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result
2194
+ ) -> void
2195
+
2196
+ def to_hash: -> {
2197
+ :actual_line1 => String?,
2198
+ actual_postal_code: String?,
2199
+ :provided_line1 => String?,
2200
+ provided_postal_code: String?,
2201
+ result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result
2202
+ }
2203
+
2204
+ type result =
2205
+ :not_checked
2206
+ | :postal_code_match_address_no_match
2207
+ | :postal_code_no_match_address_match
2208
+ | :match
2209
+ | :no_match
2210
+ | :postal_code_match_address_not_checked
2211
+
2212
+ module Result
2213
+ extend Increase::Internal::Type::Enum
2214
+
2215
+ # No address information was provided in the authorization request.
2216
+ NOT_CHECKED: :not_checked
2217
+
2218
+ # Postal code matches, but the street address does not match or was not provided.
2219
+ POSTAL_CODE_MATCH_ADDRESS_NO_MATCH: :postal_code_match_address_no_match
2220
+
2221
+ # Postal code does not match, but the street address matches or was not provided.
2222
+ POSTAL_CODE_NO_MATCH_ADDRESS_MATCH: :postal_code_no_match_address_match
2223
+
2224
+ # Postal code and street address match.
2225
+ MATCH: :match
2226
+
2227
+ # Postal code and street address do not match.
2228
+ NO_MATCH: :no_match
2229
+
2230
+ # Postal code matches, but the street address was not verified. (deprecated)
2231
+ POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
2232
+
2233
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result]
2234
+ end
2235
+ end
2236
+ end
2237
+ end
2238
+
2239
+ type card_financial =
2240
+ {
2241
+ id: String,
2242
+ actioner: Increase::Models::CardPayment::Element::CardFinancial::actioner,
2243
+ additional_amounts: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts,
2244
+ amount: Integer,
2245
+ card_payment_id: String,
2246
+ currency: Increase::Models::CardPayment::Element::CardFinancial::currency,
2247
+ digital_wallet_token_id: String?,
2248
+ direction: Increase::Models::CardPayment::Element::CardFinancial::direction,
1337
2249
  merchant_acceptor_id: String,
1338
2250
  merchant_category_code: String,
1339
2251
  merchant_city: String?,
@@ -1341,40 +2253,36 @@ module Increase
1341
2253
  merchant_descriptor: String,
1342
2254
  merchant_postal_code: String?,
1343
2255
  merchant_state: String?,
1344
- network_details: Increase::CardPayment::Element::CardDecline::NetworkDetails,
1345
- network_identifiers: Increase::CardPayment::Element::CardDecline::NetworkIdentifiers,
2256
+ network_details: Increase::CardPayment::Element::CardFinancial::NetworkDetails,
2257
+ network_identifiers: Increase::CardPayment::Element::CardFinancial::NetworkIdentifiers,
1346
2258
  network_risk_score: Integer?,
1347
2259
  physical_card_id: String?,
1348
2260
  presentment_amount: Integer,
1349
2261
  presentment_currency: String,
1350
- processing_category: Increase::Models::CardPayment::Element::CardDecline::processing_category,
2262
+ processing_category: Increase::Models::CardPayment::Element::CardFinancial::processing_category,
1351
2263
  real_time_decision_id: String?,
1352
- real_time_decision_reason: Increase::Models::CardPayment::Element::CardDecline::real_time_decision_reason?,
1353
- reason: Increase::Models::CardPayment::Element::CardDecline::reason,
1354
2264
  terminal_id: String?,
1355
- verification: Increase::CardPayment::Element::CardDecline::Verification
2265
+ transaction_id: String,
2266
+ type: Increase::Models::CardPayment::Element::CardFinancial::type_,
2267
+ verification: Increase::CardPayment::Element::CardFinancial::Verification
1356
2268
  }
1357
2269
 
1358
- class CardDecline < Increase::Internal::Type::BaseModel
2270
+ class CardFinancial < Increase::Internal::Type::BaseModel
1359
2271
  attr_accessor id: String
1360
2272
 
1361
- attr_accessor actioner: Increase::Models::CardPayment::Element::CardDecline::actioner
2273
+ attr_accessor actioner: Increase::Models::CardPayment::Element::CardFinancial::actioner
1362
2274
 
1363
- attr_accessor additional_amounts: Increase::CardPayment::Element::CardDecline::AdditionalAmounts
2275
+ attr_accessor additional_amounts: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts
1364
2276
 
1365
2277
  attr_accessor amount: Integer
1366
2278
 
1367
2279
  attr_accessor card_payment_id: String
1368
2280
 
1369
- attr_accessor currency: Increase::Models::CardPayment::Element::CardDecline::currency
1370
-
1371
- attr_accessor declined_transaction_id: String
2281
+ attr_accessor currency: Increase::Models::CardPayment::Element::CardFinancial::currency
1372
2282
 
1373
2283
  attr_accessor digital_wallet_token_id: String?
1374
2284
 
1375
- attr_accessor direction: Increase::Models::CardPayment::Element::CardDecline::direction
1376
-
1377
- attr_accessor incremented_card_authorization_id: String?
2285
+ attr_accessor direction: Increase::Models::CardPayment::Element::CardFinancial::direction
1378
2286
 
1379
2287
  attr_accessor merchant_acceptor_id: String
1380
2288
 
@@ -1390,9 +2298,9 @@ module Increase
1390
2298
 
1391
2299
  attr_accessor merchant_state: String?
1392
2300
 
1393
- attr_accessor network_details: Increase::CardPayment::Element::CardDecline::NetworkDetails
2301
+ attr_accessor network_details: Increase::CardPayment::Element::CardFinancial::NetworkDetails
1394
2302
 
1395
- attr_accessor network_identifiers: Increase::CardPayment::Element::CardDecline::NetworkIdentifiers
2303
+ attr_accessor network_identifiers: Increase::CardPayment::Element::CardFinancial::NetworkIdentifiers
1396
2304
 
1397
2305
  attr_accessor network_risk_score: Integer?
1398
2306
 
@@ -1402,29 +2310,27 @@ module Increase
1402
2310
 
1403
2311
  attr_accessor presentment_currency: String
1404
2312
 
1405
- attr_accessor processing_category: Increase::Models::CardPayment::Element::CardDecline::processing_category
2313
+ attr_accessor processing_category: Increase::Models::CardPayment::Element::CardFinancial::processing_category
1406
2314
 
1407
2315
  attr_accessor real_time_decision_id: String?
1408
2316
 
1409
- attr_accessor real_time_decision_reason: Increase::Models::CardPayment::Element::CardDecline::real_time_decision_reason?
2317
+ attr_accessor terminal_id: String?
1410
2318
 
1411
- attr_accessor reason: Increase::Models::CardPayment::Element::CardDecline::reason
2319
+ attr_accessor transaction_id: String
1412
2320
 
1413
- attr_accessor terminal_id: String?
2321
+ attr_accessor type: Increase::Models::CardPayment::Element::CardFinancial::type_
1414
2322
 
1415
- attr_accessor verification: Increase::CardPayment::Element::CardDecline::Verification
2323
+ attr_accessor verification: Increase::CardPayment::Element::CardFinancial::Verification
1416
2324
 
1417
2325
  def initialize: (
1418
2326
  id: String,
1419
- actioner: Increase::Models::CardPayment::Element::CardDecline::actioner,
1420
- additional_amounts: Increase::CardPayment::Element::CardDecline::AdditionalAmounts,
2327
+ actioner: Increase::Models::CardPayment::Element::CardFinancial::actioner,
2328
+ additional_amounts: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts,
1421
2329
  amount: Integer,
1422
2330
  card_payment_id: String,
1423
- currency: Increase::Models::CardPayment::Element::CardDecline::currency,
1424
- declined_transaction_id: String,
2331
+ currency: Increase::Models::CardPayment::Element::CardFinancial::currency,
1425
2332
  digital_wallet_token_id: String?,
1426
- direction: Increase::Models::CardPayment::Element::CardDecline::direction,
1427
- incremented_card_authorization_id: String?,
2333
+ direction: Increase::Models::CardPayment::Element::CardFinancial::direction,
1428
2334
  merchant_acceptor_id: String,
1429
2335
  merchant_category_code: String,
1430
2336
  merchant_city: String?,
@@ -1432,31 +2338,29 @@ module Increase
1432
2338
  merchant_descriptor: String,
1433
2339
  merchant_postal_code: String?,
1434
2340
  merchant_state: String?,
1435
- network_details: Increase::CardPayment::Element::CardDecline::NetworkDetails,
1436
- network_identifiers: Increase::CardPayment::Element::CardDecline::NetworkIdentifiers,
2341
+ network_details: Increase::CardPayment::Element::CardFinancial::NetworkDetails,
2342
+ network_identifiers: Increase::CardPayment::Element::CardFinancial::NetworkIdentifiers,
1437
2343
  network_risk_score: Integer?,
1438
2344
  physical_card_id: String?,
1439
2345
  presentment_amount: Integer,
1440
2346
  presentment_currency: String,
1441
- processing_category: Increase::Models::CardPayment::Element::CardDecline::processing_category,
2347
+ processing_category: Increase::Models::CardPayment::Element::CardFinancial::processing_category,
1442
2348
  real_time_decision_id: String?,
1443
- real_time_decision_reason: Increase::Models::CardPayment::Element::CardDecline::real_time_decision_reason?,
1444
- reason: Increase::Models::CardPayment::Element::CardDecline::reason,
1445
2349
  terminal_id: String?,
1446
- verification: Increase::CardPayment::Element::CardDecline::Verification
2350
+ transaction_id: String,
2351
+ type: Increase::Models::CardPayment::Element::CardFinancial::type_,
2352
+ verification: Increase::CardPayment::Element::CardFinancial::Verification
1447
2353
  ) -> void
1448
2354
 
1449
2355
  def to_hash: -> {
1450
2356
  id: String,
1451
- actioner: Increase::Models::CardPayment::Element::CardDecline::actioner,
1452
- additional_amounts: Increase::CardPayment::Element::CardDecline::AdditionalAmounts,
2357
+ actioner: Increase::Models::CardPayment::Element::CardFinancial::actioner,
2358
+ additional_amounts: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts,
1453
2359
  amount: Integer,
1454
2360
  card_payment_id: String,
1455
- currency: Increase::Models::CardPayment::Element::CardDecline::currency,
1456
- declined_transaction_id: String,
2361
+ currency: Increase::Models::CardPayment::Element::CardFinancial::currency,
1457
2362
  digital_wallet_token_id: String?,
1458
- direction: Increase::Models::CardPayment::Element::CardDecline::direction,
1459
- incremented_card_authorization_id: String?,
2363
+ direction: Increase::Models::CardPayment::Element::CardFinancial::direction,
1460
2364
  merchant_acceptor_id: String,
1461
2365
  merchant_category_code: String,
1462
2366
  merchant_city: String?,
@@ -1464,18 +2368,18 @@ module Increase
1464
2368
  merchant_descriptor: String,
1465
2369
  merchant_postal_code: String?,
1466
2370
  merchant_state: String?,
1467
- network_details: Increase::CardPayment::Element::CardDecline::NetworkDetails,
1468
- network_identifiers: Increase::CardPayment::Element::CardDecline::NetworkIdentifiers,
2371
+ network_details: Increase::CardPayment::Element::CardFinancial::NetworkDetails,
2372
+ network_identifiers: Increase::CardPayment::Element::CardFinancial::NetworkIdentifiers,
1469
2373
  network_risk_score: Integer?,
1470
2374
  physical_card_id: String?,
1471
2375
  presentment_amount: Integer,
1472
2376
  presentment_currency: String,
1473
- processing_category: Increase::Models::CardPayment::Element::CardDecline::processing_category,
2377
+ processing_category: Increase::Models::CardPayment::Element::CardFinancial::processing_category,
1474
2378
  real_time_decision_id: String?,
1475
- real_time_decision_reason: Increase::Models::CardPayment::Element::CardDecline::real_time_decision_reason?,
1476
- reason: Increase::Models::CardPayment::Element::CardDecline::reason,
1477
2379
  terminal_id: String?,
1478
- verification: Increase::CardPayment::Element::CardDecline::Verification
2380
+ transaction_id: String,
2381
+ type: Increase::Models::CardPayment::Element::CardFinancial::type_,
2382
+ verification: Increase::CardPayment::Element::CardFinancial::Verification
1479
2383
  }
1480
2384
 
1481
2385
  type actioner = :user | :increase | :network
@@ -1492,68 +2396,68 @@ module Increase
1492
2396
  # This object was actioned by the network, through stand-in processing.
1493
2397
  NETWORK: :network
1494
2398
 
1495
- def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::actioner]
2399
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFinancial::actioner]
1496
2400
  end
1497
2401
 
1498
2402
  type additional_amounts =
1499
2403
  {
1500
- clinic: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic?,
1501
- dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?,
1502
- original: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Original?,
1503
- prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?,
1504
- surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?,
1505
- total_cumulative: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative?,
1506
- total_healthcare: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare?,
1507
- transit: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Transit?,
1508
- unknown: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown?,
1509
- vision: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Vision?
2404
+ clinic: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Clinic?,
2405
+ dental: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Dental?,
2406
+ original: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Original?,
2407
+ prescription: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Prescription?,
2408
+ surcharge: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Surcharge?,
2409
+ total_cumulative: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalCumulative?,
2410
+ total_healthcare: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalHealthcare?,
2411
+ transit: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Transit?,
2412
+ unknown: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Unknown?,
2413
+ vision: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Vision?
1510
2414
  }
1511
2415
 
1512
2416
  class AdditionalAmounts < Increase::Internal::Type::BaseModel
1513
- attr_accessor clinic: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic?
2417
+ attr_accessor clinic: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Clinic?
1514
2418
 
1515
- attr_accessor dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?
2419
+ attr_accessor dental: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Dental?
1516
2420
 
1517
- attr_accessor original: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Original?
2421
+ attr_accessor original: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Original?
1518
2422
 
1519
- attr_accessor prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?
2423
+ attr_accessor prescription: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Prescription?
1520
2424
 
1521
- attr_accessor surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?
2425
+ attr_accessor surcharge: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Surcharge?
1522
2426
 
1523
- attr_accessor total_cumulative: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative?
2427
+ attr_accessor total_cumulative: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalCumulative?
1524
2428
 
1525
- attr_accessor total_healthcare: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare?
2429
+ attr_accessor total_healthcare: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalHealthcare?
1526
2430
 
1527
- attr_accessor transit: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Transit?
2431
+ attr_accessor transit: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Transit?
1528
2432
 
1529
- attr_accessor unknown: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown?
2433
+ attr_accessor unknown: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Unknown?
1530
2434
 
1531
- attr_accessor vision: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Vision?
2435
+ attr_accessor vision: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Vision?
1532
2436
 
1533
2437
  def initialize: (
1534
- clinic: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic?,
1535
- dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?,
1536
- original: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Original?,
1537
- prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?,
1538
- surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?,
1539
- total_cumulative: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative?,
1540
- total_healthcare: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare?,
1541
- transit: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Transit?,
1542
- unknown: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown?,
1543
- vision: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Vision?
2438
+ clinic: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Clinic?,
2439
+ dental: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Dental?,
2440
+ original: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Original?,
2441
+ prescription: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Prescription?,
2442
+ surcharge: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Surcharge?,
2443
+ total_cumulative: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalCumulative?,
2444
+ total_healthcare: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalHealthcare?,
2445
+ transit: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Transit?,
2446
+ unknown: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Unknown?,
2447
+ vision: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Vision?
1544
2448
  ) -> void
1545
2449
 
1546
2450
  def to_hash: -> {
1547
- clinic: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Clinic?,
1548
- dental: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Dental?,
1549
- original: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Original?,
1550
- prescription: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Prescription?,
1551
- surcharge: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Surcharge?,
1552
- total_cumulative: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalCumulative?,
1553
- total_healthcare: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::TotalHealthcare?,
1554
- transit: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Transit?,
1555
- unknown: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Unknown?,
1556
- vision: Increase::CardPayment::Element::CardDecline::AdditionalAmounts::Vision?
2451
+ clinic: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Clinic?,
2452
+ dental: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Dental?,
2453
+ original: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Original?,
2454
+ prescription: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Prescription?,
2455
+ surcharge: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Surcharge?,
2456
+ total_cumulative: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalCumulative?,
2457
+ total_healthcare: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::TotalHealthcare?,
2458
+ transit: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Transit?,
2459
+ unknown: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Unknown?,
2460
+ vision: Increase::CardPayment::Element::CardFinancial::AdditionalAmounts::Vision?
1557
2461
  }
1558
2462
 
1559
2463
  type clinic = { amount: Integer, currency: String }
@@ -1700,7 +2604,7 @@ module Increase
1700
2604
  # US Dollar (USD)
1701
2605
  USD: :USD
1702
2606
 
1703
- def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::currency]
2607
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFinancial::currency]
1704
2608
  end
1705
2609
 
1706
2610
  type direction = :settlement | :refund
@@ -1714,33 +2618,33 @@ module Increase
1714
2618
  # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
1715
2619
  REFUND: :refund
1716
2620
 
1717
- def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::direction]
2621
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFinancial::direction]
1718
2622
  end
1719
2623
 
1720
2624
  type network_details =
1721
2625
  {
1722
- category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category,
2626
+ category: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::category,
1723
2627
  pulse: top?,
1724
- visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa?
2628
+ visa: Increase::CardPayment::Element::CardFinancial::NetworkDetails::Visa?
1725
2629
  }
1726
2630
 
1727
2631
  class NetworkDetails < Increase::Internal::Type::BaseModel
1728
- attr_accessor category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category
2632
+ attr_accessor category: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::category
1729
2633
 
1730
2634
  attr_accessor pulse: top?
1731
2635
 
1732
- attr_accessor visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa?
2636
+ attr_accessor visa: Increase::CardPayment::Element::CardFinancial::NetworkDetails::Visa?
1733
2637
 
1734
2638
  def initialize: (
1735
- category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category,
2639
+ category: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::category,
1736
2640
  pulse: top?,
1737
- visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa?
2641
+ visa: Increase::CardPayment::Element::CardFinancial::NetworkDetails::Visa?
1738
2642
  ) -> void
1739
2643
 
1740
2644
  def to_hash: -> {
1741
- category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category,
2645
+ category: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::category,
1742
2646
  pulse: top?,
1743
- visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa?
2647
+ visa: Increase::CardPayment::Element::CardFinancial::NetworkDetails::Visa?
1744
2648
  }
1745
2649
 
1746
2650
  type category = :visa | :pulse
@@ -1754,33 +2658,33 @@ module Increase
1754
2658
  # Pulse
1755
2659
  PULSE: :pulse
1756
2660
 
1757
- def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category]
2661
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::category]
1758
2662
  end
1759
2663
 
1760
2664
  type visa =
1761
2665
  {
1762
- electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?,
1763
- point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?,
1764
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason?
2666
+ electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::electronic_commerce_indicator?,
2667
+ point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::point_of_service_entry_mode?,
2668
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason?
1765
2669
  }
1766
2670
 
1767
2671
  class Visa < Increase::Internal::Type::BaseModel
1768
- attr_accessor electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?
2672
+ attr_accessor electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::electronic_commerce_indicator?
1769
2673
 
1770
- attr_accessor point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?
2674
+ attr_accessor point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::point_of_service_entry_mode?
1771
2675
 
1772
- attr_accessor stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason?
2676
+ attr_accessor stand_in_processing_reason: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason?
1773
2677
 
1774
2678
  def initialize: (
1775
- electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?,
1776
- point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?,
1777
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason?
2679
+ electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::electronic_commerce_indicator?,
2680
+ point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::point_of_service_entry_mode?,
2681
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason?
1778
2682
  ) -> void
1779
2683
 
1780
2684
  def to_hash: -> {
1781
- electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?,
1782
- point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?,
1783
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason?
2685
+ electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::electronic_commerce_indicator?,
2686
+ point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::point_of_service_entry_mode?,
2687
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason?
1784
2688
  }
1785
2689
 
1786
2690
  type electronic_commerce_indicator =
@@ -1820,7 +2724,7 @@ module Increase
1820
2724
  # Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection.
1821
2725
  NON_SECURE_TRANSACTION: :non_secure_transaction
1822
2726
 
1823
- def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator]
2727
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::electronic_commerce_indicator]
1824
2728
  end
1825
2729
 
1826
2730
  type point_of_service_entry_mode =
@@ -1868,7 +2772,7 @@ module Increase
1868
2772
  # Contact chip card, without card verification value
1869
2773
  INTEGRATED_CIRCUIT_CARD_NO_CVV: :integrated_circuit_card_no_cvv
1870
2774
 
1871
- def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode]
2775
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::point_of_service_entry_mode]
1872
2776
  end
1873
2777
 
1874
2778
  type stand_in_processing_reason =
@@ -1904,7 +2808,7 @@ module Increase
1904
2808
  # An unspecific reason for stand-in processing.
1905
2809
  OTHER: :other
1906
2810
 
1907
- def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason]
2811
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason]
1908
2812
  end
1909
2813
  end
1910
2814
  end
@@ -1982,164 +2886,54 @@ module Increase
1982
2886
  # The processing category is unknown.
1983
2887
  UNKNOWN: :unknown
1984
2888
 
1985
- def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::processing_category]
1986
- end
1987
-
1988
- type real_time_decision_reason =
1989
- :insufficient_funds
1990
- | :transaction_never_allowed
1991
- | :exceeds_approval_limit
1992
- | :card_temporarily_disabled
1993
- | :suspected_fraud
1994
- | :other
1995
-
1996
- module RealTimeDecisionReason
1997
- extend Increase::Internal::Type::Enum
1998
-
1999
- # The cardholder does not have sufficient funds to cover the transaction. The merchant may attempt to process the transaction again.
2000
- INSUFFICIENT_FUNDS: :insufficient_funds
2001
-
2002
- # This type of transaction is not allowed for this card. This transaction should not be retried.
2003
- TRANSACTION_NEVER_ALLOWED: :transaction_never_allowed
2004
-
2005
- # The transaction amount exceeds the cardholder's approval limit. The merchant may attempt to process the transaction again.
2006
- EXCEEDS_APPROVAL_LIMIT: :exceeds_approval_limit
2007
-
2008
- # The card has been temporarily disabled or not yet activated. The merchant may attempt to process the transaction again.
2009
- CARD_TEMPORARILY_DISABLED: :card_temporarily_disabled
2010
-
2011
- # The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
2012
- SUSPECTED_FRAUD: :suspected_fraud
2013
-
2014
- # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
2015
- OTHER: :other
2016
-
2017
- def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::real_time_decision_reason]
2889
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFinancial::processing_category]
2018
2890
  end
2019
2891
 
2020
- type reason =
2021
- :account_closed
2022
- | :card_not_active
2023
- | :card_canceled
2024
- | :physical_card_not_active
2025
- | :entity_not_active
2026
- | :group_locked
2027
- | :insufficient_funds
2028
- | :cvv2_mismatch
2029
- | :pin_mismatch
2030
- | :card_expiration_mismatch
2031
- | :transaction_not_allowed
2032
- | :breaches_limit
2033
- | :webhook_declined
2034
- | :webhook_timed_out
2035
- | :declined_by_stand_in_processing
2036
- | :invalid_physical_card
2037
- | :missing_original_authorization
2038
- | :failed_3ds_authentication
2039
- | :suspected_card_testing
2040
- | :suspected_fraud
2892
+ type type_ = :card_financial
2041
2893
 
2042
- module Reason
2894
+ module Type
2043
2895
  extend Increase::Internal::Type::Enum
2044
2896
 
2045
- # The account has been closed.
2046
- ACCOUNT_CLOSED: :account_closed
2047
-
2048
- # The Card was not active.
2049
- CARD_NOT_ACTIVE: :card_not_active
2050
-
2051
- # The Card has been canceled.
2052
- CARD_CANCELED: :card_canceled
2053
-
2054
- # The Physical Card was not active.
2055
- PHYSICAL_CARD_NOT_ACTIVE: :physical_card_not_active
2056
-
2057
- # The account's entity was not active.
2058
- ENTITY_NOT_ACTIVE: :entity_not_active
2059
-
2060
- # The account was inactive.
2061
- GROUP_LOCKED: :group_locked
2062
-
2063
- # The Card's Account did not have a sufficient available balance.
2064
- INSUFFICIENT_FUNDS: :insufficient_funds
2065
-
2066
- # The given CVV2 did not match the card's value.
2067
- CVV2_MISMATCH: :cvv2_mismatch
2068
-
2069
- # The given PIN did not match the card's value.
2070
- PIN_MISMATCH: :pin_mismatch
2071
-
2072
- # The given expiration date did not match the card's value. Only applies when a CVV2 is present.
2073
- CARD_EXPIRATION_MISMATCH: :card_expiration_mismatch
2074
-
2075
- # The attempted card transaction is not allowed per Increase's terms.
2076
- TRANSACTION_NOT_ALLOWED: :transaction_not_allowed
2077
-
2078
- # The transaction was blocked by a Limit.
2079
- BREACHES_LIMIT: :breaches_limit
2080
-
2081
- # Your application declined the transaction via webhook.
2082
- WEBHOOK_DECLINED: :webhook_declined
2083
-
2084
- # Your application webhook did not respond without the required timeout.
2085
- WEBHOOK_TIMED_OUT: :webhook_timed_out
2086
-
2087
- # Declined by stand-in processing.
2088
- DECLINED_BY_STAND_IN_PROCESSING: :declined_by_stand_in_processing
2089
-
2090
- # The card read had an invalid CVV, dCVV, or authorization request cryptogram.
2091
- INVALID_PHYSICAL_CARD: :invalid_physical_card
2897
+ CARD_FINANCIAL: :card_financial
2092
2898
 
2093
- # The original card authorization for this incremental authorization does not exist.
2094
- MISSING_ORIGINAL_AUTHORIZATION: :missing_original_authorization
2095
-
2096
- # The transaction was declined because the 3DS authentication failed.
2097
- FAILED_3DS_AUTHENTICATION: :failed_3ds_authentication
2098
-
2099
- # The transaction was suspected to be used by a card tester to test for valid card numbers.
2100
- SUSPECTED_CARD_TESTING: :suspected_card_testing
2101
-
2102
- # The transaction was suspected to be fraudulent. Please reach out to support@increase.com for more information.
2103
- SUSPECTED_FRAUD: :suspected_fraud
2104
-
2105
- def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::reason]
2899
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFinancial::type_]
2106
2900
  end
2107
2901
 
2108
2902
  type verification =
2109
2903
  {
2110
- card_verification_code: Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode,
2111
- cardholder_address: Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress
2904
+ card_verification_code: Increase::CardPayment::Element::CardFinancial::Verification::CardVerificationCode,
2905
+ cardholder_address: Increase::CardPayment::Element::CardFinancial::Verification::CardholderAddress
2112
2906
  }
2113
2907
 
2114
2908
  class Verification < Increase::Internal::Type::BaseModel
2115
- attr_accessor card_verification_code: Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode
2909
+ attr_accessor card_verification_code: Increase::CardPayment::Element::CardFinancial::Verification::CardVerificationCode
2116
2910
 
2117
- attr_accessor cardholder_address: Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress
2911
+ attr_accessor cardholder_address: Increase::CardPayment::Element::CardFinancial::Verification::CardholderAddress
2118
2912
 
2119
2913
  def initialize: (
2120
- card_verification_code: Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode,
2121
- cardholder_address: Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress
2914
+ card_verification_code: Increase::CardPayment::Element::CardFinancial::Verification::CardVerificationCode,
2915
+ cardholder_address: Increase::CardPayment::Element::CardFinancial::Verification::CardholderAddress
2122
2916
  ) -> void
2123
2917
 
2124
2918
  def to_hash: -> {
2125
- card_verification_code: Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode,
2126
- cardholder_address: Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress
2919
+ card_verification_code: Increase::CardPayment::Element::CardFinancial::Verification::CardVerificationCode,
2920
+ cardholder_address: Increase::CardPayment::Element::CardFinancial::Verification::CardholderAddress
2127
2921
  }
2128
2922
 
2129
2923
  type card_verification_code =
2130
2924
  {
2131
- result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result
2925
+ result: Increase::Models::CardPayment::Element::CardFinancial::Verification::CardVerificationCode::result
2132
2926
  }
2133
2927
 
2134
2928
  class CardVerificationCode < Increase::Internal::Type::BaseModel
2135
- attr_accessor result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result
2929
+ attr_accessor result: Increase::Models::CardPayment::Element::CardFinancial::Verification::CardVerificationCode::result
2136
2930
 
2137
2931
  def initialize: (
2138
- result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result
2932
+ result: Increase::Models::CardPayment::Element::CardFinancial::Verification::CardVerificationCode::result
2139
2933
  ) -> void
2140
2934
 
2141
2935
  def to_hash: -> {
2142
- result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result
2936
+ result: Increase::Models::CardPayment::Element::CardFinancial::Verification::CardVerificationCode::result
2143
2937
  }
2144
2938
 
2145
2939
  type result = :not_checked | :match | :no_match
@@ -2156,7 +2950,7 @@ module Increase
2156
2950
  # The card verification code did not match the one on file.
2157
2951
  NO_MATCH: :no_match
2158
2952
 
2159
- def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result]
2953
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFinancial::Verification::CardVerificationCode::result]
2160
2954
  end
2161
2955
  end
2162
2956
 
@@ -2166,7 +2960,7 @@ module Increase
2166
2960
  actual_postal_code: String?,
2167
2961
  :provided_line1 => String?,
2168
2962
  provided_postal_code: String?,
2169
- result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result
2963
+ result: Increase::Models::CardPayment::Element::CardFinancial::Verification::CardholderAddress::result
2170
2964
  }
2171
2965
 
2172
2966
  class CardholderAddress < Increase::Internal::Type::BaseModel
@@ -2178,14 +2972,14 @@ module Increase
2178
2972
 
2179
2973
  attr_accessor provided_postal_code: String?
2180
2974
 
2181
- attr_accessor result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result
2975
+ attr_accessor result: Increase::Models::CardPayment::Element::CardFinancial::Verification::CardholderAddress::result
2182
2976
 
2183
2977
  def initialize: (
2184
2978
  actual_line1: String?,
2185
2979
  actual_postal_code: String?,
2186
2980
  provided_line1: String?,
2187
2981
  provided_postal_code: String?,
2188
- result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result
2982
+ result: Increase::Models::CardPayment::Element::CardFinancial::Verification::CardholderAddress::result
2189
2983
  ) -> void
2190
2984
 
2191
2985
  def to_hash: -> {
@@ -2193,7 +2987,7 @@ module Increase
2193
2987
  actual_postal_code: String?,
2194
2988
  :provided_line1 => String?,
2195
2989
  provided_postal_code: String?,
2196
- result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result
2990
+ result: Increase::Models::CardPayment::Element::CardFinancial::Verification::CardholderAddress::result
2197
2991
  }
2198
2992
 
2199
2993
  type result =
@@ -2225,7 +3019,7 @@ module Increase
2225
3019
  # Postal code matches, but the street address was not verified. (deprecated)
2226
3020
  POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
2227
3021
 
2228
- def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result]
3022
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFinancial::Verification::CardholderAddress::result]
2229
3023
  end
2230
3024
  end
2231
3025
  end
@@ -5779,6 +6573,7 @@ module Increase
5779
6573
  | :card_settlement
5780
6574
  | :card_refund
5781
6575
  | :card_fuel_confirmation
6576
+ | :card_financial
5782
6577
  | :other
5783
6578
 
5784
6579
  module Category
@@ -5814,6 +6609,9 @@ module Increase
5814
6609
  # Card Fuel Confirmation: details will be under the `card_fuel_confirmation` object.
5815
6610
  CARD_FUEL_CONFIRMATION: :card_fuel_confirmation
5816
6611
 
6612
+ # Card Financial: details will be under the `card_financial` object.
6613
+ CARD_FINANCIAL: :card_financial
6614
+
5817
6615
  # Unknown card payment element.
5818
6616
  OTHER: :other
5819
6617