Skip to content

Commit 7e776a2

Browse files
authored
Merge pull request #52 from maria-simon/master
Fix for issue #31
2 parents 754d5f7 + db7de4e commit 7e776a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy