increase 1.86.0 → 1.88.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 +16 -0
- data/README.md +1 -1
- data/lib/increase/models/account_transfer.rb +32 -44
- data/lib/increase/models/account_transfer_create_params.rb +11 -8
- data/lib/increase/models/card_payment.rb +144 -72
- data/lib/increase/models/declined_transaction.rb +36 -18
- data/lib/increase/models/pending_transaction.rb +36 -18
- data/lib/increase/models/real_time_decision.rb +36 -18
- data/lib/increase/resources/account_transfers.rb +6 -6
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_transfer.rbi +36 -53
- data/rbi/increase/models/account_transfer_create_params.rbi +14 -8
- data/rbi/increase/models/card_payment.rbi +216 -72
- data/rbi/increase/models/declined_transaction.rbi +54 -18
- data/rbi/increase/models/pending_transaction.rbi +54 -18
- data/rbi/increase/models/real_time_decision.rbi +54 -18
- data/rbi/increase/resources/account_transfers.rbi +9 -6
- data/sig/increase/models/account_transfer.rbs +2 -17
- metadata +2 -2
@@ -1007,7 +1007,9 @@ module Increase
|
|
1007
1007
|
# @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#clinic
|
1008
1008
|
class Clinic < Increase::Internal::Type::BaseModel
|
1009
1009
|
# @!attribute amount
|
1010
|
-
# The amount in minor units of the `currency` field.
|
1010
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1011
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1012
|
+
# subtracted from the amount (such as a discount).
|
1011
1013
|
#
|
1012
1014
|
# @return [Integer]
|
1013
1015
|
required :amount, Integer
|
@@ -1026,7 +1028,7 @@ module Increase
|
|
1026
1028
|
#
|
1027
1029
|
# The part of this transaction amount that was for clinic-related services.
|
1028
1030
|
#
|
1029
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
1031
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
1030
1032
|
#
|
1031
1033
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
1032
1034
|
end
|
@@ -1034,7 +1036,9 @@ module Increase
|
|
1034
1036
|
# @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#dental
|
1035
1037
|
class Dental < Increase::Internal::Type::BaseModel
|
1036
1038
|
# @!attribute amount
|
1037
|
-
# The amount in minor units of the `currency` field.
|
1039
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1040
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1041
|
+
# subtracted from the amount (such as a discount).
|
1038
1042
|
#
|
1039
1043
|
# @return [Integer]
|
1040
1044
|
required :amount, Integer
|
@@ -1053,7 +1057,7 @@ module Increase
|
|
1053
1057
|
#
|
1054
1058
|
# The part of this transaction amount that was for dental-related services.
|
1055
1059
|
#
|
1056
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
1060
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
1057
1061
|
#
|
1058
1062
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
1059
1063
|
end
|
@@ -1061,7 +1065,9 @@ module Increase
|
|
1061
1065
|
# @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#prescription
|
1062
1066
|
class Prescription < Increase::Internal::Type::BaseModel
|
1063
1067
|
# @!attribute amount
|
1064
|
-
# The amount in minor units of the `currency` field.
|
1068
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1069
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1070
|
+
# subtracted from the amount (such as a discount).
|
1065
1071
|
#
|
1066
1072
|
# @return [Integer]
|
1067
1073
|
required :amount, Integer
|
@@ -1080,7 +1086,7 @@ module Increase
|
|
1080
1086
|
#
|
1081
1087
|
# The part of this transaction amount that was for healthcare prescriptions.
|
1082
1088
|
#
|
1083
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
1089
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
1084
1090
|
#
|
1085
1091
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
1086
1092
|
end
|
@@ -1088,7 +1094,9 @@ module Increase
|
|
1088
1094
|
# @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#surcharge
|
1089
1095
|
class Surcharge < Increase::Internal::Type::BaseModel
|
1090
1096
|
# @!attribute amount
|
1091
|
-
# The amount in minor units of the `currency` field.
|
1097
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1098
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1099
|
+
# subtracted from the amount (such as a discount).
|
1092
1100
|
#
|
1093
1101
|
# @return [Integer]
|
1094
1102
|
required :amount, Integer
|
@@ -1107,7 +1115,7 @@ module Increase
|
|
1107
1115
|
#
|
1108
1116
|
# The surcharge amount charged for this transaction by the merchant.
|
1109
1117
|
#
|
1110
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
1118
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
1111
1119
|
#
|
1112
1120
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
1113
1121
|
end
|
@@ -1115,7 +1123,9 @@ module Increase
|
|
1115
1123
|
# @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#total_cumulative
|
1116
1124
|
class TotalCumulative < Increase::Internal::Type::BaseModel
|
1117
1125
|
# @!attribute amount
|
1118
|
-
# The amount in minor units of the `currency` field.
|
1126
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1127
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1128
|
+
# subtracted from the amount (such as a discount).
|
1119
1129
|
#
|
1120
1130
|
# @return [Integer]
|
1121
1131
|
required :amount, Integer
|
@@ -1134,7 +1144,7 @@ module Increase
|
|
1134
1144
|
#
|
1135
1145
|
# The total amount of a series of incremental authorizations, optionally provided.
|
1136
1146
|
#
|
1137
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
1147
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
1138
1148
|
#
|
1139
1149
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
1140
1150
|
end
|
@@ -1142,7 +1152,9 @@ module Increase
|
|
1142
1152
|
# @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#total_healthcare
|
1143
1153
|
class TotalHealthcare < Increase::Internal::Type::BaseModel
|
1144
1154
|
# @!attribute amount
|
1145
|
-
# The amount in minor units of the `currency` field.
|
1155
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1156
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1157
|
+
# subtracted from the amount (such as a discount).
|
1146
1158
|
#
|
1147
1159
|
# @return [Integer]
|
1148
1160
|
required :amount, Integer
|
@@ -1161,7 +1173,7 @@ module Increase
|
|
1161
1173
|
#
|
1162
1174
|
# The total amount of healthcare-related additional amounts.
|
1163
1175
|
#
|
1164
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
1176
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
1165
1177
|
#
|
1166
1178
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
1167
1179
|
end
|
@@ -1169,7 +1181,9 @@ module Increase
|
|
1169
1181
|
# @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#transit
|
1170
1182
|
class Transit < Increase::Internal::Type::BaseModel
|
1171
1183
|
# @!attribute amount
|
1172
|
-
# The amount in minor units of the `currency` field.
|
1184
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1185
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1186
|
+
# subtracted from the amount (such as a discount).
|
1173
1187
|
#
|
1174
1188
|
# @return [Integer]
|
1175
1189
|
required :amount, Integer
|
@@ -1188,7 +1202,7 @@ module Increase
|
|
1188
1202
|
#
|
1189
1203
|
# The part of this transaction amount that was for transit-related services.
|
1190
1204
|
#
|
1191
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
1205
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
1192
1206
|
#
|
1193
1207
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
1194
1208
|
end
|
@@ -1196,7 +1210,9 @@ module Increase
|
|
1196
1210
|
# @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#unknown
|
1197
1211
|
class Unknown < Increase::Internal::Type::BaseModel
|
1198
1212
|
# @!attribute amount
|
1199
|
-
# The amount in minor units of the `currency` field.
|
1213
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1214
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1215
|
+
# subtracted from the amount (such as a discount).
|
1200
1216
|
#
|
1201
1217
|
# @return [Integer]
|
1202
1218
|
required :amount, Integer
|
@@ -1215,7 +1231,7 @@ module Increase
|
|
1215
1231
|
#
|
1216
1232
|
# An unknown additional amount.
|
1217
1233
|
#
|
1218
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
1234
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
1219
1235
|
#
|
1220
1236
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
1221
1237
|
end
|
@@ -1223,7 +1239,9 @@ module Increase
|
|
1223
1239
|
# @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#vision
|
1224
1240
|
class Vision < Increase::Internal::Type::BaseModel
|
1225
1241
|
# @!attribute amount
|
1226
|
-
# The amount in minor units of the `currency` field.
|
1242
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1243
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1244
|
+
# subtracted from the amount (such as a discount).
|
1227
1245
|
#
|
1228
1246
|
# @return [Integer]
|
1229
1247
|
required :amount, Integer
|
@@ -1242,7 +1260,7 @@ module Increase
|
|
1242
1260
|
#
|
1243
1261
|
# The part of this transaction amount that was for vision-related services.
|
1244
1262
|
#
|
1245
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
1263
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
1246
1264
|
#
|
1247
1265
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
1248
1266
|
end
|
@@ -2237,7 +2255,9 @@ module Increase
|
|
2237
2255
|
# @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#clinic
|
2238
2256
|
class Clinic < Increase::Internal::Type::BaseModel
|
2239
2257
|
# @!attribute amount
|
2240
|
-
# The amount in minor units of the `currency` field.
|
2258
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
2259
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
2260
|
+
# subtracted from the amount (such as a discount).
|
2241
2261
|
#
|
2242
2262
|
# @return [Integer]
|
2243
2263
|
required :amount, Integer
|
@@ -2256,7 +2276,7 @@ module Increase
|
|
2256
2276
|
#
|
2257
2277
|
# The part of this transaction amount that was for clinic-related services.
|
2258
2278
|
#
|
2259
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
2279
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
2260
2280
|
#
|
2261
2281
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
2262
2282
|
end
|
@@ -2264,7 +2284,9 @@ module Increase
|
|
2264
2284
|
# @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#dental
|
2265
2285
|
class Dental < Increase::Internal::Type::BaseModel
|
2266
2286
|
# @!attribute amount
|
2267
|
-
# The amount in minor units of the `currency` field.
|
2287
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
2288
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
2289
|
+
# subtracted from the amount (such as a discount).
|
2268
2290
|
#
|
2269
2291
|
# @return [Integer]
|
2270
2292
|
required :amount, Integer
|
@@ -2283,7 +2305,7 @@ module Increase
|
|
2283
2305
|
#
|
2284
2306
|
# The part of this transaction amount that was for dental-related services.
|
2285
2307
|
#
|
2286
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
2308
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
2287
2309
|
#
|
2288
2310
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
2289
2311
|
end
|
@@ -2291,7 +2313,9 @@ module Increase
|
|
2291
2313
|
# @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#prescription
|
2292
2314
|
class Prescription < Increase::Internal::Type::BaseModel
|
2293
2315
|
# @!attribute amount
|
2294
|
-
# The amount in minor units of the `currency` field.
|
2316
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
2317
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
2318
|
+
# subtracted from the amount (such as a discount).
|
2295
2319
|
#
|
2296
2320
|
# @return [Integer]
|
2297
2321
|
required :amount, Integer
|
@@ -2310,7 +2334,7 @@ module Increase
|
|
2310
2334
|
#
|
2311
2335
|
# The part of this transaction amount that was for healthcare prescriptions.
|
2312
2336
|
#
|
2313
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
2337
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
2314
2338
|
#
|
2315
2339
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
2316
2340
|
end
|
@@ -2318,7 +2342,9 @@ module Increase
|
|
2318
2342
|
# @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#surcharge
|
2319
2343
|
class Surcharge < Increase::Internal::Type::BaseModel
|
2320
2344
|
# @!attribute amount
|
2321
|
-
# The amount in minor units of the `currency` field.
|
2345
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
2346
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
2347
|
+
# subtracted from the amount (such as a discount).
|
2322
2348
|
#
|
2323
2349
|
# @return [Integer]
|
2324
2350
|
required :amount, Integer
|
@@ -2337,7 +2363,7 @@ module Increase
|
|
2337
2363
|
#
|
2338
2364
|
# The surcharge amount charged for this transaction by the merchant.
|
2339
2365
|
#
|
2340
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
2366
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
2341
2367
|
#
|
2342
2368
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
2343
2369
|
end
|
@@ -2345,7 +2371,9 @@ module Increase
|
|
2345
2371
|
# @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#total_cumulative
|
2346
2372
|
class TotalCumulative < Increase::Internal::Type::BaseModel
|
2347
2373
|
# @!attribute amount
|
2348
|
-
# The amount in minor units of the `currency` field.
|
2374
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
2375
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
2376
|
+
# subtracted from the amount (such as a discount).
|
2349
2377
|
#
|
2350
2378
|
# @return [Integer]
|
2351
2379
|
required :amount, Integer
|
@@ -2364,7 +2392,7 @@ module Increase
|
|
2364
2392
|
#
|
2365
2393
|
# The total amount of a series of incremental authorizations, optionally provided.
|
2366
2394
|
#
|
2367
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
2395
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
2368
2396
|
#
|
2369
2397
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
2370
2398
|
end
|
@@ -2372,7 +2400,9 @@ module Increase
|
|
2372
2400
|
# @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#total_healthcare
|
2373
2401
|
class TotalHealthcare < Increase::Internal::Type::BaseModel
|
2374
2402
|
# @!attribute amount
|
2375
|
-
# The amount in minor units of the `currency` field.
|
2403
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
2404
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
2405
|
+
# subtracted from the amount (such as a discount).
|
2376
2406
|
#
|
2377
2407
|
# @return [Integer]
|
2378
2408
|
required :amount, Integer
|
@@ -2391,7 +2421,7 @@ module Increase
|
|
2391
2421
|
#
|
2392
2422
|
# The total amount of healthcare-related additional amounts.
|
2393
2423
|
#
|
2394
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
2424
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
2395
2425
|
#
|
2396
2426
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
2397
2427
|
end
|
@@ -2399,7 +2429,9 @@ module Increase
|
|
2399
2429
|
# @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#transit
|
2400
2430
|
class Transit < Increase::Internal::Type::BaseModel
|
2401
2431
|
# @!attribute amount
|
2402
|
-
# The amount in minor units of the `currency` field.
|
2432
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
2433
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
2434
|
+
# subtracted from the amount (such as a discount).
|
2403
2435
|
#
|
2404
2436
|
# @return [Integer]
|
2405
2437
|
required :amount, Integer
|
@@ -2418,7 +2450,7 @@ module Increase
|
|
2418
2450
|
#
|
2419
2451
|
# The part of this transaction amount that was for transit-related services.
|
2420
2452
|
#
|
2421
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
2453
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
2422
2454
|
#
|
2423
2455
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
2424
2456
|
end
|
@@ -2426,7 +2458,9 @@ module Increase
|
|
2426
2458
|
# @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#unknown
|
2427
2459
|
class Unknown < Increase::Internal::Type::BaseModel
|
2428
2460
|
# @!attribute amount
|
2429
|
-
# The amount in minor units of the `currency` field.
|
2461
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
2462
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
2463
|
+
# subtracted from the amount (such as a discount).
|
2430
2464
|
#
|
2431
2465
|
# @return [Integer]
|
2432
2466
|
required :amount, Integer
|
@@ -2445,7 +2479,7 @@ module Increase
|
|
2445
2479
|
#
|
2446
2480
|
# An unknown additional amount.
|
2447
2481
|
#
|
2448
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
2482
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
2449
2483
|
#
|
2450
2484
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
2451
2485
|
end
|
@@ -2453,7 +2487,9 @@ module Increase
|
|
2453
2487
|
# @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#vision
|
2454
2488
|
class Vision < Increase::Internal::Type::BaseModel
|
2455
2489
|
# @!attribute amount
|
2456
|
-
# The amount in minor units of the `currency` field.
|
2490
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
2491
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
2492
|
+
# subtracted from the amount (such as a discount).
|
2457
2493
|
#
|
2458
2494
|
# @return [Integer]
|
2459
2495
|
required :amount, Integer
|
@@ -2472,7 +2508,7 @@ module Increase
|
|
2472
2508
|
#
|
2473
2509
|
# The part of this transaction amount that was for vision-related services.
|
2474
2510
|
#
|
2475
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
2511
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
2476
2512
|
#
|
2477
2513
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
2478
2514
|
end
|
@@ -3486,7 +3522,9 @@ module Increase
|
|
3486
3522
|
# @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#clinic
|
3487
3523
|
class Clinic < Increase::Internal::Type::BaseModel
|
3488
3524
|
# @!attribute amount
|
3489
|
-
# The amount in minor units of the `currency` field.
|
3525
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
3526
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
3527
|
+
# subtracted from the amount (such as a discount).
|
3490
3528
|
#
|
3491
3529
|
# @return [Integer]
|
3492
3530
|
required :amount, Integer
|
@@ -3505,7 +3543,7 @@ module Increase
|
|
3505
3543
|
#
|
3506
3544
|
# The part of this transaction amount that was for clinic-related services.
|
3507
3545
|
#
|
3508
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
3546
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
3509
3547
|
#
|
3510
3548
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
3511
3549
|
end
|
@@ -3513,7 +3551,9 @@ module Increase
|
|
3513
3551
|
# @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#dental
|
3514
3552
|
class Dental < Increase::Internal::Type::BaseModel
|
3515
3553
|
# @!attribute amount
|
3516
|
-
# The amount in minor units of the `currency` field.
|
3554
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
3555
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
3556
|
+
# subtracted from the amount (such as a discount).
|
3517
3557
|
#
|
3518
3558
|
# @return [Integer]
|
3519
3559
|
required :amount, Integer
|
@@ -3532,7 +3572,7 @@ module Increase
|
|
3532
3572
|
#
|
3533
3573
|
# The part of this transaction amount that was for dental-related services.
|
3534
3574
|
#
|
3535
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
3575
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
3536
3576
|
#
|
3537
3577
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
3538
3578
|
end
|
@@ -3540,7 +3580,9 @@ module Increase
|
|
3540
3580
|
# @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#prescription
|
3541
3581
|
class Prescription < Increase::Internal::Type::BaseModel
|
3542
3582
|
# @!attribute amount
|
3543
|
-
# The amount in minor units of the `currency` field.
|
3583
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
3584
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
3585
|
+
# subtracted from the amount (such as a discount).
|
3544
3586
|
#
|
3545
3587
|
# @return [Integer]
|
3546
3588
|
required :amount, Integer
|
@@ -3559,7 +3601,7 @@ module Increase
|
|
3559
3601
|
#
|
3560
3602
|
# The part of this transaction amount that was for healthcare prescriptions.
|
3561
3603
|
#
|
3562
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
3604
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
3563
3605
|
#
|
3564
3606
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
3565
3607
|
end
|
@@ -3567,7 +3609,9 @@ module Increase
|
|
3567
3609
|
# @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#surcharge
|
3568
3610
|
class Surcharge < Increase::Internal::Type::BaseModel
|
3569
3611
|
# @!attribute amount
|
3570
|
-
# The amount in minor units of the `currency` field.
|
3612
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
3613
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
3614
|
+
# subtracted from the amount (such as a discount).
|
3571
3615
|
#
|
3572
3616
|
# @return [Integer]
|
3573
3617
|
required :amount, Integer
|
@@ -3586,7 +3630,7 @@ module Increase
|
|
3586
3630
|
#
|
3587
3631
|
# The surcharge amount charged for this transaction by the merchant.
|
3588
3632
|
#
|
3589
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
3633
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
3590
3634
|
#
|
3591
3635
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
3592
3636
|
end
|
@@ -3594,7 +3638,9 @@ module Increase
|
|
3594
3638
|
# @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#total_cumulative
|
3595
3639
|
class TotalCumulative < Increase::Internal::Type::BaseModel
|
3596
3640
|
# @!attribute amount
|
3597
|
-
# The amount in minor units of the `currency` field.
|
3641
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
3642
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
3643
|
+
# subtracted from the amount (such as a discount).
|
3598
3644
|
#
|
3599
3645
|
# @return [Integer]
|
3600
3646
|
required :amount, Integer
|
@@ -3613,7 +3659,7 @@ module Increase
|
|
3613
3659
|
#
|
3614
3660
|
# The total amount of a series of incremental authorizations, optionally provided.
|
3615
3661
|
#
|
3616
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
3662
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
3617
3663
|
#
|
3618
3664
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
3619
3665
|
end
|
@@ -3621,7 +3667,9 @@ module Increase
|
|
3621
3667
|
# @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#total_healthcare
|
3622
3668
|
class TotalHealthcare < Increase::Internal::Type::BaseModel
|
3623
3669
|
# @!attribute amount
|
3624
|
-
# The amount in minor units of the `currency` field.
|
3670
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
3671
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
3672
|
+
# subtracted from the amount (such as a discount).
|
3625
3673
|
#
|
3626
3674
|
# @return [Integer]
|
3627
3675
|
required :amount, Integer
|
@@ -3640,7 +3688,7 @@ module Increase
|
|
3640
3688
|
#
|
3641
3689
|
# The total amount of healthcare-related additional amounts.
|
3642
3690
|
#
|
3643
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
3691
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
3644
3692
|
#
|
3645
3693
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
3646
3694
|
end
|
@@ -3648,7 +3696,9 @@ module Increase
|
|
3648
3696
|
# @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#transit
|
3649
3697
|
class Transit < Increase::Internal::Type::BaseModel
|
3650
3698
|
# @!attribute amount
|
3651
|
-
# The amount in minor units of the `currency` field.
|
3699
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
3700
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
3701
|
+
# subtracted from the amount (such as a discount).
|
3652
3702
|
#
|
3653
3703
|
# @return [Integer]
|
3654
3704
|
required :amount, Integer
|
@@ -3667,7 +3717,7 @@ module Increase
|
|
3667
3717
|
#
|
3668
3718
|
# The part of this transaction amount that was for transit-related services.
|
3669
3719
|
#
|
3670
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
3720
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
3671
3721
|
#
|
3672
3722
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
3673
3723
|
end
|
@@ -3675,7 +3725,9 @@ module Increase
|
|
3675
3725
|
# @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#unknown
|
3676
3726
|
class Unknown < Increase::Internal::Type::BaseModel
|
3677
3727
|
# @!attribute amount
|
3678
|
-
# The amount in minor units of the `currency` field.
|
3728
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
3729
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
3730
|
+
# subtracted from the amount (such as a discount).
|
3679
3731
|
#
|
3680
3732
|
# @return [Integer]
|
3681
3733
|
required :amount, Integer
|
@@ -3694,7 +3746,7 @@ module Increase
|
|
3694
3746
|
#
|
3695
3747
|
# An unknown additional amount.
|
3696
3748
|
#
|
3697
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
3749
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
3698
3750
|
#
|
3699
3751
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
3700
3752
|
end
|
@@ -3702,7 +3754,9 @@ module Increase
|
|
3702
3754
|
# @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#vision
|
3703
3755
|
class Vision < Increase::Internal::Type::BaseModel
|
3704
3756
|
# @!attribute amount
|
3705
|
-
# The amount in minor units of the `currency` field.
|
3757
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
3758
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
3759
|
+
# subtracted from the amount (such as a discount).
|
3706
3760
|
#
|
3707
3761
|
# @return [Integer]
|
3708
3762
|
required :amount, Integer
|
@@ -3721,7 +3775,7 @@ module Increase
|
|
3721
3775
|
#
|
3722
3776
|
# The part of this transaction amount that was for vision-related services.
|
3723
3777
|
#
|
3724
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
3778
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
3725
3779
|
#
|
3726
3780
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
3727
3781
|
end
|
@@ -7234,7 +7288,9 @@ module Increase
|
|
7234
7288
|
# @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#clinic
|
7235
7289
|
class Clinic < Increase::Internal::Type::BaseModel
|
7236
7290
|
# @!attribute amount
|
7237
|
-
# The amount in minor units of the `currency` field.
|
7291
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
7292
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
7293
|
+
# subtracted from the amount (such as a discount).
|
7238
7294
|
#
|
7239
7295
|
# @return [Integer]
|
7240
7296
|
required :amount, Integer
|
@@ -7253,7 +7309,7 @@ module Increase
|
|
7253
7309
|
#
|
7254
7310
|
# The part of this transaction amount that was for clinic-related services.
|
7255
7311
|
#
|
7256
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
7312
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
7257
7313
|
#
|
7258
7314
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
7259
7315
|
end
|
@@ -7261,7 +7317,9 @@ module Increase
|
|
7261
7317
|
# @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#dental
|
7262
7318
|
class Dental < Increase::Internal::Type::BaseModel
|
7263
7319
|
# @!attribute amount
|
7264
|
-
# The amount in minor units of the `currency` field.
|
7320
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
7321
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
7322
|
+
# subtracted from the amount (such as a discount).
|
7265
7323
|
#
|
7266
7324
|
# @return [Integer]
|
7267
7325
|
required :amount, Integer
|
@@ -7280,7 +7338,7 @@ module Increase
|
|
7280
7338
|
#
|
7281
7339
|
# The part of this transaction amount that was for dental-related services.
|
7282
7340
|
#
|
7283
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
7341
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
7284
7342
|
#
|
7285
7343
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
7286
7344
|
end
|
@@ -7288,7 +7346,9 @@ module Increase
|
|
7288
7346
|
# @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#prescription
|
7289
7347
|
class Prescription < Increase::Internal::Type::BaseModel
|
7290
7348
|
# @!attribute amount
|
7291
|
-
# The amount in minor units of the `currency` field.
|
7349
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
7350
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
7351
|
+
# subtracted from the amount (such as a discount).
|
7292
7352
|
#
|
7293
7353
|
# @return [Integer]
|
7294
7354
|
required :amount, Integer
|
@@ -7307,7 +7367,7 @@ module Increase
|
|
7307
7367
|
#
|
7308
7368
|
# The part of this transaction amount that was for healthcare prescriptions.
|
7309
7369
|
#
|
7310
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
7370
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
7311
7371
|
#
|
7312
7372
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
7313
7373
|
end
|
@@ -7315,7 +7375,9 @@ module Increase
|
|
7315
7375
|
# @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#surcharge
|
7316
7376
|
class Surcharge < Increase::Internal::Type::BaseModel
|
7317
7377
|
# @!attribute amount
|
7318
|
-
# The amount in minor units of the `currency` field.
|
7378
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
7379
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
7380
|
+
# subtracted from the amount (such as a discount).
|
7319
7381
|
#
|
7320
7382
|
# @return [Integer]
|
7321
7383
|
required :amount, Integer
|
@@ -7334,7 +7396,7 @@ module Increase
|
|
7334
7396
|
#
|
7335
7397
|
# The surcharge amount charged for this transaction by the merchant.
|
7336
7398
|
#
|
7337
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
7399
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
7338
7400
|
#
|
7339
7401
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
7340
7402
|
end
|
@@ -7342,7 +7404,9 @@ module Increase
|
|
7342
7404
|
# @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#total_cumulative
|
7343
7405
|
class TotalCumulative < Increase::Internal::Type::BaseModel
|
7344
7406
|
# @!attribute amount
|
7345
|
-
# The amount in minor units of the `currency` field.
|
7407
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
7408
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
7409
|
+
# subtracted from the amount (such as a discount).
|
7346
7410
|
#
|
7347
7411
|
# @return [Integer]
|
7348
7412
|
required :amount, Integer
|
@@ -7361,7 +7425,7 @@ module Increase
|
|
7361
7425
|
#
|
7362
7426
|
# The total amount of a series of incremental authorizations, optionally provided.
|
7363
7427
|
#
|
7364
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
7428
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
7365
7429
|
#
|
7366
7430
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
7367
7431
|
end
|
@@ -7369,7 +7433,9 @@ module Increase
|
|
7369
7433
|
# @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#total_healthcare
|
7370
7434
|
class TotalHealthcare < Increase::Internal::Type::BaseModel
|
7371
7435
|
# @!attribute amount
|
7372
|
-
# The amount in minor units of the `currency` field.
|
7436
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
7437
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
7438
|
+
# subtracted from the amount (such as a discount).
|
7373
7439
|
#
|
7374
7440
|
# @return [Integer]
|
7375
7441
|
required :amount, Integer
|
@@ -7388,7 +7454,7 @@ module Increase
|
|
7388
7454
|
#
|
7389
7455
|
# The total amount of healthcare-related additional amounts.
|
7390
7456
|
#
|
7391
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
7457
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
7392
7458
|
#
|
7393
7459
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
7394
7460
|
end
|
@@ -7396,7 +7462,9 @@ module Increase
|
|
7396
7462
|
# @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#transit
|
7397
7463
|
class Transit < Increase::Internal::Type::BaseModel
|
7398
7464
|
# @!attribute amount
|
7399
|
-
# The amount in minor units of the `currency` field.
|
7465
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
7466
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
7467
|
+
# subtracted from the amount (such as a discount).
|
7400
7468
|
#
|
7401
7469
|
# @return [Integer]
|
7402
7470
|
required :amount, Integer
|
@@ -7415,7 +7483,7 @@ module Increase
|
|
7415
7483
|
#
|
7416
7484
|
# The part of this transaction amount that was for transit-related services.
|
7417
7485
|
#
|
7418
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
7486
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
7419
7487
|
#
|
7420
7488
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
7421
7489
|
end
|
@@ -7423,7 +7491,9 @@ module Increase
|
|
7423
7491
|
# @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#unknown
|
7424
7492
|
class Unknown < Increase::Internal::Type::BaseModel
|
7425
7493
|
# @!attribute amount
|
7426
|
-
# The amount in minor units of the `currency` field.
|
7494
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
7495
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
7496
|
+
# subtracted from the amount (such as a discount).
|
7427
7497
|
#
|
7428
7498
|
# @return [Integer]
|
7429
7499
|
required :amount, Integer
|
@@ -7442,7 +7512,7 @@ module Increase
|
|
7442
7512
|
#
|
7443
7513
|
# An unknown additional amount.
|
7444
7514
|
#
|
7445
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
7515
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
7446
7516
|
#
|
7447
7517
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
7448
7518
|
end
|
@@ -7450,7 +7520,9 @@ module Increase
|
|
7450
7520
|
# @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#vision
|
7451
7521
|
class Vision < Increase::Internal::Type::BaseModel
|
7452
7522
|
# @!attribute amount
|
7453
|
-
# The amount in minor units of the `currency` field.
|
7523
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
7524
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
7525
|
+
# subtracted from the amount (such as a discount).
|
7454
7526
|
#
|
7455
7527
|
# @return [Integer]
|
7456
7528
|
required :amount, Integer
|
@@ -7469,7 +7541,7 @@ module Increase
|
|
7469
7541
|
#
|
7470
7542
|
# The part of this transaction amount that was for vision-related services.
|
7471
7543
|
#
|
7472
|
-
# @param amount [Integer] The amount in minor units of the `currency` field.
|
7544
|
+
# @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it
|
7473
7545
|
#
|
7474
7546
|
# @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a
|
7475
7547
|
end
|