increase 1.19.0 → 1.21.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.
@@ -445,6 +445,24 @@ module Increase
445
445
  sig { returns(String) }
446
446
  attr_accessor :account_id
447
447
 
448
+ # Additional amounts associated with the card authorization, such as ATM
449
+ # surcharges fees. These are usually a subset of the `amount` field and are used
450
+ # to provide more detailed information about the transaction.
451
+ sig do
452
+ returns(
453
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts
454
+ )
455
+ end
456
+ attr_reader :additional_amounts
457
+
458
+ sig do
459
+ params(
460
+ additional_amounts:
461
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::OrHash
462
+ ).void
463
+ end
464
+ attr_writer :additional_amounts
465
+
448
466
  # The identifier of the Card that is being authorized.
449
467
  sig { returns(String) }
450
468
  attr_accessor :card_id
@@ -616,6 +634,8 @@ module Increase
616
634
  sig do
617
635
  params(
618
636
  account_id: String,
637
+ additional_amounts:
638
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::OrHash,
619
639
  card_id: String,
620
640
  decision:
621
641
  T.nilable(
@@ -654,6 +674,10 @@ module Increase
654
674
  def self.new(
655
675
  # The identifier of the Account the authorization will debit.
656
676
  account_id:,
677
+ # Additional amounts associated with the card authorization, such as ATM
678
+ # surcharges fees. These are usually a subset of the `amount` field and are used
679
+ # to provide more detailed information about the transaction.
680
+ additional_amounts:,
657
681
  # The identifier of the Card that is being authorized.
658
682
  card_id:,
659
683
  # Whether or not the authorization was approved.
@@ -724,6 +748,8 @@ module Increase
724
748
  override.returns(
725
749
  {
726
750
  account_id: String,
751
+ additional_amounts:
752
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts,
727
753
  card_id: String,
728
754
  decision:
729
755
  T.nilable(
@@ -763,6 +789,648 @@ module Increase
763
789
  def to_hash
764
790
  end
765
791
 
792
+ class AdditionalAmounts < Increase::Internal::Type::BaseModel
793
+ OrHash =
794
+ T.type_alias do
795
+ T.any(
796
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts,
797
+ Increase::Internal::AnyHash
798
+ )
799
+ end
800
+
801
+ # The part of this transaction amount that was for clinic-related services.
802
+ sig do
803
+ returns(
804
+ T.nilable(
805
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Clinic
806
+ )
807
+ )
808
+ end
809
+ attr_reader :clinic
810
+
811
+ sig do
812
+ params(
813
+ clinic:
814
+ T.nilable(
815
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Clinic::OrHash
816
+ )
817
+ ).void
818
+ end
819
+ attr_writer :clinic
820
+
821
+ # The part of this transaction amount that was for dental-related services.
822
+ sig do
823
+ returns(
824
+ T.nilable(
825
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Dental
826
+ )
827
+ )
828
+ end
829
+ attr_reader :dental
830
+
831
+ sig do
832
+ params(
833
+ dental:
834
+ T.nilable(
835
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Dental::OrHash
836
+ )
837
+ ).void
838
+ end
839
+ attr_writer :dental
840
+
841
+ # The part of this transaction amount that was for healthcare prescriptions.
842
+ sig do
843
+ returns(
844
+ T.nilable(
845
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Prescription
846
+ )
847
+ )
848
+ end
849
+ attr_reader :prescription
850
+
851
+ sig do
852
+ params(
853
+ prescription:
854
+ T.nilable(
855
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Prescription::OrHash
856
+ )
857
+ ).void
858
+ end
859
+ attr_writer :prescription
860
+
861
+ # The surcharge amount charged for this transaction by the merchant.
862
+ sig do
863
+ returns(
864
+ T.nilable(
865
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Surcharge
866
+ )
867
+ )
868
+ end
869
+ attr_reader :surcharge
870
+
871
+ sig do
872
+ params(
873
+ surcharge:
874
+ T.nilable(
875
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Surcharge::OrHash
876
+ )
877
+ ).void
878
+ end
879
+ attr_writer :surcharge
880
+
881
+ # The total amount of a series of incremental authorizations, optionally provided.
882
+ sig do
883
+ returns(
884
+ T.nilable(
885
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::TotalCumulative
886
+ )
887
+ )
888
+ end
889
+ attr_reader :total_cumulative
890
+
891
+ sig do
892
+ params(
893
+ total_cumulative:
894
+ T.nilable(
895
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::TotalCumulative::OrHash
896
+ )
897
+ ).void
898
+ end
899
+ attr_writer :total_cumulative
900
+
901
+ # The total amount of healthcare-related additional amounts.
902
+ sig do
903
+ returns(
904
+ T.nilable(
905
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::TotalHealthcare
906
+ )
907
+ )
908
+ end
909
+ attr_reader :total_healthcare
910
+
911
+ sig do
912
+ params(
913
+ total_healthcare:
914
+ T.nilable(
915
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::TotalHealthcare::OrHash
916
+ )
917
+ ).void
918
+ end
919
+ attr_writer :total_healthcare
920
+
921
+ # The part of this transaction amount that was for transit-related services.
922
+ sig do
923
+ returns(
924
+ T.nilable(
925
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Transit
926
+ )
927
+ )
928
+ end
929
+ attr_reader :transit
930
+
931
+ sig do
932
+ params(
933
+ transit:
934
+ T.nilable(
935
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Transit::OrHash
936
+ )
937
+ ).void
938
+ end
939
+ attr_writer :transit
940
+
941
+ # An unknown additional amount.
942
+ sig do
943
+ returns(
944
+ T.nilable(
945
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Unknown
946
+ )
947
+ )
948
+ end
949
+ attr_reader :unknown
950
+
951
+ sig do
952
+ params(
953
+ unknown:
954
+ T.nilable(
955
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Unknown::OrHash
956
+ )
957
+ ).void
958
+ end
959
+ attr_writer :unknown
960
+
961
+ # The part of this transaction amount that was for vision-related services.
962
+ sig do
963
+ returns(
964
+ T.nilable(
965
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Vision
966
+ )
967
+ )
968
+ end
969
+ attr_reader :vision
970
+
971
+ sig do
972
+ params(
973
+ vision:
974
+ T.nilable(
975
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Vision::OrHash
976
+ )
977
+ ).void
978
+ end
979
+ attr_writer :vision
980
+
981
+ # Additional amounts associated with the card authorization, such as ATM
982
+ # surcharges fees. These are usually a subset of the `amount` field and are used
983
+ # to provide more detailed information about the transaction.
984
+ sig do
985
+ params(
986
+ clinic:
987
+ T.nilable(
988
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Clinic::OrHash
989
+ ),
990
+ dental:
991
+ T.nilable(
992
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Dental::OrHash
993
+ ),
994
+ prescription:
995
+ T.nilable(
996
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Prescription::OrHash
997
+ ),
998
+ surcharge:
999
+ T.nilable(
1000
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Surcharge::OrHash
1001
+ ),
1002
+ total_cumulative:
1003
+ T.nilable(
1004
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::TotalCumulative::OrHash
1005
+ ),
1006
+ total_healthcare:
1007
+ T.nilable(
1008
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::TotalHealthcare::OrHash
1009
+ ),
1010
+ transit:
1011
+ T.nilable(
1012
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Transit::OrHash
1013
+ ),
1014
+ unknown:
1015
+ T.nilable(
1016
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Unknown::OrHash
1017
+ ),
1018
+ vision:
1019
+ T.nilable(
1020
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Vision::OrHash
1021
+ )
1022
+ ).returns(T.attached_class)
1023
+ end
1024
+ def self.new(
1025
+ # The part of this transaction amount that was for clinic-related services.
1026
+ clinic:,
1027
+ # The part of this transaction amount that was for dental-related services.
1028
+ dental:,
1029
+ # The part of this transaction amount that was for healthcare prescriptions.
1030
+ prescription:,
1031
+ # The surcharge amount charged for this transaction by the merchant.
1032
+ surcharge:,
1033
+ # The total amount of a series of incremental authorizations, optionally provided.
1034
+ total_cumulative:,
1035
+ # The total amount of healthcare-related additional amounts.
1036
+ total_healthcare:,
1037
+ # The part of this transaction amount that was for transit-related services.
1038
+ transit:,
1039
+ # An unknown additional amount.
1040
+ unknown:,
1041
+ # The part of this transaction amount that was for vision-related services.
1042
+ vision:
1043
+ )
1044
+ end
1045
+
1046
+ sig do
1047
+ override.returns(
1048
+ {
1049
+ clinic:
1050
+ T.nilable(
1051
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Clinic
1052
+ ),
1053
+ dental:
1054
+ T.nilable(
1055
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Dental
1056
+ ),
1057
+ prescription:
1058
+ T.nilable(
1059
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Prescription
1060
+ ),
1061
+ surcharge:
1062
+ T.nilable(
1063
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Surcharge
1064
+ ),
1065
+ total_cumulative:
1066
+ T.nilable(
1067
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::TotalCumulative
1068
+ ),
1069
+ total_healthcare:
1070
+ T.nilable(
1071
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::TotalHealthcare
1072
+ ),
1073
+ transit:
1074
+ T.nilable(
1075
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Transit
1076
+ ),
1077
+ unknown:
1078
+ T.nilable(
1079
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Unknown
1080
+ ),
1081
+ vision:
1082
+ T.nilable(
1083
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Vision
1084
+ )
1085
+ }
1086
+ )
1087
+ end
1088
+ def to_hash
1089
+ end
1090
+
1091
+ class Clinic < Increase::Internal::Type::BaseModel
1092
+ OrHash =
1093
+ T.type_alias do
1094
+ T.any(
1095
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Clinic,
1096
+ Increase::Internal::AnyHash
1097
+ )
1098
+ end
1099
+
1100
+ # The amount in minor units of the `currency` field.
1101
+ sig { returns(Integer) }
1102
+ attr_accessor :amount
1103
+
1104
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1105
+ # amount's currency.
1106
+ sig { returns(String) }
1107
+ attr_accessor :currency
1108
+
1109
+ # The part of this transaction amount that was for clinic-related services.
1110
+ sig do
1111
+ params(amount: Integer, currency: String).returns(
1112
+ T.attached_class
1113
+ )
1114
+ end
1115
+ def self.new(
1116
+ # The amount in minor units of the `currency` field.
1117
+ amount:,
1118
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1119
+ # amount's currency.
1120
+ currency:
1121
+ )
1122
+ end
1123
+
1124
+ sig { override.returns({ amount: Integer, currency: String }) }
1125
+ def to_hash
1126
+ end
1127
+ end
1128
+
1129
+ class Dental < Increase::Internal::Type::BaseModel
1130
+ OrHash =
1131
+ T.type_alias do
1132
+ T.any(
1133
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Dental,
1134
+ Increase::Internal::AnyHash
1135
+ )
1136
+ end
1137
+
1138
+ # The amount in minor units of the `currency` field.
1139
+ sig { returns(Integer) }
1140
+ attr_accessor :amount
1141
+
1142
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1143
+ # amount's currency.
1144
+ sig { returns(String) }
1145
+ attr_accessor :currency
1146
+
1147
+ # The part of this transaction amount that was for dental-related services.
1148
+ sig do
1149
+ params(amount: Integer, currency: String).returns(
1150
+ T.attached_class
1151
+ )
1152
+ end
1153
+ def self.new(
1154
+ # The amount in minor units of the `currency` field.
1155
+ amount:,
1156
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1157
+ # amount's currency.
1158
+ currency:
1159
+ )
1160
+ end
1161
+
1162
+ sig { override.returns({ amount: Integer, currency: String }) }
1163
+ def to_hash
1164
+ end
1165
+ end
1166
+
1167
+ class Prescription < Increase::Internal::Type::BaseModel
1168
+ OrHash =
1169
+ T.type_alias do
1170
+ T.any(
1171
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Prescription,
1172
+ Increase::Internal::AnyHash
1173
+ )
1174
+ end
1175
+
1176
+ # The amount in minor units of the `currency` field.
1177
+ sig { returns(Integer) }
1178
+ attr_accessor :amount
1179
+
1180
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1181
+ # amount's currency.
1182
+ sig { returns(String) }
1183
+ attr_accessor :currency
1184
+
1185
+ # The part of this transaction amount that was for healthcare prescriptions.
1186
+ sig do
1187
+ params(amount: Integer, currency: String).returns(
1188
+ T.attached_class
1189
+ )
1190
+ end
1191
+ def self.new(
1192
+ # The amount in minor units of the `currency` field.
1193
+ amount:,
1194
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1195
+ # amount's currency.
1196
+ currency:
1197
+ )
1198
+ end
1199
+
1200
+ sig { override.returns({ amount: Integer, currency: String }) }
1201
+ def to_hash
1202
+ end
1203
+ end
1204
+
1205
+ class Surcharge < Increase::Internal::Type::BaseModel
1206
+ OrHash =
1207
+ T.type_alias do
1208
+ T.any(
1209
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Surcharge,
1210
+ Increase::Internal::AnyHash
1211
+ )
1212
+ end
1213
+
1214
+ # The amount in minor units of the `currency` field.
1215
+ sig { returns(Integer) }
1216
+ attr_accessor :amount
1217
+
1218
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1219
+ # amount's currency.
1220
+ sig { returns(String) }
1221
+ attr_accessor :currency
1222
+
1223
+ # The surcharge amount charged for this transaction by the merchant.
1224
+ sig do
1225
+ params(amount: Integer, currency: String).returns(
1226
+ T.attached_class
1227
+ )
1228
+ end
1229
+ def self.new(
1230
+ # The amount in minor units of the `currency` field.
1231
+ amount:,
1232
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1233
+ # amount's currency.
1234
+ currency:
1235
+ )
1236
+ end
1237
+
1238
+ sig { override.returns({ amount: Integer, currency: String }) }
1239
+ def to_hash
1240
+ end
1241
+ end
1242
+
1243
+ class TotalCumulative < Increase::Internal::Type::BaseModel
1244
+ OrHash =
1245
+ T.type_alias do
1246
+ T.any(
1247
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::TotalCumulative,
1248
+ Increase::Internal::AnyHash
1249
+ )
1250
+ end
1251
+
1252
+ # The amount in minor units of the `currency` field.
1253
+ sig { returns(Integer) }
1254
+ attr_accessor :amount
1255
+
1256
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1257
+ # amount's currency.
1258
+ sig { returns(String) }
1259
+ attr_accessor :currency
1260
+
1261
+ # The total amount of a series of incremental authorizations, optionally provided.
1262
+ sig do
1263
+ params(amount: Integer, currency: String).returns(
1264
+ T.attached_class
1265
+ )
1266
+ end
1267
+ def self.new(
1268
+ # The amount in minor units of the `currency` field.
1269
+ amount:,
1270
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1271
+ # amount's currency.
1272
+ currency:
1273
+ )
1274
+ end
1275
+
1276
+ sig { override.returns({ amount: Integer, currency: String }) }
1277
+ def to_hash
1278
+ end
1279
+ end
1280
+
1281
+ class TotalHealthcare < Increase::Internal::Type::BaseModel
1282
+ OrHash =
1283
+ T.type_alias do
1284
+ T.any(
1285
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::TotalHealthcare,
1286
+ Increase::Internal::AnyHash
1287
+ )
1288
+ end
1289
+
1290
+ # The amount in minor units of the `currency` field.
1291
+ sig { returns(Integer) }
1292
+ attr_accessor :amount
1293
+
1294
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1295
+ # amount's currency.
1296
+ sig { returns(String) }
1297
+ attr_accessor :currency
1298
+
1299
+ # The total amount of healthcare-related additional amounts.
1300
+ sig do
1301
+ params(amount: Integer, currency: String).returns(
1302
+ T.attached_class
1303
+ )
1304
+ end
1305
+ def self.new(
1306
+ # The amount in minor units of the `currency` field.
1307
+ amount:,
1308
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1309
+ # amount's currency.
1310
+ currency:
1311
+ )
1312
+ end
1313
+
1314
+ sig { override.returns({ amount: Integer, currency: String }) }
1315
+ def to_hash
1316
+ end
1317
+ end
1318
+
1319
+ class Transit < Increase::Internal::Type::BaseModel
1320
+ OrHash =
1321
+ T.type_alias do
1322
+ T.any(
1323
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Transit,
1324
+ Increase::Internal::AnyHash
1325
+ )
1326
+ end
1327
+
1328
+ # The amount in minor units of the `currency` field.
1329
+ sig { returns(Integer) }
1330
+ attr_accessor :amount
1331
+
1332
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1333
+ # amount's currency.
1334
+ sig { returns(String) }
1335
+ attr_accessor :currency
1336
+
1337
+ # The part of this transaction amount that was for transit-related services.
1338
+ sig do
1339
+ params(amount: Integer, currency: String).returns(
1340
+ T.attached_class
1341
+ )
1342
+ end
1343
+ def self.new(
1344
+ # The amount in minor units of the `currency` field.
1345
+ amount:,
1346
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1347
+ # amount's currency.
1348
+ currency:
1349
+ )
1350
+ end
1351
+
1352
+ sig { override.returns({ amount: Integer, currency: String }) }
1353
+ def to_hash
1354
+ end
1355
+ end
1356
+
1357
+ class Unknown < Increase::Internal::Type::BaseModel
1358
+ OrHash =
1359
+ T.type_alias do
1360
+ T.any(
1361
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Unknown,
1362
+ Increase::Internal::AnyHash
1363
+ )
1364
+ end
1365
+
1366
+ # The amount in minor units of the `currency` field.
1367
+ sig { returns(Integer) }
1368
+ attr_accessor :amount
1369
+
1370
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1371
+ # amount's currency.
1372
+ sig { returns(String) }
1373
+ attr_accessor :currency
1374
+
1375
+ # An unknown additional amount.
1376
+ sig do
1377
+ params(amount: Integer, currency: String).returns(
1378
+ T.attached_class
1379
+ )
1380
+ end
1381
+ def self.new(
1382
+ # The amount in minor units of the `currency` field.
1383
+ amount:,
1384
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1385
+ # amount's currency.
1386
+ currency:
1387
+ )
1388
+ end
1389
+
1390
+ sig { override.returns({ amount: Integer, currency: String }) }
1391
+ def to_hash
1392
+ end
1393
+ end
1394
+
1395
+ class Vision < Increase::Internal::Type::BaseModel
1396
+ OrHash =
1397
+ T.type_alias do
1398
+ T.any(
1399
+ Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Vision,
1400
+ Increase::Internal::AnyHash
1401
+ )
1402
+ end
1403
+
1404
+ # The amount in minor units of the `currency` field.
1405
+ sig { returns(Integer) }
1406
+ attr_accessor :amount
1407
+
1408
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1409
+ # amount's currency.
1410
+ sig { returns(String) }
1411
+ attr_accessor :currency
1412
+
1413
+ # The part of this transaction amount that was for vision-related services.
1414
+ sig do
1415
+ params(amount: Integer, currency: String).returns(
1416
+ T.attached_class
1417
+ )
1418
+ end
1419
+ def self.new(
1420
+ # The amount in minor units of the `currency` field.
1421
+ amount:,
1422
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
1423
+ # amount's currency.
1424
+ currency:
1425
+ )
1426
+ end
1427
+
1428
+ sig { override.returns({ amount: Integer, currency: String }) }
1429
+ def to_hash
1430
+ end
1431
+ end
1432
+ end
1433
+
766
1434
  # Whether or not the authorization was approved.
767
1435
  module Decision
768
1436
  extend Increase::Internal::Type::Enum