diff --git a/lib/apicontracts.js b/lib/apicontracts.js index fb31f98..3ebb29b 100644 --- a/lib/apicontracts.js +++ b/lib/apicontracts.js @@ -2849,11 +2849,13 @@ class TokenMaskedType { if(('tokenSource' in obj) && (obj.tokenSource != null)) { this.setTokenSource(obj.tokenSource); } if(('tokenNumber' in obj) && (obj.tokenNumber != null)) { this.setTokenNumber(obj.tokenNumber); } if(('expirationDate' in obj) && (obj.expirationDate != null)) { this.setExpirationDate(obj.expirationDate); } + if(('tokenRequestorId' in obj) && (obj.tokenRequestorId != null)) { this.setTokenRequestorId(obj.tokenRequestorId); } } else { this.setTokenSource(null); this.setTokenNumber(null); this.setExpirationDate(null); + this.setTokenRequestorId(null); } logger.debug('Exit TokenMaskedType constructor'); } @@ -2864,6 +2866,8 @@ class TokenMaskedType { getTokenNumber() { if('tokenNumber' in this) {return this.tokenNumber;} } setExpirationDate(p_expirationDate) { this.expirationDate = p_expirationDate; } getExpirationDate() { if('expirationDate' in this) {return this.expirationDate;} } + setTokenRequestorId(p_tokenRequestorId) { this.tokenRequestorId = p_tokenRequestorId; } + getTokenRequestorId() { if('tokenRequestorId' in this) {return this.tokenRequestorId;} } } module.exports.TokenMaskedType = TokenMaskedType; @@ -4823,12 +4827,18 @@ class CreditCardType extends CreditCardSimpleType { if(('cardCode' in obj) && (obj.cardCode != null)) { this.setCardCode(obj.cardCode); } if(('isPaymentToken' in obj) && (obj.isPaymentToken != null)) { this.setIsPaymentToken(obj.isPaymentToken); } if(('cryptogram' in obj) && (obj.cryptogram != null)) { this.setCryptogram(obj.cryptogram); } + if(('tokenRequestorName' in obj) && (obj.tokenRequestorName != null)) { this.setTokenRequestorName(obj.tokenRequestorName); } + if(('tokenRequestorId' in obj) && (obj.tokenRequestorId != null)) { this.setTokenRequestorId(obj.tokenRequestorId); } + if(('tokenRequestorEci' in obj) && (obj.tokenRequestorEci != null)) { this.setTokenRequestorEci(obj.tokenRequestorEci); } } else { super(); this.setCardCode(null); this.setIsPaymentToken(null); this.setCryptogram(null); + this.setTokenRequestorName(null); + this.setTokenRequestorId(null); + this.setTokenRequestorEci(null); } logger.debug('Exit CreditCardType constructor'); } @@ -4839,6 +4849,12 @@ class CreditCardType extends CreditCardSimpleType { getIsPaymentToken() { if('isPaymentToken' in this) {return this.isPaymentToken;} } setCryptogram(p_cryptogram) { this.cryptogram = p_cryptogram; } getCryptogram() { if('cryptogram' in this) {return this.cryptogram;} } + setTokenRequestorName(p_tokenRequestorName) { this.tokenRequestorName = p_tokenRequestorName; } + getTokenRequestorName() { if('tokenRequestorName' in this) {return this.tokenRequestorName;} } + setTokenRequestorId(p_tokenRequestorId) { this.tokenRequestorId = p_tokenRequestorId; } + getTokenRequestorId() { if('tokenRequestorId' in this) {return this.tokenRequestorId;} } + setTokenRequestorEci(p_tokenRequestorEci) { this.tokenRequestorEci = p_tokenRequestorEci; } + getTokenRequestorEci() { if('tokenRequestorEci' in this) {return this.tokenRequestorEci;} } } module.exports.CreditCardType = CreditCardType; diff --git a/mappings/Schema.js b/mappings/Schema.js index 8e788c5..b8d2717 100644 --- a/mappings/Schema.js +++ b/mappings/Schema.js @@ -564,6 +564,8 @@ var Schema_Module_Factory = function () { }, { name: 'expirationDate', required: true + }, { + name: 'tokenRequestorId' }] }, { localName: 'UpdateCustomerProfileRequest', @@ -838,6 +840,12 @@ var Schema_Module_Factory = function () { typeInfo: 'Boolean' }, { name: 'cryptogram' + }, { + name: 'tokenRequestorName' + }, { + name: 'tokenRequestorId' + }, { + name: 'tokenRequestorEci' }] }, { localName: 'ArrayOfTransactionSummaryType', diff --git a/package.json b/package.json index 73f9514..fc484f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "authorizenet", - "version": "1.0.5", + "version": "1.0.6", "description": "nodejs sdk for Authorize.Net", "main": "lib/authorizenet.js", "directories": {
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: