Skip to content

Commit

Permalink
Merge pull request #48 from AuthorizeNet/future
Browse files Browse the repository at this point in the history
Changes for Release 1.0.6
  • Loading branch information
gnongsie authored Oct 12, 2018
2 parents 9ed3818 + 7f4cd7c commit d05445c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
16 changes: 16 additions & 0 deletions lib/apicontracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand All @@ -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;
Expand Down Expand Up @@ -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');
}
Expand All @@ -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;
Expand Down
8 changes: 8 additions & 0 deletions mappings/Schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,8 @@ var Schema_Module_Factory = function () {
}, {
name: 'expirationDate',
required: true
}, {
name: 'tokenRequestorId'
}]
}, {
localName: 'UpdateCustomerProfileRequest',
Expand Down Expand Up @@ -838,6 +840,12 @@ var Schema_Module_Factory = function () {
typeInfo: 'Boolean'
}, {
name: 'cryptogram'
}, {
name: 'tokenRequestorName'
}, {
name: 'tokenRequestorId'
}, {
name: 'tokenRequestorEci'
}]
}, {
localName: 'ArrayOfTransactionSummaryType',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit d05445c

Please sign in to comment.