increase 1.90.0 → 1.91.1

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.
@@ -114,6 +114,7 @@ module Increase
114
114
  card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?,
115
115
  card_dispute_financial: Increase::Transaction::Source::CardDisputeFinancial?,
116
116
  card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?,
117
+ card_financial: Increase::Transaction::Source::CardFinancial?,
117
118
  card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?,
118
119
  card_refund: Increase::Transaction::Source::CardRefund?,
119
120
  card_revenue_payment: Increase::Transaction::Source::CardRevenuePayment?,
@@ -161,6 +162,8 @@ module Increase
161
162
 
162
163
  attr_accessor card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?
163
164
 
165
+ attr_accessor card_financial: Increase::Transaction::Source::CardFinancial?
166
+
164
167
  attr_accessor card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?
165
168
 
166
169
  attr_accessor card_refund: Increase::Transaction::Source::CardRefund?
@@ -226,6 +229,7 @@ module Increase
226
229
  card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?,
227
230
  card_dispute_financial: Increase::Transaction::Source::CardDisputeFinancial?,
228
231
  card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?,
232
+ card_financial: Increase::Transaction::Source::CardFinancial?,
229
233
  card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?,
230
234
  card_refund: Increase::Transaction::Source::CardRefund?,
231
235
  card_revenue_payment: Increase::Transaction::Source::CardRevenuePayment?,
@@ -265,6 +269,7 @@ module Increase
265
269
  card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?,
266
270
  card_dispute_financial: Increase::Transaction::Source::CardDisputeFinancial?,
267
271
  card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?,
272
+ card_financial: Increase::Transaction::Source::CardFinancial?,
268
273
  card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?,
269
274
  card_refund: Increase::Transaction::Source::CardRefund?,
270
275
  card_revenue_payment: Increase::Transaction::Source::CardRevenuePayment?,
@@ -899,6 +904,765 @@ module Increase
899
904
  }
900
905
  end
901
906
 
