increase 1.209.0 → 1.211.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.
@@ -15,17 +15,99 @@ module Increase
15
15
  )
16
16
  end
17
17
 
18
+ # If set, the simulation will use these values for the check's scanned MICR data.
18
19
  sig do
19
- params(request_options: Increase::RequestOptions::OrHash).returns(
20
- T.attached_class
20
+ returns(
21
+ T.nilable(Increase::Simulations::CheckDepositSubmitParams::Scan)
21
22
  )
22
23
  end
23
- def self.new(request_options: {})
24
+ attr_reader :scan
25
+
26
+ sig do
27
+ params(
28
+ scan: Increase::Simulations::CheckDepositSubmitParams::Scan::OrHash
29
+ ).void
30
+ end
31
+ attr_writer :scan
32
+
33
+ sig do
34
+ params(
35
+ scan: Increase::Simulations::CheckDepositSubmitParams::Scan::OrHash,
36
+ request_options: Increase::RequestOptions::OrHash
37
+ ).returns(T.attached_class)
38
+ end
39
+ def self.new(
40
+ # If set, the simulation will use these values for the check's scanned MICR data.
41
+ scan: nil,
42
+ request_options: {}
43
+ )
24
44
  end
25
45
 
26
- sig { override.returns({ request_options: Increase::RequestOptions }) }
46
+ sig do
47
+ override.returns(
48
+ {
49
+ scan: Increase::Simulations::CheckDepositSubmitParams::Scan,
50
+ request_options: Increase::RequestOptions
51
+ }
52
+ )
53
+ end
27
54
  def to_hash
28
55
  end
56
+
57
+ class Scan < Increase::Internal::Type::BaseModel
58
+ OrHash =
59
+ T.type_alias do
60
+ T.any(
61
+ Increase::Simulations::CheckDepositSubmitParams::Scan,
62
+ Increase::Internal::AnyHash
63
+ )
64
+ end
65
+
66
+ # The account number to be returned in the check deposit's scan data.
67
+ sig { returns(String) }
68
+ attr_accessor :account_number
69
+
70
+ # The routing number to be returned in the check deposit's scan data.
71
+ sig { returns(String) }
72
+ attr_accessor :routing_number
73
+
74
+ # The auxiliary on-us data to be returned in the check deposit's scan data.
75
+ sig { returns(T.nilable(String)) }
76
+ attr_reader :auxiliary_on_us
77
+
78
+ sig { params(auxiliary_on_us: String).void }
79
+ attr_writer :auxiliary_on_us
80
+
81
+ # If set, the simulation will use these values for the check's scanned MICR data.
82
+ sig do
83
+ params(
84
+ account_number: String,
85
+ routing_number: String,
86
+ auxiliary_on_us: String
87
+ ).returns(T.attached_class)
88
+ end
89
+ def self.new(
90
+ # The account number to be returned in the check deposit's scan data.
91
+ account_number:,
92
+ # The routing number to be returned in the check deposit's scan data.
93
+ routing_number:,
94
+ # The auxiliary on-us data to be returned in the check deposit's scan data.
95
+ auxiliary_on_us: nil
96
+ )
97
+ end
98
+
99
+ sig do
100
+ override.returns(
101
+ {
102
+ account_number: String,
103
+ routing_number: String,
104
+ auxiliary_on_us: String
105
+ }
106
+ )
107
+ end
108
+ def to_hash
109
+ end
110
+ end
29
111
  end
30
112
  end
31
113
  end
@@ -4435,6 +4435,20 @@ module Increase
4435
4435
  end
4436
4436
  attr_accessor :stand_in_processing_reason
4437
4437
 
4438
+ # The capability of the terminal being used to read the card. Shows whether a
4439
+ # terminal can e.g., accept chip cards or if it only supports magnetic stripe
4440
+ # reads. This reflects the highest capability of the terminal — for example, a
4441
+ # terminal that supports both chip and magnetic stripe will be identified as
4442
+ # chip-capable.
4443
+ sig do
4444
+ returns(
4445
+ T.nilable(
4446
+ Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
4447
+ )
4448
+ )
4449
+ end
4450
+ attr_accessor :terminal_entry_capability
4451
+
4438
4452
  # Fields specific to the `visa` network.
4439
4453
  sig do
4440
4454
  params(
@@ -4449,6 +4463,10 @@ module Increase
4449
4463
  stand_in_processing_reason:
4450
4464
  T.nilable(
4451
4465
  Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::StandInProcessingReason::OrSymbol
4466
+ ),
4467
+ terminal_entry_capability:
4468
+ T.nilable(
4469
+ Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::TerminalEntryCapability::OrSymbol
4452
4470
  )
4453
4471
  ).returns(T.attached_class)
4454
4472
  end
@@ -4462,7 +4480,13 @@ module Increase
4462
4480
  point_of_service_entry_mode:,
4463
4481
  # Only present when `actioner: network`. Describes why a card authorization was
4464
4482
  # approved or declined by Visa through stand-in processing.
4465
- stand_in_processing_reason:
4483
+ stand_in_processing_reason:,
4484
+ # The capability of the terminal being used to read the card. Shows whether a
4485
+ # terminal can e.g., accept chip cards or if it only supports magnetic stripe
4486
+ # reads. This reflects the highest capability of the terminal — for example, a
4487
+ # terminal that supports both chip and magnetic stripe will be identified as
4488
+ # chip-capable.
4489
+ terminal_entry_capability:
4466
4490
  )
