@blockchyp/blockchyp-ts 2.25.0 → 2.26.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.
- package/_bundles/blockchyp.js +52 -15
- package/_bundles/blockchyp.js.map +1 -1
- package/_bundles/blockchyp.min.js +1 -1
- package/_bundles/blockchyp.min.js.map +1 -1
- package/lib/src/models.d.ts +164 -16
- package/lib/src/models.js +52 -15
- package/lib/src/models.js.map +1 -1
- package/package.json +1 -1
- package/src/models.ts +259 -0
package/lib/src/models.js
CHANGED
|
@@ -998,7 +998,7 @@ exports.UpdateTokenResponse = UpdateTokenResponse;
|
|
|
998
998
|
*/
|
|
999
999
|
class CustomerToken {
|
|
1000
1000
|
// Constructor with default values for optional fields
|
|
1001
|
-
constructor(token = null, maskedPan = null, expiryMonth = null, expiryYear = null, paymentType = null, accountType = null, accountHolderType = null, bankName = null, routingNumber = null, tokenHash = null, bin = null, customers = null) {
|
|
1001
|
+
constructor(token = null, maskedPan = null, expiryMonth = null, expiryYear = null, paymentType = null, accountType = null, accountHolderType = null, bankName = null, routingNumber = null, tokenHash = null, bin = null, postalCode = undefined, address = undefined, country = undefined, cardHolderName = undefined, customers = null) {
|
|
1002
1002
|
/**
|
|
1003
1003
|
* BlockChyp assigned customer id.
|
|
1004
1004
|
*/
|
|
@@ -1058,6 +1058,10 @@ class CustomerToken {
|
|
|
1058
1058
|
this.routingNumber = routingNumber;
|
|
1059
1059
|
this.tokenHash = tokenHash;
|
|
1060
1060
|
this.bin = bin;
|
|
1061
|
+
this.postalCode = postalCode;
|
|
1062
|
+
this.address = address;
|
|
1063
|
+
this.country = country;
|
|
1064
|
+
this.cardHolderName = cardHolderName;
|
|
1061
1065
|
this.customers = customers;
|
|
1062
1066
|
}
|
|
1063
1067
|
}
|
|
@@ -1154,7 +1158,7 @@ exports.WhiteListedCard = WhiteListedCard;
|
|
|
1154
1158
|
*/
|
|
1155
1159
|
class AuthorizationRequest {
|
|
1156
1160
|
// Constructor with default values for optional fields
|
|
1157
|
-
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null, transactionId = undefined, onlineAuthCode = undefined, enroll = false, bypassDupeFilter = false, description = undefined, promptForTip = false, cashBackEnabled = false, cardOnFile = false, recurring = false, cit = false, mit = false, subscription = false, purchaseOrderNumber = undefined, supplierReferenceNumber = undefined, lineItems = null, altPrices = undefined, customer = undefined, roundingMode = undefined, healthcareMetadata = undefined, cryptocurrency = undefined, cryptoNetwork = undefined, cryptoReceiveAddress = undefined, paymentRequestLabel = undefined, paymentRequestMessage = undefined, simulateChipRejection = false, simulateOutOfOrderReversal = false, asyncReversals = false, passthroughSurcharge = undefined, healthcare = false, healthcareTotal = undefined, ebtTotal = undefined, cardMetadataLookup = false) {
|
|
1161
|
+
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, country = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null, transactionId = undefined, onlineAuthCode = undefined, enroll = false, bypassDupeFilter = false, description = undefined, promptForTip = false, cashBackEnabled = false, cardOnFile = false, recurring = false, cit = false, mit = false, subscription = false, purchaseOrderNumber = undefined, supplierReferenceNumber = undefined, lineItems = null, altPrices = undefined, customer = undefined, roundingMode = undefined, healthcareMetadata = undefined, cryptocurrency = undefined, cryptoNetwork = undefined, cryptoReceiveAddress = undefined, paymentRequestLabel = undefined, paymentRequestMessage = undefined, simulateChipRejection = false, simulateOutOfOrderReversal = false, asyncReversals = false, passthroughSurcharge = undefined, healthcare = false, healthcareTotal = undefined, ebtTotal = undefined, cardMetadataLookup = false, shippingAmount = undefined, processorId = undefined, externalCustomerId = undefined) {
|
|
1158
1162
|
/**
|
|
1159
1163
|
* The request timeout in seconds.
|
|
1160
1164
|
*/
|
|
@@ -1230,6 +1234,7 @@ class AuthorizationRequest {
|
|
|
1230
1234
|
this.cvv = cvv;
|
|
1231
1235
|
this.address = address;
|
|
1232
1236
|
this.postalCode = postalCode;
|
|
1237
|
+
this.country = country;
|
|
1233
1238
|
this.manualEntry = manualEntry;
|
|
1234
1239
|
this.ksn = ksn;
|
|
1235
1240
|
this.pinBlock = pinBlock;
|
|
@@ -1280,6 +1285,9 @@ class AuthorizationRequest {
|
|
|
1280
1285
|
this.healthcareTotal = healthcareTotal;
|
|
1281
1286
|
this.ebtTotal = ebtTotal;
|
|
1282
1287
|
this.cardMetadataLookup = cardMetadataLookup;
|
|
1288
|
+
this.shippingAmount = shippingAmount;
|
|
1289
|
+
this.processorId = processorId;
|
|
1290
|
+
this.externalCustomerId = externalCustomerId;
|
|
1283
1291
|
}
|
|
1284
1292
|
}
|
|
1285
1293
|
exports.AuthorizationRequest = AuthorizationRequest;
|
|
@@ -1357,7 +1365,7 @@ exports.CardMetadata = CardMetadata;
|
|
|
1357
1365
|
*/
|
|
1358
1366
|
class CardMetadataRequest {
|
|
1359
1367
|
// Constructor with default values for optional fields
|
|
1360
|
-
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null, healthcare = false) {
|
|
1368
|
+
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, country = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null, healthcare = false) {
|
|
1361
1369
|
/**
|
|
1362
1370
|
* The request timeout in seconds.
|
|
1363
1371
|
*/
|
|
@@ -1408,6 +1416,7 @@ class CardMetadataRequest {
|
|
|
1408
1416
|
this.cvv = cvv;
|
|
1409
1417
|
this.address = address;
|
|
1410
1418
|
this.postalCode = postalCode;
|
|
1419
|
+
this.country = country;
|
|
1411
1420
|
this.manualEntry = manualEntry;
|
|
1412
1421
|
this.ksn = ksn;
|
|
1413
1422
|
this.pinBlock = pinBlock;
|
|
@@ -1424,7 +1433,7 @@ exports.CardMetadataRequest = CardMetadataRequest;
|
|
|
1424
1433
|
*/
|
|
1425
1434
|
class CardMetadataResponse {
|
|
1426
1435
|
// Constructor with default values for optional fields
|
|
1427
|
-
constructor(success = null, error = null, responseDescription = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, cardMetadata = undefined) {
|
|
1436
|
+
constructor(success = null, error = null, responseDescription = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, cardMetadata = undefined) {
|
|
1428
1437
|
/**
|
|
1429
1438
|
* Whether or not the request succeeded.
|
|
1430
1439
|
*/
|
|
@@ -1463,6 +1472,9 @@ class CardMetadataResponse {
|
|
|
1463
1472
|
this.cardHolder = cardHolder;
|
|
1464
1473
|
this.expMonth = expMonth;
|
|
1465
1474
|
this.expYear = expYear;
|
|
1475
|
+
this.postalCode = postalCode;
|
|
1476
|
+
this.address = address;
|
|
1477
|
+
this.country = country;
|
|
1466
1478
|
this.avsResponse = avsResponse;
|
|
1467
1479
|
this.cvvResponse = cvvResponse;
|
|
1468
1480
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -1477,7 +1489,7 @@ exports.CardMetadataResponse = CardMetadataResponse;
|
|
|
1477
1489
|
*/
|
|
1478
1490
|
class BalanceRequest {
|
|
1479
1491
|
// Constructor with default values for optional fields
|
|
1480
|
-
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null) {
|
|
1492
|
+
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, country = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null) {
|
|
1481
1493
|
/**
|
|
1482
1494
|
* The request timeout in seconds.
|
|
1483
1495
|
*/
|
|
@@ -1528,6 +1540,7 @@ class BalanceRequest {
|
|
|
1528
1540
|
this.cvv = cvv;
|
|
1529
1541
|
this.address = address;
|
|
1530
1542
|
this.postalCode = postalCode;
|
|
1543
|
+
this.country = country;
|
|
1531
1544
|
this.manualEntry = manualEntry;
|
|
1532
1545
|
this.ksn = ksn;
|
|
1533
1546
|
this.pinBlock = pinBlock;
|
|
@@ -1543,7 +1556,7 @@ exports.BalanceRequest = BalanceRequest;
|
|
|
1543
1556
|
*/
|
|
1544
1557
|
class BalanceResponse {
|
|
1545
1558
|
// Constructor with default values for optional fields
|
|
1546
|
-
constructor(success = null, error = null, responseDescription = null, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, remainingBalance = undefined) {
|
|
1559
|
+
constructor(success = null, error = null, responseDescription = null, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, remainingBalance = undefined) {
|
|
1547
1560
|
/**
|
|
1548
1561
|
* Whether or not the request succeeded.
|
|
1549
1562
|
*/
|
|
@@ -1611,6 +1624,9 @@ class BalanceResponse {
|
|
|
1611
1624
|
this.cardHolder = cardHolder;
|
|
1612
1625
|
this.expMonth = expMonth;
|
|
1613
1626
|
this.expYear = expYear;
|
|
1627
|
+
this.postalCode = postalCode;
|
|
1628
|
+
this.address = address;
|
|
1629
|
+
this.country = country;
|
|
1614
1630
|
this.avsResponse = avsResponse;
|
|
1615
1631
|
this.cvvResponse = cvvResponse;
|
|
1616
1632
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -1625,7 +1641,7 @@ exports.BalanceResponse = BalanceResponse;
|
|
|
1625
1641
|
*/
|
|
1626
1642
|
class RefundRequest {
|
|
1627
1643
|
// Constructor with default values for optional fields
|
|
1628
|
-
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, transactionId = null, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null, healthcareMetadata = undefined, simulateChipRejection = false, simulateOutOfOrderReversal = false, asyncReversals = false, cit = false, mit = false, cardMetadataLookup = false) {
|
|
1644
|
+
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, country = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, transactionId = null, currencyCode = null, amount = null, taxExempt = null, surcharge = null, cashDiscount = null, sigFile = undefined, sigFormat = undefined, sigWidth = 0, disableSignature = false, tipAmount = undefined, taxAmount = undefined, terminalName = undefined, resetConnection = null, healthcareMetadata = undefined, simulateChipRejection = false, simulateOutOfOrderReversal = false, asyncReversals = false, cit = false, mit = false, cardMetadataLookup = false) {
|
|
1629
1645
|
/**
|
|
1630
1646
|
* The request timeout in seconds.
|
|
1631
1647
|
*/
|
|
@@ -1701,6 +1717,7 @@ class RefundRequest {
|
|
|
1701
1717
|
this.cvv = cvv;
|
|
1702
1718
|
this.address = address;
|
|
1703
1719
|
this.postalCode = postalCode;
|
|
1720
|
+
this.country = country;
|
|
1704
1721
|
this.manualEntry = manualEntry;
|
|
1705
1722
|
this.ksn = ksn;
|
|
1706
1723
|
this.pinBlock = pinBlock;
|
|
@@ -1821,7 +1838,7 @@ exports.CaptureRequest = CaptureRequest;
|
|
|
1821
1838
|
*/
|
|
1822
1839
|
class CaptureResponse {
|
|
1823
1840
|
// Constructor with default values for optional fields
|
|
1824
|
-
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null) {
|
|
1841
|
+
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null) {
|
|
1825
1842
|
/**
|
|
1826
1843
|
* Whether or not the request succeeded.
|
|
1827
1844
|
*/
|
|
@@ -1953,6 +1970,9 @@ class CaptureResponse {
|
|
|
1953
1970
|
this.cardHolder = cardHolder;
|
|
1954
1971
|
this.expMonth = expMonth;
|
|
1955
1972
|
this.expYear = expYear;
|
|
1973
|
+
this.postalCode = postalCode;
|
|
1974
|
+
this.address = address;
|
|
1975
|
+
this.country = country;
|
|
1956
1976
|
this.avsResponse = avsResponse;
|
|
1957
1977
|
this.cvvResponse = cvvResponse;
|
|
1958
1978
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -2014,7 +2034,7 @@ exports.VoidRequest = VoidRequest;
|
|
|
2014
2034
|
*/
|
|
2015
2035
|
class VoidResponse {
|
|
2016
2036
|
// Constructor with default values for optional fields
|
|
2017
|
-
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined) {
|
|
2037
|
+
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined) {
|
|
2018
2038
|
/**
|
|
2019
2039
|
* Whether or not the request succeeded.
|
|
2020
2040
|
*/
|
|
@@ -2089,6 +2109,9 @@ class VoidResponse {
|
|
|
2089
2109
|
this.cardHolder = cardHolder;
|
|
2090
2110
|
this.expMonth = expMonth;
|
|
2091
2111
|
this.expYear = expYear;
|
|
2112
|
+
this.postalCode = postalCode;
|
|
2113
|
+
this.address = address;
|
|
2114
|
+
this.country = country;
|
|
2092
2115
|
this.avsResponse = avsResponse;
|
|
2093
2116
|
this.cvvResponse = cvvResponse;
|
|
2094
2117
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -2103,7 +2126,7 @@ exports.VoidResponse = VoidResponse;
|
|
|
2103
2126
|
*/
|
|
2104
2127
|
class EnrollRequest {
|
|
2105
2128
|
// Constructor with default values for optional fields
|
|
2106
|
-
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null, entryMethod = undefined, customer = undefined, recurring = false, subscription = false, cardMetadataLookup = false, accountType = undefined, accountHolderType = undefined, bankName = undefined) {
|
|
2129
|
+
constructor(timeout = null, test = null, transactionRef = undefined, autogeneratedRef = null, async = null, queue = null, waitForRemovedCard = false, force = false, orderRef = undefined, destinationAccount = undefined, testCase = undefined, token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, country = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined, terminalName = undefined, resetConnection = null, entryMethod = undefined, customer = undefined, recurring = false, subscription = false, cardMetadataLookup = false, accountType = undefined, accountHolderType = undefined, bankName = undefined) {
|
|
2107
2130
|
/**
|
|
2108
2131
|
* The request timeout in seconds.
|
|
2109
2132
|
*/
|
|
@@ -2154,6 +2177,7 @@ class EnrollRequest {
|
|
|
2154
2177
|
this.cvv = cvv;
|
|
2155
2178
|
this.address = address;
|
|
2156
2179
|
this.postalCode = postalCode;
|
|
2180
|
+
this.country = country;
|
|
2157
2181
|
this.manualEntry = manualEntry;
|
|
2158
2182
|
this.ksn = ksn;
|
|
2159
2183
|
this.pinBlock = pinBlock;
|
|
@@ -2177,7 +2201,7 @@ exports.EnrollRequest = EnrollRequest;
|
|
|
2177
2201
|
*/
|
|
2178
2202
|
class EnrollResponse {
|
|
2179
2203
|
// Constructor with default values for optional fields
|
|
2180
|
-
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, cardMetadata = undefined, accountType = undefined, accountHolderType = undefined, bankName = undefined, tokenHash = undefined, bin = undefined) {
|
|
2204
|
+
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, cardMetadata = undefined, accountType = undefined, accountHolderType = undefined, bankName = undefined, tokenHash = undefined, bin = undefined) {
|
|
2181
2205
|
/**
|
|
2182
2206
|
* Whether or not the request succeeded.
|
|
2183
2207
|
*/
|
|
@@ -2252,6 +2276,9 @@ class EnrollResponse {
|
|
|
2252
2276
|
this.cardHolder = cardHolder;
|
|
2253
2277
|
this.expMonth = expMonth;
|
|
2254
2278
|
this.expYear = expYear;
|
|
2279
|
+
this.postalCode = postalCode;
|
|
2280
|
+
this.address = address;
|
|
2281
|
+
this.country = country;
|
|
2255
2282
|
this.avsResponse = avsResponse;
|
|
2256
2283
|
this.cvvResponse = cvvResponse;
|
|
2257
2284
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -2721,7 +2748,7 @@ exports.TermsAndConditionsResponse = TermsAndConditionsResponse;
|
|
|
2721
2748
|
*/
|
|
2722
2749
|
class AuthorizationResponse {
|
|
2723
2750
|
// Constructor with default values for optional fields
|
|
2724
|
-
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, confirmed = null, cryptoAuthorizedAmount = null, cryptoNetworkFee = null, cryptocurrency = null, cryptoNetwork = null, cryptoReceiveAddress = null, cryptoBlock = null, cryptoTransactionId = null, cryptoPaymentRequest = null, cryptoStatus = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, whiteListedCard = undefined, storeAndForward = null, status = null, cardMetadata = undefined) {
|
|
2751
|
+
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, confirmed = null, cryptoAuthorizedAmount = null, cryptoNetworkFee = null, cryptocurrency = null, cryptoNetwork = null, cryptoReceiveAddress = null, cryptoBlock = null, cryptoTransactionId = null, cryptoPaymentRequest = null, cryptoStatus = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, whiteListedCard = undefined, storeAndForward = null, status = null, cardMetadata = undefined) {
|
|
2725
2752
|
/**
|
|
2726
2753
|
* Whether or not the request succeeded.
|
|
2727
2754
|
*/
|
|
@@ -2915,6 +2942,9 @@ class AuthorizationResponse {
|
|
|
2915
2942
|
this.cardHolder = cardHolder;
|
|
2916
2943
|
this.expMonth = expMonth;
|
|
2917
2944
|
this.expYear = expYear;
|
|
2945
|
+
this.postalCode = postalCode;
|
|
2946
|
+
this.address = address;
|
|
2947
|
+
this.country = country;
|
|
2918
2948
|
this.avsResponse = avsResponse;
|
|
2919
2949
|
this.cvvResponse = cvvResponse;
|
|
2920
2950
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -3056,7 +3086,7 @@ exports.PaymentLinkStatusResponse = PaymentLinkStatusResponse;
|
|
|
3056
3086
|
*/
|
|
3057
3087
|
class TransactionStatus {
|
|
3058
3088
|
// Constructor with default values for optional fields
|
|
3059
|
-
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, storeAndForward = null) {
|
|
3089
|
+
constructor(success = null, error = null, responseDescription = null, approved = null, authCode = undefined, authResponseCode = undefined, transactionId = null, batchId = undefined, transactionRef = undefined, transactionType = null, timestamp = null, tickBlock = null, test = null, destinationAccount = undefined, sig = undefined, partialAuth = null, altCurrency = null, fsaAuth = null, currencyCode = null, requestedAmount = null, authorizedAmount = null, remainingBalance = null, tipAmount = null, taxAmount = null, requestedCashBackAmount = null, authorizedCashBackAmount = null, token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null, sigFile = undefined, storeAndForward = null) {
|
|
3060
3090
|
/**
|
|
3061
3091
|
* Whether or not the request succeeded.
|
|
3062
3092
|
*/
|
|
@@ -3192,6 +3222,9 @@ class TransactionStatus {
|
|
|
3192
3222
|
this.cardHolder = cardHolder;
|
|
3193
3223
|
this.expMonth = expMonth;
|
|
3194
3224
|
this.expYear = expYear;
|
|
3225
|
+
this.postalCode = postalCode;
|
|
3226
|
+
this.address = address;
|
|
3227
|
+
this.country = country;
|
|
3195
3228
|
this.avsResponse = avsResponse;
|
|
3196
3229
|
this.cvvResponse = cvvResponse;
|
|
3197
3230
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -10292,7 +10325,7 @@ exports.CoreRequest = CoreRequest;
|
|
|
10292
10325
|
*/
|
|
10293
10326
|
class PaymentMethodResponse {
|
|
10294
10327
|
// Constructor with default values for optional fields
|
|
10295
|
-
constructor(token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null) {
|
|
10328
|
+
constructor(token = undefined, entryMethod = undefined, paymentType = undefined, network = undefined, logo = undefined, maskedPan = undefined, publicKey = undefined, ScopeAlert = false, cardHolder = undefined, expMonth = undefined, expYear = undefined, postalCode = undefined, address = undefined, country = undefined, avsResponse = null, cvvResponse = undefined, receiptSuggestions = null, customer = undefined, customers = null) {
|
|
10296
10329
|
/**
|
|
10297
10330
|
* Address verification results if address information was submitted.
|
|
10298
10331
|
*/
|
|
@@ -10316,6 +10349,9 @@ class PaymentMethodResponse {
|
|
|
10316
10349
|
this.cardHolder = cardHolder;
|
|
10317
10350
|
this.expMonth = expMonth;
|
|
10318
10351
|
this.expYear = expYear;
|
|
10352
|
+
this.postalCode = postalCode;
|
|
10353
|
+
this.address = address;
|
|
10354
|
+
this.country = country;
|
|
10319
10355
|
this.avsResponse = avsResponse;
|
|
10320
10356
|
this.cvvResponse = cvvResponse;
|
|
10321
10357
|
this.receiptSuggestions = receiptSuggestions;
|
|
@@ -10458,7 +10494,7 @@ exports.PaymentAmounts = PaymentAmounts;
|
|
|
10458
10494
|
*/
|
|
10459
10495
|
class PaymentMethod {
|
|
10460
10496
|
// Constructor with default values for optional fields
|
|
10461
|
-
constructor(token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined) {
|
|
10497
|
+
constructor(token = undefined, track1 = undefined, track2 = undefined, pan = undefined, routingNumber = undefined, cardholderName = undefined, expMonth = undefined, expYear = undefined, cvv = undefined, address = undefined, postalCode = undefined, country = undefined, manualEntry = false, ksn = undefined, pinBlock = undefined, cardType = undefined, paymentType = undefined) {
|
|
10462
10498
|
this.token = token;
|
|
10463
10499
|
this.track1 = track1;
|
|
10464
10500
|
this.track2 = track2;
|
|
@@ -10470,6 +10506,7 @@ class PaymentMethod {
|
|
|
10470
10506
|
this.cvv = cvv;
|
|
10471
10507
|
this.address = address;
|
|
10472
10508
|
this.postalCode = postalCode;
|
|
10509
|
+
this.country = country;
|
|
10473
10510
|
this.manualEntry = manualEntry;
|
|
10474
10511
|
this.ksn = ksn;
|
|
10475
10512
|
this.pinBlock = pinBlock;
|