increase 1.273.0 → 1.275.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 +21 -0
- data/README.md +1 -1
- data/lib/increase/models/card_payment.rb +1847 -207
- data/lib/increase/models/declined_transaction.rb +183 -1
- data/lib/increase/models/entity.rb +1 -1
- data/lib/increase/models/entity_update_params.rb +49 -9
- data/lib/increase/models/pending_transaction.rb +185 -1
- data/lib/increase/models/transaction.rb +548 -3
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_payment.rbi +3985 -595
- data/rbi/increase/models/declined_transaction.rbi +374 -0
- data/rbi/increase/models/entity.rbi +1 -1
- data/rbi/increase/models/entity_update_params.rbi +128 -14
- data/rbi/increase/models/pending_transaction.rbi +374 -0
- data/rbi/increase/models/transaction.rbi +1157 -41
- data/sig/increase/models/card_payment.rbs +1912 -274
- data/sig/increase/models/declined_transaction.rbs +182 -0
- data/sig/increase/models/entity.rbs +1 -1
- data/sig/increase/models/entity_update_params.rbs +52 -10
- data/sig/increase/models/pending_transaction.rbs +182 -0
- data/sig/increase/models/transaction.rbs +546 -0
- metadata +2 -2
|
@@ -372,6 +372,7 @@ module Increase
|
|
|
372
372
|
real_time_decision_id: String?,
|
|
373
373
|
real_time_decision_reason: Increase::Models::DeclinedTransaction::Source::CardDecline::real_time_decision_reason?,
|
|
374
374
|
reason: Increase::Models::DeclinedTransaction::Source::CardDecline::reason,
|
|
375
|
+
scheme_fees: ::Array[Increase::DeclinedTransaction::Source::CardDecline::SchemeFee],
|
|
375
376
|
terminal_id: String?,
|
|
376
377
|
verification: Increase::DeclinedTransaction::Source::CardDecline::Verification
|
|
377
378
|
}
|
|
@@ -431,6 +432,8 @@ module Increase
|
|
|
431
432
|
|
|
432
433
|
attr_accessor reason: Increase::Models::DeclinedTransaction::Source::CardDecline::reason
|
|
433
434
|
|
|
435
|
+
attr_accessor scheme_fees: ::Array[Increase::DeclinedTransaction::Source::CardDecline::SchemeFee]
|
|
436
|
+
|
|
434
437
|
attr_accessor terminal_id: String?
|
|
435
438
|
|
|
436
439
|
attr_accessor verification: Increase::DeclinedTransaction::Source::CardDecline::Verification
|
|
@@ -463,6 +466,7 @@ module Increase
|
|
|
463
466
|
real_time_decision_id: String?,
|
|
464
467
|
real_time_decision_reason: Increase::Models::DeclinedTransaction::Source::CardDecline::real_time_decision_reason?,
|
|
465
468
|
reason: Increase::Models::DeclinedTransaction::Source::CardDecline::reason,
|
|
469
|
+
scheme_fees: ::Array[Increase::DeclinedTransaction::Source::CardDecline::SchemeFee],
|
|
466
470
|
terminal_id: String?,
|
|
467
471
|
verification: Increase::DeclinedTransaction::Source::CardDecline::Verification
|
|
468
472
|
) -> void
|
|
@@ -495,6 +499,7 @@ module Increase
|
|
|
495
499
|
real_time_decision_id: String?,
|
|
496
500
|
real_time_decision_reason: Increase::Models::DeclinedTransaction::Source::CardDecline::real_time_decision_reason?,
|
|
497
501
|
reason: Increase::Models::DeclinedTransaction::Source::CardDecline::reason,
|
|
502
|
+
scheme_fees: ::Array[Increase::DeclinedTransaction::Source::CardDecline::SchemeFee],
|
|
498
503
|
terminal_id: String?,
|
|
499
504
|
verification: Increase::DeclinedTransaction::Source::CardDecline::Verification
|
|
500
505
|
}
|
|
@@ -1176,6 +1181,183 @@ module Increase
|
|
|
1176
1181
|
def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::reason]
|
|
1177
1182
|
end
|
|
1178
1183
|
|
|
1184
|
+
type scheme_fee =
|
|
1185
|
+
{
|
|
1186
|
+
amount: String,
|
|
1187
|
+
created_at: Time,
|
|
1188
|
+
currency: Increase::Models::DeclinedTransaction::Source::CardDecline::SchemeFee::currency,
|
|
1189
|
+
fee_type: Increase::Models::DeclinedTransaction::Source::CardDecline::SchemeFee::fee_type,
|
|
1190
|
+
fixed_component: String?,
|
|
1191
|
+
variable_rate: String?
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
class SchemeFee < Increase::Internal::Type::BaseModel
|
|
1195
|
+
attr_accessor amount: String
|
|
1196
|
+
|
|
1197
|
+
attr_accessor created_at: Time
|
|
1198
|
+
|
|
1199
|
+
attr_accessor currency: Increase::Models::DeclinedTransaction::Source::CardDecline::SchemeFee::currency
|
|
1200
|
+
|
|
1201
|
+
attr_accessor fee_type: Increase::Models::DeclinedTransaction::Source::CardDecline::SchemeFee::fee_type
|
|
1202
|
+
|
|
1203
|
+
attr_accessor fixed_component: String?
|
|
1204
|
+
|
|
1205
|
+
attr_accessor variable_rate: String?
|
|
1206
|
+
|
|
1207
|
+
def initialize: (
|
|
1208
|
+
amount: String,
|
|
1209
|
+
created_at: Time,
|
|
1210
|
+
currency: Increase::Models::DeclinedTransaction::Source::CardDecline::SchemeFee::currency,
|
|
1211
|
+
fee_type: Increase::Models::DeclinedTransaction::Source::CardDecline::SchemeFee::fee_type,
|
|
1212
|
+
fixed_component: String?,
|
|
1213
|
+
variable_rate: String?
|
|
1214
|
+
) -> void
|
|
1215
|
+
|
|
1216
|
+
def to_hash: -> {
|
|
1217
|
+
amount: String,
|
|
1218
|
+
created_at: Time,
|
|
1219
|
+
currency: Increase::Models::DeclinedTransaction::Source::CardDecline::SchemeFee::currency,
|
|
1220
|
+
fee_type: Increase::Models::DeclinedTransaction::Source::CardDecline::SchemeFee::fee_type,
|
|
1221
|
+
fixed_component: String?,
|
|
1222
|
+
variable_rate: String?
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
type currency = :USD
|
|
1226
|
+
|
|
1227
|
+
module Currency
|
|
1228
|
+
extend Increase::Internal::Type::Enum
|
|
1229
|
+
|
|
1230
|
+
# US Dollar (USD)
|
|
1231
|
+
USD: :USD
|
|
1232
|
+
|
|
1233
|
+
def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::SchemeFee::currency]
|
|
1234
|
+
end
|
|
1235
|
+
|
|
1236
|
+
type fee_type =
|
|
1237
|
+
:visa_international_service_assessment_single_currency
|
|
1238
|
+
| :visa_international_service_assessment_cross_currency
|
|
1239
|
+
| :visa_authorization_domestic_point_of_sale
|
|
1240
|
+
| :visa_authorization_international_point_of_sale
|
|
1241
|
+
| :visa_authorization_canada_point_of_sale
|
|
1242
|
+
| :visa_authorization_reversal_point_of_sale
|
|
1243
|
+
| :visa_authorization_reversal_international_point_of_sale
|
|
1244
|
+
| :visa_authorization_address_verification_service
|
|
1245
|
+
| :visa_advanced_authorization
|
|
1246
|
+
| :visa_message_transmission
|
|
1247
|
+
| :visa_account_verification_domestic
|
|
1248
|
+
| :visa_account_verification_international
|
|
1249
|
+
| :visa_account_verification_canada
|
|
1250
|
+
| :visa_corporate_acceptance_fee
|
|
1251
|
+
| :visa_consumer_debit_acceptance_fee
|
|
1252
|
+
| :visa_business_debit_acceptance_fee
|
|
1253
|
+
| :visa_purchasing_acceptance_fee
|
|
1254
|
+
| :visa_purchase_domestic
|
|
1255
|
+
| :visa_purchase_international
|
|
1256
|
+
| :visa_credit_purchase_token
|
|
1257
|
+
| :visa_debit_purchase_token
|
|
1258
|
+
| :visa_clearing_transmission
|
|
1259
|
+
| :visa_direct_authorization
|
|
1260
|
+
| :visa_direct_transaction_domestic
|
|
1261
|
+
| :visa_service_commercial_credit
|
|
1262
|
+
| :visa_advertising_service_commercial_credit
|
|
1263
|
+
| :visa_community_growth_acceleration_program
|
|
1264
|
+
| :visa_processing_guarantee_commercial_credit
|
|
1265
|
+
| :pulse_switch_fee
|
|
1266
|
+
|
|
1267
|
+
module FeeType
|
|
1268
|
+
extend Increase::Internal::Type::Enum
|
|
1269
|
+
|
|
1270
|
+
# International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
|
|
1271
|
+
VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY: :visa_international_service_assessment_single_currency
|
|
1272
|
+
|
|
1273
|
+
# International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
|
|
1274
|
+
VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY: :visa_international_service_assessment_cross_currency
|
|
1275
|
+
|
|
1276
|
+
# Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
|
|
1277
|
+
VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE: :visa_authorization_domestic_point_of_sale
|
|
1278
|
+
|
|
1279
|
+
# Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
|
|
1280
|
+
VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE: :visa_authorization_international_point_of_sale
|
|
1281
|
+
|
|
1282
|
+
# Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
|
|
1283
|
+
VISA_AUTHORIZATION_CANADA_POINT_OF_SALE: :visa_authorization_canada_point_of_sale
|
|
1284
|
+
|
|
1285
|
+
# Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
|
|
1286
|
+
VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE: :visa_authorization_reversal_point_of_sale
|
|
1287
|
+
|
|
1288
|
+
# Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
|
|
1289
|
+
VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE: :visa_authorization_reversal_international_point_of_sale
|
|
1290
|
+
|
|
1291
|
+
# A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
|
|
1292
|
+
VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE: :visa_authorization_address_verification_service
|
|
1293
|
+
|
|
1294
|
+
# Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
|
|
1295
|
+
VISA_ADVANCED_AUTHORIZATION: :visa_advanced_authorization
|
|
1296
|
+
|
|
1297
|
+
# Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
|
|
1298
|
+
VISA_MESSAGE_TRANSMISSION: :visa_message_transmission
|
|
1299
|
+
|
|
1300
|
+
# Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
|
|
1301
|
+
VISA_ACCOUNT_VERIFICATION_DOMESTIC: :visa_account_verification_domestic
|
|
1302
|
+
|
|
1303
|
+
# Activity, per inquiry, related to the international Issuer for Account Number Verification.
|
|
1304
|
+
VISA_ACCOUNT_VERIFICATION_INTERNATIONAL: :visa_account_verification_international
|
|
1305
|
+
|
|
1306
|
+
# Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
|
|
1307
|
+
VISA_ACCOUNT_VERIFICATION_CANADA: :visa_account_verification_canada
|
|
1308
|
+
|
|
1309
|
+
# The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
|
|
1310
|
+
VISA_CORPORATE_ACCEPTANCE_FEE: :visa_corporate_acceptance_fee
|
|
1311
|
+
|
|
1312
|
+
# The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
|
|
1313
|
+
VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE: :visa_consumer_debit_acceptance_fee
|
|
1314
|
+
|
|
1315
|
+
# The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
|
|
1316
|
+
VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE: :visa_business_debit_acceptance_fee
|
|
1317
|
+
|
|
1318
|
+
# The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
|
|
1319
|
+
VISA_PURCHASING_ACCEPTANCE_FEE: :visa_purchasing_acceptance_fee
|
|
1320
|
+
|
|
1321
|
+
# Activity and fees for the processing of a sales draft original for a purchase transaction.
|
|
1322
|
+
VISA_PURCHASE_DOMESTIC: :visa_purchase_domestic
|
|
1323
|
+
|
|
1324
|
+
# Activity and fees for the processing of an international sales draft original for a purchase transaction.
|
|
1325
|
+
VISA_PURCHASE_INTERNATIONAL: :visa_purchase_international
|
|
1326
|
+
|
|
1327
|
+
# Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
|
|
1328
|
+
VISA_CREDIT_PURCHASE_TOKEN: :visa_credit_purchase_token
|
|
1329
|
+
|
|
1330
|
+
# Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
|
|
1331
|
+
VISA_DEBIT_PURCHASE_TOKEN: :visa_debit_purchase_token
|
|
1332
|
+
|
|
1333
|
+
# A per transaction fee assessed for Base II financial draft - Issuer.
|
|
1334
|
+
VISA_CLEARING_TRANSMISSION: :visa_clearing_transmission
|
|
1335
|
+
|
|
1336
|
+
# Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
|
|
1337
|
+
VISA_DIRECT_AUTHORIZATION: :visa_direct_authorization
|
|
1338
|
+
|
|
1339
|
+
# Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
|
|
1340
|
+
VISA_DIRECT_TRANSACTION_DOMESTIC: :visa_direct_transaction_domestic
|
|
1341
|
+
|
|
1342
|
+
# Issuer card service fee for Commercial Credit cards.
|
|
1343
|
+
VISA_SERVICE_COMMERCIAL_CREDIT: :visa_service_commercial_credit
|
|
1344
|
+
|
|
1345
|
+
# Issuer Advertising Service Fee for Commercial Credit cards.
|
|
1346
|
+
VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT: :visa_advertising_service_commercial_credit
|
|
1347
|
+
|
|
1348
|
+
# Issuer Community Growth Acceleration Program Fee.
|
|
1349
|
+
VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM: :visa_community_growth_acceleration_program
|
|
1350
|
+
|
|
1351
|
+
# Issuer Processing Guarantee for Commercial Credit cards.
|
|
1352
|
+
VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT: :visa_processing_guarantee_commercial_credit
|
|
1353
|
+
|
|
1354
|
+
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
1355
|
+
PULSE_SWITCH_FEE: :pulse_switch_fee
|
|
1356
|
+
|
|
1357
|
+
def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::SchemeFee::fee_type]
|
|
1358
|
+
end
|
|
1359
|
+
end
|
|
1360
|
+
|
|
1179
1361
|
type verification =
|
|
1180
1362
|
{
|
|
1181
1363
|
card_verification_code: Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode,
|
|
@@ -1441,7 +1441,7 @@ module Increase
|
|
|
1441
1441
|
module Category
|
|
1442
1442
|
extend Increase::Internal::Type::Enum
|
|
1443
1443
|
|
|
1444
|
-
# The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.
|
|
1444
|
+
# The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
|
|
1445
1445
|
ENTITY_TAX_IDENTIFIER: :entity_tax_identifier
|
|
1446
1446
|
|
|
1447
1447
|
# The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.address).
|
|
@@ -89,8 +89,8 @@ module Increase
|
|
|
89
89
|
email: String,
|
|
90
90
|
incorporation_state: String,
|
|
91
91
|
industry_code: String,
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
legal_identifier: Increase::EntityUpdateParams::Corporation::LegalIdentifier,
|
|
93
|
+
name: String
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class Corporation < Increase::Internal::Type::BaseModel
|
|
@@ -112,21 +112,23 @@ module Increase
|
|
|
112
112
|
|
|
113
113
|
def industry_code=: (String) -> String
|
|
114
114
|
|
|
115
|
-
attr_reader
|
|
115
|
+
attr_reader legal_identifier: Increase::EntityUpdateParams::Corporation::LegalIdentifier?
|
|
116
116
|
|
|
117
|
-
def
|
|
117
|
+
def legal_identifier=: (
|
|
118
|
+
Increase::EntityUpdateParams::Corporation::LegalIdentifier
|
|
119
|
+
) -> Increase::EntityUpdateParams::Corporation::LegalIdentifier
|
|
118
120
|
|
|
119
|
-
attr_reader
|
|
121
|
+
attr_reader name: String?
|
|
120
122
|
|
|
121
|
-
def
|
|
123
|
+
def name=: (String) -> String
|
|
122
124
|
|
|
123
125
|
def initialize: (
|
|
124
126
|
?address: Increase::EntityUpdateParams::Corporation::Address,
|
|
125
127
|
?email: String,
|
|
126
128
|
?incorporation_state: String,
|
|
127
129
|
?industry_code: String,
|
|
128
|
-
?
|
|
129
|
-
?
|
|
130
|
+
?legal_identifier: Increase::EntityUpdateParams::Corporation::LegalIdentifier,
|
|
131
|
+
?name: String
|
|
130
132
|
) -> void
|
|
131
133
|
|
|
132
134
|
def to_hash: -> {
|
|
@@ -134,8 +136,8 @@ module Increase
|
|
|
134
136
|
email: String,
|
|
135
137
|
incorporation_state: String,
|
|
136
138
|
industry_code: String,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
+
legal_identifier: Increase::EntityUpdateParams::Corporation::LegalIdentifier,
|
|
140
|
+
name: String
|
|
139
141
|
}
|
|
140
142
|
|
|
141
143
|
type address =
|
|
@@ -185,6 +187,46 @@ module Increase
|
|
|
185
187
|
zip: String
|
|
186
188
|
}
|
|
187
189
|
end
|
|
190
|
+
|
|
191
|
+
type legal_identifier =
|
|
192
|
+
{
|
|
193
|
+
value: String,
|
|
194
|
+
category: Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
class LegalIdentifier < Increase::Internal::Type::BaseModel
|
|
198
|
+
attr_accessor value: String
|
|
199
|
+
|
|
200
|
+
attr_reader category: Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category?
|
|
201
|
+
|
|
202
|
+
def category=: (
|
|
203
|
+
Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category
|
|
204
|
+
) -> Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category
|
|
205
|
+
|
|
206
|
+
def initialize: (
|
|
207
|
+
value: String,
|
|
208
|
+
?category: Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category
|
|
209
|
+
) -> void
|
|
210
|
+
|
|
211
|
+
def to_hash: -> {
|
|
212
|
+
value: String,
|
|
213
|
+
category: Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
type category = :us_employer_identification_number | :other
|
|
217
|
+
|
|
218
|
+
module Category
|
|
219
|
+
extend Increase::Internal::Type::Enum
|
|
220
|
+
|
|
221
|
+
# The Employer Identification Number (EIN) for the company. The EIN is a 9-digit number assigned by the IRS.
|
|
222
|
+
US_EMPLOYER_IDENTIFICATION_NUMBER: :us_employer_identification_number
|
|
223
|
+
|
|
224
|
+
# A legal identifier issued by a foreign government, like a tax identification number or registration number.
|
|
225
|
+
OTHER: :other
|
|
226
|
+
|
|
227
|
+
def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category]
|
|
228
|
+
end
|
|
229
|
+
end
|
|
188
230
|
end
|
|
189
231
|
|
|
190
232
|
type government_authority =
|
|
@@ -395,6 +395,7 @@ module Increase
|
|
|
395
395
|
presentment_currency: String,
|
|
396
396
|
processing_category: Increase::Models::PendingTransaction::Source::CardAuthorization::processing_category,
|
|
397
397
|
real_time_decision_id: String?,
|
|
398
|
+
scheme_fees: ::Array[Increase::PendingTransaction::Source::CardAuthorization::SchemeFee],
|
|
398
399
|
terminal_id: String?,
|
|
399
400
|
type: Increase::Models::PendingTransaction::Source::CardAuthorization::type_,
|
|
400
401
|
verification: Increase::PendingTransaction::Source::CardAuthorization::Verification
|
|
@@ -451,6 +452,8 @@ module Increase
|
|
|
451
452
|
|
|
452
453
|
attr_accessor real_time_decision_id: String?
|
|
453
454
|
|
|
455
|
+
attr_accessor scheme_fees: ::Array[Increase::PendingTransaction::Source::CardAuthorization::SchemeFee]
|
|
456
|
+
|
|
454
457
|
attr_accessor terminal_id: String?
|
|
455
458
|
|
|
456
459
|
attr_accessor type: Increase::Models::PendingTransaction::Source::CardAuthorization::type_
|
|
@@ -483,6 +486,7 @@ module Increase
|
|
|
483
486
|
presentment_currency: String,
|
|
484
487
|
processing_category: Increase::Models::PendingTransaction::Source::CardAuthorization::processing_category,
|
|
485
488
|
real_time_decision_id: String?,
|
|
489
|
+
scheme_fees: ::Array[Increase::PendingTransaction::Source::CardAuthorization::SchemeFee],
|
|
486
490
|
terminal_id: String?,
|
|
487
491
|
type: Increase::Models::PendingTransaction::Source::CardAuthorization::type_,
|
|
488
492
|
verification: Increase::PendingTransaction::Source::CardAuthorization::Verification
|
|
@@ -514,6 +518,7 @@ module Increase
|
|
|
514
518
|
presentment_currency: String,
|
|
515
519
|
processing_category: Increase::Models::PendingTransaction::Source::CardAuthorization::processing_category,
|
|
516
520
|
real_time_decision_id: String?,
|
|
521
|
+
scheme_fees: ::Array[Increase::PendingTransaction::Source::CardAuthorization::SchemeFee],
|
|
517
522
|
terminal_id: String?,
|
|
518
523
|
type: Increase::Models::PendingTransaction::Source::CardAuthorization::type_,
|
|
519
524
|
verification: Increase::PendingTransaction::Source::CardAuthorization::Verification
|
|
@@ -1072,6 +1077,183 @@ module Increase
|
|
|
1072
1077
|
def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::processing_category]
|
|
1073
1078
|
end
|
|
1074
1079
|
|
|
1080
|
+
type scheme_fee =
|
|
1081
|
+
{
|
|
1082
|
+
amount: String,
|
|
1083
|
+
created_at: Time,
|
|
1084
|
+
currency: Increase::Models::PendingTransaction::Source::CardAuthorization::SchemeFee::currency,
|
|
1085
|
+
fee_type: Increase::Models::PendingTransaction::Source::CardAuthorization::SchemeFee::fee_type,
|
|
1086
|
+
fixed_component: String?,
|
|
1087
|
+
variable_rate: String?
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
class SchemeFee < Increase::Internal::Type::BaseModel
|
|
1091
|
+
attr_accessor amount: String
|
|
1092
|
+
|
|
1093
|
+
attr_accessor created_at: Time
|
|
1094
|
+
|
|
1095
|
+
attr_accessor currency: Increase::Models::PendingTransaction::Source::CardAuthorization::SchemeFee::currency
|
|
1096
|
+
|
|
1097
|
+
attr_accessor fee_type: Increase::Models::PendingTransaction::Source::CardAuthorization::SchemeFee::fee_type
|
|
1098
|
+
|
|
1099
|
+
attr_accessor fixed_component: String?
|
|
1100
|
+
|
|
1101
|
+
attr_accessor variable_rate: String?
|
|
1102
|
+
|
|
1103
|
+
def initialize: (
|
|
1104
|
+
amount: String,
|
|
1105
|
+
created_at: Time,
|
|
1106
|
+
currency: Increase::Models::PendingTransaction::Source::CardAuthorization::SchemeFee::currency,
|
|
1107
|
+
fee_type: Increase::Models::PendingTransaction::Source::CardAuthorization::SchemeFee::fee_type,
|
|
1108
|
+
fixed_component: String?,
|
|
1109
|
+
variable_rate: String?
|
|
1110
|
+
) -> void
|
|
1111
|
+
|
|
1112
|
+
def to_hash: -> {
|
|
1113
|
+
amount: String,
|
|
1114
|
+
created_at: Time,
|
|
1115
|
+
currency: Increase::Models::PendingTransaction::Source::CardAuthorization::SchemeFee::currency,
|
|
1116
|
+
fee_type: Increase::Models::PendingTransaction::Source::CardAuthorization::SchemeFee::fee_type,
|
|
1117
|
+
fixed_component: String?,
|
|
1118
|
+
variable_rate: String?
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
type currency = :USD
|
|
1122
|
+
|
|
1123
|
+
module Currency
|
|
1124
|
+
extend Increase::Internal::Type::Enum
|
|
1125
|
+
|
|
1126
|
+
# US Dollar (USD)
|
|
1127
|
+
USD: :USD
|
|
1128
|
+
|
|
1129
|
+
def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::SchemeFee::currency]
|
|
1130
|
+
end
|
|
1131
|
+
|
|
1132
|
+
type fee_type =
|
|
1133
|
+
:visa_international_service_assessment_single_currency
|
|
1134
|
+
| :visa_international_service_assessment_cross_currency
|
|
1135
|
+
| :visa_authorization_domestic_point_of_sale
|
|
1136
|
+
| :visa_authorization_international_point_of_sale
|
|
1137
|
+
| :visa_authorization_canada_point_of_sale
|
|
1138
|
+
| :visa_authorization_reversal_point_of_sale
|
|
1139
|
+
| :visa_authorization_reversal_international_point_of_sale
|
|
1140
|
+
| :visa_authorization_address_verification_service
|
|
1141
|
+
| :visa_advanced_authorization
|
|
1142
|
+
| :visa_message_transmission
|
|
1143
|
+
| :visa_account_verification_domestic
|
|
1144
|
+
| :visa_account_verification_international
|
|
1145
|
+
| :visa_account_verification_canada
|
|
1146
|
+
| :visa_corporate_acceptance_fee
|
|
1147
|
+
| :visa_consumer_debit_acceptance_fee
|
|
1148
|
+
| :visa_business_debit_acceptance_fee
|
|
1149
|
+
| :visa_purchasing_acceptance_fee
|
|
1150
|
+
| :visa_purchase_domestic
|
|
1151
|
+
| :visa_purchase_international
|
|
1152
|
+
| :visa_credit_purchase_token
|
|
1153
|
+
| :visa_debit_purchase_token
|
|
1154
|
+
| :visa_clearing_transmission
|
|
1155
|
+
| :visa_direct_authorization
|
|
1156
|
+
| :visa_direct_transaction_domestic
|
|
1157
|
+
| :visa_service_commercial_credit
|
|
1158
|
+
| :visa_advertising_service_commercial_credit
|
|
1159
|
+
| :visa_community_growth_acceleration_program
|
|
1160
|
+
| :visa_processing_guarantee_commercial_credit
|
|
1161
|
+
| :pulse_switch_fee
|
|
1162
|
+
|
|
1163
|
+
module FeeType
|
|
1164
|
+
extend Increase::Internal::Type::Enum
|
|
1165
|
+
|
|
1166
|
+
# International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
|
|
1167
|
+
VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY: :visa_international_service_assessment_single_currency
|
|
1168
|
+
|
|
1169
|
+
# International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
|
|
1170
|
+
VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY: :visa_international_service_assessment_cross_currency
|
|
1171
|
+
|
|
1172
|
+
# Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
|
|
1173
|
+
VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE: :visa_authorization_domestic_point_of_sale
|
|
1174
|
+
|
|
1175
|
+
# Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
|
|
1176
|
+
VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE: :visa_authorization_international_point_of_sale
|
|
1177
|
+
|
|
1178
|
+
# Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
|
|
1179
|
+
VISA_AUTHORIZATION_CANADA_POINT_OF_SALE: :visa_authorization_canada_point_of_sale
|
|
1180
|
+
|
|
1181
|
+
# Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
|
|
1182
|
+
VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE: :visa_authorization_reversal_point_of_sale
|
|
1183
|
+
|
|
1184
|
+
# Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
|
|
1185
|
+
VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE: :visa_authorization_reversal_international_point_of_sale
|
|
1186
|
+
|
|
1187
|
+
# A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
|
|
1188
|
+
VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE: :visa_authorization_address_verification_service
|
|
1189
|
+
|
|
1190
|
+
# Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
|
|
1191
|
+
VISA_ADVANCED_AUTHORIZATION: :visa_advanced_authorization
|
|
1192
|
+
|
|
1193
|
+
# Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
|
|
1194
|
+
VISA_MESSAGE_TRANSMISSION: :visa_message_transmission
|
|
1195
|
+
|
|
1196
|
+
# Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
|
|
1197
|
+
VISA_ACCOUNT_VERIFICATION_DOMESTIC: :visa_account_verification_domestic
|
|
1198
|
+
|
|
1199
|
+
# Activity, per inquiry, related to the international Issuer for Account Number Verification.
|
|
1200
|
+
VISA_ACCOUNT_VERIFICATION_INTERNATIONAL: :visa_account_verification_international
|
|
1201
|
+
|
|
1202
|
+
# Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
|
|
1203
|
+
VISA_ACCOUNT_VERIFICATION_CANADA: :visa_account_verification_canada
|
|
1204
|
+
|
|
1205
|
+
# The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
|
|
1206
|
+
VISA_CORPORATE_ACCEPTANCE_FEE: :visa_corporate_acceptance_fee
|
|
1207
|
+
|
|
1208
|
+
# The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
|
|
1209
|
+
VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE: :visa_consumer_debit_acceptance_fee
|
|
1210
|
+
|
|
1211
|
+
# The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
|
|
1212
|
+
VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE: :visa_business_debit_acceptance_fee
|
|
1213
|
+
|
|
1214
|
+
# The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
|
|
1215
|
+
VISA_PURCHASING_ACCEPTANCE_FEE: :visa_purchasing_acceptance_fee
|
|
1216
|
+
|
|
1217
|
+
# Activity and fees for the processing of a sales draft original for a purchase transaction.
|
|
1218
|
+
VISA_PURCHASE_DOMESTIC: :visa_purchase_domestic
|
|
1219
|
+
|
|
1220
|
+
# Activity and fees for the processing of an international sales draft original for a purchase transaction.
|
|
1221
|
+
VISA_PURCHASE_INTERNATIONAL: :visa_purchase_international
|
|
1222
|
+
|
|
1223
|
+
# Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
|
|
1224
|
+
VISA_CREDIT_PURCHASE_TOKEN: :visa_credit_purchase_token
|
|
1225
|
+
|
|
1226
|
+
# Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
|
|
1227
|
+
VISA_DEBIT_PURCHASE_TOKEN: :visa_debit_purchase_token
|
|
1228
|
+
|
|
1229
|
+
# A per transaction fee assessed for Base II financial draft - Issuer.
|
|
1230
|
+
VISA_CLEARING_TRANSMISSION: :visa_clearing_transmission
|
|
1231
|
+
|
|
1232
|
+
# Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
|
|
1233
|
+
VISA_DIRECT_AUTHORIZATION: :visa_direct_authorization
|
|
1234
|
+
|
|
1235
|
+
# Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
|
|
1236
|
+
VISA_DIRECT_TRANSACTION_DOMESTIC: :visa_direct_transaction_domestic
|
|
1237
|
+
|
|
1238
|
+
# Issuer card service fee for Commercial Credit cards.
|
|
1239
|
+
VISA_SERVICE_COMMERCIAL_CREDIT: :visa_service_commercial_credit
|
|
1240
|
+
|
|
1241
|
+
# Issuer Advertising Service Fee for Commercial Credit cards.
|
|
1242
|
+
VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT: :visa_advertising_service_commercial_credit
|
|
1243
|
+
|
|
1244
|
+
# Issuer Community Growth Acceleration Program Fee.
|
|
1245
|
+
VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM: :visa_community_growth_acceleration_program
|
|
1246
|
+
|
|
1247
|
+
# Issuer Processing Guarantee for Commercial Credit cards.
|
|
1248
|
+
VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT: :visa_processing_guarantee_commercial_credit
|
|
1249
|
+
|
|
1250
|
+
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
1251
|
+
PULSE_SWITCH_FEE: :pulse_switch_fee
|
|
1252
|
+
|
|
1253
|
+
def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::SchemeFee::fee_type]
|
|
1254
|
+
end
|
|
1255
|
+
end
|
|
1256
|
+
|
|
1075
1257
|
type type_ = :card_authorization
|
|
1076
1258
|
|
|
1077
1259
|
module Type
|