4467
4491
  end
4468
4492
 
@@ -4480,6 +4504,10 @@ module Increase
4480
4504
  stand_in_processing_reason:
4481
4505
  T.nilable(
4482
4506
  Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
4507
+ ),
4508
+ terminal_entry_capability:
4509
+ T.nilable(
4510
+ Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
4483
4511
  )
4484
4512
  }
4485
4513
  )
@@ -4737,6 +4765,90 @@ module Increase
4737
4765
  def self.values
4738
4766
  end
4739
4767
  end
4768
+
4769
+ # The capability of the terminal being used to read the card. Shows whether a
4770
+ # terminal can e.g., accept chip cards or if it only supports magnetic stripe
4771
+ # reads. This reflects the highest capability of the terminal — for example, a
4772
+ # terminal that supports both chip and magnetic stripe will be identified as
4773
+ # chip-capable.
4774
+ module TerminalEntryCapability
4775
+ extend Increase::Internal::Type::Enum
4776
+
4777
+ TaggedSymbol =
4778
+ T.type_alias do
4779
+ T.all(
4780
+ Symbol,
4781
+ Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::TerminalEntryCapability
4782
+ )
4783
+ end
4784
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
4785
+
4786
+ # Unknown
4787
+ UNKNOWN =
4788
+ T.let(
4789
+ :unknown,
4790
+ Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
4791
+ )
4792
+
4793
+ # No terminal was used for this transaction.
4794
+ TERMINAL_NOT_USED =
4795
+ T.let(
4796
+ :terminal_not_used,
4797
+ Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
4798
+ )
4799
+
4800
+ # The terminal can only read magnetic stripes and does not have chip or contactless reading capability.
4801
+ MAGNETIC_STRIPE =
4802
+ T.let(
4803
+ :magnetic_stripe,
4804
+ Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
4805
+ )
4806
+
4807
+ # The terminal can only read barcodes.
4808
+ BARCODE =
4809
+ T.let(
4810
+ :barcode,
4811
+ Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
4812
+ )
4813
+
4814
+ # The terminal can only read cards via Optical Character Recognition.
4815
+ OPTICAL_CHARACTER_RECOGNITION =
4816
+ T.let(
4817
+ :optical_character_recognition,
4818
+ Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
4819
+ )
4820
+
4821
+ # The terminal supports contact chip cards and can also read the magnetic stripe. If contact chip is supported, this value is used regardless of whether contactless is also supported.
4822
+ CHIP_OR_CONTACTLESS =
4823
+ T.let(
4824
+ :chip_or_contactless,
4825
+ Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
4826
+ )
4827
+
4828
+ # The terminal supports contactless reads but does not support contact chip. Only used when the terminal lacks contact chip capability.
4829
+ CONTACTLESS_ONLY =
4830
+ T.let(
4831
+ :contactless_only,
4832
+ Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
4833
+ )
4834
+
4835
+ # The terminal has no card reading capability.
4836
+ NO_CAPABILITY =
4837
+ T.let(
4838
+ :no_capability,
4839
+ Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
4840
+ )
4841
+
4842
+ sig do
4843
+ override.returns(
4844
+ T::Array[
4845
+ Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa::TerminalEntryCapability::TaggedSymbol
4846
+ ]
4847
+ )
4848
+ end
4849
+ def self.values
4850
+ end
4851
+ end
4740
4852
  end