907
+ type card_financial =
908
+ {
909
+ id: String,
910
+ actioner: Increase::Models::Transaction::Source::CardFinancial::actioner,
911
+ additional_amounts: Increase::Transaction::Source::CardFinancial::AdditionalAmounts,
912
+ amount: Integer,
913
+ card_payment_id: String,
914
+ currency: Increase::Models::Transaction::Source::CardFinancial::currency,
915
+ digital_wallet_token_id: String?,
916
+ direction: Increase::Models::Transaction::Source::CardFinancial::direction,
917
+ merchant_acceptor_id: String,
918
+ merchant_category_code: String,
919
+ merchant_city: String?,
920
+ merchant_country: String,
921
+ merchant_descriptor: String,
922
+ merchant_postal_code: String?,
923
+ merchant_state: String?,
924
+ network_details: Increase::Transaction::Source::CardFinancial::NetworkDetails,
925
+ network_identifiers: Increase::Transaction::Source::CardFinancial::NetworkIdentifiers,
926
+ network_risk_score: Integer?,
927
+ physical_card_id: String?,
928
+ presentment_amount: Integer,
929
+ presentment_currency: String,
930
+ processing_category: Increase::Models::Transaction::Source::CardFinancial::processing_category,
931
+ real_time_decision_id: String?,
932
+ terminal_id: String?,
933
+ transaction_id: String,
934
+ type: Increase::Models::Transaction::Source::CardFinancial::type_,
935
+ verification: Increase::Transaction::Source::CardFinancial::Verification
936
+ }
937
+
938
+ class CardFinancial < Increase::Internal::Type::BaseModel
939
+ attr_accessor id: String
940
+
941
+ attr_accessor actioner: Increase::Models::Transaction::Source::CardFinancial::actioner
942
+
943
+ attr_accessor additional_amounts: Increase::Transaction::Source::CardFinancial::AdditionalAmounts
944
+
945
+ attr_accessor amount: Integer
946
+
947
+ attr_accessor card_payment_id: String
948
+
949
+ attr_accessor currency: Increase::Models::Transaction::Source::CardFinancial::currency
950
+
951
+ attr_accessor digital_wallet_token_id: String?
952
+
953
+ attr_accessor direction: Increase::Models::Transaction::Source::CardFinancial::direction
954
+
955
+ attr_accessor merchant_acceptor_id: String
956
+
957
+ attr_accessor merchant_category_code: String
958
+
959
+ attr_accessor merchant_city: String?
960
+
961
+ attr_accessor merchant_country: String
962
+
963
+ attr_accessor merchant_descriptor: String
964
+
965
+ attr_accessor merchant_postal_code: String?
966
+
967
+ attr_accessor merchant_state: String?
968
+
969
+ attr_accessor network_details: Increase::Transaction::Source::CardFinancial::NetworkDetails
970
+
971
+ attr_accessor network_identifiers: Increase::Transaction::Source::CardFinancial::NetworkIdentifiers
972
+
973
+ attr_accessor network_risk_score: Integer?
974
+
975
+ attr_accessor physical_card_id: String?
976
+
977
+ attr_accessor presentment_amount: Integer
978
+
979
+ attr_accessor presentment_currency: String
980
+
981
+ attr_accessor processing_category: Increase::Models::Transaction::Source::CardFinancial::processing_category
982
+
983
+ attr_accessor real_time_decision_id: String?
984
+
985
+ attr_accessor terminal_id: String?
986
+
987
+ attr_accessor transaction_id: String
988
+
989
+ attr_accessor type: Increase::Models::Transaction::Source::CardFinancial::type_
990
+
991
+ attr_accessor verification: Increase::Transaction::Source::CardFinancial::Verification
992
+
993
+ def initialize: (
994
+ id: String,
995
+ actioner: Increase::Models::Transaction::Source::CardFinancial::actioner,
996
+ additional_amounts: Increase::Transaction::Source::CardFinancial::AdditionalAmounts,
997
+ amount: Integer,
998
+ card_payment_id: String,
999
+ currency: Increase::Models::Transaction::Source::CardFinancial::currency,
1000
+ digital_wallet_token_id: String?,
1001
+ direction: Increase::Models::Transaction::Source::CardFinancial::direction,
1002
+ merchant_acceptor_id: String,
1003
+ merchant_category_code: String,
1004
+ merchant_city: String?,
1005
+ merchant_country: String,
1006
+ merchant_descriptor: String,
1007
+ merchant_postal_code: String?,
1008
+ merchant_state: String?,
1009
+ network_details: Increase::Transaction::Source::CardFinancial::NetworkDetails,
1010
+ network_identifiers: Increase::Transaction::Source::CardFinancial::NetworkIdentifiers,
1011
+ network_risk_score: Integer?,
1012
+ physical_card_id: String?,
1013
+ presentment_amount: Integer,
1014
+ presentment_currency: String,
1015
+ processing_category: Increase::Models::Transaction::Source::CardFinancial::processing_category,
1016
+ real_time_decision_id: String?,
1017
+ terminal_id: String?,
1018
+ transaction_id: String,
1019
+ type: Increase::Models::Transaction::Source::CardFinancial::type_,
1020
+ verification: Increase::Transaction::Source::CardFinancial::Verification
1021
+ ) -> void
1022
+
1023
+ def to_hash: -> {
1024
+ id: String,
1025
+ actioner: Increase::Models::Transaction::Source::CardFinancial::actioner,
1026
+ additional_amounts: Increase::Transaction::Source::CardFinancial::AdditionalAmounts,
1027
+ amount: Integer,
1028
+ card_payment_id: String,
1029
+ currency: Increase::Models::Transaction::Source::CardFinancial::currency,
1030
+ digital_wallet_token_id: String?,
1031
+ direction: Increase::Models::Transaction::Source::CardFinancial::direction,
1032
+ merchant_acceptor_id: String,
1033
+ merchant_category_code: String,
1034
+ merchant_city: String?,
1035
+ merchant_country: String,
1036
+ merchant_descriptor: String,
1037
+ merchant_postal_code: String?,
1038
+ merchant_state: String?,
1039
+ network_details: Increase::Transaction::Source::CardFinancial::NetworkDetails,
1040
+ network_identifiers: Increase::Transaction::Source::CardFinancial::NetworkIdentifiers,
1041
+ network_risk_score: Integer?,
1042
+ physical_card_id: String?,
1043
+ presentment_amount: Integer,
1044
+ presentment_currency: String,
1045
+ processing_category: Increase::Models::Transaction::Source::CardFinancial::processing_category,
1046
+ real_time_decision_id: String?,
1047
+ terminal_id: String?,
1048
+ transaction_id: String,
1049
+ type: Increase::Models::Transaction::Source::CardFinancial::type_,
1050
+ verification: Increase::Transaction::Source::CardFinancial::Verification
1051
+ }
1052
+
1053
+ type actioner = :user | :increase | :network
1054
+
1055
+ module Actioner
1056
+ extend Increase::Internal::Type::Enum
1057
+
1058
+ # This object was actioned by the user through a real-time decision.
1059
+ USER: :user
1060
+
1061
+ # This object was actioned by Increase without user intervention.
1062
+ INCREASE: :increase
1063
+
1064
+ # This object was actioned by the network, through stand-in processing.
1065
+ NETWORK: :network
1066
+
1067
+ def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardFinancial::actioner]
1068
+ end
1069
+
1070
+ type additional_amounts =
1071
+ {
1072
+ clinic: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Clinic?,
1073
+ dental: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Dental?,
1074
+ prescription: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Prescription?,
1075
+ surcharge: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Surcharge?,
1076
+ total_cumulative: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::TotalCumulative?,
1077
+ total_healthcare: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::TotalHealthcare?,
1078
+ transit: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Transit?,
1079
+ unknown: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Unknown?,
1080
+ vision: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Vision?
1081
+ }
1082
+
1083
+ class AdditionalAmounts < Increase::Internal::Type::BaseModel
1084
+ attr_accessor clinic: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Clinic?
1085
+
1086
+ attr_accessor dental: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Dental?
1087
+
1088
+ attr_accessor prescription: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Prescription?
1089
+
1090
+ attr_accessor surcharge: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Surcharge?
1091
+
1092
+ attr_accessor total_cumulative: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::TotalCumulative?
1093
+
1094
+ attr_accessor total_healthcare: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::TotalHealthcare?
1095
+
1096
+ attr_accessor transit: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Transit?
1097
+
1098
+ attr_accessor unknown: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Unknown?
1099
+
1100
+ attr_accessor vision: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Vision?
1101
+
1102
+ def initialize: (
1103
+ clinic: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Clinic?,
1104
+ dental: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Dental?,
1105
+ prescription: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Prescription?,
1106
+ surcharge: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Surcharge?,
1107
+ total_cumulative: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::TotalCumulative?,
1108
+ total_healthcare: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::TotalHealthcare?,
1109
+ transit: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Transit?,
1110
+ unknown: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Unknown?,
1111
+ vision: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Vision?
1112
+ ) -> void
1113
+
1114
+ def to_hash: -> {
1115
+ clinic: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Clinic?,
1116
+ dental: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Dental?,
1117
+ prescription: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Prescription?,
1118
+ surcharge: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Surcharge?,
1119
+ total_cumulative: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::TotalCumulative?,
1120
+ total_healthcare: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::TotalHealthcare?,
1121
+ transit: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Transit?,
1122
+ unknown: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Unknown?,
1123
+ vision: Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Vision?
1124
+ }
1125
+
1126
+ type clinic = { amount: Integer, currency: String }
1127
+
1128
+ class Clinic < Increase::Internal::Type::BaseModel
1129
+ attr_accessor amount: Integer
1130
+
1131
+ attr_accessor currency: String
1132
+
1133
+ def initialize: (amount: Integer, currency: String) -> void
1134
+
1135
+ def to_hash: -> { amount: Integer, currency: String }
1136
+ end
1137
+
1138
+ type dental = { amount: Integer, currency: String }
1139
+
1140
+ class Dental < Increase::Internal::Type::BaseModel
1141
+ attr_accessor amount: Integer
1142
+
1143
+ attr_accessor currency: String
1144
+
1145
+ def initialize: (amount: Integer, currency: String) -> void
1146
+
1147
+ def to_hash: -> { amount: Integer, currency: String }
1148
+ end
1149
+
1150
+ type prescription = { amount: Integer, currency: String }
1151
+
1152
+ class Prescription < Increase::Internal::Type::BaseModel
1153
+ attr_accessor amount: Integer
1154
+
1155
+ attr_accessor currency: String
1156
+
1157
+ def initialize: (amount: Integer, currency: String) -> void
1158
+
1159
+ def to_hash: -> { amount: Integer, currency: String }
1160
+ end
1161
+
1162
+ type surcharge = { amount: Integer, currency: String }
1163
+
1164
+ class Surcharge < Increase::Internal::Type::BaseModel
1165
+ attr_accessor amount: Integer
1166
+
1167
+ attr_accessor currency: String
1168
+
1169
+ def initialize: (amount: Integer, currency: String) -> void
1170
+
1171
+ def to_hash: -> { amount: Integer, currency: String }
1172
+ end
1173
+
1174
+ type total_cumulative = { amount: Integer, currency: String }
1175
+
1176
+ class TotalCumulative < Increase::Internal::Type::BaseModel
1177
+ attr_accessor amount: Integer
1178
+
1179
+ attr_accessor currency: String
1180
+
1181
+ def initialize: (amount: Integer, currency: String) -> void
1182
+
1183
+ def to_hash: -> { amount: Integer, currency: String }
1184
+ end
1185
+
1186
+ type total_healthcare = { amount: Integer, currency: String }
1187
+
1188
+ class TotalHealthcare < Increase::Internal::Type::BaseModel
1189
+ attr_accessor amount: Integer
1190
+
1191
+ attr_accessor currency: String
1192
+
1193
+ def initialize: (amount: Integer, currency: String) -> void
1194
+
1195
+ def to_hash: -> { amount: Integer, currency: String }
1196
+ end
1197
+
1198
+ type transit = { amount: Integer, currency: String }
1199
+
1200
+ class Transit < Increase::Internal::Type::BaseModel
1201
+ attr_accessor amount: Integer
1202
+
1203
+ attr_accessor currency: String
1204
+
1205
+ def initialize: (amount: Integer, currency: String) -> void
1206
+
1207
+ def to_hash: -> { amount: Integer, currency: String }
1208
+ end
1209
+
1210
+ type unknown = { amount: Integer, currency: String }
1211
+
1212
+ class Unknown < Increase::Internal::Type::BaseModel
1213
+ attr_accessor amount: Integer
1214
+
1215
+ attr_accessor currency: String
1216
+
1217
+ def initialize: (amount: Integer, currency: String) -> void
1218
+
1219
+ def to_hash: -> { amount: Integer, currency: String }
1220
+ end
1221
+
1222
+ type vision = { amount: Integer, currency: String }
1223
+
1224
+ class Vision < Increase::Internal::Type::BaseModel
1225
+ attr_accessor amount: Integer
1226
+
1227
+ attr_accessor currency: String
1228
+
1229
+ def initialize: (amount: Integer, currency: String) -> void
1230
+
1231
+ def to_hash: -> { amount: Integer, currency: String }
1232
+ end
1233
+ end
1234
+
1235
+ type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD
1236
+
1237
+ module Currency
1238
+ extend Increase::Internal::Type::Enum
1239
+
1240
+ # Canadian Dollar (CAD)
1241
+ CAD: :CAD
1242
+
1243
+ # Swiss Franc (CHF)
1244
+ CHF: :CHF
1245
+
1246
+ # Euro (EUR)
1247
+ EUR: :EUR
1248
+
1249
+ # British Pound (GBP)
1250
+ GBP: :GBP
1251
+
1252
+ # Japanese Yen (JPY)
1253
+ JPY: :JPY
1254
+
1255
+ # US Dollar (USD)
1256
+ USD: :USD
1257
+
1258
+ def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardFinancial::currency]
1259
+ end
1260
+
1261
+ type direction = :settlement | :refund
1262
+
1263
+ module Direction
1264
+ extend Increase::Internal::Type::Enum
1265
+
1266
+ # A regular card authorization where funds are debited from the cardholder.
1267
+ SETTLEMENT: :settlement
1268
+
1269
+ # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
1270
+ REFUND: :refund
1271
+
1272
+ def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardFinancial::direction]
1273
+ end
1274
+
1275
+ type network_details =
1276
+ {
1277
+ category: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::category,
1278
+ visa: Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa?
1279
+ }
1280
+
1281
+ class NetworkDetails < Increase::Internal::Type::BaseModel
1282
+ attr_accessor category: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::category
1283
+
1284
+ attr_accessor visa: Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa?
1285
+
1286
+ def initialize: (
1287
+ category: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::category,
1288
+ visa: Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa?
1289
+ ) -> void
1290
+
1291
+ def to_hash: -> {
1292
+ category: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::category,
1293
+ visa: Increase::Transaction::Source::CardFinancial::NetworkDetails::Visa?
1294
+ }
1295
+
1296
+ type category = :visa
1297
+
1298
+ module Category
1299
+ extend Increase::Internal::Type::Enum
1300
+
1301
+ # Visa
1302
+ VISA: :visa
1303
+
1304
+ def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::category]
1305
+ end
1306
+
1307
+ type visa =
1308
+ {
1309
+ electronic_commerce_indicator: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::electronic_commerce_indicator?,
1310
+ point_of_service_entry_mode: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::point_of_service_entry_mode?,
1311
+ stand_in_processing_reason: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason?
1312
+ }
1313
+
1314
+ class Visa < Increase::Internal::Type::BaseModel
1315
+ attr_accessor electronic_commerce_indicator: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::electronic_commerce_indicator?
1316
+
1317
+ attr_accessor point_of_service_entry_mode: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::point_of_service_entry_mode?
1318
+
1319
+ attr_accessor stand_in_processing_reason: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason?
1320
+
1321
+ def initialize: (
1322
+ electronic_commerce_indicator: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::electronic_commerce_indicator?,
1323
+ point_of_service_entry_mode: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::point_of_service_entry_mode?,
1324
+ stand_in_processing_reason: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason?
1325
+ ) -> void
1326
+
1327
+ def to_hash: -> {
1328
+ electronic_commerce_indicator: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::electronic_commerce_indicator?,
1329
+ point_of_service_entry_mode: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::point_of_service_entry_mode?,
1330
+ stand_in_processing_reason: Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason?
1331
+ }
1332
+
1333
+ type electronic_commerce_indicator =
1334
+ :mail_phone_order
1335
+ | :recurring
1336
+ | :installment
1337
+ | :unknown_mail_phone_order
1338
+ | :secure_electronic_commerce
1339
+ | :non_authenticated_security_transaction_at_3ds_capable_merchant
1340
+ | :non_authenticated_security_transaction
1341
+ | :non_secure_transaction
1342
+
1343
+ module ElectronicCommerceIndicator
1344
+ extend Increase::Internal::Type::Enum
1345
+
1346
+ # Single transaction of a mail/phone order: Use to indicate that the transaction is a mail/phone order purchase, not a recurring transaction or installment payment. For domestic transactions in the US region, this value may also indicate one bill payment transaction in the card-present or card-absent environments.
1347
+ MAIL_PHONE_ORDER: :mail_phone_order
1348
+
1349
+ # Recurring transaction: Payment indicator used to indicate a recurring transaction that originates from an acquirer in the US region.
1350
+ RECURRING: :recurring
1351
+
1352
+ # Installment payment: Payment indicator used to indicate one purchase of goods or services that is billed to the account in multiple charges over a period of time agreed upon by the cardholder and merchant from transactions that originate from an acquirer in the US region.
1353
+ INSTALLMENT: :installment
1354
+
1355
+ # Unknown classification: other mail order: Use to indicate that the type of mail/telephone order is unknown.
1356
+ UNKNOWN_MAIL_PHONE_ORDER: :unknown_mail_phone_order
1357
+
1358
+ # Secure electronic commerce transaction: Use to indicate that the electronic commerce transaction has been authenticated using e.g., 3-D Secure
1359
+ SECURE_ELECTRONIC_COMMERCE: :secure_electronic_commerce
1360
+
1361
+ # Non-authenticated security transaction at a 3-D Secure-capable merchant, and merchant attempted to authenticate the cardholder using 3-D Secure: Use to identify an electronic commerce transaction where the merchant attempted to authenticate the cardholder using 3-D Secure, but was unable to complete the authentication because the issuer or cardholder does not participate in the 3-D Secure program.
1362
+ NON_AUTHENTICATED_SECURITY_TRANSACTION_AT_3DS_CAPABLE_MERCHANT: :non_authenticated_security_transaction_at_3ds_capable_merchant
1363
+
1364
+ # Non-authenticated security transaction: Use to identify an electronic commerce transaction that uses data encryption for security however , cardholder authentication is not performed using 3-D Secure.
1365
+ NON_AUTHENTICATED_SECURITY_TRANSACTION: :non_authenticated_security_transaction
1366
+
1367
+ # Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection.
1368
+ NON_SECURE_TRANSACTION: :non_secure_transaction
1369
+
1370
+ def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::electronic_commerce_indicator]
1371
+ end
1372
+
1373
+ type point_of_service_entry_mode =
1374
+ :unknown
1375
+ | :manual
1376
+ | :magnetic_stripe_no_cvv
1377
+ | :optical_code
1378
+ | :integrated_circuit_card
1379
+ | :contactless
1380
+ | :credential_on_file
1381
+ | :magnetic_stripe
1382
+ | :contactless_magnetic_stripe
1383
+ | :integrated_circuit_card_no_cvv
1384
+
1385
+ module PointOfServiceEntryMode
1386
+ extend Increase::Internal::Type::Enum
1387
+
1388
+ # Unknown
1389
+ UNKNOWN: :unknown
1390
+
1391
+ # Manual key entry
1392
+ MANUAL: :manual
1393
+
1394
+ # Magnetic stripe read, without card verification value
1395
+ MAGNETIC_STRIPE_NO_CVV: :magnetic_stripe_no_cvv
1396
+
1397
+ # Optical code
1398
+ OPTICAL_CODE: :optical_code
1399
+
1400
+ # Contact chip card
1401
+ INTEGRATED_CIRCUIT_CARD: :integrated_circuit_card
1402
+
1403
+ # Contactless read of chip card
1404
+ CONTACTLESS: :contactless
1405
+
1406
+ # Transaction initiated using a credential that has previously been stored on file
1407
+ CREDENTIAL_ON_FILE: :credential_on_file
1408
+
1409
+ # Magnetic stripe read
1410
+ MAGNETIC_STRIPE: :magnetic_stripe
1411
+
1412
+ # Contactless read of magnetic stripe data
1413
+ CONTACTLESS_MAGNETIC_STRIPE: :contactless_magnetic_stripe
1414
+
1415
+ # Contact chip card, without card verification value
1416
+ INTEGRATED_CIRCUIT_CARD_NO_CVV: :integrated_circuit_card_no_cvv
1417
+
1418
+ def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::point_of_service_entry_mode]
1419
+ end
1420
+
1421
+ type stand_in_processing_reason =
1422
+ :issuer_error
1423
+ | :invalid_physical_card
1424
+ | :invalid_cardholder_authentication_verification_value
1425
+ | :internal_visa_error
1426
+ | :merchant_transaction_advisory_service_authentication_required
1427
+ | :payment_fraud_disruption_acquirer_block
1428
+ | :other
1429
+
1430
+ module StandInProcessingReason
1431
+ extend Increase::Internal::Type::Enum
1432
+
1433
+ # Increase failed to process the authorization in a timely manner.
1434
+ ISSUER_ERROR: :issuer_error
1435
+
1436
+ # The physical card read had an invalid CVV, dCVV, or authorization request cryptogram.
1437
+ INVALID_PHYSICAL_CARD: :invalid_physical_card
1438
+
1439
+ # The 3DS cardholder authentication verification value was invalid.
1440
+ INVALID_CARDHOLDER_AUTHENTICATION_VERIFICATION_VALUE: :invalid_cardholder_authentication_verification_value
1441
+
1442
+ # An internal Visa error occurred. Visa uses this reason code for certain expected occurrences as well, such as Application Transaction Counter (ATC) replays.
1443
+ INTERNAL_VISA_ERROR: :internal_visa_error
1444
+
1445
+ # The merchant has enabled Visa's Transaction Advisory Service and requires further authentication to perform the transaction. In practice this is often utilized at fuel pumps to tell the cardholder to see the cashier.
1446
+ MERCHANT_TRANSACTION_ADVISORY_SERVICE_AUTHENTICATION_REQUIRED: :merchant_transaction_advisory_service_authentication_required
1447
+
1448
+ # The transaction was blocked by Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior, such as card testing.
1449
+ PAYMENT_FRAUD_DISRUPTION_ACQUIRER_BLOCK: :payment_fraud_disruption_acquirer_block
1450
+
1451
+ # An unspecific reason for stand-in processing.
1452
+ OTHER: :other
1453
+
1454
+ def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa::stand_in_processing_reason]
1455
+ end
1456
+ end
1457
+ end
1458
+
1459
+ type network_identifiers =
1460
+ {
1461
+ retrieval_reference_number: String?,
1462
+ trace_number: String?,
1463
+ transaction_id: String?
1464
+ }
1465
+
1466
+ class NetworkIdentifiers < Increase::Internal::Type::BaseModel
1467
+ attr_accessor retrieval_reference_number: String?
1468
+
1469
+ attr_accessor trace_number: String?
1470
+
1471
+ attr_accessor transaction_id: String?
1472
+
1473
+ def initialize: (
1474
+ retrieval_reference_number: String?,
1475
+ trace_number: String?,
1476
+ transaction_id: String?
1477
+ ) -> void
1478
+
1479
+ def to_hash: -> {
1480
+ retrieval_reference_number: String?,
1481
+ trace_number: String?,
1482
+ transaction_id: String?
1483
+ }
1484
+ end
1485
+
1486
+ type processing_category =
1487
+ :account_funding
1488
+ | :automatic_fuel_dispenser
1489
+ | :bill_payment
1490
+ | :original_credit
1491
+ | :purchase
1492
+ | :quasi_cash
1493
+ | :refund
1494
+ | :cash_disbursement
1495
+ | :unknown
1496
+
1497
+ module ProcessingCategory
1498
+ extend Increase::Internal::Type::Enum
1499
+
1500
+ # Account funding transactions are transactions used to e.g., fund an account or transfer funds between accounts.
1501
+ ACCOUNT_FUNDING: :account_funding
1502
+
1503
+ # Automatic fuel dispenser authorizations occur when a card is used at a gas pump, prior to the actual transaction amount being known. They are followed by an advice message that updates the amount of the pending transaction.
1504
+ AUTOMATIC_FUEL_DISPENSER: :automatic_fuel_dispenser
1505
+
1506
+ # A transaction used to pay a bill.
1507
+ BILL_PAYMENT: :bill_payment
1508
+
1509
+ # Original credit transactions are used to send money to a cardholder.
1510
+ ORIGINAL_CREDIT: :original_credit
1511
+
1512
+ # A regular purchase.
1513
+ PURCHASE: :purchase
1514
+
1515
+ # Quasi-cash transactions represent purchases of items which may be convertible to cash.
1516
+ QUASI_CASH: :quasi_cash
1517
+
1518
+ # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
1519
+ REFUND: :refund
1520
+
1521
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1522
+ CASH_DISBURSEMENT: :cash_disbursement
1523
+
1524
+ # The processing category is unknown.
1525
+ UNKNOWN: :unknown
1526
+
1527
+ def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardFinancial::processing_category]
1528
+ end
1529
+
1530
+ type type_ = :card_financial
1531
+
1532
+ module Type
1533
+ extend Increase::Internal::Type::Enum
1534
+
1535
+ CARD_FINANCIAL: :card_financial
1536
+
1537
+ def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardFinancial::type_]
1538
+ end
1539
+
1540
+ type verification =
1541
+ {
1542
+ card_verification_code: Increase::Transaction::Source::CardFinancial::Verification::CardVerificationCode,
1543
+ cardholder_address: Increase::Transaction::Source::CardFinancial::Verification::CardholderAddress
1544
+ }
1545
+
1546
+ class Verification < Increase::Internal::Type::BaseModel
1547
+ attr_accessor card_verification_code: Increase::Transaction::Source::CardFinancial::Verification::CardVerificationCode
1548
+
1549
+ attr_accessor cardholder_address: Increase::Transaction::Source::CardFinancial::Verification::CardholderAddress
1550
+
1551
+ def initialize: (
1552
+ card_verification_code: Increase::Transaction::Source::CardFinancial::Verification::CardVerificationCode,
1553
+ cardholder_address: Increase::Transaction::Source::CardFinancial::Verification::CardholderAddress
1554
+ ) -> void
1555
+
1556
+ def to_hash: -> {
1557
+ card_verification_code: Increase::Transaction::Source::CardFinancial::Verification::CardVerificationCode,
1558
+ cardholder_address: Increase::Transaction::Source::CardFinancial::Verification::CardholderAddress
1559
+ }
1560
+
1561
+ type card_verification_code =
1562
+ {
1563
+ result: Increase::Models::Transaction::Source::CardFinancial::Verification::CardVerificationCode::result
1564
+ }
1565
+
1566
+ class CardVerificationCode < Increase::Internal::Type::BaseModel
1567
+ attr_accessor result: Increase::Models::Transaction::Source::CardFinancial::Verification::CardVerificationCode::result
1568
+
1569
+ def initialize: (
1570
+ result: Increase::Models::Transaction::Source::CardFinancial::Verification::CardVerificationCode::result
1571
+ ) -> void
1572
+
1573
+ def to_hash: -> {
1574
+ result: Increase::Models::Transaction::Source::CardFinancial::Verification::CardVerificationCode::result
1575
+ }
1576
+
1577
+ type result = :not_checked | :match | :no_match
1578
+
1579
+ module Result
1580
+ extend Increase::Internal::Type::Enum
1581
+
1582
+ # No card verification code was provided in the authorization request.
1583
+ NOT_CHECKED: :not_checked
1584
+
1585
+ # The card verification code matched the one on file.
1586
+ MATCH: :match
1587
+
1588
+ # The card verification code did not match the one on file.
1589
+ NO_MATCH: :no_match
1590
+
1591
+ def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardFinancial::Verification::CardVerificationCode::result]
1592
+ end
1593
+ end
1594
+
1595
+ type cardholder_address =
1596
+ {
1597
+ :actual_line1 => String?,
1598
+ actual_postal_code: String?,
1599
+ :provided_line1 => String?,
1600
+ provided_postal_code: String?,
1601
+ result: Increase::Models::Transaction::Source::CardFinancial::Verification::CardholderAddress::result
1602
+ }
1603
+
1604
+ class CardholderAddress < Increase::Internal::Type::BaseModel
1605
+ attr_accessor actual_line1: String?
1606
+
1607
+ attr_accessor actual_postal_code: String?
1608
+
1609
+ attr_accessor provided_line1: String?
1610
+
1611
+ attr_accessor provided_postal_code: String?
1612
+
1613
+ attr_accessor result: Increase::Models::Transaction::Source::CardFinancial::Verification::CardholderAddress::result
1614
+
1615
+ def initialize: (
1616
+ actual_line1: String?,
1617
+ actual_postal_code: String?,
1618
+ provided_line1: String?,
1619
+ provided_postal_code: String?,
1620
+ result: Increase::Models::Transaction::Source::CardFinancial::Verification::CardholderAddress::result
1621
+ ) -> void
1622
+
1623
+ def to_hash: -> {
1624
+ :actual_line1 => String?,
1625
+ actual_postal_code: String?,
1626
+ :provided_line1 => String?,
1627
+ provided_postal_code: String?,
1628
+ result: Increase::Models::Transaction::Source::CardFinancial::Verification::CardholderAddress::result
1629
+ }
1630
+
1631
+ type result =
1632
+ :not_checked
1633
+ | :postal_code_match_address_no_match
1634
+ | :postal_code_no_match_address_match
1635
+ | :match
1636
+ | :no_match
1637
+ | :postal_code_match_address_not_checked
1638
+
1639
+ module Result
1640
+ extend Increase::Internal::Type::Enum
1641
+
1642
+ # No address information was provided in the authorization request.
1643
+ NOT_CHECKED: :not_checked
1644
+
1645
+ # Postal code matches, but the street address does not match or was not provided.
1646
+ POSTAL_CODE_MATCH_ADDRESS_NO_MATCH: :postal_code_match_address_no_match
1647
+
1648
+ # Postal code does not match, but the street address matches or was not provided.
1649
+ POSTAL_CODE_NO_MATCH_ADDRESS_MATCH: :postal_code_no_match_address_match
1650
+
1651
+ # Postal code and street address match.
1652
+ MATCH: :match
1653
+
1654
+ # Postal code and street address do not match.
1655
+ NO_MATCH: :no_match
1656
+
1657
+ # Postal code matches, but the street address was not verified. (deprecated)
1658
+ POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
1659
+
1660
+ def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardFinancial::Verification::CardholderAddress::result]
1661
+ end
1662
+ end
1663
+ end
1664
+ end
1665
+
902
1666
  type card_push_transfer_acceptance =
903
1667
  { amount: Integer, transfer_id: String }
904
1668
 
@@ -3147,6 +3911,7 @@ module Increase
3147
3911
  | :card_dispute_loss
3148
3912
  | :card_refund
3149
3913
  | :card_settlement
3914
+ | :card_financial
3150
3915
  | :card_revenue_payment
3151
3916
  | :check_deposit_acceptance
3152
3917
  | :check_deposit_return
@@ -3206,6 +3971,9 @@ module Increase
3206
3971
  # Card Settlement: details will be under the `card_settlement` object.
3207
3972
  CARD_SETTLEMENT: :card_settlement
3208
3973
 
3974
+ # Card Financial: details will be under the `card_financial` object.
3975
+ CARD_FINANCIAL: :card_financial
3976
+
3209
3977
  # Card Revenue Payment: details will be under the `card_revenue_payment` object.
3210
3978
  CARD_REVENUE_PAYMENT: :card_revenue_payment
3211
3979