Skip to content

Commit db7de4e

Browse files
committed
Fix for issue #31
1 parent d05445c commit db7de4e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/apicontracts.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ class ANetApiRequest {
99
logger.debug('Enter ANetApiRequest constructor');
1010
if(arguments.length == 1) {
1111
if(('merchantAuthentication' in obj) && (obj.merchantAuthentication != null)) { this.setMerchantAuthentication(new MerchantAuthenticationType(obj.merchantAuthentication)); }
12+
else { this.setMerchantAuthentication(null); }
1213
if(('clientId' in obj) && (obj.clientId != null)) { this.setClientId(obj.clientId); }
14+
else { this.setClientId(null); }
1315
if(('refId' in obj) && (obj.refId != null)) { this.setRefId(obj.refId); }
16+
else { this.setRefId(null); }
1417
}
1518
else {
1619
this.setMerchantAuthentication(null);

0 commit comments

Comments
 (0)