4741
4853
  end
4742
4854
 
@@ -40,12 +40,15 @@ module Increase
40
40
  sig do
41
41
  params(
42
42
  check_deposit_id: String,
43
+ scan: Increase::Simulations::CheckDepositSubmitParams::Scan::OrHash,
43
44
  request_options: Increase::RequestOptions::OrHash
44
45
  ).returns(Increase::CheckDeposit)
45
46
  end
46
47
  def submit(
47
48
  # The identifier of the Check Deposit you wish to submit.
48
49
  check_deposit_id,
50
+ # If set, the simulation will use these values for the check's scanned MICR data.
51
+ scan: nil,
49
52
  request_options: {}
50
53
  )
51
54
  end
@@ -933,7 +933,8 @@ module Increase
933
933
  {
934
934
  electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?,
935
935
  point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?,
936
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason?
936
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason?,
937
+ terminal_entry_capability: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::terminal_entry_capability?
937
938
  }
938
939
 
939
940
  class Visa < Increase::Internal::Type::BaseModel
@@ -943,16 +944,20 @@ module Increase
943
944
 
944
945
  attr_accessor stand_in_processing_reason: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason?
945
946
 
947
+ attr_accessor terminal_entry_capability: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::terminal_entry_capability?
948
+
946
949
  def initialize: (
947
950
  electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?,
948
951
  point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?,
949
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason?
952
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason?,
953
+ terminal_entry_capability: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::terminal_entry_capability?
950
954
  ) -> void
951
955
 
952
956
  def to_hash: -> {
953
957
  electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?,
954
958
  point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?,
955
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason?
959
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason?,
960
+ terminal_entry_capability: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::terminal_entry_capability?
956
961
  }
957
962
 
958
963
  type electronic_commerce_indicator =
@@ -1078,6 +1083,46 @@ module Increase
1078
1083
 
1079
1084
  def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason]
1080
1085
  end
1086
+
1087
+ type terminal_entry_capability =
1088
+ :unknown
1089
+ | :terminal_not_used
1090
+ | :magnetic_stripe
1091
+ | :barcode
1092
+ | :optical_character_recognition
1093
+ | :chip_or_contactless
1094
+ | :contactless_only
1095
+ | :no_capability
1096
+
1097
+ module TerminalEntryCapability
1098
+ extend Increase::Internal::Type::Enum
1099
+
1100
+ # Unknown
1101
+ UNKNOWN: :unknown
1102
+
1103
+ # No terminal was used for this transaction.
1104
+ TERMINAL_NOT_USED: :terminal_not_used
1105
+
1106
+ # The terminal can only read magnetic stripes and does not have chip or contactless reading capability.
1107
+ MAGNETIC_STRIPE: :magnetic_stripe
1108
+
1109
+ # The terminal can only read barcodes.
1110
+ BARCODE: :barcode
1111
+
1112
+ # The terminal can only read cards via Optical Character Recognition.
1113
+ OPTICAL_CHARACTER_RECOGNITION: :optical_character_recognition
1114
+
1115
+ # The terminal supports contact chip cards and can also read the magnetic stripe. If contact chip is supported, this value is used regardless of whether contactless is also supported.
1116
+ CHIP_OR_CONTACTLESS: :chip_or_contactless
1117
+
1118
+ # The terminal supports contactless reads but does not support contact chip. Only used when the terminal lacks contact chip capability.
1119
+ CONTACTLESS_ONLY: :contactless_only
1120
+
1121
+ # The terminal has no card reading capability.
1122
+ NO_CAPABILITY: :no_capability
1123
+
1124
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::terminal_entry_capability]
1125
+ end
1081
1126
  end
1082
1127
  end
1083
1128
 
@@ -1767,7 +1812,8 @@ module Increase
1767
1812
  {
1768
1813
  electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::electronic_commerce_indicator?,
1769
1814
  point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::point_of_service_entry_mode?,
1770
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::stand_in_processing_reason?
1815
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::stand_in_processing_reason?,
1816
+ terminal_entry_capability: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::terminal_entry_capability?
1771
1817
  }
1772
1818
 
1773
1819
  class Visa < Increase::Internal::Type::BaseModel
@@ -1777,16 +1823,20 @@ module Increase
1777
1823
 
1778
1824
  attr_accessor stand_in_processing_reason: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::stand_in_processing_reason?
1779
1825
 
1826
+ attr_accessor terminal_entry_capability: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::terminal_entry_capability?
1827
+
1780
1828
  def initialize: (
1781
1829
  electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::electronic_commerce_indicator?,
1782
1830
  point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::point_of_service_entry_mode?,
1783
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::stand_in_processing_reason?
1831
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::stand_in_processing_reason?,
1832
+ terminal_entry_capability: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::terminal_entry_capability?
1784
1833
  ) -> void
1785
1834
 
1786
1835
  def to_hash: -> {
1787
1836
  electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::electronic_commerce_indicator?,
1788
1837
  point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::point_of_service_entry_mode?,
1789
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::stand_in_processing_reason?
1838
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::stand_in_processing_reason?,
1839
+ terminal_entry_capability: Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::terminal_entry_capability?
1790
1840
  }
1791
1841
 
1792
1842
  type electronic_commerce_indicator =
@@ -1912,6 +1962,46 @@ module Increase
1912
1962
 
1913
1963
  def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::stand_in_processing_reason]
1914
1964
  end
1965
+
1966
+ type terminal_entry_capability =
1967
+ :unknown
1968
+ | :terminal_not_used
1969
+ | :magnetic_stripe
1970
+ | :barcode
1971
+ | :optical_character_recognition
1972
+ | :chip_or_contactless
1973
+ | :contactless_only
1974
+ | :no_capability
1975
+
1976
+ module TerminalEntryCapability
1977
+ extend Increase::Internal::Type::Enum
1978
+
1979
+ # Unknown
1980
+ UNKNOWN: :unknown
1981
+
1982
+ # No terminal was used for this transaction.
1983
+ TERMINAL_NOT_USED: :terminal_not_used
1984
+
1985
+ # The terminal can only read magnetic stripes and does not have chip or contactless reading capability.
1986
+ MAGNETIC_STRIPE: :magnetic_stripe
1987
+
1988
+ # The terminal can only read barcodes.
1989
+ BARCODE: :barcode
1990
+
1991
+ # The terminal can only read cards via Optical Character Recognition.
1992
+ OPTICAL_CHARACTER_RECOGNITION: :optical_character_recognition
1993
+
1994
+ # The terminal supports contact chip cards and can also read the magnetic stripe. If contact chip is supported, this value is used regardless of whether contactless is also supported.
1995
+ CHIP_OR_CONTACTLESS: :chip_or_contactless
1996
+
1997
+ # The terminal supports contactless reads but does not support contact chip. Only used when the terminal lacks contact chip capability.
1998
+ CONTACTLESS_ONLY: :contactless_only
1999
+
2000
+ # The terminal has no card reading capability.
2001
+ NO_CAPABILITY: :no_capability
2002
+
2003
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardBalanceInquiry::NetworkDetails::Visa::terminal_entry_capability]
2004
+ end
1915
2005
  end
1916
2006
  end
1917
2007
 
@@ -2547,7 +2637,8 @@ module Increase
2547
2637
  {
2548
2638
  electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?,
2549
2639
  point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?,
2550
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason?
2640
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason?,
2641
+ terminal_entry_capability: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::terminal_entry_capability?
2551
2642
  }
2552
2643
 
2553
2644
  class Visa < Increase::Internal::Type::BaseModel
@@ -2557,16 +2648,20 @@ module Increase
2557
2648
 
2558
2649
  attr_accessor stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason?
2559
2650
 
2651
+ attr_accessor terminal_entry_capability: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::terminal_entry_capability?
2652
+
2560
2653
  def initialize: (
2561
2654
  electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?,
2562
2655
  point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?,
2563
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason?
2656
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason?,
2657
+ terminal_entry_capability: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::terminal_entry_capability?
2564
2658
  ) -> void
2565
2659
 
2566
2660
  def to_hash: -> {
2567
2661
  electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?,
2568
2662
  point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?,
2569
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason?
2663
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason?,
2664
+ terminal_entry_capability: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::terminal_entry_capability?
2570
2665
  }
2571
2666
 
2572
2667
  type electronic_commerce_indicator =
