increase 1.72.0 → 1.73.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/increase/models/card_payment.rb +18 -18
- data/lib/increase/models/declined_transaction.rb +6 -6
- data/lib/increase/models/pending_transaction.rb +6 -6
- data/lib/increase/models/real_time_decision.rb +31 -7
- data/lib/increase/models/real_time_decision_action_params.rb +184 -4
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_payment.rbi +30 -30
- data/rbi/increase/models/declined_transaction.rbi +10 -10
- data/rbi/increase/models/pending_transaction.rbi +10 -10
- data/rbi/increase/models/real_time_decision.rbi +67 -10
- data/rbi/increase/models/real_time_decision_action_params.rbi +400 -3
- data/sig/increase/models/card_payment.rbs +21 -21
- data/sig/increase/models/declined_transaction.rbs +7 -7
- data/sig/increase/models/pending_transaction.rbs +7 -7
- data/sig/increase/models/real_time_decision.rbs +22 -7
- data/sig/increase/models/real_time_decision_action_params.rbs +138 -0
- metadata +2 -2
@@ -1167,25 +1167,22 @@ module Increase
|
|
1167
1167
|
|
1168
1168
|
type result =
|
1169
1169
|
:not_checked
|
1170
|
-
| :postal_code_match_address_not_checked
|
1171
1170
|
| :postal_code_match_address_no_match
|
1172
1171
|
| :postal_code_no_match_address_match
|
1173
1172
|
| :match
|
1174
1173
|
| :no_match
|
1174
|
+
| :postal_code_match_address_not_checked
|
1175
1175
|
|
1176
1176
|
module Result
|
1177
1177
|
extend Increase::Internal::Type::Enum
|
1178
1178
|
|
1179
|
-
# No address was provided in the authorization request.
|
1179
|
+
# No address information was provided in the authorization request.
|
1180
1180
|
NOT_CHECKED: :not_checked
|
1181
1181
|
|
1182
|
-
# Postal code matches, but the street address was not
|
1183
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
1184
|
-
|
1185
|
-
# Postal code matches, but the street address does not match.
|
1182
|
+
# Postal code matches, but the street address does not match or was not provided.
|
1186
1183
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH: :postal_code_match_address_no_match
|
1187
1184
|
|
1188
|
-
# Postal code does not match, but the street address matches.
|
1185
|
+
# Postal code does not match, but the street address matches or was not provided.
|
1189
1186
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH: :postal_code_no_match_address_match
|
1190
1187
|
|
1191
1188
|
# Postal code and street address match.
|
@@ -1194,6 +1191,9 @@ module Increase
|
|
1194
1191
|
# Postal code and street address do not match.
|
1195
1192
|
NO_MATCH: :no_match
|
1196
1193
|
|
1194
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
1195
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
1196
|
+
|
1197
1197
|
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result]
|
1198
1198
|
end
|
1199
1199
|
end
|
@@ -2135,25 +2135,22 @@ module Increase
|
|
2135
2135
|
|
2136
2136
|
type result =
|
2137
2137
|
:not_checked
|
2138
|
-
| :postal_code_match_address_not_checked
|
2139
2138
|
| :postal_code_match_address_no_match
|
2140
2139
|
| :postal_code_no_match_address_match
|
2141
2140
|
| :match
|
2142
2141
|
| :no_match
|
2142
|
+
| :postal_code_match_address_not_checked
|
2143
2143
|
|
2144
2144
|
module Result
|
2145
2145
|
extend Increase::Internal::Type::Enum
|
2146
2146
|
|
2147
|
-
# No address was provided in the authorization request.
|
2147
|
+
# No address information was provided in the authorization request.
|
2148
2148
|
NOT_CHECKED: :not_checked
|
2149
2149
|
|
2150
|
-
# Postal code matches, but the street address was not
|
2151
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
2152
|
-
|
2153
|
-
# Postal code matches, but the street address does not match.
|
2150
|
+
# Postal code matches, but the street address does not match or was not provided.
|
2154
2151
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH: :postal_code_match_address_no_match
|
2155
2152
|
|
2156
|
-
# Postal code does not match, but the street address matches.
|
2153
|
+
# Postal code does not match, but the street address matches or was not provided.
|
2157
2154
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH: :postal_code_no_match_address_match
|
2158
2155
|
|
2159
2156
|
# Postal code and street address match.
|
@@ -2162,6 +2159,9 @@ module Increase
|
|
2162
2159
|
# Postal code and street address do not match.
|
2163
2160
|
NO_MATCH: :no_match
|
2164
2161
|
|
2162
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
2163
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
2164
|
+
|
2165
2165
|
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result]
|
2166
2166
|
end
|
2167
2167
|
end
|
@@ -5568,25 +5568,22 @@ module Increase
|
|
5568
5568
|
|
5569
5569
|
type result =
|
5570
5570
|
:not_checked
|
5571
|
-
| :postal_code_match_address_not_checked
|
5572
5571
|
| :postal_code_match_address_no_match
|
5573
5572
|
| :postal_code_no_match_address_match
|
5574
5573
|
| :match
|
5575
5574
|
| :no_match
|
5575
|
+
| :postal_code_match_address_not_checked
|
5576
5576
|
|
5577
5577
|
module Result
|
5578
5578
|
extend Increase::Internal::Type::Enum
|
5579
5579
|
|
5580
|
-
# No address was provided in the authorization request.
|
5580
|
+
# No address information was provided in the authorization request.
|
5581
5581
|
NOT_CHECKED: :not_checked
|
5582
5582
|
|
5583
|
-
# Postal code matches, but the street address was not
|
5584
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
5585
|
-
|
5586
|
-
# Postal code matches, but the street address does not match.
|
5583
|
+
# Postal code matches, but the street address does not match or was not provided.
|
5587
5584
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH: :postal_code_match_address_no_match
|
5588
5585
|
|
5589
|
-
# Postal code does not match, but the street address matches.
|
5586
|
+
# Postal code does not match, but the street address matches or was not provided.
|
5590
5587
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH: :postal_code_no_match_address_match
|
5591
5588
|
|
5592
5589
|
# Postal code and street address match.
|
@@ -5595,6 +5592,9 @@ module Increase
|
|
5595
5592
|
# Postal code and street address do not match.
|
5596
5593
|
NO_MATCH: :no_match
|
5597
5594
|
|
5595
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
5596
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
5597
|
+
|
5598
5598
|
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardValidation::Verification::CardholderAddress::result]
|
5599
5599
|
end
|
5600
5600
|
end
|
@@ -1159,25 +1159,22 @@ module Increase
|
|
1159
1159
|
|
1160
1160
|
type result =
|
1161
1161
|
:not_checked
|
1162
|
-
| :postal_code_match_address_not_checked
|
1163
1162
|
| :postal_code_match_address_no_match
|
1164
1163
|
| :postal_code_no_match_address_match
|
1165
1164
|
| :match
|
1166
1165
|
| :no_match
|
1166
|
+
| :postal_code_match_address_not_checked
|
1167
1167
|
|
1168
1168
|
module Result
|
1169
1169
|
extend Increase::Internal::Type::Enum
|
1170
1170
|
|
1171
|
-
# No address was provided in the authorization request.
|
1171
|
+
# No address information was provided in the authorization request.
|
1172
1172
|
NOT_CHECKED: :not_checked
|
1173
1173
|
|
1174
|
-
# Postal code matches, but the street address was not
|
1175
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
1176
|
-
|
1177
|
-
# Postal code matches, but the street address does not match.
|
1174
|
+
# Postal code matches, but the street address does not match or was not provided.
|
1178
1175
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH: :postal_code_match_address_no_match
|
1179
1176
|
|
1180
|
-
# Postal code does not match, but the street address matches.
|
1177
|
+
# Postal code does not match, but the street address matches or was not provided.
|
1181
1178
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH: :postal_code_no_match_address_match
|
1182
1179
|
|
1183
1180
|
# Postal code and street address match.
|
@@ -1186,6 +1183,9 @@ module Increase
|
|
1186
1183
|
# Postal code and street address do not match.
|
1187
1184
|
NO_MATCH: :no_match
|
1188
1185
|
|
1186
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
1187
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
1188
|
+
|
1189
1189
|
def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::result]
|
1190
1190
|
end
|
1191
1191
|
end
|
@@ -1010,25 +1010,22 @@ module Increase
|
|
1010
1010
|
|
1011
1011
|
type result =
|
1012
1012
|
:not_checked
|
1013
|
-
| :postal_code_match_address_not_checked
|
1014
1013
|
| :postal_code_match_address_no_match
|
1015
1014
|
| :postal_code_no_match_address_match
|
1016
1015
|
| :match
|
1017
1016
|
| :no_match
|
1017
|
+
| :postal_code_match_address_not_checked
|
1018
1018
|
|
1019
1019
|
module Result
|
1020
1020
|
extend Increase::Internal::Type::Enum
|
1021
1021
|
|
1022
|
-
# No address was provided in the authorization request.
|
1022
|
+
# No address information was provided in the authorization request.
|
1023
1023
|
NOT_CHECKED: :not_checked
|
1024
1024
|
|
1025
|
-
# Postal code matches, but the street address was not
|
1026
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
1027
|
-
|
1028
|
-
# Postal code matches, but the street address does not match.
|
1025
|
+
# Postal code matches, but the street address does not match or was not provided.
|
1029
1026
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH: :postal_code_match_address_no_match
|
1030
1027
|
|
1031
|
-
# Postal code does not match, but the street address matches.
|
1028
|
+
# Postal code does not match, but the street address matches or was not provided.
|
1032
1029
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH: :postal_code_no_match_address_match
|
1033
1030
|
|
1034
1031
|
# Postal code and street address match.
|
@@ -1037,6 +1034,9 @@ module Increase
|
|
1037
1034
|
# Postal code and street address do not match.
|
1038
1035
|
NO_MATCH: :no_match
|
1039
1036
|
|
1037
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
1038
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
1039
|
+
|
1040
1040
|
def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::result]
|
1041
1041
|
end
|
1042
1042
|
end
|
@@ -172,6 +172,7 @@ module Increase
|
|
172
172
|
additional_amounts: Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts,
|
173
173
|
card_id: String,
|
174
174
|
decision: Increase::Models::RealTimeDecision::CardAuthorization::decision?,
|
175
|
+
decline: Increase::RealTimeDecision::CardAuthorization::Decline?,
|
175
176
|
digital_wallet_token_id: String?,
|
176
177
|
direction: Increase::Models::RealTimeDecision::CardAuthorization::direction,
|
177
178
|
merchant_acceptor_id: String,
|
@@ -205,6 +206,8 @@ module Increase
|
|
205
206
|
|
206
207
|
attr_accessor decision: Increase::Models::RealTimeDecision::CardAuthorization::decision?
|
207
208
|
|
209
|
+
attr_accessor decline: Increase::RealTimeDecision::CardAuthorization::Decline?
|
210
|
+
|
208
211
|
attr_accessor digital_wallet_token_id: String?
|
209
212
|
|
210
213
|
attr_accessor direction: Increase::Models::RealTimeDecision::CardAuthorization::direction
|
@@ -254,6 +257,7 @@ module Increase
|
|
254
257
|
additional_amounts: Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts,
|
255
258
|
card_id: String,
|
256
259
|
decision: Increase::Models::RealTimeDecision::CardAuthorization::decision?,
|
260
|
+
decline: Increase::RealTimeDecision::CardAuthorization::Decline?,
|
257
261
|
digital_wallet_token_id: String?,
|
258
262
|
direction: Increase::Models::RealTimeDecision::CardAuthorization::direction,
|
259
263
|
merchant_acceptor_id: String,
|
@@ -283,6 +287,7 @@ module Increase
|
|
283
287
|
additional_amounts: Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts,
|
284
288
|
card_id: String,
|
285
289
|
decision: Increase::Models::RealTimeDecision::CardAuthorization::decision?,
|
290
|
+
decline: Increase::RealTimeDecision::CardAuthorization::Decline?,
|
286
291
|
digital_wallet_token_id: String?,
|
287
292
|
direction: Increase::Models::RealTimeDecision::CardAuthorization::direction,
|
288
293
|
merchant_acceptor_id: String,
|
@@ -486,6 +491,16 @@ module Increase
|
|
486
491
|
def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::decision]
|
487
492
|
end
|
488
493
|
|
494
|
+
type decline = { reason: String }
|
495
|
+
|
496
|
+
class Decline < Increase::Internal::Type::BaseModel
|
497
|
+
attr_accessor reason: String
|
498
|
+
|
499
|
+
def initialize: (reason: String) -> void
|
500
|
+
|
501
|
+
def to_hash: -> { reason: String }
|
502
|
+
end
|
503
|
+
|
489
504
|
type direction = :settlement | :refund
|
490
505
|
|
491
506
|
module Direction
|
@@ -908,25 +923,22 @@ module Increase
|
|
908
923
|
|
909
924
|
type result =
|
910
925
|
:not_checked
|
911
|
-
| :postal_code_match_address_not_checked
|
912
926
|
| :postal_code_match_address_no_match
|
913
927
|
| :postal_code_no_match_address_match
|
914
928
|
| :match
|
915
929
|
| :no_match
|
930
|
+
| :postal_code_match_address_not_checked
|
916
931
|
|
917
932
|
module Result
|
918
933
|
extend Increase::Internal::Type::Enum
|
919
934
|
|
920
|
-
# No address was provided in the authorization request.
|
935
|
+
# No address information was provided in the authorization request.
|
921
936
|
NOT_CHECKED: :not_checked
|
922
937
|
|
923
|
-
# Postal code matches, but the street address was not
|
924
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
925
|
-
|
926
|
-
# Postal code matches, but the street address does not match.
|
938
|
+
# Postal code matches, but the street address does not match or was not provided.
|
927
939
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH: :postal_code_match_address_no_match
|
928
940
|
|
929
|
-
# Postal code does not match, but the street address matches.
|
941
|
+
# Postal code does not match, but the street address matches or was not provided.
|
930
942
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH: :postal_code_no_match_address_match
|
931
943
|
|
932
944
|
# Postal code and street address match.
|
@@ -935,6 +947,9 @@ module Increase
|
|
935
947
|
# Postal code and street address do not match.
|
936
948
|
NO_MATCH: :no_match
|
937
949
|
|
950
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
951
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
952
|
+
|
938
953
|
def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::result]
|
939
954
|
end
|
940
955
|
end
|
@@ -130,12 +130,26 @@ module Increase
|
|
130
130
|
type card_authorization =
|
131
131
|
{
|
132
132
|
decision: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decision,
|
133
|
+
approval: Increase::RealTimeDecisionActionParams::CardAuthorization::Approval,
|
134
|
+
decline: Increase::RealTimeDecisionActionParams::CardAuthorization::Decline,
|
133
135
|
decline_reason: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decline_reason
|
134
136
|
}
|
135
137
|
|
136
138
|
class CardAuthorization < Increase::Internal::Type::BaseModel
|
137
139
|
attr_accessor decision: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decision
|
138
140
|
|
141
|
+
attr_reader approval: Increase::RealTimeDecisionActionParams::CardAuthorization::Approval?
|
142
|
+
|
143
|
+
def approval=: (
|
144
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval
|
145
|
+
) -> Increase::RealTimeDecisionActionParams::CardAuthorization::Approval
|
146
|
+
|
147
|
+
attr_reader decline: Increase::RealTimeDecisionActionParams::CardAuthorization::Decline?
|
148
|
+
|
149
|
+
def decline=: (
|
150
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline
|
151
|
+
) -> Increase::RealTimeDecisionActionParams::CardAuthorization::Decline
|
152
|
+
|
139
153
|
attr_reader decline_reason: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decline_reason?
|
140
154
|
|
141
155
|
def decline_reason=: (
|
@@ -144,11 +158,15 @@ module Increase
|
|
144
158
|
|
145
159
|
def initialize: (
|
146
160
|
decision: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decision,
|
161
|
+
?approval: Increase::RealTimeDecisionActionParams::CardAuthorization::Approval,
|
162
|
+
?decline: Increase::RealTimeDecisionActionParams::CardAuthorization::Decline,
|
147
163
|
?decline_reason: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decline_reason
|
148
164
|
) -> void
|
149
165
|
|
150
166
|
def to_hash: -> {
|
151
167
|
decision: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decision,
|
168
|
+
approval: Increase::RealTimeDecisionActionParams::CardAuthorization::Approval,
|
169
|
+
decline: Increase::RealTimeDecisionActionParams::CardAuthorization::Decline,
|
152
170
|
decline_reason: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decline_reason
|
153
171
|
}
|
154
172
|
|
@@ -166,6 +184,126 @@ module Increase
|
|
166
184
|
def self?.values: -> ::Array[Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decision]
|
167
185
|
end
|
168
186
|
|
187
|
+
type approval =
|
188
|
+
{
|
189
|
+
cardholder_address_verification_result: Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult
|
190
|
+
}
|
191
|
+
|
192
|
+
class Approval < Increase::Internal::Type::BaseModel
|
193
|
+
attr_reader cardholder_address_verification_result: Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult?
|
194
|
+
|
195
|
+
def cardholder_address_verification_result=: (
|
196
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult
|
197
|
+
) -> Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult
|
198
|
+
|
199
|
+
def initialize: (
|
200
|
+
?cardholder_address_verification_result: Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult
|
201
|
+
) -> void
|
202
|
+
|
203
|
+
def to_hash: -> {
|
204
|
+
cardholder_address_verification_result: Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult
|
205
|
+
}
|
206
|
+
|
207
|
+
type cardholder_address_verification_result =
|
208
|
+
{
|
209
|
+
:line1 => Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::line1,
|
210
|
+
postal_code: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::postal_code
|
211
|
+
}
|
212
|
+
|
213
|
+
class CardholderAddressVerificationResult < Increase::Internal::Type::BaseModel
|
214
|
+
attr_accessor line1: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::line1
|
215
|
+
|
216
|
+
attr_accessor postal_code: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::postal_code
|
217
|
+
|
218
|
+
def initialize: (
|
219
|
+
line1: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::line1,
|
220
|
+
postal_code: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::postal_code
|
221
|
+
) -> void
|
222
|
+
|
223
|
+
def to_hash: -> {
|
224
|
+
:line1 => Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::line1,
|
225
|
+
postal_code: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::postal_code
|
226
|
+
}
|
227
|
+
|
228
|
+
type line1 = :match | :no_match
|
229
|
+
|
230
|
+
module Line1
|
231
|
+
extend Increase::Internal::Type::Enum
|
232
|
+
|
233
|
+
# The cardholder address verification result matches the address provided by the merchant.
|
234
|
+
MATCH: :match
|
235
|
+
|
236
|
+
# The cardholder address verification result does not match the address provided by the merchant.
|
237
|
+
NO_MATCH: :no_match
|
238
|
+
|
239
|
+
def self?.values: -> ::Array[Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::line1]
|
240
|
+
end
|
241
|
+
|
242
|
+
type postal_code = :match | :no_match
|
243
|
+
|
244
|
+
module PostalCode
|
245
|
+
extend Increase::Internal::Type::Enum
|
246
|
+
|
247
|
+
# The cardholder address verification result matches the address provided by the merchant.
|
248
|
+
MATCH: :match
|
249
|
+
|
250
|
+
# The cardholder address verification result does not match the address provided by the merchant.
|
251
|
+
NO_MATCH: :no_match
|
252
|
+
|
253
|
+
def self?.values: -> ::Array[Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::postal_code]
|
254
|
+
end
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
type decline =
|
259
|
+
{
|
260
|
+
reason: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline::reason
|
261
|
+
}
|
262
|
+
|
263
|
+
class Decline < Increase::Internal::Type::BaseModel
|
264
|
+
attr_accessor reason: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline::reason
|
265
|
+
|
266
|
+
def initialize: (
|
267
|
+
reason: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline::reason
|
268
|
+
) -> void
|
269
|
+
|
270
|
+
def to_hash: -> {
|
271
|
+
reason: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline::reason
|
272
|
+
}
|
273
|
+
|
274
|
+
type reason =
|
275
|
+
:insufficient_funds
|
276
|
+
| :transaction_never_allowed
|
277
|
+
| :exceeds_approval_limit
|
278
|
+
| :card_temporarily_disabled
|
279
|
+
| :suspected_fraud
|
280
|
+
| :other
|
281
|
+
|
282
|
+
module Reason
|
283
|
+
extend Increase::Internal::Type::Enum
|
284
|
+
|
285
|
+
# The cardholder does not have sufficient funds to cover the transaction. The merchant may attempt to process the transaction again.
|
286
|
+
INSUFFICIENT_FUNDS: :insufficient_funds
|
287
|
+
|
288
|
+
# This type of transaction is not allowed for this card. This transaction should not be retried.
|
289
|
+
TRANSACTION_NEVER_ALLOWED: :transaction_never_allowed
|
290
|
+
|
291
|
+
# The transaction amount exceeds the cardholder's approval limit. The merchant may attempt to process the transaction again.
|
292
|
+
EXCEEDS_APPROVAL_LIMIT: :exceeds_approval_limit
|
293
|
+
|
294
|
+
# The card has been temporarily disabled or not yet activated. The merchant may attempt to process the transaction again.
|
295
|
+
CARD_TEMPORARILY_DISABLED: :card_temporarily_disabled
|
296
|
+
|
297
|
+
# The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
|
298
|
+
SUSPECTED_FRAUD: :suspected_fraud
|
299
|
+
|
300
|
+
# The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
|
301
|
+
OTHER: :other
|
302
|
+
|
303
|
+
def self?.values: -> ::Array[Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline::reason]
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
169
307
|
type decline_reason =
|
170
308
|
:insufficient_funds
|
171
309
|
| :transaction_never_allowed
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: increase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.73.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Increase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|