increase 1.274.0 → 1.276.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.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/card_payment.rb +1847 -207
  5. data/lib/increase/models/declined_transaction.rb +183 -1
  6. data/lib/increase/models/event.rb +6 -0
  7. data/lib/increase/models/event_list_params.rb +6 -0
  8. data/lib/increase/models/event_subscription.rb +6 -0
  9. data/lib/increase/models/event_subscription_create_params.rb +6 -0
  10. data/lib/increase/models/pending_transaction.rb +185 -1
  11. data/lib/increase/models/transaction.rb +548 -3
  12. data/lib/increase/models/unwrap_webhook_event.rb +6 -0
  13. data/lib/increase/version.rb +1 -1
  14. data/rbi/increase/models/card_payment.rbi +3985 -595
  15. data/rbi/increase/models/declined_transaction.rbi +374 -0
  16. data/rbi/increase/models/event.rbi +14 -0
  17. data/rbi/increase/models/event_list_params.rbi +14 -0
  18. data/rbi/increase/models/event_subscription.rbi +14 -0
  19. data/rbi/increase/models/event_subscription_create_params.rbi +14 -0
  20. data/rbi/increase/models/pending_transaction.rbi +374 -0
  21. data/rbi/increase/models/transaction.rbi +1157 -41
  22. data/rbi/increase/models/unwrap_webhook_event.rbi +14 -0
  23. data/sig/increase/models/card_payment.rbs +1912 -274
  24. data/sig/increase/models/declined_transaction.rbs +182 -0
  25. data/sig/increase/models/event.rbs +8 -0
  26. data/sig/increase/models/event_list_params.rbs +8 -0
  27. data/sig/increase/models/event_subscription.rbs +8 -0
  28. data/sig/increase/models/event_subscription_create_params.rbs +8 -0
  29. data/sig/increase/models/pending_transaction.rbs +182 -0
  30. data/sig/increase/models/transaction.rbs +546 -0
  31. data/sig/increase/models/unwrap_webhook_event.rbs +8 -0
  32. 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,
@@ -114,6 +114,8 @@ module Increase
114
114
  | :"intrafi_exclusion.updated"
115
115
  | :"legacy_card_dispute.created"
116
116
  | :"legacy_card_dispute.updated"
117
+ | :"lockbox_address.created"
118
+ | :"lockbox_address.updated"
117
119
  | :"lockbox.created"
118
120
  | :"lockbox.updated"
119
121
  | :"oauth_connection.created"
@@ -371,6 +373,12 @@ module Increase
371
373
  # Occurs whenever a Legacy Card Dispute is updated.
372
374
  LEGACY_CARD_DISPUTE_UPDATED: :"legacy_card_dispute.updated"
373
375
 
376
+ # Occurs whenever a Lockbox Address is created.
377
+ LOCKBOX_ADDRESS_CREATED: :"lockbox_address.created"
378
+
379
+ # Occurs whenever a Lockbox Address is updated.
380
+ LOCKBOX_ADDRESS_UPDATED: :"lockbox_address.updated"
381
+
374
382
  # Occurs whenever a Lockbox is created.
375
383
  LOCKBOX_CREATED: :"lockbox.created"
376
384
 
@@ -147,6 +147,8 @@ module Increase
147
147
  | :"intrafi_exclusion.updated"
148
148
  | :"legacy_card_dispute.created"
149
149
  | :"legacy_card_dispute.updated"
150
+ | :"lockbox_address.created"
151
+ | :"lockbox_address.updated"
150
152
  | :"lockbox.created"
151
153
  | :"lockbox.updated"
152
154
  | :"oauth_connection.created"
@@ -404,6 +406,12 @@ module Increase
404
406
  # Occurs whenever a Legacy Card Dispute is updated.
405
407
  LEGACY_CARD_DISPUTE_UPDATED: :"legacy_card_dispute.updated"
406
408
 
409
+ # Occurs whenever a Lockbox Address is created.
410
+ LOCKBOX_ADDRESS_CREATED: :"lockbox_address.created"
411
+
412
+ # Occurs whenever a Lockbox Address is updated.
413
+ LOCKBOX_ADDRESS_UPDATED: :"lockbox_address.updated"
414
+
407
415
  # Occurs whenever a Lockbox is created.
408
416
  LOCKBOX_CREATED: :"lockbox.created"
409
417
 
@@ -140,6 +140,8 @@ module Increase
140
140
  | :"intrafi_exclusion.updated"
141
141
  | :"legacy_card_dispute.created"
142
142
  | :"legacy_card_dispute.updated"
143
+ | :"lockbox_address.created"
144
+ | :"lockbox_address.updated"
143
145
  | :"lockbox.created"
144
146
  | :"lockbox.updated"
145
147
  | :"oauth_connection.created"
@@ -397,6 +399,12 @@ module Increase
397
399
  # Occurs whenever a Legacy Card Dispute is updated.
398
400
  LEGACY_CARD_DISPUTE_UPDATED: :"legacy_card_dispute.updated"
399
401
 
402
+ # Occurs whenever a Lockbox Address is created.
403
+ LOCKBOX_ADDRESS_CREATED: :"lockbox_address.created"
404
+
405
+ # Occurs whenever a Lockbox Address is updated.
406
+ LOCKBOX_ADDRESS_UPDATED: :"lockbox_address.updated"
407
+
400
408
  # Occurs whenever a Lockbox is created.
401
409
  LOCKBOX_CREATED: :"lockbox.created"
402
410
 
@@ -143,6 +143,8 @@ module Increase
143
143
  | :"intrafi_exclusion.updated"
144
144
  | :"legacy_card_dispute.created"
145
145
  | :"legacy_card_dispute.updated"
146
+ | :"lockbox_address.created"
147
+ | :"lockbox_address.updated"
146
148
  | :"lockbox.created"
147
149
  | :"lockbox.updated"
148
150
  | :"oauth_connection.created"
@@ -400,6 +402,12 @@ module Increase
400
402
  # Occurs whenever a Legacy Card Dispute is updated.
401
403
  LEGACY_CARD_DISPUTE_UPDATED: :"legacy_card_dispute.updated"
402
404
 
405
+ # Occurs whenever a Lockbox Address is created.
406
+ LOCKBOX_ADDRESS_CREATED: :"lockbox_address.created"
407
+
408
+ # Occurs whenever a Lockbox Address is updated.
409
+ LOCKBOX_ADDRESS_UPDATED: :"lockbox_address.updated"
410
+
403
411
  # Occurs whenever a Lockbox is created.
404
412
  LOCKBOX_CREATED: :"lockbox.created"
405
413
 
@@ -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