@@ -2692,6 +2787,46 @@ module Increase
2692
2787
 
2693
2788
  def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason]
2694
2789
  end
2790
+
2791
+ type terminal_entry_capability =
2792
+ :unknown
2793
+ | :terminal_not_used
2794
+ | :magnetic_stripe
2795
+ | :barcode
2796
+ | :optical_character_recognition
2797
+ | :chip_or_contactless
2798
+ | :contactless_only
2799
+ | :no_capability
2800
+
2801
+ module TerminalEntryCapability
2802
+ extend Increase::Internal::Type::Enum
2803
+
2804
+ # Unknown
2805
+ UNKNOWN: :unknown
2806
+
2807
+ # No terminal was used for this transaction.
2808
+ TERMINAL_NOT_USED: :terminal_not_used
2809
+
2810
+ # The terminal can only read magnetic stripes and does not have chip or contactless reading capability.
2811
+ MAGNETIC_STRIPE: :magnetic_stripe
2812
+
2813
+ # The terminal can only read barcodes.
2814
+ BARCODE: :barcode
2815
+
2816
+ # The terminal can only read cards via Optical Character Recognition.
2817
+ OPTICAL_CHARACTER_RECOGNITION: :optical_character_recognition
2818
+
2819
+ # The terminal supports contact chip cards and can also read the magnetic stripe. If contact chip is supported, this value is used regardless of whether contactless is also supported.
2820
+ CHIP_OR_CONTACTLESS: :chip_or_contactless
2821
+
2822
+ # The terminal supports contactless reads but does not support contact chip. Only used when the terminal lacks contact chip capability.
2823
+ CONTACTLESS_ONLY: :contactless_only
2824
+
2825
+ # The terminal has no card reading capability.
2826
+ NO_CAPABILITY: :no_capability
2827
+
2828
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::terminal_entry_capability]
2829
+ end
2695
2830
  end
2696
2831
  end
2697
2832
 
@@ -3475,7 +3610,8 @@ module Increase
3475
3610
  {
3476
3611
  electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::electronic_commerce_indicator?,
3477
3612
  point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::point_of_service_entry_mode?,
3478
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason?
3613
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason?,
3614
+ terminal_entry_capability: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::terminal_entry_capability?
3479
3615
  }
3480
3616
 
3481
3617
  class Visa < Increase::Internal::Type::BaseModel
@@ -3485,16 +3621,20 @@ module Increase
3485
3621
 
3486
3622
  attr_accessor stand_in_processing_reason: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason?
3487
3623
 
3624
+ attr_accessor terminal_entry_capability: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::terminal_entry_capability?
3625
+
3488
3626
  def initialize: (
3489
3627
  electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::electronic_commerce_indicator?,
3490
3628
  point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::point_of_service_entry_mode?,
3491
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason?
3629
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason?,
3630
+ terminal_entry_capability: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::terminal_entry_capability?
3492
3631
  ) -> void
3493
3632
 
3494
3633
  def to_hash: -> {
3495
3634
  electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::electronic_commerce_indicator?,
3496
3635
  point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::point_of_service_entry_mode?,
3497
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason?
3636
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason?,
3637
+ terminal_entry_capability: Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::terminal_entry_capability?
3498
3638
  }
3499
3639
 
3500
3640
  type electronic_commerce_indicator =
@@ -3620,6 +3760,46 @@ module Increase
3620
3760
 
3621
3761
  def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason]
3622
3762
  end
3763
+
3764
+ type terminal_entry_capability =
3765
+ :unknown
3766
+ | :terminal_not_used
3767
+ | :magnetic_stripe
3768
+ | :barcode
3769
+ | :optical_character_recognition
3770
+ | :chip_or_contactless
3771
+ | :contactless_only
3772
+ | :no_capability
3773
+
3774
+ module TerminalEntryCapability
3775
+ extend Increase::Internal::Type::Enum
3776
+
3777
+ # Unknown
3778
+ UNKNOWN: :unknown
3779
+
3780
+ # No terminal was used for this transaction.
3781
+ TERMINAL_NOT_USED: :terminal_not_used
3782
+
3783
+ # The terminal can only read magnetic stripes and does not have chip or contactless reading capability.
3784
+ MAGNETIC_STRIPE: :magnetic_stripe
3785
+
3786
+ # The terminal can only read barcodes.
3787
+ BARCODE: :barcode
3788
+
3789
+ # The terminal can only read cards via Optical Character Recognition.
3790
+ OPTICAL_CHARACTER_RECOGNITION: :optical_character_recognition
3791
+
3792
+ # The terminal supports contact chip cards and can also read the magnetic stripe. If contact chip is supported, this value is used regardless of whether contactless is also supported.
3793
+ CHIP_OR_CONTACTLESS: :chip_or_contactless
3794
+
3795
+ # The terminal supports contactless reads but does not support contact chip. Only used when the terminal lacks contact chip capability.
3796
+ CONTACTLESS_ONLY: :contactless_only
3797
+
3798
+ # The terminal has no card reading capability.
3799
+ NO_CAPABILITY: :no_capability
3800
+
3801
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa::terminal_entry_capability]
3802
+ end
3623
3803
  end
3624
3804
  end
3625
3805
 
@@ -6950,7 +7130,8 @@ module Increase
6950
7130
  {
6951
7131
  electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::electronic_commerce_indicator?,
6952
7132
  point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::point_of_service_entry_mode?,
6953
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason?
7133
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason?,
7134
+ terminal_entry_capability: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::terminal_entry_capability?
6954
7135
  }
6955
7136
 
6956
7137
  class Visa < Increase::Internal::Type::BaseModel
@@ -6960,16 +7141,20 @@ module Increase
6960
7141
 
6961
7142
  attr_accessor stand_in_processing_reason: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason?
6962
7143
 
7144
+ attr_accessor terminal_entry_capability: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::terminal_entry_capability?
7145
+
6963
7146
  def initialize: (
6964
7147
  electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::electronic_commerce_indicator?,
6965
7148
  point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::point_of_service_entry_mode?,
6966
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason?
7149
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason?,
7150
+ terminal_entry_capability: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::terminal_entry_capability?
6967
7151
  ) -> void
6968
7152
 
6969
7153
  def to_hash: -> {
6970
7154
  electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::electronic_commerce_indicator?,
6971
7155
  point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::point_of_service_entry_mode?,
6972
- stand_in_processing_reason: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason?
7156
+ stand_in_processing_reason: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason?,
7157
+ terminal_entry_capability: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::terminal_entry_capability?
6973
7158
  }
6974
7159
 
6975
7160
  type electronic_commerce_indicator =
@@ -7095,6 +7280,46 @@ module Increase
7095
7280
 
7096
7281
  def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason]
7097
7282
  end
7283
+
7284
+ type terminal_entry_capability =
7285
+ :unknown
7286
+ | :terminal_not_used
7287
+ | :magnetic_stripe
7288
+ | :barcode
7289
+ | :optical_character_recognition
7290
+ | :chip_or_contactless
7291
+ | :contactless_only
7292
+ | :no_capability
7293
+
7294
+ module TerminalEntryCapability
7295
+ extend Increase::Internal::Type::Enum
7296
+
7297
+ # Unknown
7298
+ UNKNOWN: :unknown
7299
+
7300
+ # No terminal was used for this transaction.
7301
+ TERMINAL_NOT_USED: :terminal_not_used
7302
+
7303
+ # The terminal can only read magnetic stripes and does not have chip or contactless reading capability.
7304
+ MAGNETIC_STRIPE: :magnetic_stripe
7305
+
7306
+ # The terminal can only read barcodes.
7307
+ BARCODE: :barcode
7308
+
7309
+ # The terminal can only read cards via Optical Character Recognition.
7310
+ OPTICAL_CHARACTER_RECOGNITION: :optical_character_recognition
7311
+
7312
+ # The terminal supports contact chip cards and can also read the magnetic stripe. If contact chip is supported, this value is used regardless of whether contactless is also supported.
7313
+ CHIP_OR_CONTACTLESS: :chip_or_contactless
7314
+
7315
+ # The terminal supports contactless reads but does not support contact chip. Only used when the terminal lacks contact chip capability.
7316
+ CONTACTLESS_ONLY: :contactless_only
7317
+
7318
+ # The terminal has no card reading capability.
7319
+ NO_CAPABILITY: :no_capability
7320
+
7321
+ def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::terminal_entry_capability]
7322
+ end
7098
7323
  end
7099
7324
  end
7100
7325