Skip to content

Commit d05445c

Browse files
authored
Merge pull request #48 from AuthorizeNet/future
Changes for Release 1.0.6
2 parents 9ed3818 + 7f4cd7c commit d05445c

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

lib/apicontracts.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2849,11 +2849,13 @@ class TokenMaskedType {
28492849
if(('tokenSource' in obj) && (obj.tokenSource != null)) { this.setTokenSource(obj.tokenSource); }
28502850
if(('tokenNumber' in obj) && (obj.tokenNumber != null)) { this.setTokenNumber(obj.tokenNumber); }
28512851
if(('expirationDate' in obj) && (obj.expirationDate != null)) { this.setExpirationDate(obj.expirationDate); }
2852+
if(('tokenRequestorId' in obj) && (obj.tokenRequestorId != null)) { this.setTokenRequestorId(obj.tokenRequestorId); }
28522853
}
28532854
else {
28542855
this.setTokenSource(null);
28552856
this.setTokenNumber(null);
28562857
this.setExpirationDate(null);
2858+
this.setTokenRequestorId(null);
28572859
}
28582860
logger.debug('Exit TokenMaskedType constructor');
28592861
}
@@ -2864,6 +2866,8 @@ class TokenMaskedType {
28642866
getTokenNumber() { if('tokenNumber' in this) {return this.tokenNumber;} }
28652867
setExpirationDate(p_expirationDate) { this.expirationDate = p_expirationDate; }
28662868
getExpirationDate() { if('expirationDate' in this) {return this.expirationDate;} }
2869+
setTokenRequestorId(p_tokenRequestorId) { this.tokenRequestorId = p_tokenRequestorId; }
2870+
getTokenRequestorId() { if('tokenRequestorId' in this) {return this.tokenRequestorId;} }
28672871
}
28682872

28692873
module.exports.TokenMaskedType = TokenMaskedType;
@@ -4823,12 +4827,18 @@ class CreditCardType extends CreditCardSimpleType {
48234827
if(('cardCode' in obj) && (obj.cardCode != null)) { this.setCardCode(obj.cardCode); }
48244828
if(('isPaymentToken' in obj) && (obj.isPaymentToken != null)) { this.setIsPaymentToken(obj.isPaymentToken); }
48254829
if(('cryptogram' in obj) && (obj.cryptogram != null)) { this.setCryptogram(obj.cryptogram); }
4830+
if(('tokenRequestorName' in obj) && (obj.tokenRequestorName != null)) { this.setTokenRequestorName(obj.tokenRequestorName); }
4831+
if(('tokenRequestorId' in obj) && (obj.tokenRequestorId != null)) { this.setTokenRequestorId(obj.tokenRequestorId); }
4832+
if(('tokenRequestorEci' in obj) && (obj.tokenRequestorEci != null)) { this.setTokenRequestorEci(obj.tokenRequestorEci); }
48264833
}
48274834
else {
48284835
super();
48294836
this.setCardCode(null);
48304837
this.setIsPaymentToken(null);
48314838
this.setCryptogram(null);
4839+
this.setTokenRequestorName(null);
4840+
this.setTokenRequestorId(null);
4841+
this.setTokenRequestorEci(null);
48324842
}
48334843
logger.debug('Exit CreditCardType constructor');
48344844
}
@@ -4839,6 +4849,12 @@ class CreditCardType extends CreditCardSimpleType {
48394849
getIsPaymentToken() { if('isPaymentToken' in this) {return this.isPaymentToken;} }
48404850
setCryptogram(p_cryptogram) { this.cryptogram = p_cryptogram; }
48414851
getCryptogram() { if('cryptogram' in this) {return this.cryptogram;} }
4852+
setTokenRequestorName(p_tokenRequestorName) { this.tokenRequestorName = p_tokenRequestorName; }
4853+
getTokenRequestorName() { if('tokenRequestorName' in this) {return this.tokenRequestorName;} }
4854+
setTokenRequestorId(p_tokenRequestorId) { this.tokenRequestorId = p_tokenRequestorId; }
4855+
getTokenRequestorId() { if('tokenRequestorId' in this) {return this.tokenRequestorId;} }
4856+
setTokenRequestorEci(p_tokenRequestorEci) { this.tokenRequestorEci = p_tokenRequestorEci; }
4857+
getTokenRequestorEci() { if('tokenRequestorEci' in this) {return this.tokenRequestorEci;} }
48424858
}
48434859

48444860
module.exports.CreditCardType = CreditCardType;

mappings/Schema.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,8 @@ var Schema_Module_Factory = function () {
564564
}, {
565565
name: 'expirationDate',
566566
required: true
567+
}, {
568+
name: 'tokenRequestorId'
567569
}]
568570
}, {
569571
localName: 'UpdateCustomerProfileRequest',
@@ -838,6 +840,12 @@ var Schema_Module_Factory = function () {
838840
typeInfo: 'Boolean'
839841
}, {
840842
name: 'cryptogram'
843+
}, {
844+
name: 'tokenRequestorName'
845+
}, {
846+
name: 'tokenRequestorId'
847+
}, {
848+
name: 'tokenRequestorEci'
841849
}]
842850
}, {
843851
localName: 'ArrayOfTransactionSummaryType',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "authorizenet",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "nodejs sdk for Authorize.Net",
55
"main": "lib/authorizenet.js",
66
"directories": {

0 commit comments

Comments
 (0)