From d7c82ba83ae7f8f0795f5d43a5fbf1917e429ca9 Mon Sep 17 00:00:00 2001 From: sunnyrajrathod Date: Thu, 22 Dec 2016 14:59:27 +0530 Subject: [PATCH 01/58] - Fix for #13. - Masking sensitive data while logging. - Add logger filter for the same. --- lib/apicontrollersbase.js | 4 ++-- lib/config.js | 2 +- lib/logger.js | 49 ++++++++++++++++++++++++++++++++++++++- package.json | 2 +- 4 files changed, 52 insertions(+), 5 deletions(-) diff --git a/lib/apicontrollersbase.js b/lib/apicontrollersbase.js index c9841ad..46f170d 100644 --- a/lib/apicontrollersbase.js +++ b/lib/apicontrollersbase.js @@ -78,7 +78,7 @@ class APIOperationBase { var obj = this; - logger.debug('Request: ' + JSON.stringify(this._request, 2, null)); + logger.debug(JSON.stringify(this._request, 2, null)); var reqOpts = { url: this._endpoint, @@ -103,7 +103,7 @@ class APIOperationBase { { //TODO: slice added due to BOM character. remove once BOM character is removed. var responseObj = JSON.parse(body.slice(1)); - logger.debug('Response: ' + JSON.stringify(responseObj, 2, null)); + logger.debug(JSON.stringify(responseObj, 2, null)); obj._response = responseObj; /* var jsonResponse = JSON.stringify(body); diff --git a/lib/config.js b/lib/config.js index bf41e38..342ccc4 100644 --- a/lib/config.js +++ b/lib/config.js @@ -5,7 +5,7 @@ var config = { 'timeout': 120000, 'clientId': 'sdk-node-' + pkg.version, 'logger': { - 'enabled': true, + 'enabled': false, 'location': './', //logging levels - { error: 0, warn: 1, info: 2, verbose: 3, debug: 4, silly: 5 'level': 'debug' diff --git a/lib/logger.js b/lib/logger.js index e9a7d95..2e51f2a 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -3,12 +3,39 @@ var config = require('./config').config; var logger; +var sensitiveFields = ['cardCode', 'cardNumber', 'expirationDate', 'accountNumber', 'nameOnAccount', 'transactionKey', 'email', 'phoneNumber', 'faxNumber', 'dateOfBirth']; + +function isJson(str) { + try { + JSON.parse(str); + } catch (e) { + return false; + } + return true; +} + if(config.logger.enabled === true) { logger = new (winston.Logger)({ transports: [ new (winston.transports.File)({filename: config.logger.location + '/sdk-node.log', level: config.logger.level}) ] }); + + //Adding filter for sensitive fields that should not be logged. + logger.filters.push(function(level, msg, timestamp){ + if(isJson(msg)) + { + try{ + return maskSensitiveFields(JSON.parse(msg)); + } + catch (e) + { + return 'Error while logging the message.'; + } + } + else + return msg; + }); } else { logger = new (winston.Logger)({ @@ -16,6 +43,26 @@ else { }); } -//logging levels - { error: 0, warn: 1, info: 2, verbose: 3, debug: 4, silly: 5 } +function maskSensitiveFields(jsonMsg){ + + if (jsonMsg instanceof Object) { + + var prop; + + for (prop in jsonMsg){ + var isFieldSensitive = (sensitiveFields.indexOf(prop) > -1); + + if(isFieldSensitive === true) + { + jsonMsg[prop] = new Array(jsonMsg[prop].length + 1).join('X'); + } + else if (jsonMsg.hasOwnProperty(prop)){ + maskSensitiveFields(jsonMsg[prop]); + } + } + } + + return JSON.stringify(jsonMsg); +} module.exports.logger = logger; diff --git a/package.json b/package.json index 43ecc0c..3beb59f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "authorizenet", - "version": "1.0.1", + "version": "1.0.2", "description": "nodejs sdk for Authorize.Net", "main": "lib/authorizenet.js", "directories": { From 39dfd5a1dda413177ba66fab6d274ecafb6e6dfa Mon Sep 17 00:00:00 2001 From: Brian McManus Date: Wed, 1 Feb 2017 12:53:07 -0800 Subject: [PATCH 02/58] Update LICENSE --- LICENSE | 56 ++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 38 insertions(+), 18 deletions(-) diff --git a/LICENSE b/LICENSE index d504017..bc704a1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,41 @@ -The MIT License (MIT) +SDK LICENSE AGREEMENT +This Software Development Kit (“SDK”) License Agreement (“Agreement”) is between you (both the individual downloading the SDK and any legal entity on behalf of which such individual is acting) (“You” or “Your”) and Authorize.Net LLC (“Authorize.Net’). +IT IS IMPORTANT THAT YOU READ CAREFULLY AND UNDERSTAND THIS AGREEMENT. BY CLICKING THE “I ACCEPT” BUTTON OR AN EQUIVALENT INDICATOR OR BY DOWNLOADING, INSTALLING OR USING THE SDK OR THE DOCUMENTATION, YOU AGREE TO BE BOUND BY THIS AGREEMENT. -Copyright (c) 2016 Authorize.Net +1. DEFINITIONS + 1.1 “Application(s)” means software programs that You develop to operate with the Gateway using components of the Software. + 1.2 “Documentation” means the materials made available to You in connection with the Software by or on behalf of Authorize.Net pursuant to this Agreement. + 1.3 “Gateway” means any electronic payment platform maintained and operated by Authorize.Net and any of its affiliates. + 1.4 “Software” means all of the software included in the software development kit made available to You by or on behalf of Authorize.Net pursuant to this Agreement, including but not limited to sample source code, code snippets, software tools, code libraries, sample applications, Documentation and any upgrades, modified versions, updates, and/or additions thereto, if any, made available to You by or on behalf of Authorize.Net pursuant to this Agreement. +2. GRANT OF LICENSE; RESTRICTIONS + 2.1 Limited License. Subject to and conditioned upon Your compliance with the terms of this Agreement, Authorize.Net hereby grants to You a limited, revocable, non-exclusive, non-transferable, royalty-free license during the term of this Agreement to: (a) in any country worldwide, use, reproduce, modify, and create derivative works of the components of the Software solely for the purpose of developing, testing and manufacturing Applications; (b) distribute, sell or otherwise provide Your Applications that include components of the Software to Your end users; and (c) use the Documentation in connection with the foregoing activities. The license to distribute Applications that include components of the Software as set forth in subsection (b) above includes the right to grant sublicenses to Your end users to use such components of the Software as incorporated into such Applications, subject to the limitations and restrictions set forth in this Agreement. + 2.2 Restrictions. You shall not (and shall have no right to): (a) make or distribute copies of the Software or the Documentation, in whole or in part, except as expressly permitted pursuant to Section 2.1; (b) alter or remove any copyright, trademark, trade name or other proprietary notices, legends, symbols or labels appearing on or in the Software or Documentation; (c) sublicense (or purport to sublicense) the Software or the Documentation, in whole or in part, to any third party except as expressly permitted pursuant to Section 2.1; (d) engage in any activity with the Software, including the development or distribution of an Application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the Gateway or platform, servers, or systems of Authorize.Net, any of its affiliates, or any third party; (e) make any statements that Your Application is “certified” or otherwise endorsed, or that its performance is guaranteed, by Authorize.Net or any of its affiliates; or (f) otherwise use or exploit the Software or the Documentation for any purpose other than to develop and distribute Applications as expressly permitted by this Agreement. + 2.3 Ownership. You shall retain ownership of Your Applications developed in accordance with this Agreement, subject to Authorize.Net’s ownership of the Software and Documentation (including Authorize.Net’s ownership of any portion of the Software or Documentation incorporated in Your Applications). You acknowledge and agree that all right, title and interest in and to the Software and Documentation shall, at all times, be and remain the exclusive property of Authorize.Net and that You do not have or acquire any rights, express or implied, in the Software or Documentation except those rights expressly granted under this Agreement. + 2.4 No Support. Authorize.Net has no obligation to provide support, maintenance, upgrades, modifications or new releases of the Software. + 2.5 Open Source Software. You hereby acknowledge that the Software may contain software that is distributed under “open source” license terms (“Open Source Software”). You shall review the Documentation in order to determine which portions of the Software are Open Source Software and are licensed under such Open Source Software license terms. To the extent any such license requires that Authorize.Net provide You any rights with respect to such Open Source Software that are inconsistent with the limited rights granted to You in this Agreement, then such rights in the applicable Open Source Software license shall take precedence over the rights and restrictions granted in this Agreement, but solely with respect to such Open Source Software. You acknowledge that the Open Source Software license is solely between You and the applicable licensor of the Open Source Software and that Your use, reproduction and distribution of Open Source Software shall be in compliance with applicable Open Source Software license. You understand and agree that Authorize.Net is not liable for any loss or damage that You may experience as a result of Your use of Open Source Software and that You will look solely to the licensor of the Open Source Software in the event of any such loss or damage. + 2.6 License to Authorize.Net. In the event You choose to submit any suggestions, feedback or other information or materials related to the Software or Documentation or Your use thereof (collectively, “Feedback”) to Authorize.Net, You hereby grant to Authorize.Net a worldwide, non-exclusive, royalty-free, transferable, sublicensable, perpetual and irrevocable license to use and otherwise exploit such Feedback in connection with the Software, Documentation, and other products and services. + 2.7 Use. + (a) You represent, warrant and agree to use the Software and write Applications only for purposes permitted by (i) this Agreement; (ii) applicable law and regulation, including, without limitation, the Payment Card Industry Data Security Standard (PCI DSS); and (iii) generally accepted practices or guidelines in the relevant jurisdictions. You represent, warrant and agree that if You use the Software to develop Applications for general public end users, that You will protect the privacy and legal rights of those users. If the Application receives or stores personal or sensitive information provided by end users, it must do so securely and in compliance with all applicable laws and regulations, including card association regulations. If the Application receives Authorize.Net account information, the Application may only use that information to access the end user's Authorize.Net account. You represent, warrant and agree that You are solely responsible for (and that neither Authorize.Net nor its affiliates have any responsibility to You or to any third party for): (i) any data, content, or resources that You obtain, transmit or display through the Application; and (ii) any breach of Your obligations under this Agreement, any applicable third party license, or any applicable law or regulation, and for the consequences of any such breach. + 3. WARRANTY DISCLAIMER; LIMITATION OF LIABILITY + 3.1 Disclaimer. THE SOFTWARE AND THE DOCUMENTATION ARE PROVIDED ON AN “AS IS” AND “AS AVAILABLE” BASIS WITH NO WARRANTY. YOU AGREE THAT YOUR USE OF THE SOFTWARE AND THE DOCUMENTATION IS AT YOUR SOLE RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. TO THE FULLEST EXTENT PERMISSIBLE UNDER APPLICABLE LAW, AUTHORIZE.NET AND ITS AFFILIATES EXPRESSLY DISCLAIM ALL WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE AND THE DOCUMENTATION, INCLUDING ALL WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, SATISFACTORY QUALITY, ACCURACY, TITLE AND NON-INFRINGEMENT, AND ANY WARRANTIES THAT MAY ARISE OUT OF COURSE OF PERFORMANCE, COURSE OF DEALING OR USAGE OF TRADE. NEITHER AUTHORIZE.NET NOR ITS AFFILIATES WARRANT THAT THE FUNCTIONS OR INFORMATION CONTAINED IN THE SOFTWARE OR THE DOCUMENTATION WILL MEET ANY REQUIREMENTS OR NEEDS YOU MAY HAVE, OR THAT THE SOFTWARE OR DOCUMENTATION WILL OPERATE ERROR FREE, OR THAT THE SOFTWARE OR DOCUMENTATION IS COMPATIBLE WITH ANY PARTICULAR OPERATING SYSTEM.  + 3.2 Limitation of Liability. IN NO EVENT SHALL AUTHORIZE.NET AND ITS AFFILIATES BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR PUNITIVE DAMAGES, OR DAMAGES FOR LOSS OF PROFITS, REVENUE, BUSINESS, SAVINGS, DATA, USE OR COST OF SUBSTITUTE PROCUREMENT, INCURRED BY YOU OR ANY THIRD PARTY, WHETHER IN AN ACTION IN CONTRACT OR TORT, EVEN IF AUTHORIZE.NET HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR IF SUCH DAMAGES ARE FORESEEABLE. IN NO EVENT SHALL THE ENTIRE LIABILITY OF AUTHORIZE.NET AND AFFILIATES ARISING FROM OR RELATING TO THIS AGREEMENT OR THE SUBJECT MATTER HEREOF EXCEED ONE HUNDRED U.S. DOLLARS ($100). THE PARTIES ACKNOWLEDGE THAT THE LIMITATIONS OF LIABILITY IN THIS SECTION 3.2 AND IN THE OTHER PROVISIONS OF THIS AGREEMENT AND THE ALLOCATION OF RISK HEREIN ARE AN ESSENTIAL ELEMENT OF THE BARGAIN BETWEEN THE PARTIES, WITHOUT WHICH AUTHORIZE.NET WOULD NOT HAVE ENTERED INTO THIS AGREEMENT. + 4. INDEMNIFICATION. You shall indemnify, hold harmless and, at Authorize.Net’s request, defend Authorize.Net and its affiliates and their officers, directors, employees, and agents from and against any claim, suit or proceeding, and any associated liabilities, costs, damages and expenses, including reasonable attorneys’ fees, that arise out of relate to: (i) Your Applications or the use or distribution thereof and Your use or distribution of the Software or the Documentation (or any portion thereof including Open Source Software), including, but not limited to, any allegation that any such Application or any such use or distribution infringes, misappropriates or otherwise violates any intellectual property (including, without limitation, copyright, patent, and trademark), privacy, publicity or other rights of any third party, or has caused the death or injury of any person or damage to any property; (ii) Your alleged or actual breach of this Agreement; (iii) the alleged or actual breach of this Agreement by any party to whom you have provided Your Applications, the Software or the Documentation or (iii) Your alleged or actual violation of or non-compliance with any applicable laws, legislation, policies, rules, regulations or governmental requirements (including, without limitation, any laws, legislation, policies, rules, regulations or governmental requirements related to privacy and data collection). + 5. TERMINATION. This Agreement and the licenses granted to you herein are effective until terminated. Authorize.Net may terminate this Agreement and the licenses granted to You at any time. Upon termination of this Agreement, You shall cease all use of the Software and the Documentation, return to Authorize.Net or destroy all copies of the Software and Documentation and related materials in Your possession, and so certify to Authorize.Net. Except for the license to You granted herein, the terms of this Agreement shall survive termination. + 6. CONFIDENTIAL INFORMATION + a. You hereby agree (i) to hold Authorize.Net’s Confidential Information in strict confidence and to take reasonable precautions to protect such Confidential Information (including, without limitation, all precautions You employ with respect to Your own confidential materials), (ii) not to divulge any such Confidential Information to any third person; (iii) not to make any use whatsoever at any time of such Confidential Information except as strictly licensed hereunder, (iv) not to remove or export from the United States or re-export any such Confidential Information or any direct product thereof, except in compliance with, and with all licenses and approvals required under applicable U.S. and foreign export laws and regulations, including, without limitation, those of the U.S. Department of Commerce. + b. “Confidential Information” shall mean any data or information, oral or written, treated as confidential that relates to Authorize.Net’s past, present, or future research, development or business activities, including without limitation any unannounced products and services, any information relating to services, developments, inventions, processes, plans, financial information, customer data, revenue, transaction volume, forecasts, projections, application programming interfaces, Software and Documentation. + 7. General Terms + 7.1 Law. This Agreement and all matters arising out of or relating to this Agreement shall be governed by the internal laws of the State of California without giving effect to any choice of law rule. This Agreement shall not be governed by the United Nations Convention on Contracts for the International Sales of Goods, the application of which is expressly excluded. In the event of any controversy, claim or dispute between the parties arising out of or relating to this Agreement, such controversy, claim or dispute shall be resolved in the state or federal courts in Santa Clara County, California, and the parties hereby irrevocably consent to the jurisdiction and venue of such courts. + 7.2 Logo License. Authorize.Net hereby grants to You the right to use, reproduce, publish, perform and display Authorize.Net logo solely in accordance with the current Authorize.Net brand guidelines. + 7.3 Severability and Waiver. If any provision of this Agreement is held to be illegal, invalid or otherwise unenforceable, such provision shall be enforced to the extent possible consistent with the stated intention of the parties, or, if incapable of such enforcement, shall be deemed to be severed and deleted from this Agreement, while the remainder of this Agreement shall continue in full force and effect. The waiver by either party of any default or breach of this Agreement shall not constitute a waiver of any other or subsequent default or breach. + 7.4 No Assignment. You may not assign, sell, transfer, delegate or otherwise dispose of, whether voluntarily or involuntarily, by operation of law or otherwise, this Agreement or any rights or obligations under this Agreement without the prior written consent of Authorize.Net, which may be withheld in Authorize.Net’s sole discretion. Any purported assignment, transfer or delegation by You shall be null and void. Subject to the foregoing, this Agreement shall be binding upon and shall inure to the benefit of the parties and their respective successors and assigns. + 7.5 Government Rights. If You (or any person or entity to whom you provide the Software or Documentation) are an agency or instrumentality of the United States Government, the Software and Documentation are “commercial computer software” and “commercial computer software documentation,” and pursuant to FAR 12.212 or DFARS 227.7202, and their successors, as applicable, use, reproduction and disclosure of the Software and Documentation are governed by the terms of this Agreement. + 7.6 Export Administration. You shall comply fully with all relevant export laws and regulations of the United States, including, without limitation, the U.S. Export Administration Regulations (collectively “Export Controls”). Without limiting the generality of the foregoing, You shall not, and You shall require Your representatives not to, export, direct or transfer the Software or the Documentation, or any direct product thereof, to any destination, person or entity restricted or prohibited by the Export Controls. + 7.7 Privacy. In order to continually innovate and improve the Software, Licensee understands and agrees that Authorize.Net may collect certain usage statistics including but not limited to a unique identifier, associated IP address, version number of software, and information on which tools and/or services in the Software are being used and how they are being used. + 7.8 Entire Agreement; Amendments. This Agreement constitutes the entire agreement between the parties and supersedes all prior or contemporaneous agreements or representations, written or oral, concerning the subject matter of this Agreement. Authorize.Net may make changes to this Agreement, Software or Documentation in its sole discretion. When these changes are made, Authorize.Net will make a new version of the Agreement, Software or Documentation available on the website where the Software is available. This Agreement may not be modified or amended by You except in a writing signed by a duly authorized representative of each party. You acknowledge and agree that +Authorize.Net has not made any representations, warranties or agreements of any kind, except as expressly set forth herein. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +Authorize.Net Software Development Kit (SDK) License Agreement +v. February 1, 2017 +1 From 8e9fb2c61ffa78a6a2cf7d77896f5ded071b26df Mon Sep 17 00:00:00 2001 From: sinayak Date: Wed, 12 Apr 2017 18:38:54 +0530 Subject: [PATCH 03/58] Node SDK Update for the new API changes around Transaction Reporting --- lib/apicontracts.js | 68 + lib/apicontrollers.js | 21 + mappings/Schema.js | 4395 +++++++++++++++-------------- test/test-transactionreporting.js | 46 + 4 files changed, 2350 insertions(+), 2180 deletions(-) diff --git a/lib/apicontracts.js b/lib/apicontracts.js index d12d6b8..a3c71db 100644 --- a/lib/apicontracts.js +++ b/lib/apicontracts.js @@ -2776,6 +2776,7 @@ class TransactionDetailsType { if(('returnedItems' in obj) && (obj.returnedItems != null)) { this.setReturnedItems(new ArrayOfReturnedItem(obj.returnedItems)); } if(('solution' in obj) && (obj.solution != null)) { this.setSolution(new SolutionType(obj.solution)); } if(('emvDetails' in obj) && (obj.emvDetails != null)) { this.setEmvDetails(new TransactionDetailsType.EmvDetails(obj.emvDetails)); } + if(('profile' in obj) && (obj.profile != null)) { this.setProfile(new CustomerProfileIdType(obj.profile)); } } else { this.setTransId(null); @@ -2820,6 +2821,7 @@ class TransactionDetailsType { this.setReturnedItems(null); this.setSolution(null); this.setEmvDetails(null); + this.setProfile(null); } logger.debug('Exit TransactionDetailsType constructor'); } @@ -2908,6 +2910,8 @@ class TransactionDetailsType { getSolution() { if('solution' in this) {return this.solution;} } setEmvDetails(p_emvDetails) { this.emvDetails = p_emvDetails; } getEmvDetails() { if('emvDetails' in this) {return this.emvDetails;} } + setProfile(p_profile) { this.profile = p_profile; } + getProfile() { if('profile' in this) {return this.profile;} } } module.exports.TransactionDetailsType = TransactionDetailsType; @@ -3083,6 +3087,7 @@ class TransactionResponse { if(('secureAcceptance' in obj) && (obj.secureAcceptance != null)) { this.setSecureAcceptance(new TransactionResponse.SecureAcceptance(obj.secureAcceptance)); } if(('emvResponse' in obj) && (obj.emvResponse != null)) { this.setEmvResponse(new TransactionResponse.EmvResponse(obj.emvResponse)); } if(('transHashSha2' in obj) && (obj.transHashSha2 != null)) { this.setTransHashSha2(obj.transHashSha2); } + if(('profile' in obj) && (obj.profile != null)) { this.setProfile(new CustomerProfileIdType(obj.profile)); } } else { this.setResponseCode(null); @@ -3108,6 +3113,7 @@ class TransactionResponse { this.setSecureAcceptance(null); this.setEmvResponse(null); this.setTransHashSha2(null); + this.setProfile(null); } logger.debug('Exit TransactionResponse constructor'); } @@ -3158,6 +3164,8 @@ class TransactionResponse { getEmvResponse() { if('emvResponse' in this) {return this.emvResponse;} } setTransHashSha2(p_transHashSha2) { this.transHashSha2 = p_transHashSha2; } getTransHashSha2() { if('transHashSha2' in this) {return this.transHashSha2;} } + setProfile(p_profile) { this.profile = p_profile; } + getProfile() { if('profile' in this) {return this.profile;} } } module.exports.TransactionResponse = TransactionResponse; @@ -3182,6 +3190,7 @@ class TransactionSummaryType { if(('subscription' in obj) && (obj.subscription != null)) { this.setSubscription(new SubscriptionPaymentType(obj.subscription)); } if(('hasReturnedItems' in obj) && (obj.hasReturnedItems != null)) { this.setHasReturnedItems(obj.hasReturnedItems); } if(('fraudInformation' in obj) && (obj.fraudInformation != null)) { this.setFraudInformation(new FraudInformationType(obj.fraudInformation)); } + if(('profile' in obj) && (obj.profile != null)) { this.setProfile(new CustomerProfileIdType(obj.profile)); } } else { this.setTransId(null); @@ -3200,6 +3209,7 @@ class TransactionSummaryType { this.setSubscription(null); this.setHasReturnedItems(null); this.setFraudInformation(null); + this.setProfile(null); } logger.debug('Exit TransactionSummaryType constructor'); } @@ -3236,6 +3246,8 @@ class TransactionSummaryType { getHasReturnedItems() { if('hasReturnedItems' in this) {return this.hasReturnedItems;} } setFraudInformation(p_fraudInformation) { this.fraudInformation = p_fraudInformation; } getFraudInformation() { if('fraudInformation' in this) {return this.fraudInformation;} } + setProfile(p_profile) { this.profile = p_profile; } + getProfile() { if('profile' in this) {return this.profile;} } } module.exports.TransactionSummaryType = TransactionSummaryType; @@ -5381,11 +5393,15 @@ class GetCustomerProfileRequest extends ANetApiRequest { if(arguments.length == 1) { super(obj); if(('customerProfileId' in obj) && (obj.customerProfileId != null)) { this.setCustomerProfileId(obj.customerProfileId); } + if(('merchantCustomerId' in obj) && (obj.merchantCustomerId != null)) { this.setMerchantCustomerId(obj.merchantCustomerId); } + if(('email' in obj) && (obj.email != null)) { this.setEmail(obj.email); } if(('unmaskExpirationDate' in obj) && (obj.unmaskExpirationDate != null)) { this.setUnmaskExpirationDate(obj.unmaskExpirationDate); } } else { super(); this.setCustomerProfileId(null); + this.setMerchantCustomerId(null); + this.setEmail(null); this.setUnmaskExpirationDate(null); } logger.debug('Exit GetCustomerProfileRequest constructor'); @@ -5393,6 +5409,10 @@ class GetCustomerProfileRequest extends ANetApiRequest { setCustomerProfileId(p_customerProfileId) { this.customerProfileId = p_customerProfileId; } getCustomerProfileId() { if('customerProfileId' in this) {return this.customerProfileId;} } + setMerchantCustomerId(p_merchantCustomerId) { this.merchantCustomerId = p_merchantCustomerId; } + getMerchantCustomerId() { if('merchantCustomerId' in this) {return this.merchantCustomerId;} } + setEmail(p_email) { this.email = p_email; } + getEmail() { if('email' in this) {return this.email;} } setUnmaskExpirationDate(p_unmaskExpirationDate) { this.unmaskExpirationDate = p_unmaskExpirationDate; } getUnmaskExpirationDate() { if('unmaskExpirationDate' in this) {return this.unmaskExpirationDate;} } } @@ -5796,20 +5816,68 @@ class GetTransactionDetailsResponse extends ANetApiResponse { if(arguments.length == 1) { super(obj); if(('transaction' in obj) && (obj.transaction != null)) { this.setTransaction(new TransactionDetailsType(obj.transaction)); } + if(('clientId' in obj) && (obj.clientId != null)) { this.setClientId(obj.clientId); } + if(('transrefId' in obj) && (obj.transrefId != null)) { this.setTransrefId(obj.transrefId); } } else { super(); this.setTransaction(null); + this.setClientId(null); + this.setTransrefId(null); } logger.debug('Exit GetTransactionDetailsResponse constructor'); } setTransaction(p_transaction) { this.transaction = p_transaction; } getTransaction() { if('transaction' in this) {return this.transaction;} } + setClientId(p_clientId) { this.clientId = p_clientId; } + getClientId() { if('clientId' in this) {return this.clientId;} } + setTransrefId(p_transrefId) { this.transrefId = p_transrefId; } + getTransrefId() { if('transrefId' in this) {return this.transrefId;} } } module.exports.GetTransactionDetailsResponse = GetTransactionDetailsResponse; +class GetTransactionListForCustomerRequest extends ANetApiRequest { + getJSON() { + logger.debug('Enter GetTransactionListForCustomerRequest getJSON'); + utils.delete_null_properties(this, true); + var obj = { 'getTransactionListForCustomerRequest' : this }; + logger.debug('Exit GetTransactionListForCustomerRequest getJSON'); + return obj; + } + + constructor(obj) { + logger.debug('Enter GetTransactionListForCustomerRequest constructor'); + if(arguments.length == 1) { + super(obj); + if(('customerProfileId' in obj) && (obj.customerProfileId != null)) { this.setCustomerProfileId(obj.customerProfileId); } + if(('customerPaymentProfileId' in obj) && (obj.customerPaymentProfileId != null)) { this.setCustomerPaymentProfileId(obj.customerPaymentProfileId); } + if(('sorting' in obj) && (obj.sorting != null)) { this.setSorting(new TransactionListSorting(obj.sorting)); } + if(('paging' in obj) && (obj.paging != null)) { this.setPaging(new Paging(obj.paging)); } + } + else { + super(); + this.setCustomerProfileId(null); + this.setCustomerPaymentProfileId(null); + this.setSorting(null); + this.setPaging(null); + } + logger.debug('Exit GetTransactionListForCustomerRequest constructor'); + } + + setCustomerProfileId(p_customerProfileId) { this.customerProfileId = p_customerProfileId; } + getCustomerProfileId() { if('customerProfileId' in this) {return this.customerProfileId;} } + setCustomerPaymentProfileId(p_customerPaymentProfileId) { this.customerPaymentProfileId = p_customerPaymentProfileId; } + getCustomerPaymentProfileId() { if('customerPaymentProfileId' in this) {return this.customerPaymentProfileId;} } + setSorting(p_sorting) { this.sorting = p_sorting; } + getSorting() { if('sorting' in this) {return this.sorting;} } + setPaging(p_paging) { this.paging = p_paging; } + getPaging() { if('paging' in this) {return this.paging;} } +} + +module.exports.GetTransactionListForCustomerRequest = GetTransactionListForCustomerRequest; + class GetTransactionListRequest extends ANetApiRequest { getJSON() { logger.debug('Enter GetTransactionListRequest getJSON'); diff --git a/lib/apicontrollers.js b/lib/apicontrollers.js index 2a2106d..6972025 100644 --- a/lib/apicontrollers.js +++ b/lib/apicontrollers.js @@ -675,6 +675,27 @@ class GetTransactionListController extends APIOperationBase { module.exports.GetTransactionListController = GetTransactionListController; +class GetTransactionListForCustomerController extends APIOperationBase { + constructor(apiRequest) { + logger.debug('Enter GetTransactionListForCustomerController constructor'); + super(apiRequest); + logger.debug('Exit GetTransactionListForCustomerController constructor'); + } + + validateRequest(){ + logger.debug('Enter validateRequest'); + + logger.debug('Exit validateRequest'); + return; + } + + getRequestType(){ + return 'GetTransactionListForCustomerRequest'; + } +} + +module.exports.GetTransactionListForCustomerController = GetTransactionListForCustomerController; + class GetUnsettledTransactionListController extends APIOperationBase { constructor(apiRequest) { logger.debug('Enter GetUnsettledTransactionListController constructor'); diff --git a/mappings/Schema.js b/mappings/Schema.js index 5a75408..23028f7 100644 --- a/mappings/Schema.js +++ b/mappings/Schema.js @@ -3,114 +3,49 @@ var Schema_Module_Factory = function () { name: 'Schema', defaultElementNamespaceURI: 'AnetApi\/xml\/v1\/schema\/AnetApiSchema.xsd', typeInfos: [{ - localName: 'ARBUpdateSubscriptionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'profile', - typeInfo: '.CustomerProfileIdType' - }] - }, { - localName: 'GetAUJobDetailsRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'DriversLicenseType', + typeName: 'driversLicenseType', propertyInfos: [{ - name: 'month', + name: 'number', required: true }, { - name: 'modifiedTypeFilter' - }, { - name: 'paging', - typeInfo: '.Paging' - }] - }, { - localName: 'TransactionResponse.Messages.Message', - typeName: null, - propertyInfos: [{ - name: 'code' - }, { - name: 'description' - }] - }, { - localName: 'LineItemType', - typeName: 'lineItemType', - propertyInfos: [{ - name: 'itemId', + name: 'state', required: true }, { - name: 'name', + name: 'dateOfBirth', required: true - }, { - name: 'description' - }, { - name: 'quantity', - required: true, - typeInfo: 'Decimal' - }, { - name: 'unitPrice', - required: true, - typeInfo: 'Decimal' - }, { - name: 'taxable', - typeInfo: 'Boolean' }] }, { - localName: 'TransactionRequestType.UserFields', - typeName: null, + localName: 'CustomerPaymentProfileBaseType', + typeName: 'customerPaymentProfileBaseType', propertyInfos: [{ - name: 'userField', - minOccurs: 0, - maxOccurs: 20, - collection: true, - typeInfo: '.UserField' + name: 'customerType' + }, { + name: 'billTo', + typeInfo: '.CustomerAddressType' }] }, { - localName: 'GetCustomerProfileResponse', + localName: 'MessagesType.Message', typeName: null, - baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'profile', - typeInfo: '.CustomerProfileMaskedType' + name: 'code', + required: true }, { - name: 'subscriptionIds', - typeInfo: '.SubscriptionIdList' + name: 'text', + required: true }] }, { - localName: 'FingerPrintType', - typeName: 'fingerPrintType', + localName: 'DriversLicenseMaskedType', + typeName: 'driversLicenseMaskedType', propertyInfos: [{ - name: 'hashValue', + name: 'number', required: true }, { - name: 'sequence' - }, { - name: 'timestamp', + name: 'state', required: true }, { - name: 'currencyCode' - }, { - name: 'amount' - }] - }, { - localName: 'ProfileTransAuthCaptureType', - typeName: 'profileTransAuthCaptureType', - baseTypeInfo: '.ProfileTransOrderType' - }, { - localName: 'UpdateCustomerPaymentProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'validationDirectResponse' - }] - }, { - localName: 'TransactionListSorting', - propertyInfos: [{ - name: 'orderBy', + name: 'dateOfBirth', required: true - }, { - name: 'orderDescending', - required: true, - typeInfo: 'Boolean' }] }, { localName: 'ArrayOfCustomerPaymentProfileListItemType', @@ -122,1239 +57,1249 @@ var Schema_Module_Factory = function () { typeInfo: '.CustomerPaymentProfileListItemType' }] }, { - localName: 'GetAUJobSummaryResponse', + localName: 'DeleteCustomerShippingAddressRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'auSummary', - typeInfo: '.ArrayOfAUResponseType' + name: 'customerProfileId', + required: true + }, { + name: 'customerAddressId', + required: true }] }, { - localName: 'AuDetailsType', - typeName: 'auDetailsType', + localName: 'SecurePaymentContainerErrorType', + typeName: 'securePaymentContainerErrorType', propertyInfos: [{ - name: 'customerProfileID', - required: true, - typeInfo: 'Long' - }, { - name: 'customerPaymentProfileID', - required: true, - typeInfo: 'Long' - }, { - name: 'firstName' - }, { - name: 'lastName' - }, { - name: 'updateTimeUTC', - required: true - }, { - name: 'auReasonCode', + name: 'code', required: true }, { - name: 'reasonDescription', + name: 'description', required: true }] }, { - localName: 'CreateCustomerPaymentProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'PaymentType', + typeName: 'paymentType', propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'creditCard', + required: true, + typeInfo: '.CreditCardType' }, { - name: 'paymentProfile', + name: 'bankAccount', required: true, - typeInfo: '.CustomerPaymentProfileType' + typeInfo: '.BankAccountType' }, { - name: 'validationMode' + name: 'trackData', + required: true, + typeInfo: '.CreditCardTrackType' + }, { + name: 'encryptedTrackData', + required: true, + typeInfo: '.EncryptedTrackDataType' + }, { + name: 'payPal', + required: true, + typeInfo: '.PayPalType' + }, { + name: 'opaqueData', + required: true, + typeInfo: '.OpaqueDataType' + }, { + name: 'emv', + required: true, + typeInfo: '.PaymentEmvType' }] }, { - localName: 'KeyManagementScheme.DUKPT.Mode', + localName: 'ARBGetSubscriptionStatusResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'pin', - elementName: 'PIN' - }, { - name: 'data', - elementName: 'Data' + name: 'status' }] }, { - localName: 'MerchantAuthenticationType', - typeName: 'merchantAuthenticationType', + localName: 'ProfileTransRefundType', + typeName: 'profileTransRefundType', + baseTypeInfo: '.ProfileTransAmountType', propertyInfos: [{ - name: 'name' - }, { - name: 'transactionKey', - required: true + name: 'customerProfileId' }, { - name: 'sessionToken' + name: 'customerPaymentProfileId' }, { - name: 'password', - required: true + name: 'customerShippingAddressId' }, { - name: 'impersonationAuthentication', - typeInfo: '.ImpersonationAuthenticationType' + name: 'creditCardNumberMasked' }, { - name: 'fingerPrint', - typeInfo: '.FingerPrintType' + name: 'bankRoutingNumberMasked' }, { - name: 'clientKey' + name: 'bankAccountNumberMasked' }, { - name: 'mobileDeviceId' - }] - }, { - localName: 'CreditCardSimpleType', - typeName: 'creditCardSimpleType', - propertyInfos: [{ - name: 'cardNumber', - required: true + name: 'order', + typeInfo: '.OrderExType' }, { - name: 'expirationDate', - required: true + name: 'transId' }] }, { - localName: 'TransactionResponse.Errors', + localName: 'TransactionResponse.Errors.Error', typeName: null, propertyInfos: [{ - name: 'error', - minOccurs: 0, - collection: true, - typeInfo: '.TransactionResponse.Errors.Error' + name: 'errorCode' + }, { + name: 'errorText' }] }, { - localName: 'CreateCustomerShippingAddressResponse', + localName: 'CreateCustomerProfileTransactionResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'customerProfileId' + name: 'transactionResponse', + typeInfo: '.TransactionResponse' }, { - name: 'customerAddressId' + name: 'directResponse' }] }, { - localName: 'MessagesType', - typeName: 'messagesType', + localName: 'PaymentProfile', + typeName: 'paymentProfile', propertyInfos: [{ - name: 'resultCode', + name: 'paymentProfileId', required: true }, { - name: 'message', - required: true, - collection: true, - typeInfo: '.MessagesType.Message' + name: 'cardCode' }] }, { - localName: 'SendCustomerTransactionReceiptRequest', + localName: 'GetCustomerShippingAddressResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'transId', - required: true + name: 'defaultShippingAddress', + typeInfo: 'Boolean' }, { - name: 'customerEmail', - required: true + name: 'address', + typeInfo: '.CustomerAddressExType' }, { - name: 'emailSettings', - typeInfo: '.EmailSettingsType' + name: 'subscriptionIds', + typeInfo: '.SubscriptionIdList' }] }, { - localName: 'TransactionDetailsType.EmvDetails', + localName: 'SubscriptionCustomerProfileType', + typeName: 'subscriptionCustomerProfileType', + baseTypeInfo: '.CustomerProfileExType', + propertyInfos: [{ + name: 'paymentProfile', + typeInfo: '.CustomerPaymentProfileMaskedType' + }, { + name: 'shippingProfile', + typeInfo: '.CustomerAddressExType' + }] + }, { + localName: 'TransactionResponse.UserFields', typeName: null, propertyInfos: [{ - name: 'tag', - required: true, + name: 'userField', + minOccurs: 0, + maxOccurs: 20, collection: true, - typeInfo: '.TransactionDetailsType.EmvDetails.Tag' + typeInfo: '.UserField' }] }, { - localName: 'GetMerchantDetailsRequest', + localName: 'TransactionResponse.EmvResponse.Tags', typeName: null, - baseTypeInfo: '.ANetApiRequest' + propertyInfos: [{ + name: 'tag', + required: true, + collection: true, + typeInfo: '.EmvTag' + }] }, { - localName: 'TransactionResponse', - typeName: 'transactionResponse', + localName: 'KeyValue', propertyInfos: [{ - name: 'responseCode' - }, { - name: 'rawResponseCode' - }, { - name: 'authCode' - }, { - name: 'avsResultCode' - }, { - name: 'cvvResultCode' - }, { - name: 'cavvResultCode' - }, { - name: 'transId' - }, { - name: 'refTransID' - }, { - name: 'transHash' - }, { - name: 'testRequest' - }, { - name: 'accountNumber' - }, { - name: 'entryMode' - }, { - name: 'accountType' - }, { - name: 'splitTenderId' - }, { - name: 'prePaidCard', - typeInfo: '.TransactionResponse.PrePaidCard' - }, { - name: 'messages', - typeInfo: '.TransactionResponse.Messages' - }, { - name: 'errors', - typeInfo: '.TransactionResponse.Errors' - }, { - name: 'splitTenderPayments', - typeInfo: '.TransactionResponse.SplitTenderPayments' - }, { - name: 'userFields', - typeInfo: '.TransactionResponse.UserFields' - }, { - name: 'shipTo', - typeInfo: '.NameAndAddressType' + name: 'encoding', + required: true, + elementName: 'Encoding' }, { - name: 'secureAcceptance', - typeInfo: '.TransactionResponse.SecureAcceptance' + name: 'encryptionAlgorithm', + required: true, + elementName: 'EncryptionAlgorithm' }, { - name: 'emvResponse', - typeInfo: '.TransactionResponse.EmvResponse' + name: 'scheme', + required: true, + elementName: 'Scheme', + typeInfo: '.KeyManagementScheme' + }] + }, { + localName: 'CustomerPaymentProfileSorting', + propertyInfos: [{ + name: 'orderBy', + required: true }, { - name: 'transHashSha2' + name: 'orderDescending', + required: true, + typeInfo: 'Boolean' }] }, { - localName: 'OrderExType', - typeName: 'orderExType', - baseTypeInfo: '.OrderType', + localName: 'EncryptedTrackDataType', + typeName: 'encryptedTrackDataType', propertyInfos: [{ - name: 'purchaseOrderNumber' + name: 'formOfPayment', + required: true, + elementName: 'FormOfPayment', + typeInfo: '.KeyBlock' }] }, { - localName: 'WebCheckOutDataType.Token', - typeName: null, + localName: 'ProfileTransCaptureOnlyType', + typeName: 'profileTransCaptureOnlyType', + baseTypeInfo: '.ProfileTransOrderType', propertyInfos: [{ - name: 'cardNumber', - required: true - }, { - name: 'expirationDate', + name: 'approvalCode', required: true - }, { - name: 'cardCode' - }, { - name: 'zip' - }, { - name: 'fullName' }] }, { - localName: 'GetTransactionListRequest', + localName: 'ARBGetSubscriptionListRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'batchId' + name: 'searchType', + required: true }, { name: 'sorting', - typeInfo: '.TransactionListSorting' + typeInfo: '.ARBGetSubscriptionListSorting' }, { name: 'paging', typeInfo: '.Paging' }] }, { - localName: 'WebCheckOutDataType', - typeName: 'webCheckOutDataType', + localName: 'CreateCustomerPaymentProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'type', + name: 'customerProfileId', required: true }, { - name: 'id', - required: true + name: 'paymentProfile', + required: true, + typeInfo: '.CustomerPaymentProfileType' }, { - name: 'token', + name: 'validationMode' + }] + }, { + localName: 'PaymentEmvType', + typeName: 'paymentEmvType', + propertyInfos: [{ + name: 'emvData', required: true, - typeInfo: '.WebCheckOutDataType.Token' + typeInfo: 'AnyType' + }, { + name: 'emvDescriptor', + required: true, + typeInfo: 'AnyType' + }, { + name: 'emvVersion', + required: true, + typeInfo: 'AnyType' }] }, { - localName: 'UpdateCustomerProfileRequest', + localName: 'UpdateHeldTransactionResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'profile', - required: true, - typeInfo: '.CustomerProfileExType' + name: 'transactionResponse', + typeInfo: '.TransactionResponse' }] }, { - localName: 'CreditCardMaskedType', - typeName: 'creditCardMaskedType', + localName: 'ARBGetSubscriptionListSorting', propertyInfos: [{ - name: 'cardNumber', - required: true - }, { - name: 'expirationDate', + name: 'orderBy', required: true }, { - name: 'cardType' - }, { - name: 'cardArt', - typeInfo: '.CardArt' + name: 'orderDescending', + required: true, + typeInfo: 'Boolean' }] }, { - localName: 'PaymentScheduleType', - typeName: 'paymentScheduleType', + localName: 'GetHostedPaymentPageRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'interval', - typeInfo: '.PaymentScheduleType.Interval' - }, { - name: 'startDate', - typeInfo: 'Date' - }, { - name: 'totalOccurrences', - typeInfo: 'Short' + name: 'transactionRequest', + required: true, + typeInfo: '.TransactionRequestType' }, { - name: 'trialOccurrences', - typeInfo: 'Short' + name: 'hostedPaymentSettings', + typeInfo: '.ArrayOfSetting' }] }, { - localName: 'SubscriptionDetail', + localName: 'MobileDeviceRegistrationResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'GetCustomerProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'id', - required: true, - typeInfo: 'Int' - }, { - name: 'name' - }, { - name: 'status', - required: true + name: 'profile', + typeInfo: '.CustomerProfileMaskedType' }, { - name: 'createTimeStampUTC', - required: true, - typeInfo: 'DateTime' + name: 'subscriptionIds', + typeInfo: '.SubscriptionIdList' + }] + }, { + localName: 'ArrayOfFDSFilter', + propertyInfos: [{ + name: 'fdsFilter', + minOccurs: 0, + collection: true, + elementName: 'FDSFilter', + typeInfo: '.FDSFilterType' + }] + }, { + localName: 'CreateCustomerPaymentProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'customerProfileId' }, { - name: 'firstName' + name: 'customerPaymentProfileId' }, { - name: 'lastName' - }, { - name: 'totalOccurrences', - required: true, - typeInfo: 'Int' - }, { - name: 'pastOccurrences', - required: true, - typeInfo: 'Int' - }, { - name: 'paymentMethod', - required: true - }, { - name: 'accountNumber' - }, { - name: 'invoice' - }, { - name: 'amount', - required: true, - typeInfo: 'Decimal' - }, { - name: 'currencyCode' - }, { - name: 'customerProfileId', - required: true, - typeInfo: 'Int' - }, { - name: 'customerPaymentProfileId', - required: true, - typeInfo: 'Int' - }, { - name: 'customerShippingProfileId', - typeInfo: 'Int' + name: 'validationDirectResponse' }] }, { - localName: 'GetTransactionDetailsResponse', + localName: 'TransactionResponse.SplitTenderPayments', typeName: null, - baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'transaction', - required: true, - typeInfo: '.TransactionDetailsType' + name: 'splitTenderPayment', + minOccurs: 0, + collection: true, + typeInfo: '.TransactionResponse.SplitTenderPayments.SplitTenderPayment' }] }, { - localName: 'ARBCreateSubscriptionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'ArrayOfLong', propertyInfos: [{ - name: 'subscriptionId' - }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: '_long', + minOccurs: 0, + collection: true, + elementName: 'long', + typeInfo: 'Long' }] }, { - localName: 'PermissionType', - typeName: 'permissionType', + localName: 'EmvTag', + typeName: 'emvTag', propertyInfos: [{ - name: 'permissionName' + name: 'name' + }, { + name: 'value' + }, { + name: 'formatted' }] }, { - localName: 'PaymentProfile', - typeName: 'paymentProfile', + localName: 'IsAliveResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'CreditCardTrackType', + typeName: 'creditCardTrackType', propertyInfos: [{ - name: 'paymentProfileId', + name: 'track1', required: true }, { - name: 'cardCode' + name: 'track2', + required: true }] }, { - localName: 'ReturnedItemType', - typeName: 'returnedItemType', + localName: 'SecurePaymentContainerResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'id', - required: true - }, { - name: 'dateUTC', + name: 'opaqueData', required: true, - typeInfo: 'DateTime' - }, { - name: 'dateLocal', + typeInfo: '.OpaqueDataType' + }] + }, { + localName: 'ANetApiRequest', + propertyInfos: [{ + name: 'merchantAuthentication', required: true, - typeInfo: 'DateTime' + typeInfo: '.MerchantAuthenticationType' }, { - name: 'code', - required: true + name: 'clientId' }, { - name: 'description', - required: true + name: 'refId' }] }, { - localName: 'GetTransactionDetailsRequest', + localName: 'CreateCustomerProfileFromTransactionRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ name: 'transId', required: true + }, { + name: 'customer', + typeInfo: '.CustomerProfileBaseType' + }, { + name: 'customerProfileId' + }, { + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' + }, { + name: 'defaultShippingAddress', + typeInfo: 'Boolean' }] }, { - localName: 'ArrayOfPaymentMethod', - propertyInfos: [{ - name: 'paymentMethod', - minOccurs: 0, - collection: true - }] - }, { - localName: 'ARBCancelSubscriptionRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'MessagesType', + typeName: 'messagesType', propertyInfos: [{ - name: 'subscriptionId', + name: 'resultCode', required: true + }, { + name: 'message', + required: true, + collection: true, + typeInfo: '.MessagesType.Message' }] }, { - localName: 'CustomerPaymentProfileListItemType', - typeName: 'customerPaymentProfileListItemType', + localName: 'ProfileTransOrderType', + typeName: 'profileTransOrderType', + baseTypeInfo: '.ProfileTransAmountType', propertyInfos: [{ - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' + name: 'customerProfileId', + required: true }, { name: 'customerPaymentProfileId', - required: true, - typeInfo: 'Int' + required: true }, { - name: 'customerProfileId', - required: true, - typeInfo: 'Int' + name: 'customerShippingAddressId' }, { - name: 'billTo', - required: true, - typeInfo: '.CustomerAddressType' + name: 'order', + typeInfo: '.OrderExType' }, { - name: 'payment', - required: true, - typeInfo: '.PaymentMaskedType' - }] - }, { - localName: 'DriversLicenseType', - typeName: 'driversLicenseType', - propertyInfos: [{ - name: 'number', - required: true + name: 'taxExempt', + typeInfo: 'Boolean' }, { - name: 'state', - required: true + name: 'recurringBilling', + typeInfo: 'Boolean' }, { - name: 'dateOfBirth', - required: true + name: 'cardCode' + }, { + name: 'splitTenderId' }] }, { - localName: 'ProfileTransCaptureOnlyType', - typeName: 'profileTransCaptureOnlyType', - baseTypeInfo: '.ProfileTransOrderType', + localName: 'CustomerProfilePaymentType', + typeName: 'customerProfilePaymentType', propertyInfos: [{ - name: 'approvalCode', - required: true + name: 'createProfile', + typeInfo: 'Boolean' + }, { + name: 'customerProfileId' + }, { + name: 'paymentProfile', + typeInfo: '.PaymentProfile' + }, { + name: 'shippingProfileId' }] }, { - localName: 'CustomerProfileSummaryType', - typeName: 'customerProfileSummaryType', + localName: 'TransactionResponse.SplitTenderPayments.SplitTenderPayment', + typeName: null, propertyInfos: [{ - name: 'customerProfileId' + name: 'transId' }, { - name: 'description' + name: 'responseCode' }, { - name: 'merchantCustomerId', - required: true + name: 'responseToCustomer' }, { - name: 'email' + name: 'authCode' }, { - name: 'createdDate', - required: true, - typeInfo: 'DateTime' + name: 'accountNumber' + }, { + name: 'accountType' + }, { + name: 'requestedAmount' + }, { + name: 'approvedAmount' + }, { + name: 'balanceOnCard' }] }, { - localName: 'KeyManagementScheme.DUKPT.DeviceInfo', - typeName: null, + localName: 'Paging', propertyInfos: [{ - name: 'description', + name: 'limit', required: true, - elementName: 'Description' + typeInfo: 'Int' + }, { + name: 'offset', + required: true, + typeInfo: 'Int' }] }, { - localName: 'ArrayOfLineItem', + localName: 'TransactionResponse.SecureAcceptance', + typeName: null, propertyInfos: [{ - name: 'lineItem', - minOccurs: 0, - collection: true, - typeInfo: '.LineItemType' + name: 'secureAcceptanceUrl', + elementName: 'SecureAcceptanceUrl' + }, { + name: 'payerID', + elementName: 'PayerID' + }, { + name: 'payerEmail', + elementName: 'PayerEmail' }] }, { - localName: 'ArrayOfTransactionSummaryType', + localName: 'ArrayOfReturnedItem', propertyInfos: [{ - name: 'transaction', + name: 'returnedItem', minOccurs: 0, collection: true, - typeInfo: '.TransactionSummaryType' + typeInfo: '.ReturnedItemType' }] }, { - localName: 'SecurePaymentContainerResponse', - typeName: null, + localName: 'PaymentScheduleType', + typeName: 'paymentScheduleType', + propertyInfos: [{ + name: 'interval', + typeInfo: '.PaymentScheduleType.Interval' + }, { + name: 'startDate', + typeInfo: 'Date' + }, { + name: 'totalOccurrences', + typeInfo: 'Short' + }, { + name: 'trialOccurrences', + typeInfo: 'Short' + }] + }, { + localName: 'CustomerProfileExType', + typeName: 'customerProfileExType', + baseTypeInfo: '.CustomerProfileBaseType', + propertyInfos: [{ + name: 'customerProfileId' + }] + }, { + localName: 'UpdateCustomerShippingAddressResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'ARBCreateSubscriptionResponse', + typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'opaqueData', - required: true, - typeInfo: '.OpaqueDataType' + name: 'subscriptionId' + }, { + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'ARBUpdateSubscriptionRequest', + localName: 'GetCustomerShippingAddressRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'subscriptionId', + name: 'customerProfileId', required: true }, { + name: 'customerAddressId' + }] + }, { + localName: 'ARBGetSubscriptionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ name: 'subscription', required: true, - typeInfo: '.ARBSubscriptionType' + typeInfo: '.ARBSubscriptionMaskedType' }] }, { - localName: 'ProfileTransAmountType', - typeName: 'profileTransAmountType', + localName: 'AuDeleteType', + typeName: 'auDeleteType', + baseTypeInfo: '.AuDetailsType', propertyInfos: [{ - name: 'amount', + name: 'creditCard', required: true, - typeInfo: 'Decimal' - }, { - name: 'tax', - typeInfo: '.ExtendedAmountType' - }, { - name: 'shipping', - typeInfo: '.ExtendedAmountType' - }, { - name: 'duty', - typeInfo: '.ExtendedAmountType' - }, { - name: 'lineItems', - minOccurs: 0, - maxOccurs: 30, - collection: true, - typeInfo: '.LineItemType' + typeInfo: '.CreditCardMaskedType' }] }, { - localName: 'PaymentEmvType', - typeName: 'paymentEmvType', + localName: 'AuDetailsType', + typeName: 'auDetailsType', propertyInfos: [{ - name: 'emvData', + name: 'customerProfileID', required: true, - typeInfo: 'AnyType' + typeInfo: 'Long' }, { - name: 'emvDescriptor', + name: 'customerPaymentProfileID', required: true, - typeInfo: 'AnyType' + typeInfo: 'Long' }, { - name: 'emvVersion', - required: true, - typeInfo: 'AnyType' - }] - }, { - localName: 'OpaqueDataType', - typeName: 'opaqueDataType', - propertyInfos: [{ - name: 'dataDescriptor', + name: 'firstName' + }, { + name: 'lastName' + }, { + name: 'updateTimeUTC', required: true }, { - name: 'dataValue', + name: 'auReasonCode', required: true }, { - name: 'dataKey' - }] - }, { - localName: 'ProcessorType', - typeName: 'processorType', - propertyInfos: [{ - name: 'name', + name: 'reasonDescription', required: true }] }, { - localName: 'KeyManagementScheme.DUKPT', + localName: 'AuthenticateTestRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'GetMerchantDetailsResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'operation', + name: 'isTestMode', + typeInfo: 'Boolean' + }, { + name: 'processors', required: true, - elementName: 'Operation' + typeInfo: '.ArrayOfProcessorType' }, { - name: 'mode', + name: 'merchantName', + required: true + }, { + name: 'gatewayId', + required: true + }, { + name: 'marketTypes', required: true, - elementName: 'Mode', - typeInfo: '.KeyManagementScheme.DUKPT.Mode' + typeInfo: '.ArrayOfMarketType' }, { - name: 'deviceInfo', + name: 'productCodes', required: true, - elementName: 'DeviceInfo', - typeInfo: '.KeyManagementScheme.DUKPT.DeviceInfo' + typeInfo: '.ArrayOfProductCode' }, { - name: 'encryptedData', + name: 'paymentMethods', required: true, - elementName: 'EncryptedData', - typeInfo: '.KeyManagementScheme.DUKPT.EncryptedData' + typeInfo: '.ArrayOfPaymentMethod' + }, { + name: 'currencies', + required: true, + typeInfo: '.ArrayOfCurrencyCode' }] }, { - localName: 'MobileDeviceLoginResponse', + localName: 'GetCustomerProfileIdsRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'SolutionType', + typeName: 'solutionType', propertyInfos: [{ - name: 'merchantContact', - required: true, - typeInfo: '.MerchantContactType' + name: 'id', + required: true }, { - name: 'userPermissions', - required: true, - typeInfo: '.ArrayOfPermissionType' + name: 'name' }, { - name: 'merchantAccount', - typeInfo: '.TransRetailInfoType' + name: 'vendorName' }] }, { - localName: 'ProfileTransVoidType', - typeName: 'profileTransVoidType', + localName: 'GetAUJobSummaryResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileId' + name: 'auSummary', + typeInfo: '.ArrayOfAUResponseType' + }] + }, { + localName: 'FingerPrintType', + typeName: 'fingerPrintType', + propertyInfos: [{ + name: 'hashValue', + required: true }, { - name: 'customerShippingAddressId' + name: 'sequence' }, { - name: 'transId', + name: 'timestamp', required: true + }, { + name: 'currencyCode' + }, { + name: 'amount' }] }, { - localName: 'SubscriptionPaymentType', - typeName: 'subscriptionPaymentType', + localName: 'OrderExType', + typeName: 'orderExType', + baseTypeInfo: '.OrderType', propertyInfos: [{ - name: 'id', - required: true, - typeInfo: 'Int' - }, { - name: 'payNum', - required: true, - typeInfo: 'Int' + name: 'purchaseOrderNumber' }] }, { - localName: 'TransactionResponse.Messages', + localName: 'CreateTransactionRequest', typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'message', - minOccurs: 0, - collection: true, - typeInfo: '.TransactionResponse.Messages.Message' + name: 'transactionRequest', + required: true, + typeInfo: '.TransactionRequestType' }] }, { - localName: 'GetSettledBatchListResponse', + localName: 'DecryptPaymentDataResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'batchList', - typeInfo: '.ArrayOfBatchDetailsType' - }] - }, { - localName: 'ArrayOfReturnedItem', - propertyInfos: [{ - name: 'returnedItem', - minOccurs: 0, - collection: true, - typeInfo: '.ReturnedItemType' + name: 'shippingInfo', + typeInfo: '.CustomerAddressType' + }, { + name: 'billingInfo', + typeInfo: '.CustomerAddressType' + }, { + name: 'cardInfo', + typeInfo: '.CreditCardMaskedType' + }, { + name: 'paymentDetails', + typeInfo: '.PaymentDetails' }] }, { - localName: 'KeyManagementScheme', + localName: 'SecurePaymentContainerRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'dukpt', + name: 'data', required: true, - elementName: 'DUKPT', - typeInfo: '.KeyManagementScheme.DUKPT' + typeInfo: '.WebCheckOutDataType' }] }, { - localName: 'EncryptedTrackDataType', - typeName: 'encryptedTrackDataType', + localName: 'ARBSubscriptionType', propertyInfos: [{ - name: 'formOfPayment', - required: true, - elementName: 'FormOfPayment', - typeInfo: '.KeyBlock' - }] - }, { - localName: 'PaymentType', - typeName: 'paymentType', - propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardType' - }, { - name: 'bankAccount', - required: true, - typeInfo: '.BankAccountType' + name: 'name' }, { - name: 'trackData', - required: true, - typeInfo: '.CreditCardTrackType' + name: 'paymentSchedule', + typeInfo: '.PaymentScheduleType' }, { - name: 'encryptedTrackData', - required: true, - typeInfo: '.EncryptedTrackDataType' + name: 'amount', + typeInfo: 'Decimal' }, { - name: 'payPal', - required: true, - typeInfo: '.PayPalType' + name: 'trialAmount', + typeInfo: 'Decimal' }, { - name: 'opaqueData', - required: true, - typeInfo: '.OpaqueDataType' + name: 'payment', + typeInfo: '.PaymentType' }, { - name: 'emv', - required: true, - typeInfo: '.PaymentEmvType' - }] - }, { - localName: 'LogoutRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' - }, { - localName: 'CreateCustomerProfileTransactionRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'transaction', - required: true, - typeInfo: '.ProfileTransactionType' + name: 'order', + typeInfo: '.OrderType' }, { - name: 'extraOptions' - }] - }, { - localName: 'DeleteCustomerProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'customerProfileId', - required: true - }] - }, { - localName: 'TransactionResponse.UserFields', - typeName: null, - propertyInfos: [{ - name: 'userField', - minOccurs: 0, - maxOccurs: 20, - collection: true, - typeInfo: '.UserField' - }] - }, { - localName: 'CustomerPaymentProfileSorting', - propertyInfos: [{ - name: 'orderBy', - required: true + name: 'customer', + typeInfo: '.CustomerType' }, { - name: 'orderDescending', - required: true, - typeInfo: 'Boolean' - }] - }, { - localName: 'MobileDeviceLoginRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' - }, { - localName: 'TransactionResponse.PrePaidCard', - typeName: null, - propertyInfos: [{ - name: 'requestedAmount' + name: 'billTo', + typeInfo: '.NameAndAddressType' }, { - name: 'approvedAmount' + name: 'shipTo', + typeInfo: '.NameAndAddressType' }, { - name: 'balanceOnCard' + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'MobileDeviceRegistrationResponse', + localName: 'GetTransactionListRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'ProfileTransactionType', - typeName: 'profileTransactionType', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'profileTransAuthCapture', - required: true, - typeInfo: '.ProfileTransAuthCaptureType' - }, { - name: 'profileTransAuthOnly', - required: true, - typeInfo: '.ProfileTransAuthOnlyType' - }, { - name: 'profileTransPriorAuthCapture', - required: true, - typeInfo: '.ProfileTransPriorAuthCaptureType' - }, { - name: 'profileTransCaptureOnly', - required: true, - typeInfo: '.ProfileTransCaptureOnlyType' + name: 'batchId' }, { - name: 'profileTransRefund', - required: true, - typeInfo: '.ProfileTransRefundType' + name: 'sorting', + typeInfo: '.TransactionListSorting' }, { - name: 'profileTransVoid', - required: true, - typeInfo: '.ProfileTransVoidType' + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'CustomerPaymentProfileMaskedType', - typeName: 'customerPaymentProfileMaskedType', - baseTypeInfo: '.CustomerPaymentProfileBaseType', + localName: 'CustomerDataType', + typeName: 'customerDataType', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileId', - required: true + name: 'type' }, { - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' + name: 'id' }, { - name: 'payment', - typeInfo: '.PaymentMaskedType' + name: 'email' }, { name: 'driversLicense', - typeInfo: '.DriversLicenseMaskedType' + typeInfo: '.DriversLicenseType' }, { name: 'taxId' - }, { - name: 'subscriptionIds', - typeInfo: '.SubscriptionIdList' }] }, { - localName: 'GetSettledBatchListRequest', + localName: 'GetUnsettledTransactionListResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'includeStatistics', - typeInfo: 'Boolean' - }, { - name: 'firstSettlementDate', - typeInfo: 'DateTime' + name: 'transactions', + typeInfo: '.ArrayOfTransactionSummaryType' }, { - name: 'lastSettlementDate', - typeInfo: 'DateTime' + name: 'totalNumInResultSet', + typeInfo: 'Int' }] }, { - localName: 'DecryptPaymentDataResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'CustomerAddressType', + typeName: 'customerAddressType', + baseTypeInfo: '.NameAndAddressType', propertyInfos: [{ - name: 'shippingInfo', - typeInfo: '.CustomerAddressType' - }, { - name: 'billingInfo', - typeInfo: '.CustomerAddressType' + name: 'phoneNumber' }, { - name: 'cardInfo', - typeInfo: '.CreditCardMaskedType' + name: 'faxNumber' }, { - name: 'paymentDetails', - typeInfo: '.PaymentDetails' + name: 'email' }] }, { - localName: 'AuthenticateTestRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' - }, { - localName: 'ARBSubscriptionType', + localName: 'TransactionRequestType', + typeName: 'transactionRequestType', propertyInfos: [{ - name: 'name' - }, { - name: 'paymentSchedule', - typeInfo: '.PaymentScheduleType' + name: 'transactionType', + required: true }, { name: 'amount', typeInfo: 'Decimal' }, { - name: 'trialAmount', - typeInfo: 'Decimal' + name: 'currencyCode' }, { name: 'payment', typeInfo: '.PaymentType' + }, { + name: 'profile', + typeInfo: '.CustomerProfilePaymentType' + }, { + name: 'solution', + typeInfo: '.SolutionType' + }, { + name: 'callId' + }, { + name: 'terminalNumber' + }, { + name: 'authCode' + }, { + name: 'refTransId' + }, { + name: 'splitTenderId' }, { name: 'order', typeInfo: '.OrderType' + }, { + name: 'lineItems', + typeInfo: '.ArrayOfLineItem' + }, { + name: 'tax', + typeInfo: '.ExtendedAmountType' + }, { + name: 'duty', + typeInfo: '.ExtendedAmountType' + }, { + name: 'shipping', + typeInfo: '.ExtendedAmountType' + }, { + name: 'taxExempt', + typeInfo: 'Boolean' + }, { + name: 'poNumber' }, { name: 'customer', - typeInfo: '.CustomerType' + typeInfo: '.CustomerDataType' }, { name: 'billTo', - typeInfo: '.NameAndAddressType' + typeInfo: '.CustomerAddressType' }, { name: 'shipTo', typeInfo: '.NameAndAddressType' }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' - }] - }, { - localName: 'CustomerAddressType', - typeName: 'customerAddressType', - baseTypeInfo: '.NameAndAddressType', - propertyInfos: [{ - name: 'phoneNumber' + name: 'customerIP' }, { - name: 'faxNumber' + name: 'cardholderAuthentication', + typeInfo: '.CcAuthenticationType' }, { - name: 'email' - }] - }, { - localName: 'SubscriptionCustomerProfileType', - typeName: 'subscriptionCustomerProfileType', - baseTypeInfo: '.CustomerProfileExType', - propertyInfos: [{ - name: 'paymentProfile', - typeInfo: '.CustomerPaymentProfileMaskedType' + name: 'retail', + typeInfo: '.TransRetailInfoType' }, { - name: 'shippingProfile', - typeInfo: '.CustomerAddressExType' - }] - }, { - localName: 'CustomerProfileMaskedType', - typeName: 'customerProfileMaskedType', - baseTypeInfo: '.CustomerProfileExType', - propertyInfos: [{ - name: 'paymentProfiles', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerPaymentProfileMaskedType' + name: 'employeeId' }, { - name: 'shipToList', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerAddressExType' + name: 'transactionSettings', + typeInfo: '.ArrayOfSetting' + }, { + name: 'userFields', + typeInfo: '.TransactionRequestType.UserFields' }] }, { - localName: 'CardArt', - typeName: 'cardArt', + localName: 'ProfileTransPriorAuthCaptureType', + typeName: 'profileTransPriorAuthCaptureType', + baseTypeInfo: '.ProfileTransAmountType', propertyInfos: [{ - name: 'cardBrand' - }, { - name: 'cardImageHeight' + name: 'customerProfileId' }, { - name: 'cardImageUrl' + name: 'customerPaymentProfileId' }, { - name: 'cardImageWidth' + name: 'customerShippingAddressId' }, { - name: 'cardType' + name: 'transId', + required: true }] }, { - localName: 'CreateCustomerPaymentProfileResponse', + localName: 'ArrayOfString', + propertyInfos: [{ + name: 'string', + minOccurs: 0, + collection: true + }] + }, { + localName: 'CreateCustomerProfileRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileId' + name: 'profile', + required: true, + typeInfo: '.CustomerProfileType' }, { - name: 'validationDirectResponse' + name: 'validationMode' }] }, { - localName: 'UpdateSplitTenderGroupRequest', + localName: 'UpdateCustomerShippingAddressRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'splitTenderId', + name: 'customerProfileId', required: true }, { - name: 'splitTenderStatus', - required: true + name: 'address', + required: true, + typeInfo: '.CustomerAddressExType' + }, { + name: 'defaultShippingAddress', + typeInfo: 'Boolean' }] }, { - localName: 'PaymentDetails', - typeName: 'paymentDetails', + localName: 'DeleteCustomerShippingAddressResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'BatchDetailsType', + typeName: 'batchDetailsType', propertyInfos: [{ - name: 'currency' - }, { - name: 'promoCode' - }, { - name: 'misc' + name: 'batchId', + required: true }, { - name: 'giftWrap' + name: 'settlementTimeUTC', + typeInfo: 'DateTime' }, { - name: 'discount' + name: 'settlementTimeLocal', + typeInfo: 'DateTime' }, { - name: 'tax' + name: 'settlementState', + required: true }, { - name: 'shippingHandling' + name: 'paymentMethod' }, { - name: 'subTotal' + name: 'marketType' }, { - name: 'orderID' + name: 'product' }, { - name: 'amount' + name: 'statistics', + typeInfo: '.ArrayOfBatchStatisticType' }] }, { - localName: 'ArrayOfCurrencyCode', + localName: 'ProcessorType', + typeName: 'processorType', propertyInfos: [{ - name: 'currency', - minOccurs: 0, - collection: true + name: 'name', + required: true }] }, { - localName: 'GetCustomerProfileIdsRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' - }, { - localName: 'CreateTransactionRequest', + localName: 'GetTransactionListResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'transactionRequest', - required: true, - typeInfo: '.TransactionRequestType' - }] - }, { - localName: 'ProfileTransRefundType', - typeName: 'profileTransRefundType', - baseTypeInfo: '.ProfileTransAmountType', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileId' - }, { - name: 'customerShippingAddressId' - }, { - name: 'creditCardNumberMasked' - }, { - name: 'bankRoutingNumberMasked' - }, { - name: 'bankAccountNumberMasked' - }, { - name: 'order', - typeInfo: '.OrderExType' + name: 'transactions', + typeInfo: '.ArrayOfTransactionSummaryType' }, { - name: 'transId' + name: 'totalNumInResultSet', + typeInfo: 'Int' }] }, { - localName: 'IsAliveRequest', + localName: 'LogoutResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'GetCustomerPaymentProfileListResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'refId' + name: 'totalNumInResultSet', + required: true, + typeInfo: 'Int' + }, { + name: 'paymentProfiles', + typeInfo: '.ArrayOfCustomerPaymentProfileListItemType' }] }, { - localName: 'CustomerPaymentProfileBaseType', - typeName: 'customerPaymentProfileBaseType', + localName: 'ImpersonationAuthenticationType', + typeName: 'impersonationAuthenticationType', propertyInfos: [{ - name: 'customerType' + name: 'partnerLoginId', + required: true }, { - name: 'billTo', - typeInfo: '.CustomerAddressType' + name: 'partnerTransactionKey', + required: true }] }, { - localName: 'GetCustomerPaymentProfileRequest', + localName: 'MobileDeviceLoginRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'SendCustomerTransactionReceiptRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', + name: 'transId', required: true }, { - name: 'customerPaymentProfileId' + name: 'customerEmail', + required: true }, { - name: 'unmaskExpirationDate', - typeInfo: 'Boolean' + name: 'emailSettings', + typeInfo: '.EmailSettingsType' }] }, { - localName: 'GetHostedPaymentPageRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'CustomerProfileType', + typeName: 'customerProfileType', + baseTypeInfo: '.CustomerProfileBaseType', propertyInfos: [{ - name: 'transactionRequest', - required: true, - typeInfo: '.TransactionRequestType' + name: 'paymentProfiles', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerPaymentProfileType' }, { - name: 'hostedPaymentSettings', - typeInfo: '.ArrayOfSetting' + name: 'shipToList', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerAddressType' }] }, { - localName: 'CreateCustomerShippingAddressRequest', + localName: 'ARBUpdateSubscriptionRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', + name: 'subscriptionId', required: true }, { - name: 'address', + name: 'subscription', required: true, - typeInfo: '.CustomerAddressType' - }, { - name: 'defaultShippingAddress', - typeInfo: 'Boolean' - }] - }, { - localName: 'SubscriptionIdList', - propertyInfos: [{ - name: 'subscriptionId', - minOccurs: 0, - collection: true + typeInfo: '.ARBSubscriptionType' }] }, { - localName: 'ValidateCustomerPaymentProfileResponse', + localName: 'CreateCustomerProfileResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'directResponse' - }] - }, { - localName: 'BatchStatisticType', - typeName: 'batchStatisticType', - propertyInfos: [{ - name: 'accountType', - required: true - }, { - name: 'chargeAmount', - required: true, - typeInfo: 'Decimal' + name: 'customerProfileId' }, { - name: 'chargeCount', + name: 'customerPaymentProfileIdList', required: true, - typeInfo: 'Int' + typeInfo: '.ArrayOfNumericString' }, { - name: 'refundAmount', + name: 'customerShippingAddressIdList', required: true, - typeInfo: 'Decimal' + typeInfo: '.ArrayOfNumericString' }, { - name: 'refundCount', + name: 'validationDirectResponseList', required: true, - typeInfo: 'Int' - }, { - name: 'voidCount', + typeInfo: '.ArrayOfString' + }] + }, { + localName: 'ExtendedAmountType', + typeName: 'extendedAmountType', + propertyInfos: [{ + name: 'amount', required: true, - typeInfo: 'Int' + typeInfo: 'Decimal' }, { - name: 'declineCount', + name: 'name' + }, { + name: 'description' + }] + }, { + localName: 'CustomerPaymentProfileListItemType', + typeName: 'customerPaymentProfileListItemType', + propertyInfos: [{ + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' + }, { + name: 'customerPaymentProfileId', required: true, typeInfo: 'Int' }, { - name: 'errorCount', + name: 'customerProfileId', required: true, typeInfo: 'Int' }, { - name: 'returnedItemAmount', - typeInfo: 'Decimal' + name: 'billTo', + required: true, + typeInfo: '.CustomerAddressType' }, { - name: 'returnedItemCount', + name: 'payment', + required: true, + typeInfo: '.PaymentMaskedType' + }] + }, { + localName: 'TransactionListSorting', + propertyInfos: [{ + name: 'orderBy', + required: true + }, { + name: 'orderDescending', + required: true, + typeInfo: 'Boolean' + }] + }, { + localName: 'GetCustomerPaymentProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'paymentProfile', + typeInfo: '.CustomerPaymentProfileMaskedType' + }] + }, { + localName: 'GetBatchStatisticsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'batchId', + required: true + }] + }, { + localName: 'ArrayOfSubscription', + propertyInfos: [{ + name: 'subscriptionDetail', + minOccurs: 0, + collection: true, + typeInfo: '.SubscriptionDetail' + }] + }, { + localName: 'EmailSettingsType', + typeName: 'emailSettingsType', + baseTypeInfo: '.ArrayOfSetting', + propertyInfos: [{ + name: 'version', + typeInfo: 'Integer', + attributeName: { + localPart: 'version' + }, + type: 'attribute' + }] + }, { + localName: 'ArrayOfBatchStatisticType', + propertyInfos: [{ + name: 'statistic', + minOccurs: 0, + collection: true, + typeInfo: '.BatchStatisticType' + }] + }, { + localName: 'SubscriptionDetail', + propertyInfos: [{ + name: 'id', + required: true, typeInfo: 'Int' }, { - name: 'chargebackAmount', - typeInfo: 'Decimal' + name: 'name' }, { - name: 'chargebackCount', - typeInfo: 'Int' + name: 'status', + required: true }, { - name: 'correctionNoticeCount', - typeInfo: 'Int' + name: 'createTimeStampUTC', + required: true, + typeInfo: 'DateTime' }, { - name: 'chargeChargeBackAmount', - typeInfo: 'Decimal' + name: 'firstName' }, { - name: 'chargeChargeBackCount', - typeInfo: 'Int' + name: 'lastName' }, { - name: 'refundChargeBackAmount', - typeInfo: 'Decimal' + name: 'totalOccurrences', + required: true, + typeInfo: 'Int' }, { - name: 'refundChargeBackCount', + name: 'pastOccurrences', + required: true, typeInfo: 'Int' }, { - name: 'chargeReturnedItemsAmount', + name: 'paymentMethod', + required: true + }, { + name: 'accountNumber' + }, { + name: 'invoice' + }, { + name: 'amount', + required: true, typeInfo: 'Decimal' }, { - name: 'chargeReturnedItemsCount', + name: 'currencyCode' + }, { + name: 'customerProfileId', + required: true, typeInfo: 'Int' }, { - name: 'refundReturnedItemsAmount', - typeInfo: 'Decimal' + name: 'customerPaymentProfileId', + required: true, + typeInfo: 'Int' }, { - name: 'refundReturnedItemsCount', + name: 'customerShippingProfileId', typeInfo: 'Int' }] }, { - localName: 'BatchDetailsType', - typeName: 'batchDetailsType', + localName: 'ArrayOfFraudFilterType', propertyInfos: [{ - name: 'batchId', - required: true - }, { - name: 'settlementTimeUTC', - typeInfo: 'DateTime' - }, { - name: 'settlementTimeLocal', - typeInfo: 'DateTime' + name: 'fraudFilter', + required: true, + maxOccurs: 1000, + collection: true + }] + }, { + localName: 'ProfileTransactionType', + typeName: 'profileTransactionType', + propertyInfos: [{ + name: 'profileTransAuthCapture', + required: true, + typeInfo: '.ProfileTransAuthCaptureType' }, { - name: 'settlementState', - required: true + name: 'profileTransAuthOnly', + required: true, + typeInfo: '.ProfileTransAuthOnlyType' }, { - name: 'paymentMethod' + name: 'profileTransPriorAuthCapture', + required: true, + typeInfo: '.ProfileTransPriorAuthCaptureType' }, { - name: 'marketType' + name: 'profileTransCaptureOnly', + required: true, + typeInfo: '.ProfileTransCaptureOnlyType' }, { - name: 'product' + name: 'profileTransRefund', + required: true, + typeInfo: '.ProfileTransRefundType' }, { - name: 'statistics', - typeInfo: '.ArrayOfBatchStatisticType' + name: 'profileTransVoid', + required: true, + typeInfo: '.ProfileTransVoidType' }] }, { - localName: 'DeleteCustomerPaymentProfileRequest', + localName: 'TransactionDetailsType.EmvDetails', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', - required: true - }, { - name: 'customerPaymentProfileId', - required: true + name: 'tag', + required: true, + collection: true, + typeInfo: '.TransactionDetailsType.EmvDetails.Tag' }] }, { - localName: 'TransactionResponse.SplitTenderPayments', + localName: 'KeyManagementScheme.DUKPT.DeviceInfo', typeName: null, propertyInfos: [{ - name: 'splitTenderPayment', - minOccurs: 0, - collection: true, - typeInfo: '.TransactionResponse.SplitTenderPayments.SplitTenderPayment' + name: 'description', + required: true, + elementName: 'Description' + }] + }, { + localName: 'ARBGetSubscriptionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'subscriptionId', + required: true }] }, { localName: 'AuUpdateType', @@ -1370,107 +1315,33 @@ var Schema_Module_Factory = function () { typeInfo: '.CreditCardMaskedType' }] }, { - localName: 'UpdateHeldTransactionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'ArrayOfNumericString', propertyInfos: [{ - name: 'transactionResponse', - typeInfo: '.TransactionResponse' + name: 'numericString', + minOccurs: 0, + collection: true }] }, { - localName: 'CreateCustomerProfileTransactionResponse', + localName: 'GetCustomerProfileRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'transactionResponse', - typeInfo: '.TransactionResponse' + name: 'customerProfileId' }, { - name: 'directResponse' - }] - }, { - localName: 'CreditCardType', - typeName: 'creditCardType', - baseTypeInfo: '.CreditCardSimpleType', - propertyInfos: [{ - name: 'cardCode' + name: 'merchantCustomerId' }, { - name: 'isPaymentToken', - typeInfo: 'Boolean' + name: 'email' }, { - name: 'cryptogram' + name: 'unmaskExpirationDate', + typeInfo: 'Boolean' }] }, { - localName: 'TransactionDetailsType', - typeName: 'transactionDetailsType', + localName: 'ProfileTransAmountType', + typeName: 'profileTransAmountType', propertyInfos: [{ - name: 'transId', - required: true - }, { - name: 'refTransId' - }, { - name: 'splitTenderId' - }, { - name: 'submitTimeUTC', - required: true, - typeInfo: 'DateTime' - }, { - name: 'submitTimeLocal', - required: true, - typeInfo: 'DateTime' - }, { - name: 'transactionType', - required: true - }, { - name: 'transactionStatus', - required: true - }, { - name: 'responseCode', - required: true, - typeInfo: 'Int' - }, { - name: 'responseReasonCode', - required: true, - typeInfo: 'Int' - }, { - name: 'subscription', - typeInfo: '.SubscriptionPaymentType' - }, { - name: 'responseReasonDescription', - required: true - }, { - name: 'authCode' - }, { - name: 'avsResponse', - elementName: 'AVSResponse' - }, { - name: 'cardCodeResponse' - }, { - name: 'cavvResponse', - elementName: 'CAVVResponse' - }, { - name: 'fdsFilterAction', - elementName: 'FDSFilterAction' - }, { - name: 'fdsFilters', - elementName: 'FDSFilters', - typeInfo: '.ArrayOfFDSFilter' - }, { - name: 'batch', - typeInfo: '.BatchDetailsType' - }, { - name: 'order', - typeInfo: '.OrderExType' - }, { - name: 'requestedAmount', - typeInfo: 'Decimal' - }, { - name: 'authAmount', - required: true, - typeInfo: 'Decimal' - }, { - name: 'settleAmount', - required: true, - typeInfo: 'Decimal' + name: 'amount', + required: true, + typeInfo: 'Decimal' }, { name: 'tax', typeInfo: '.ExtendedAmountType' @@ -1482,138 +1353,74 @@ var Schema_Module_Factory = function () { typeInfo: '.ExtendedAmountType' }, { name: 'lineItems', - typeInfo: '.ArrayOfLineItem' - }, { - name: 'prepaidBalanceRemaining', - typeInfo: 'Decimal' - }, { - name: 'taxExempt', - typeInfo: 'Boolean' - }, { - name: 'payment', - required: true, - typeInfo: '.PaymentMaskedType' - }, { - name: 'customer', - typeInfo: '.CustomerDataType' - }, { - name: 'billTo', - typeInfo: '.CustomerAddressType' - }, { - name: 'shipTo', - typeInfo: '.NameAndAddressType' - }, { - name: 'recurringBilling', - typeInfo: 'Boolean' - }, { - name: 'customerIP' - }, { - name: 'product' - }, { - name: 'entryMode' - }, { - name: 'marketType' - }, { - name: 'mobileDeviceId' - }, { - name: 'customerSignature' - }, { - name: 'returnedItems', - typeInfo: '.ArrayOfReturnedItem' - }, { - name: 'solution', - typeInfo: '.SolutionType' - }, { - name: 'emvDetails', - typeInfo: '.TransactionDetailsType.EmvDetails' - }] - }, { - localName: 'ArrayOfPermissionType', - propertyInfos: [{ - name: 'permission', - minOccurs: 0, - collection: true, - typeInfo: '.PermissionType' - }] - }, { - localName: 'ArrayOfFDSFilter', - propertyInfos: [{ - name: 'fdsFilter', minOccurs: 0, + maxOccurs: 30, collection: true, - elementName: 'FDSFilter', - typeInfo: '.FDSFilterType' + typeInfo: '.LineItemType' }] }, { - localName: 'BankAccountMaskedType', - typeName: 'bankAccountMaskedType', + localName: 'AuResponseType', + typeName: 'auResponseType', propertyInfos: [{ - name: 'accountType' - }, { - name: 'routingNumber', + name: 'auReasonCode', required: true }, { - name: 'accountNumber', - required: true + name: 'profileCount', + required: true, + typeInfo: 'Long' }, { - name: 'nameOnAccount', + name: 'reasonDescription', required: true - }, { - name: 'echeckType' - }, { - name: 'bankName' }] }, { - localName: 'CreateTransactionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'KeyBlock', propertyInfos: [{ - name: 'transactionResponse', + name: 'value', required: true, - typeInfo: '.TransactionResponse' + elementName: 'Value', + typeInfo: '.KeyValue' + }] + }, { + localName: 'TransRetailInfoType', + typeName: 'transRetailInfoType', + propertyInfos: [{ + name: 'marketType' }, { - name: 'profileResponse', - typeInfo: '.CreateProfileResponse' + name: 'deviceType' + }, { + name: 'customerSignature' }] }, { - localName: 'EnumCollection', + localName: 'LogoutRequest', typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'CreateProfileResponse', + typeName: 'createProfileResponse', propertyInfos: [{ - name: 'customerProfileSummaryType', - required: true, - typeInfo: '.CustomerProfileSummaryType' - }, { - name: 'paymentSimpleType', + name: 'messages', required: true, - typeInfo: '.PaymentSimpleType' + typeInfo: '.MessagesType' }, { - name: 'accountTypeEnum', - required: true + name: 'customerProfileId' }, { - name: 'cardTypeEnum', - required: true + name: 'customerPaymentProfileIdList', + typeInfo: '.ArrayOfNumericString' }, { - name: 'fdsFilterActionEnum', + name: 'customerShippingAddressIdList', + typeInfo: '.ArrayOfNumericString' + }] + }, { + localName: 'UpdateHeldTransactionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'heldTransactionRequest', required: true, - elementName: 'FDSFilterActionEnum' - }, { - name: 'permissionsEnum', - required: true - }, { - name: 'settingNameEnum', - required: true - }, { - name: 'settlementStateEnum', - required: true - }, { - name: 'transactionStatusEnum', - required: true - }, { - name: 'transactionTypeEnum', - required: true + typeInfo: '.HeldTransactionRequestType' }] }, { - localName: 'UpdateCustomerShippingAddressRequest', + localName: 'CreateCustomerShippingAddressRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ @@ -1622,144 +1429,185 @@ var Schema_Module_Factory = function () { }, { name: 'address', required: true, - typeInfo: '.CustomerAddressExType' + typeInfo: '.CustomerAddressType' }, { name: 'defaultShippingAddress', typeInfo: 'Boolean' }] }, { - localName: 'GetCustomerProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'HeldTransactionRequestType', + typeName: 'heldTransactionRequestType', propertyInfos: [{ - name: 'customerProfileId', + name: 'action', required: true }, { - name: 'unmaskExpirationDate', - typeInfo: 'Boolean' + name: 'refTransId', + required: true }] }, { - localName: 'TransactionResponse.SecureAcceptance', - typeName: null, + localName: 'ListOfAUDetailsType', propertyInfos: [{ - name: 'secureAcceptanceUrl', - elementName: 'SecureAcceptanceUrl' - }, { - name: 'payerID', - elementName: 'PayerID' - }, { - name: 'payerEmail', - elementName: 'PayerEmail' + name: 'auUpdateOrAuDelete', + minOccurs: 0, + collection: true, + elementTypeInfos: [{ + elementName: 'auUpdate', + typeInfo: '.AuUpdateType' + }, { + elementName: 'auDelete', + typeInfo: '.AuDeleteType' + }], + type: 'elements' }] }, { - localName: 'EmvTag', - typeName: 'emvTag', + localName: 'GetSettledBatchListRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'name' + name: 'includeStatistics', + typeInfo: 'Boolean' }, { - name: 'value' + name: 'firstSettlementDate', + typeInfo: 'DateTime' }, { - name: 'formatted' + name: 'lastSettlementDate', + typeInfo: 'DateTime' }] }, { - localName: 'CustomerProfileType', - typeName: 'customerProfileType', - baseTypeInfo: '.CustomerProfileBaseType', + localName: 'ArrayOfPermissionType', propertyInfos: [{ - name: 'paymentProfiles', + name: 'permission', minOccurs: 0, collection: true, - typeInfo: '.CustomerPaymentProfileType' - }, { - name: 'shipToList', + typeInfo: '.PermissionType' + }] + }, { + localName: 'ArrayOfLineItem', + propertyInfos: [{ + name: 'lineItem', minOccurs: 0, collection: true, - typeInfo: '.CustomerAddressType' + typeInfo: '.LineItemType' }] }, { - localName: 'GetUnsettledTransactionListRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'OrderType', + typeName: 'orderType', propertyInfos: [{ - name: 'status' - }, { - name: 'sorting', - typeInfo: '.TransactionListSorting' + name: 'invoiceNumber' }, { - name: 'paging', - typeInfo: '.Paging' + name: 'description' }] }, { - localName: 'ARBGetSubscriptionListRequest', + localName: 'DeleteCustomerProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'GetMerchantDetailsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'TransactionResponse.Errors', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'searchType', - required: true - }, { - name: 'sorting', - typeInfo: '.ARBGetSubscriptionListSorting' + name: 'error', + minOccurs: 0, + collection: true, + typeInfo: '.TransactionResponse.Errors.Error' + }] + }, { + localName: 'PaymentSimpleType', + typeName: 'paymentSimpleType', + propertyInfos: [{ + name: 'creditCard', + required: true, + typeInfo: '.CreditCardSimpleType' }, { - name: 'paging', - typeInfo: '.Paging' + name: 'bankAccount', + required: true, + typeInfo: '.BankAccountType' }] }, { - localName: 'CustomerAddressExType', - typeName: 'customerAddressExType', - baseTypeInfo: '.CustomerAddressType', + localName: 'CustomerPaymentProfileExType', + typeName: 'customerPaymentProfileExType', + baseTypeInfo: '.CustomerPaymentProfileType', propertyInfos: [{ - name: 'customerAddressId' + name: 'customerPaymentProfileId' }] }, { - localName: 'BankAccountType', - typeName: 'bankAccountType', + localName: 'CreditCardMaskedType', + typeName: 'creditCardMaskedType', propertyInfos: [{ - name: 'accountType' - }, { - name: 'routingNumber', - required: true - }, { - name: 'accountNumber', + name: 'cardNumber', required: true }, { - name: 'nameOnAccount', + name: 'expirationDate', required: true }, { - name: 'echeckType' - }, { - name: 'bankName' + name: 'cardType' }, { - name: 'checkNumber' + name: 'cardArt', + typeInfo: '.CardArt' }] }, { - localName: 'Paging', + localName: 'ARBUpdateSubscriptionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'limit', - required: true, - typeInfo: 'Int' - }, { - name: 'offset', - required: true, - typeInfo: 'Int' + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'GetHostedPaymentPageResponse', + localName: 'ARBGetSubscriptionStatusRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'token', + name: 'subscriptionId', required: true }] }, { - localName: 'DeleteCustomerShippingAddressResponse', + localName: 'TokenMaskedType', + typeName: 'tokenMaskedType', + propertyInfos: [{ + name: 'tokenSource' + }, { + name: 'tokenNumber', + required: true + }, { + name: 'expirationDate', + required: true + }] + }, { + localName: 'KeyManagementScheme.DUKPT', typeName: null, - baseTypeInfo: '.ANetApiResponse' + propertyInfos: [{ + name: 'operation', + required: true, + elementName: 'Operation' + }, { + name: 'mode', + required: true, + elementName: 'Mode', + typeInfo: '.KeyManagementScheme.DUKPT.Mode' + }, { + name: 'deviceInfo', + required: true, + elementName: 'DeviceInfo', + typeInfo: '.KeyManagementScheme.DUKPT.DeviceInfo' + }, { + name: 'encryptedData', + required: true, + elementName: 'EncryptedData', + typeInfo: '.KeyManagementScheme.DUKPT.EncryptedData' + }] }, { - localName: 'GetAUJobSummaryRequest', + localName: 'DeleteCustomerPaymentProfileRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'month', + name: 'customerProfileId', + required: true + }, { + name: 'customerPaymentProfileId', required: true }] }, { @@ -1785,643 +1633,676 @@ var Schema_Module_Factory = function () { typeInfo: '.OrderType' }] }, { - localName: 'ARBCancelSubscriptionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'UpdateHeldTransactionRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'SubscriptionPaymentType', + typeName: 'subscriptionPaymentType', propertyInfos: [{ - name: 'heldTransactionRequest', + name: 'id', required: true, - typeInfo: '.HeldTransactionRequestType' + typeInfo: 'Int' + }, { + name: 'payNum', + required: true, + typeInfo: 'Int' }] }, { - localName: 'MobileDeviceType', - typeName: 'mobileDeviceType', + localName: 'CustomerPaymentProfileType', + typeName: 'customerPaymentProfileType', + baseTypeInfo: '.CustomerPaymentProfileBaseType', propertyInfos: [{ - name: 'mobileDeviceId', - required: true - }, { - name: 'description' + name: 'payment', + typeInfo: '.PaymentType' }, { - name: 'phoneNumber' + name: 'driversLicense', + typeInfo: '.DriversLicenseType' }, { - name: 'devicePlatform' + name: 'taxId' }, { - name: 'deviceActivation' + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' }] }, { - localName: 'GetUnsettledTransactionListResponse', + localName: 'UpdateCustomerProfileResponse', typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'transactions', - typeInfo: '.ArrayOfTransactionSummaryType' - }, { - name: 'totalNumInResultSet', - typeInfo: 'Int' - }] + baseTypeInfo: '.ANetApiResponse' }, { - localName: 'ARBGetSubscriptionRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ArrayOfCurrencyCode', propertyInfos: [{ - name: 'subscriptionId', - required: true + name: 'currency', + minOccurs: 0, + collection: true }] }, { - localName: 'SecurePaymentContainerRequest', + localName: 'PaymentScheduleType.Interval', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'data', + name: 'length', required: true, - typeInfo: '.WebCheckOutDataType' - }] - }, { - localName: 'ArrayOfSubscription', - propertyInfos: [{ - name: 'subscriptionDetail', - minOccurs: 0, - collection: true, - typeInfo: '.SubscriptionDetail' + typeInfo: 'Short' + }, { + name: 'unit', + required: true }] }, { - localName: 'ListOfAUDetailsType', + localName: 'KeyManagementScheme', propertyInfos: [{ - name: 'auUpdateOrAuDelete', - minOccurs: 0, - collection: true, - elementTypeInfos: [{ - elementName: 'auUpdate', - typeInfo: '.AuUpdateType' - }, { - elementName: 'auDelete', - typeInfo: '.AuDeleteType' - }], - type: 'elements' + name: 'dukpt', + required: true, + elementName: 'DUKPT', + typeInfo: '.KeyManagementScheme.DUKPT' }] }, { - localName: 'ANetApiRequest', + localName: 'BatchStatisticType', + typeName: 'batchStatisticType', propertyInfos: [{ - name: 'merchantAuthentication', - required: true, - typeInfo: '.MerchantAuthenticationType' + name: 'accountType', + required: true }, { - name: 'clientId' + name: 'chargeAmount', + required: true, + typeInfo: 'Decimal' }, { - name: 'refId' - }] - }, { - localName: 'GetCustomerPaymentProfileListResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'totalNumInResultSet', + name: 'chargeCount', required: true, typeInfo: 'Int' }, { - name: 'paymentProfiles', - typeInfo: '.ArrayOfCustomerPaymentProfileListItemType' + name: 'refundAmount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'refundCount', + required: true, + typeInfo: 'Int' + }, { + name: 'voidCount', + required: true, + typeInfo: 'Int' + }, { + name: 'declineCount', + required: true, + typeInfo: 'Int' + }, { + name: 'errorCount', + required: true, + typeInfo: 'Int' + }, { + name: 'returnedItemAmount', + typeInfo: 'Decimal' + }, { + name: 'returnedItemCount', + typeInfo: 'Int' + }, { + name: 'chargebackAmount', + typeInfo: 'Decimal' + }, { + name: 'chargebackCount', + typeInfo: 'Int' + }, { + name: 'correctionNoticeCount', + typeInfo: 'Int' + }, { + name: 'chargeChargeBackAmount', + typeInfo: 'Decimal' + }, { + name: 'chargeChargeBackCount', + typeInfo: 'Int' + }, { + name: 'refundChargeBackAmount', + typeInfo: 'Decimal' + }, { + name: 'refundChargeBackCount', + typeInfo: 'Int' + }, { + name: 'chargeReturnedItemsAmount', + typeInfo: 'Decimal' + }, { + name: 'chargeReturnedItemsCount', + typeInfo: 'Int' + }, { + name: 'refundReturnedItemsAmount', + typeInfo: 'Decimal' + }, { + name: 'refundReturnedItemsCount', + typeInfo: 'Int' }] }, { - localName: 'GetAUJobDetailsResponse', + localName: 'ARBGetSubscriptionListResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ name: 'totalNumInResultSet', typeInfo: 'Int' }, { - name: 'auDetails', - typeInfo: '.ListOfAUDetailsType' + name: 'subscriptionDetails', + typeInfo: '.ArrayOfSubscription' }] }, { - localName: 'FDSFilterType', + localName: 'TransactionDetailsType.EmvDetails.Tag', + typeName: null, propertyInfos: [{ - name: 'name', + name: 'tagId', required: true }, { - name: 'action', + name: 'data', required: true }] }, { - localName: 'GetBatchStatisticsRequest', + localName: 'ARBCreateSubscriptionRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'batchId', - required: true + name: 'subscription', + required: true, + typeInfo: '.ARBSubscriptionType' }] }, { - localName: 'CustomerPaymentProfileExType', - typeName: 'customerPaymentProfileExType', - baseTypeInfo: '.CustomerPaymentProfileType', + localName: 'TransactionResponse.Messages', + typeName: null, propertyInfos: [{ - name: 'customerPaymentProfileId' + name: 'message', + minOccurs: 0, + collection: true, + typeInfo: '.TransactionResponse.Messages.Message' }] }, { - localName: 'CustomerPaymentProfileType', - typeName: 'customerPaymentProfileType', + localName: 'CustomerPaymentProfileMaskedType', + typeName: 'customerPaymentProfileMaskedType', baseTypeInfo: '.CustomerPaymentProfileBaseType', propertyInfos: [{ + name: 'customerProfileId' + }, { + name: 'customerPaymentProfileId', + required: true + }, { + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' + }, { name: 'payment', - typeInfo: '.PaymentType' + typeInfo: '.PaymentMaskedType' }, { name: 'driversLicense', - typeInfo: '.DriversLicenseType' + typeInfo: '.DriversLicenseMaskedType' }, { name: 'taxId' }, { - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' + name: 'subscriptionIds', + typeInfo: '.SubscriptionIdList' }] }, { - localName: 'GetBatchStatisticsResponse', + localName: 'MobileDeviceRegistrationRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'batch', - typeInfo: '.BatchDetailsType' + name: 'mobileDevice', + required: true, + typeInfo: '.MobileDeviceType' }] }, { - localName: 'CustomerProfilePaymentType', - typeName: 'customerProfilePaymentType', + localName: 'IsAliveRequest', + typeName: null, propertyInfos: [{ - name: 'createProfile', - typeInfo: 'Boolean' - }, { - name: 'customerProfileId' - }, { - name: 'paymentProfile', - typeInfo: '.PaymentProfile' - }, { - name: 'shippingProfileId' + name: 'refId' }] }, { - localName: 'CreditCardTrackType', - typeName: 'creditCardTrackType', + localName: 'MerchantAuthenticationType', + typeName: 'merchantAuthenticationType', propertyInfos: [{ - name: 'track1', - required: true + name: 'name' }, { - name: 'track2', + name: 'transactionKey', required: true - }] - }, { - localName: 'LogoutResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'UpdateSplitTenderGroupResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'PayPalType', - typeName: 'payPalType', - propertyInfos: [{ - name: 'successUrl' }, { - name: 'cancelUrl' + name: 'sessionToken' }, { - name: 'paypalLc' + name: 'password', + required: true }, { - name: 'paypalHdrImg' + name: 'impersonationAuthentication', + typeInfo: '.ImpersonationAuthenticationType' }, { - name: 'paypalPayflowcolor' + name: 'fingerPrint', + typeInfo: '.FingerPrintType' }, { - name: 'payerID' + name: 'clientKey' + }, { + name: 'mobileDeviceId' }] }, { - localName: 'UpdateCustomerShippingAddressResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'ArrayOfAUResponseType', + localName: 'ArrayOfTransactionSummaryType', propertyInfos: [{ - name: 'auResponse', + name: 'transaction', minOccurs: 0, collection: true, - typeInfo: '.AuResponseType' + typeInfo: '.TransactionSummaryType' }] }, { - localName: 'UpdateCustomerPaymentProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ProfileTransVoidType', + typeName: 'profileTransVoidType', propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'customerProfileId' }, { - name: 'paymentProfile', - required: true, - typeInfo: '.CustomerPaymentProfileExType' + name: 'customerPaymentProfileId' }, { - name: 'validationMode' - }] - }, { - localName: 'ProfileTransAuthOnlyType', - typeName: 'profileTransAuthOnlyType', - baseTypeInfo: '.ProfileTransOrderType' - }, { - localName: 'SettingType', - typeName: 'settingType', - propertyInfos: [{ - name: 'settingName' + name: 'customerShippingAddressId' }, { - name: 'settingValue' + name: 'transId', + required: true }] }, { - localName: 'CreateProfileResponse', - typeName: 'createProfileResponse', + localName: 'CreditCardType', + typeName: 'creditCardType', + baseTypeInfo: '.CreditCardSimpleType', propertyInfos: [{ - name: 'messages', - required: true, - typeInfo: '.MessagesType' - }, { - name: 'customerProfileId' + name: 'cardCode' }, { - name: 'customerPaymentProfileIdList', - typeInfo: '.ArrayOfNumericString' + name: 'isPaymentToken', + typeInfo: 'Boolean' }, { - name: 'customerShippingAddressIdList', - typeInfo: '.ArrayOfNumericString' + name: 'cryptogram' }] }, { - localName: 'MessagesType.Message', - typeName: null, + localName: 'BankAccountType', + typeName: 'bankAccountType', propertyInfos: [{ - name: 'code', + name: 'accountType' + }, { + name: 'routingNumber', required: true }, { - name: 'text', - required: true - }] - }, { - localName: 'ImpersonationAuthenticationType', - typeName: 'impersonationAuthenticationType', - propertyInfos: [{ - name: 'partnerLoginId', + name: 'accountNumber', required: true }, { - name: 'partnerTransactionKey', + name: 'nameOnAccount', required: true + }, { + name: 'echeckType' + }, { + name: 'bankName' + }, { + name: 'checkNumber' }] }, { - localName: 'ArrayOfSetting', + localName: 'UpdateCustomerProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'setting', - minOccurs: 0, - collection: true, - typeInfo: '.SettingType' + name: 'profile', + required: true, + typeInfo: '.CustomerProfileExType' }] }, { - localName: 'CustomerProfileIdType', - typeName: 'customerProfileIdType', + localName: 'GetAUJobSummaryRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', + name: 'month', required: true - }, { - name: 'customerPaymentProfileId' - }, { - name: 'customerAddressId' }] }, { - localName: 'GetHostedProfilePageRequest', + localName: 'GetCustomerProfileIdsResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'customerProfileId', - required: true - }, { - name: 'hostedProfileSettings', - typeInfo: '.ArrayOfSetting' + name: 'ids', + required: true, + typeInfo: '.ArrayOfNumericString' }] }, { - localName: 'TokenMaskedType', - typeName: 'tokenMaskedType', + localName: 'GetAUJobDetailsResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'tokenSource' - }, { - name: 'tokenNumber', - required: true + name: 'totalNumInResultSet', + typeInfo: 'Int' }, { - name: 'expirationDate', - required: true + name: 'auDetails', + typeInfo: '.ListOfAUDetailsType' }] }, { - localName: 'ArrayOfFraudFilterType', + localName: 'ArrayOfBatchDetailsType', propertyInfos: [{ - name: 'fraudFilter', - required: true, - maxOccurs: 1000, - collection: true + name: 'batch', + minOccurs: 0, + collection: true, + typeInfo: '.BatchDetailsType' }] }, { - localName: 'ProfileTransOrderType', - typeName: 'profileTransOrderType', - baseTypeInfo: '.ProfileTransAmountType', + localName: 'WebCheckOutDataType', + typeName: 'webCheckOutDataType', propertyInfos: [{ - name: 'customerProfileId', + name: 'type', required: true }, { - name: 'customerPaymentProfileId', + name: 'id', required: true }, { - name: 'customerShippingAddressId' - }, { - name: 'order', - typeInfo: '.OrderExType' - }, { - name: 'taxExempt', - typeInfo: 'Boolean' - }, { - name: 'recurringBilling', - typeInfo: 'Boolean' - }, { - name: 'cardCode' - }, { - name: 'splitTenderId' - }] - }, { - localName: 'UserField', - typeName: 'userField', - propertyInfos: [{ - name: 'name' - }, { - name: 'value' + name: 'token', + required: true, + typeInfo: '.WebCheckOutDataType.Token' }] }, { - localName: 'TransactionRequestType', - typeName: 'transactionRequestType', + localName: 'TransactionResponse', + typeName: 'transactionResponse', propertyInfos: [{ - name: 'transactionType', - required: true - }, { - name: 'amount', - typeInfo: 'Decimal' + name: 'responseCode' }, { - name: 'currencyCode' + name: 'rawResponseCode' }, { - name: 'payment', - typeInfo: '.PaymentType' + name: 'authCode' }, { - name: 'profile', - typeInfo: '.CustomerProfilePaymentType' + name: 'avsResultCode' }, { - name: 'solution', - typeInfo: '.SolutionType' + name: 'cvvResultCode' }, { - name: 'callId' + name: 'cavvResultCode' }, { - name: 'terminalNumber' + name: 'transId' }, { - name: 'authCode' + name: 'refTransID' }, { - name: 'refTransId' + name: 'transHash' }, { - name: 'splitTenderId' + name: 'testRequest' }, { - name: 'order', - typeInfo: '.OrderType' + name: 'accountNumber' }, { - name: 'lineItems', - typeInfo: '.ArrayOfLineItem' + name: 'entryMode' }, { - name: 'tax', - typeInfo: '.ExtendedAmountType' + name: 'accountType' }, { - name: 'duty', - typeInfo: '.ExtendedAmountType' + name: 'splitTenderId' }, { - name: 'shipping', - typeInfo: '.ExtendedAmountType' + name: 'prePaidCard', + typeInfo: '.TransactionResponse.PrePaidCard' }, { - name: 'taxExempt', - typeInfo: 'Boolean' + name: 'messages', + typeInfo: '.TransactionResponse.Messages' }, { - name: 'poNumber' + name: 'errors', + typeInfo: '.TransactionResponse.Errors' }, { - name: 'customer', - typeInfo: '.CustomerDataType' + name: 'splitTenderPayments', + typeInfo: '.TransactionResponse.SplitTenderPayments' }, { - name: 'billTo', - typeInfo: '.CustomerAddressType' + name: 'userFields', + typeInfo: '.TransactionResponse.UserFields' }, { name: 'shipTo', typeInfo: '.NameAndAddressType' }, { - name: 'customerIP' - }, { - name: 'cardholderAuthentication', - typeInfo: '.CcAuthenticationType' - }, { - name: 'retail', - typeInfo: '.TransRetailInfoType' + name: 'secureAcceptance', + typeInfo: '.TransactionResponse.SecureAcceptance' }, { - name: 'employeeId' + name: 'emvResponse', + typeInfo: '.TransactionResponse.EmvResponse' }, { - name: 'transactionSettings', - typeInfo: '.ArrayOfSetting' + name: 'transHashSha2' }, { - name: 'userFields', - typeInfo: '.TransactionRequestType.UserFields' + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'GetMerchantDetailsResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'CardArt', + typeName: 'cardArt', propertyInfos: [{ - name: 'isTestMode', - typeInfo: 'Boolean' - }, { - name: 'processors', - required: true, - typeInfo: '.ArrayOfProcessorType' - }, { - name: 'merchantName', - required: true - }, { - name: 'gatewayId', - required: true + name: 'cardBrand' }, { - name: 'marketTypes', - required: true, - typeInfo: '.ArrayOfMarketType' + name: 'cardImageHeight' }, { - name: 'productCodes', - required: true, - typeInfo: '.ArrayOfProductCode' + name: 'cardImageUrl' }, { - name: 'paymentMethods', - required: true, - typeInfo: '.ArrayOfPaymentMethod' + name: 'cardImageWidth' }, { - name: 'currencies', - required: true, - typeInfo: '.ArrayOfCurrencyCode' + name: 'cardType' }] }, { - localName: 'OrderType', - typeName: 'orderType', + localName: 'GetTransactionDetailsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'invoiceNumber' - }, { - name: 'description' + name: 'transId', + required: true }] }, { - localName: 'PaymentSimpleType', - typeName: 'paymentSimpleType', - propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardSimpleType' - }, { - name: 'bankAccount', - required: true, - typeInfo: '.BankAccountType' - }] + localName: 'AuthenticateTestResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' }, { - localName: 'ValidateCustomerPaymentProfileRequest', + localName: 'GetUnsettledTransactionListRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', - required: true - }, { - name: 'customerPaymentProfileId', - required: true - }, { - name: 'customerShippingAddressId' + name: 'status' }, { - name: 'cardCode' + name: 'sorting', + typeInfo: '.TransactionListSorting' }, { - name: 'validationMode', - required: true + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'CreateCustomerProfileResponse', + localName: 'ArrayOfProductCode', + propertyInfos: [{ + name: 'productCode', + minOccurs: 0, + collection: true + }] + }, { + localName: 'TransactionRequestType.UserFields', typeName: null, - baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'userField', + minOccurs: 0, + maxOccurs: 20, + collection: true, + typeInfo: '.UserField' + }] + }, { + localName: 'CustomerProfileSummaryType', + typeName: 'customerProfileSummaryType', propertyInfos: [{ name: 'customerProfileId' }, { - name: 'customerPaymentProfileIdList', - required: true, - typeInfo: '.ArrayOfNumericString' + name: 'description' }, { - name: 'customerShippingAddressIdList', - required: true, - typeInfo: '.ArrayOfNumericString' + name: 'merchantCustomerId', + required: true }, { - name: 'validationDirectResponseList', + name: 'email' + }, { + name: 'createdDate', required: true, - typeInfo: '.ArrayOfString' + typeInfo: 'DateTime' }] }, { - localName: 'CustomerProfileBaseType', - typeName: 'customerProfileBaseType', + localName: 'TransactionResponse.Messages.Message', + typeName: null, propertyInfos: [{ - name: 'merchantCustomerId' + name: 'code' }, { name: 'description' + }] + }, { + localName: 'CreditCardSimpleType', + typeName: 'creditCardSimpleType', + propertyInfos: [{ + name: 'cardNumber', + required: true }, { - name: 'email' + name: 'expirationDate', + required: true }] }, { - localName: 'ARBCreateSubscriptionRequest', + localName: 'KeyManagementScheme.DUKPT.Mode', + typeName: null, + propertyInfos: [{ + name: 'pin', + elementName: 'PIN' + }, { + name: 'data', + elementName: 'Data' + }] + }, { + localName: 'MobileDeviceLoginResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'merchantContact', + required: true, + typeInfo: '.MerchantContactType' + }, { + name: 'userPermissions', + required: true, + typeInfo: '.ArrayOfPermissionType' + }, { + name: 'merchantAccount', + typeInfo: '.TransRetailInfoType' + }] + }, { + localName: 'CreateCustomerProfileTransactionRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'subscription', + name: 'transaction', required: true, - typeInfo: '.ARBSubscriptionType' + typeInfo: '.ProfileTransactionType' + }, { + name: 'extraOptions' }] }, { - localName: 'ArrayOfNumericString', + localName: 'ArrayOfProcessorType', propertyInfos: [{ - name: 'numericString', + name: 'processor', minOccurs: 0, - collection: true + collection: true, + typeInfo: '.ProcessorType' }] }, { - localName: 'SolutionType', - typeName: 'solutionType', + localName: 'MerchantContactType', + typeName: 'merchantContactType', propertyInfos: [{ - name: 'id', - required: true + name: 'merchantName' }, { - name: 'name' + name: 'merchantAddress' }, { - name: 'vendorName' + name: 'merchantCity' + }, { + name: 'merchantState' + }, { + name: 'merchantZip' + }, { + name: 'merchantPhone' }] }, { - localName: 'ARBGetSubscriptionStatusResponse', + localName: 'UpdateSplitTenderGroupResponse', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'CustomerAddressExType', + typeName: 'customerAddressExType', + baseTypeInfo: '.CustomerAddressType', propertyInfos: [{ - name: 'status' + name: 'customerAddressId' }] }, { - localName: 'DeleteCustomerProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' + localName: 'MobileDeviceType', + typeName: 'mobileDeviceType', + propertyInfos: [{ + name: 'mobileDeviceId', + required: true + }, { + name: 'description' + }, { + name: 'phoneNumber' + }, { + name: 'devicePlatform' + }, { + name: 'deviceActivation' + }] }, { - localName: 'SendCustomerTransactionReceiptResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' + localName: 'UserField', + typeName: 'userField', + propertyInfos: [{ + name: 'name' + }, { + name: 'value' + }] }, { - localName: 'ArrayOfBatchDetailsType', + localName: 'ProfileTransAuthOnlyType', + typeName: 'profileTransAuthOnlyType', + baseTypeInfo: '.ProfileTransOrderType' + }, { + localName: 'PaymentDetails', + typeName: 'paymentDetails', propertyInfos: [{ - name: 'batch', - minOccurs: 0, - collection: true, - typeInfo: '.BatchDetailsType' + name: 'currency' + }, { + name: 'promoCode' + }, { + name: 'misc' + }, { + name: 'giftWrap' + }, { + name: 'discount' + }, { + name: 'tax' + }, { + name: 'shippingHandling' + }, { + name: 'subTotal' + }, { + name: 'orderID' + }, { + name: 'amount' }] }, { - localName: 'ARBGetSubscriptionListResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'CustomerProfileBaseType', + typeName: 'customerProfileBaseType', propertyInfos: [{ - name: 'totalNumInResultSet', - typeInfo: 'Int' + name: 'merchantCustomerId' }, { - name: 'subscriptionDetails', - typeInfo: '.ArrayOfSubscription' + name: 'description' + }, { + name: 'email' }] }, { - localName: 'KeyBlock', + localName: 'CreateTransactionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'value', + name: 'transactionResponse', required: true, - elementName: 'Value', - typeInfo: '.KeyValue' + typeInfo: '.TransactionResponse' + }, { + name: 'profileResponse', + typeInfo: '.CreateProfileResponse' }] }, { - localName: 'ArrayOfLong', + localName: 'PayPalType', + typeName: 'payPalType', propertyInfos: [{ - name: '_long', - minOccurs: 0, - collection: true, - elementName: 'long', - typeInfo: 'Long' + name: 'successUrl' + }, { + name: 'cancelUrl' + }, { + name: 'paypalLc' + }, { + name: 'paypalHdrImg' + }, { + name: 'paypalPayflowcolor' + }, { + name: 'payerID' }] }, { - localName: 'ExtendedAmountType', - typeName: 'extendedAmountType', + localName: 'ANetApiResponse', propertyInfos: [{ - name: 'amount', - required: true, - typeInfo: 'Decimal' + name: 'refId' }, { - name: 'name' + name: 'messages', + required: true, + typeInfo: '.MessagesType' }, { - name: 'description' + name: 'sessionToken' }] - }, { - localName: 'IsAliveResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' }, { localName: 'GetHostedProfilePageResponse', typeName: null, @@ -2431,134 +2312,380 @@ var Schema_Module_Factory = function () { required: true }] }, { - localName: 'GetTransactionListResponse', + localName: 'GetTransactionListForCustomerRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'transactions', - typeInfo: '.ArrayOfTransactionSummaryType' - }, { - name: 'totalNumInResultSet', - typeInfo: 'Int' - }] - }, { - localName: 'SecurePaymentContainerErrorType', - typeName: 'securePaymentContainerErrorType', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'code', + name: 'customerProfileId', required: true }, { - name: 'description', + name: 'customerPaymentProfileId' + }, { + name: 'sorting', + typeInfo: '.TransactionListSorting' + }, { + name: 'paging', + typeInfo: '.Paging' + }] + }, { + localName: 'ValidateCustomerPaymentProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId', + required: true + }, { + name: 'customerPaymentProfileId', + required: true + }, { + name: 'customerShippingAddressId' + }, { + name: 'cardCode' + }, { + name: 'validationMode', + required: true + }] + }, { + localName: 'SettingType', + typeName: 'settingType', + propertyInfos: [{ + name: 'settingName' + }, { + name: 'settingValue' + }] + }, { + localName: 'TransactionSummaryType', + typeName: 'transactionSummaryType', + propertyInfos: [{ + name: 'transId', + required: true + }, { + name: 'submitTimeUTC', + required: true, + typeInfo: 'DateTime' + }, { + name: 'submitTimeLocal', + required: true, + typeInfo: 'DateTime' + }, { + name: 'transactionStatus', + required: true + }, { + name: 'invoiceNumber' + }, { + name: 'firstName' + }, { + name: 'lastName' + }, { + name: 'accountType', + required: true + }, { + name: 'accountNumber', + required: true + }, { + name: 'settleAmount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'marketType' + }, { + name: 'product' + }, { + name: 'mobileDeviceId' + }, { + name: 'subscription', + typeInfo: '.SubscriptionPaymentType' + }, { + name: 'hasReturnedItems', + typeInfo: 'Boolean' + }, { + name: 'fraudInformation', + typeInfo: '.FraudInformationType' + }, { + name: 'profile', + typeInfo: '.CustomerProfileIdType' + }] + }, { + localName: 'DeleteCustomerProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId', + required: true + }] + }, { + localName: 'GetBatchStatisticsResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'batch', + typeInfo: '.BatchDetailsType' + }] + }, { + localName: 'GetHostedPaymentPageResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'token', + required: true + }] + }, { + localName: 'GetHostedProfilePageRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId', required: true + }, { + name: 'hostedProfileSettings', + typeInfo: '.ArrayOfSetting' + }] + }, { + localName: 'PaymentMaskedType', + typeName: 'paymentMaskedType', + propertyInfos: [{ + name: 'creditCard', + required: true, + typeInfo: '.CreditCardMaskedType' + }, { + name: 'bankAccount', + required: true, + typeInfo: '.BankAccountMaskedType' + }, { + name: 'tokenInformation', + required: true, + typeInfo: '.TokenMaskedType' + }] + }, { + localName: 'UpdateCustomerPaymentProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId', + required: true + }, { + name: 'paymentProfile', + required: true, + typeInfo: '.CustomerPaymentProfileExType' + }, { + name: 'validationMode' + }] + }, { + localName: 'CustomerProfileMaskedType', + typeName: 'customerProfileMaskedType', + baseTypeInfo: '.CustomerProfileExType', + propertyInfos: [{ + name: 'paymentProfiles', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerPaymentProfileMaskedType' + }, { + name: 'shipToList', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerAddressExType' + }] + }, { + localName: 'TransactionDetailsType', + typeName: 'transactionDetailsType', + propertyInfos: [{ + name: 'transId', + required: true + }, { + name: 'refTransId' + }, { + name: 'splitTenderId' + }, { + name: 'submitTimeUTC', + required: true, + typeInfo: 'DateTime' + }, { + name: 'submitTimeLocal', + required: true, + typeInfo: 'DateTime' + }, { + name: 'transactionType', + required: true + }, { + name: 'transactionStatus', + required: true + }, { + name: 'responseCode', + required: true, + typeInfo: 'Int' + }, { + name: 'responseReasonCode', + required: true, + typeInfo: 'Int' + }, { + name: 'subscription', + typeInfo: '.SubscriptionPaymentType' + }, { + name: 'responseReasonDescription', + required: true + }, { + name: 'authCode' + }, { + name: 'avsResponse', + elementName: 'AVSResponse' + }, { + name: 'cardCodeResponse' + }, { + name: 'cavvResponse', + elementName: 'CAVVResponse' + }, { + name: 'fdsFilterAction', + elementName: 'FDSFilterAction' + }, { + name: 'fdsFilters', + elementName: 'FDSFilters', + typeInfo: '.ArrayOfFDSFilter' + }, { + name: 'batch', + typeInfo: '.BatchDetailsType' + }, { + name: 'order', + typeInfo: '.OrderExType' + }, { + name: 'requestedAmount', + typeInfo: 'Decimal' + }, { + name: 'authAmount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'settleAmount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'tax', + typeInfo: '.ExtendedAmountType' + }, { + name: 'shipping', + typeInfo: '.ExtendedAmountType' + }, { + name: 'duty', + typeInfo: '.ExtendedAmountType' + }, { + name: 'lineItems', + typeInfo: '.ArrayOfLineItem' + }, { + name: 'prepaidBalanceRemaining', + typeInfo: 'Decimal' + }, { + name: 'taxExempt', + typeInfo: 'Boolean' + }, { + name: 'payment', + required: true, + typeInfo: '.PaymentMaskedType' + }, { + name: 'customer', + typeInfo: '.CustomerDataType' + }, { + name: 'billTo', + typeInfo: '.CustomerAddressType' + }, { + name: 'shipTo', + typeInfo: '.NameAndAddressType' + }, { + name: 'recurringBilling', + typeInfo: 'Boolean' + }, { + name: 'customerIP' + }, { + name: 'product' + }, { + name: 'entryMode' + }, { + name: 'marketType' + }, { + name: 'mobileDeviceId' + }, { + name: 'customerSignature' + }, { + name: 'returnedItems', + typeInfo: '.ArrayOfReturnedItem' + }, { + name: 'solution', + typeInfo: '.SolutionType' + }, { + name: 'emvDetails', + typeInfo: '.TransactionDetailsType.EmvDetails' + }, { + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'TransactionResponse.Errors.Error', + localName: 'DecryptPaymentDataRequest', typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'errorCode' + name: 'opaqueData', + required: true, + typeInfo: '.OpaqueDataType' }, { - name: 'errorText' + name: 'callId' }] }, { - localName: 'GetCustomerPaymentProfileResponse', + localName: 'KeyManagementScheme.DUKPT.EncryptedData', typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'paymentProfile', - typeInfo: '.CustomerPaymentProfileMaskedType' - }] - }, { - localName: 'ANetApiResponse', propertyInfos: [{ - name: 'refId' - }, { - name: 'messages', + name: 'value', required: true, - typeInfo: '.MessagesType' - }, { - name: 'sessionToken' + elementName: 'Value' }] }, { - localName: 'FraudInformationType', - typeName: 'fraudInformationType', + localName: 'ArrayOfSetting', propertyInfos: [{ - name: 'fraudFilterList', - required: true, - typeInfo: '.ArrayOfFraudFilterType' - }, { - name: 'fraudAction', - required: true + name: 'setting', + minOccurs: 0, + collection: true, + typeInfo: '.SettingType' }] }, { - localName: 'DriversLicenseMaskedType', - typeName: 'driversLicenseMaskedType', + localName: 'LineItemType', + typeName: 'lineItemType', propertyInfos: [{ - name: 'number', + name: 'itemId', required: true }, { - name: 'state', + name: 'name', required: true }, { - name: 'dateOfBirth', - required: true - }] - }, { - localName: 'TransactionResponse.EmvResponse.Tags', - typeName: null, - propertyInfos: [{ - name: 'tag', + name: 'description' + }, { + name: 'quantity', required: true, - collection: true, - typeInfo: '.EmvTag' - }] - }, { - localName: 'PaymentScheduleType.Interval', - typeName: null, - propertyInfos: [{ - name: 'length', + typeInfo: 'Decimal' + }, { + name: 'unitPrice', required: true, - typeInfo: 'Short' + typeInfo: 'Decimal' }, { - name: 'unit', - required: true - }] - }, { - localName: 'GetCustomerShippingAddressResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'defaultShippingAddress', + name: 'taxable', typeInfo: 'Boolean' - }, { - name: 'address', - typeInfo: '.CustomerAddressExType' - }, { - name: 'subscriptionIds', - typeInfo: '.SubscriptionIdList' }] }, { - localName: 'CreateCustomerProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'CcAuthenticationType', + typeName: 'ccAuthenticationType', propertyInfos: [{ - name: 'profile', - required: true, - typeInfo: '.CustomerProfileType' + name: 'authenticationIndicator', + required: true }, { - name: 'validationMode' + name: 'cardholderAuthenticationValue', + required: true }] }, { - localName: 'ARBGetSubscriptionStatusRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'PermissionType', + typeName: 'permissionType', propertyInfos: [{ - name: 'subscriptionId', - required: true + name: 'permissionName' }] }, { - localName: 'DeleteCustomerPaymentProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' + localName: 'ProfileTransAuthCaptureType', + typeName: 'profileTransAuthCaptureType', + baseTypeInfo: '.ProfileTransOrderType' }, { localName: 'TransactionResponse.EmvResponse', typeName: null, @@ -2569,188 +2696,133 @@ var Schema_Module_Factory = function () { typeInfo: '.TransactionResponse.EmvResponse.Tags' }] }, { - localName: 'TransRetailInfoType', - typeName: 'transRetailInfoType', + localName: 'ValidateCustomerPaymentProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'marketType' - }, { - name: 'deviceType' - }, { - name: 'customerSignature' + name: 'directResponse' }] }, { - localName: 'AuthenticateTestResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'DeleteCustomerShippingAddressRequest', + localName: 'UpdateSplitTenderGroupRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', + name: 'splitTenderId', required: true }, { - name: 'customerAddressId', + name: 'splitTenderStatus', required: true }] }, { - localName: 'CustomerType', - typeName: 'customerType', + localName: 'ArrayOfAUResponseType', propertyInfos: [{ - name: 'type' - }, { - name: 'id' - }, { - name: 'email' - }, { - name: 'phoneNumber' - }, { - name: 'faxNumber' - }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseType' - }, { - name: 'taxId' + name: 'auResponse', + minOccurs: 0, + collection: true, + typeInfo: '.AuResponseType' }] }, { - localName: 'DecryptPaymentDataRequest', + localName: 'ARBCancelSubscriptionRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'opaqueData', - required: true, - typeInfo: '.OpaqueDataType' - }, { - name: 'callId' + name: 'subscriptionId', + required: true }] }, { - localName: 'PaymentMaskedType', - typeName: 'paymentMaskedType', + localName: 'ReturnedItemType', + typeName: 'returnedItemType', propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardMaskedType' + name: 'id', + required: true }, { - name: 'bankAccount', + name: 'dateUTC', required: true, - typeInfo: '.BankAccountMaskedType' + typeInfo: 'DateTime' }, { - name: 'tokenInformation', + name: 'dateLocal', required: true, - typeInfo: '.TokenMaskedType' + typeInfo: 'DateTime' + }, { + name: 'code', + required: true + }, { + name: 'description', + required: true }] }, { - localName: 'GetCustomerPaymentProfileListRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'OpaqueDataType', + typeName: 'opaqueDataType', propertyInfos: [{ - name: 'searchType', + name: 'dataDescriptor', required: true }, { + name: 'dataValue', + required: true + }, { + name: 'dataKey' + }] + }, { + localName: 'GetAUJobDetailsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ name: 'month', required: true }, { - name: 'sorting', - typeInfo: '.CustomerPaymentProfileSorting' + name: 'modifiedTypeFilter' }, { name: 'paging', typeInfo: '.Paging' }] }, { - localName: 'TransactionSummaryType', - typeName: 'transactionSummaryType', + localName: 'ArrayOfPaymentMethod', propertyInfos: [{ - name: 'transId', - required: true - }, { - name: 'submitTimeUTC', - required: true, - typeInfo: 'DateTime' - }, { - name: 'submitTimeLocal', - required: true, - typeInfo: 'DateTime' - }, { - name: 'transactionStatus', - required: true - }, { - name: 'invoiceNumber' - }, { - name: 'firstName' - }, { - name: 'lastName' - }, { - name: 'accountType', + name: 'paymentMethod', + minOccurs: 0, + collection: true + }] + }, { + localName: 'WebCheckOutDataType.Token', + typeName: null, + propertyInfos: [{ + name: 'cardNumber', required: true }, { - name: 'accountNumber', + name: 'expirationDate', required: true }, { - name: 'settleAmount', - required: true, - typeInfo: 'Decimal' - }, { - name: 'marketType' - }, { - name: 'product' - }, { - name: 'mobileDeviceId' - }, { - name: 'subscription', - typeInfo: '.SubscriptionPaymentType' + name: 'cardCode' }, { - name: 'hasReturnedItems', - typeInfo: 'Boolean' + name: 'zip' }, { - name: 'fraudInformation', - typeInfo: '.FraudInformationType' + name: 'fullName' }] }, { - localName: 'ProfileTransPriorAuthCaptureType', - typeName: 'profileTransPriorAuthCaptureType', - baseTypeInfo: '.ProfileTransAmountType', + localName: 'FDSFilterType', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileId' - }, { - name: 'customerShippingAddressId' + name: 'name', + required: true }, { - name: 'transId', + name: 'action', required: true }] }, { - localName: 'GetCustomerShippingAddressRequest', + localName: 'GetCustomerPaymentProfileListRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', + name: 'searchType', required: true }, { - name: 'customerAddressId' - }] - }, { - localName: 'AuDeleteType', - typeName: 'auDeleteType', - baseTypeInfo: '.AuDetailsType', - propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardMaskedType' - }] - }, { - localName: 'AuResponseType', - typeName: 'auResponseType', - propertyInfos: [{ - name: 'auReasonCode', + name: 'month', required: true }, { - name: 'profileCount', - required: true, - typeInfo: 'Long' + name: 'sorting', + typeInfo: '.CustomerPaymentProfileSorting' }, { - name: 'reasonDescription', - required: true + name: 'paging', + typeInfo: '.Paging' }] }, { localName: 'ArrayOfMarketType', @@ -2760,29 +2832,14 @@ var Schema_Module_Factory = function () { collection: true }] }, { - localName: 'ARBGetSubscriptionListSorting', - propertyInfos: [{ - name: 'orderBy', - required: true - }, { - name: 'orderDescending', - required: true, - typeInfo: 'Boolean' - }] - }, { - localName: 'CustomerDataType', - typeName: 'customerDataType', + localName: 'TransactionResponse.PrePaidCard', + typeName: null, propertyInfos: [{ - name: 'type' - }, { - name: 'id' - }, { - name: 'email' + name: 'requestedAmount' }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseType' + name: 'approvedAmount' }, { - name: 'taxId' + name: 'balanceOnCard' }] }, { localName: 'NameAndAddressType', @@ -2805,588 +2862,566 @@ var Schema_Module_Factory = function () { name: 'country' }] }, { - localName: 'CustomerProfileExType', - typeName: 'customerProfileExType', - baseTypeInfo: '.CustomerProfileBaseType', - propertyInfos: [{ - name: 'customerProfileId' - }] - }, { - localName: 'KeyManagementScheme.DUKPT.EncryptedData', - typeName: null, - propertyInfos: [{ - name: 'value', - required: true, - elementName: 'Value' - }] - }, { - localName: 'GetCustomerProfileIdsResponse', + localName: 'UpdateCustomerPaymentProfileResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'ids', - required: true, - typeInfo: '.ArrayOfNumericString' + name: 'validationDirectResponse' }] }, { - localName: 'ArrayOfProcessorType', + localName: 'BankAccountMaskedType', + typeName: 'bankAccountMaskedType', propertyInfos: [{ - name: 'processor', - minOccurs: 0, - collection: true, - typeInfo: '.ProcessorType' + name: 'accountType' + }, { + name: 'routingNumber', + required: true + }, { + name: 'accountNumber', + required: true + }, { + name: 'nameOnAccount', + required: true + }, { + name: 'echeckType' + }, { + name: 'bankName' }] }, { - localName: 'EmailSettingsType', - typeName: 'emailSettingsType', - baseTypeInfo: '.ArrayOfSetting', + localName: 'CustomerType', + typeName: 'customerType', propertyInfos: [{ - name: 'version', - typeInfo: 'Integer', - attributeName: { - localPart: 'version' - }, - type: 'attribute' + name: 'type' + }, { + name: 'id' + }, { + name: 'email' + }, { + name: 'phoneNumber' + }, { + name: 'faxNumber' + }, { + name: 'driversLicense', + typeInfo: '.DriversLicenseType' + }, { + name: 'taxId' }] }, { - localName: 'KeyValue', + localName: 'DeleteCustomerPaymentProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'FraudInformationType', + typeName: 'fraudInformationType', propertyInfos: [{ - name: 'encoding', - required: true, - elementName: 'Encoding' - }, { - name: 'encryptionAlgorithm', + name: 'fraudFilterList', required: true, - elementName: 'EncryptionAlgorithm' + typeInfo: '.ArrayOfFraudFilterType' }, { - name: 'scheme', - required: true, - elementName: 'Scheme', - typeInfo: '.KeyManagementScheme' + name: 'fraudAction', + required: true }] }, { - localName: 'MobileDeviceRegistrationRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'SubscriptionIdList', propertyInfos: [{ - name: 'mobileDevice', - required: true, - typeInfo: '.MobileDeviceType' + name: 'subscriptionId', + minOccurs: 0, + collection: true }] }, { - localName: 'TransactionResponse.SplitTenderPayments.SplitTenderPayment', + localName: 'EnumCollection', typeName: null, propertyInfos: [{ - name: 'transId' - }, { - name: 'responseCode' - }, { - name: 'responseToCustomer' - }, { - name: 'authCode' - }, { - name: 'accountNumber' + name: 'customerProfileSummaryType', + required: true, + typeInfo: '.CustomerProfileSummaryType' }, { - name: 'accountType' + name: 'paymentSimpleType', + required: true, + typeInfo: '.PaymentSimpleType' }, { - name: 'requestedAmount' + name: 'accountTypeEnum', + required: true }, { - name: 'approvedAmount' + name: 'cardTypeEnum', + required: true }, { - name: 'balanceOnCard' - }] - }, { - localName: 'MerchantContactType', - typeName: 'merchantContactType', - propertyInfos: [{ - name: 'merchantName' + name: 'fdsFilterActionEnum', + required: true, + elementName: 'FDSFilterActionEnum' }, { - name: 'merchantAddress' + name: 'permissionsEnum', + required: true }, { - name: 'merchantCity' + name: 'settingNameEnum', + required: true }, { - name: 'merchantState' + name: 'settlementStateEnum', + required: true }, { - name: 'merchantZip' + name: 'transactionStatusEnum', + required: true }, { - name: 'merchantPhone' + name: 'transactionTypeEnum', + required: true }] }, { - localName: 'CreateCustomerProfileFromTransactionRequest', + localName: 'GetTransactionDetailsResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'transId', - required: true - }, { - name: 'customer', - typeInfo: '.CustomerProfileBaseType' - }, { - name: 'customerProfileId' + name: 'transaction', + required: true, + typeInfo: '.TransactionDetailsType' }, { - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' + name: 'clientId' }, { - name: 'defaultShippingAddress', - typeInfo: 'Boolean' - }] - }, { - localName: 'ArrayOfBatchStatisticType', - propertyInfos: [{ - name: 'statistic', - minOccurs: 0, - collection: true, - typeInfo: '.BatchStatisticType' + name: 'transrefId' }] }, { - localName: 'ArrayOfString', - propertyInfos: [{ - name: 'string', - minOccurs: 0, - collection: true + localName: 'GetSettledBatchListResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'batchList', + typeInfo: '.ArrayOfBatchDetailsType' }] }, { - localName: 'CcAuthenticationType', - typeName: 'ccAuthenticationType', + localName: 'SendCustomerTransactionReceiptResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'GetCustomerPaymentProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'authenticationIndicator', + name: 'customerProfileId', required: true }, { - name: 'cardholderAuthenticationValue', - required: true + name: 'customerPaymentProfileId' + }, { + name: 'unmaskExpirationDate', + typeInfo: 'Boolean' }] }, { - localName: 'UpdateCustomerProfileResponse', + localName: 'ARBCancelSubscriptionResponse', typeName: null, baseTypeInfo: '.ANetApiResponse' }, { - localName: 'TransactionDetailsType.EmvDetails.Tag', + localName: 'CreateCustomerShippingAddressResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'tagId', - required: true + name: 'customerProfileId' }, { - name: 'data', - required: true + name: 'customerAddressId' }] }, { - localName: 'HeldTransactionRequestType', - typeName: 'heldTransactionRequestType', + localName: 'CustomerProfileIdType', + typeName: 'customerProfileIdType', propertyInfos: [{ - name: 'action', + name: 'customerProfileId', required: true }, { - name: 'refTransId', - required: true - }] - }, { - localName: 'ArrayOfProductCode', - propertyInfos: [{ - name: 'productCode', - minOccurs: 0, - collection: true + name: 'customerPaymentProfileId' + }, { + name: 'customerAddressId' }] }, { - localName: 'ARBGetSubscriptionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'subscription', - required: true, - typeInfo: '.ARBSubscriptionMaskedType' - }] + type: 'enumInfo', + localName: 'BankAccountTypeEnum', + values: ['checking', 'savings', 'businessChecking'] }, { type: 'enumInfo', - localName: 'TransactionGroupStatusEnum', - values: ['any', 'pendingApproval'] + localName: 'CustomerTypeEnum', + values: ['individual', 'business'] }, { type: 'enumInfo', localName: 'SettlementStateEnum', values: ['settledSuccessfully', 'settlementError', 'pendingSettlement'] + }, { + type: 'enumInfo', + localName: 'ARBSubscriptionStatusEnum', + values: ['active', 'expired', 'suspended', 'canceled', 'terminated'] }, { type: 'enumInfo', localName: 'ValidationModeEnum', values: ['none', 'testMode', 'liveMode', 'oldLiveMode'] }, { type: 'enumInfo', - localName: 'BankAccountTypeEnum', - values: ['checking', 'savings', 'businessChecking'] + localName: 'AccountTypeEnum', + values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub', 'eCheck'] }, { type: 'enumInfo', - localName: 'SplitTenderStatusEnum', - values: ['completed', 'held', 'voided'] + localName: 'EcheckTypeEnum', + values: ['PPD', 'WEB', 'CCD', 'TEL', 'ARC', 'BOC'] }, { type: 'enumInfo', - localName: 'AfdsTransactionEnum', - values: ['approve', 'decline'] + localName: 'SplitTenderStatusEnum', + values: ['completed', 'held', 'voided'] }, { type: 'enumInfo', - localName: 'EncryptionAlgorithmType', - values: ['TDES', 'AES', 'RSA'] + localName: 'WebCheckOutTypeEnum', + values: ['PAN', 'TOKEN'] }, { type: 'enumInfo', - localName: 'CustomerPaymentProfileSearchTypeEnum', - values: ['cardsExpiringInMonth'] + localName: 'ARBGetSubscriptionListSearchTypeEnum', + values: ['cardExpiringThisMonth', 'subscriptionActive', 'subscriptionExpiringThisMonth', 'subscriptionInactive'] }, { type: 'enumInfo', - localName: 'FDSFilterActionEnum', - values: ['reject', 'decline', 'hold', 'authAndHold', 'report'] + localName: 'TransactionTypeEnum', + values: ['authOnlyTransaction', 'authCaptureTransaction', 'captureOnlyTransaction', 'refundTransaction', 'priorAuthCaptureTransaction', 'voidTransaction', 'getDetailsTransaction', 'authOnlyContinueTransaction', 'authCaptureContinueTransaction'] }, { type: 'enumInfo', - localName: 'EncodingType', - values: ['Base64', 'Hex'] + localName: 'EncryptionAlgorithmType', + values: ['TDES', 'AES', 'RSA'] }, { type: 'enumInfo', - localName: 'CardTypeEnum', - values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub'] + localName: 'ARBGetSubscriptionListOrderFieldEnum', + values: ['id', 'name', 'status', 'createTimeStampUTC', 'lastName', 'firstName', 'accountNumber', 'amount', 'pastOccurrences'] }, { type: 'enumInfo', - localName: 'DeviceActivationEnum', - values: ['Activate', 'Disable'] + localName: 'EncodingType', + values: ['Base64', 'Hex'] }, { type: 'enumInfo', - localName: 'ARBGetSubscriptionListSearchTypeEnum', - values: ['cardExpiringThisMonth', 'subscriptionActive', 'subscriptionExpiringThisMonth', 'subscriptionInactive'] + localName: 'OperationType', + values: ['DECRYPT'] }, { type: 'enumInfo', - localName: 'ARBGetSubscriptionListOrderFieldEnum', - values: ['id', 'name', 'status', 'createTimeStampUTC', 'lastName', 'firstName', 'accountNumber', 'amount', 'pastOccurrences'] + localName: 'PaymentMethodEnum', + values: ['creditCard', 'eCheck', 'payPal'] }, { type: 'enumInfo', - localName: 'CustomerTypeEnum', - values: ['individual', 'business'] + localName: 'CustomerPaymentProfileOrderFieldEnum', + values: ['id'] }, { type: 'enumInfo', localName: 'PaymentMethodsTypeEnum', values: ['Visa', 'MasterCard', 'Discover', 'AmericanExpress', 'DinersClub', 'JCB', 'EnRoute', 'Echeck', 'Paypal', 'VisaCheckout', 'ApplePay', 'AndroidPay'] }, { type: 'enumInfo', - localName: 'TransactionListOrderFieldEnum', - values: ['id', 'submitTimeUTC'] + localName: 'DeviceActivationEnum', + values: ['Activate', 'Disable'] }, { type: 'enumInfo', - localName: 'EcheckTypeEnum', - values: ['PPD', 'WEB', 'CCD', 'TEL', 'ARC', 'BOC'] + localName: 'PermissionsEnum', + values: ['API_Merchant_BasicReporting', 'Submit_Charge', 'Submit_Refund', 'Submit_Update', 'Mobile_Admin'] }, { type: 'enumInfo', - localName: 'CustomerPaymentProfileOrderFieldEnum', - values: ['id'] + localName: 'MessageTypeEnum', + values: ['Ok', 'Error'] }, { type: 'enumInfo', - localName: 'WebCheckOutTypeEnum', - values: ['PAN', 'TOKEN'] + localName: 'FDSFilterActionEnum', + values: ['reject', 'decline', 'hold', 'authAndHold', 'report'] }, { type: 'enumInfo', - localName: 'AUJobTypeEnum', - values: ['all', 'updates', 'deletes'] + localName: 'CardTypeEnum', + values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub'] }, { type: 'enumInfo', localName: 'SettingNameEnum', values: ['emailCustomer', 'merchantEmail', 'allowPartialAuth', 'headerEmailReceipt', 'footerEmailReceipt', 'recurringBilling', 'duplicateWindow', 'testRequest', 'hostedProfileReturnUrl', 'hostedProfileReturnUrlText', 'hostedProfilePageBorderVisible', 'hostedProfileIFrameCommunicatorUrl', 'hostedProfileHeadingBgColor', 'hostedProfileValidationMode', 'hostedProfileBillingAddressRequired', 'hostedProfileCardCodeRequired', 'hostedProfileBillingAddressOptions', 'hostedProfileManageOptions', 'hostedPaymentIFrameCommunicatorUrl', 'hostedPaymentButtonOptions', 'hostedPaymentReturnOptions', 'hostedPaymentOrderOptions', 'hostedPaymentPaymentOptions', 'hostedPaymentBillingAddressOptions', 'hostedPaymentShippingAddressOptions', 'hostedPaymentSecurityOptions', 'hostedPaymentCustomerOptions', 'hostedPaymentStyleOptions'] }, { type: 'enumInfo', - localName: 'AccountTypeEnum', - values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub', 'eCheck'] - }, { - type: 'enumInfo', - localName: 'ARBSubscriptionUnitEnum', - values: ['days', 'months'] - }, { - type: 'enumInfo', - localName: 'PaymentMethodEnum', - values: ['creditCard', 'eCheck', 'payPal'] + localName: 'AfdsTransactionEnum', + values: ['approve', 'decline'] }, { type: 'enumInfo', - localName: 'PermissionsEnum', - values: ['API_Merchant_BasicReporting', 'Submit_Charge', 'Submit_Refund', 'Submit_Update', 'Mobile_Admin'] + localName: 'TransactionListOrderFieldEnum', + values: ['id', 'submitTimeUTC'] }, { type: 'enumInfo', - localName: 'ARBSubscriptionStatusEnum', - values: ['active', 'expired', 'suspended', 'canceled', 'terminated'] + localName: 'TransactionGroupStatusEnum', + values: ['any', 'pendingApproval'] }, { type: 'enumInfo', - localName: 'TransactionStatusEnum', - values: ['authorizedPendingCapture', 'capturedPendingSettlement', 'communicationError', 'refundSettledSuccessfully', 'refundPendingSettlement', 'approvedReview', 'declined', 'couldNotVoid', 'expired', 'generalError', 'pendingFinalSettlement', 'pendingSettlement', 'failedReview', 'settledSuccessfully', 'settlementError', 'underReview', 'updatingSettlement', 'voided', 'FDSPendingReview', 'FDSAuthorizedPendingReview', 'returnedItem', 'chargeback', 'chargebackReversal', 'authorizedPendingRelease'] + localName: 'CustomerPaymentProfileSearchTypeEnum', + values: ['cardsExpiringInMonth'] }, { type: 'enumInfo', - localName: 'MessageTypeEnum', - values: ['Ok', 'Error'] + localName: 'AUJobTypeEnum', + values: ['all', 'updates', 'deletes'] }, { type: 'enumInfo', - localName: 'TransactionTypeEnum', - values: ['authOnlyTransaction', 'authCaptureTransaction', 'captureOnlyTransaction', 'refundTransaction', 'priorAuthCaptureTransaction', 'voidTransaction', 'getDetailsTransaction', 'authOnlyContinueTransaction', 'authCaptureContinueTransaction'] + localName: 'ARBSubscriptionUnitEnum', + values: ['days', 'months'] }, { type: 'enumInfo', - localName: 'OperationType', - values: ['DECRYPT'] + localName: 'TransactionStatusEnum', + values: ['authorizedPendingCapture', 'capturedPendingSettlement', 'communicationError', 'refundSettledSuccessfully', 'refundPendingSettlement', 'approvedReview', 'declined', 'couldNotVoid', 'expired', 'generalError', 'pendingFinalSettlement', 'pendingSettlement', 'failedReview', 'settledSuccessfully', 'settlementError', 'underReview', 'updatingSettlement', 'voided', 'FDSPendingReview', 'FDSAuthorizedPendingReview', 'returnedItem', 'chargeback', 'chargebackReversal', 'authorizedPendingRelease'] }], elementInfos: [{ - elementName: 'sendCustomerTransactionReceiptRequest', - typeInfo: '.SendCustomerTransactionReceiptRequest' - }, { - elementName: 'EnumCollection', - typeInfo: '.EnumCollection' - }, { - elementName: 'decryptPaymentDataResponse', - typeInfo: '.DecryptPaymentDataResponse' - }, { - elementName: 'ARBCreateSubscriptionRequest', - typeInfo: '.ARBCreateSubscriptionRequest' - }, { elementName: 'getCustomerPaymentProfileRequest', typeInfo: '.GetCustomerPaymentProfileRequest' }, { - elementName: 'getHostedProfilePageResponse', - typeInfo: '.GetHostedProfilePageResponse' - }, { - elementName: 'mobileDeviceLoginRequest', - typeInfo: '.MobileDeviceLoginRequest' - }, { - elementName: 'updateSplitTenderGroupResponse', - typeInfo: '.UpdateSplitTenderGroupResponse' + elementName: 'getTransactionListForCustomerRequest', + typeInfo: '.GetTransactionListForCustomerRequest' }, { - elementName: 'getBatchStatisticsResponse', - typeInfo: '.GetBatchStatisticsResponse' + elementName: 'authenticateTestRequest', + typeInfo: '.AuthenticateTestRequest' }, { - elementName: 'isAliveRequest', - typeInfo: '.IsAliveRequest' + elementName: 'ARBUpdateSubscriptionRequest', + typeInfo: '.ARBUpdateSubscriptionRequest' }, { - elementName: 'getCustomerProfileRequest', - typeInfo: '.GetCustomerProfileRequest' + elementName: 'ARBCancelSubscriptionResponse', + typeInfo: '.ARBCancelSubscriptionResponse' }, { - elementName: 'securePaymentContainerRequest', - typeInfo: '.SecurePaymentContainerRequest' + elementName: 'getTransactionDetailsResponse', + typeInfo: '.GetTransactionDetailsResponse' }, { - elementName: 'getCustomerPaymentProfileListRequest', - typeInfo: '.GetCustomerPaymentProfileListRequest' + elementName: 'updateCustomerProfileRequest', + typeInfo: '.UpdateCustomerProfileRequest' }, { - elementName: 'ARBCreateSubscriptionResponse', - typeInfo: '.ARBCreateSubscriptionResponse' + elementName: 'updateCustomerShippingAddressResponse', + typeInfo: '.UpdateCustomerShippingAddressResponse' }, { - elementName: 'getHostedPaymentPageResponse', - typeInfo: '.GetHostedPaymentPageResponse' + elementName: 'deleteCustomerShippingAddressRequest', + typeInfo: '.DeleteCustomerShippingAddressRequest' }, { - elementName: 'getAUJobDetailsResponse', - typeInfo: '.GetAUJobDetailsResponse' + elementName: 'createCustomerProfileRequest', + typeInfo: '.CreateCustomerProfileRequest' }, { - elementName: 'deleteCustomerPaymentProfileResponse', - typeInfo: '.DeleteCustomerPaymentProfileResponse' + elementName: 'getHostedProfilePageRequest', + typeInfo: '.GetHostedProfilePageRequest' }, { - elementName: 'authenticateTestRequest', - typeInfo: '.AuthenticateTestRequest' + elementName: 'ARBGetSubscriptionStatusResponse', + typeInfo: '.ARBGetSubscriptionStatusResponse' }, { - elementName: 'getMerchantDetailsResponse', - typeInfo: '.GetMerchantDetailsResponse' + elementName: 'logoutRequest', + typeInfo: '.LogoutRequest' }, { elementName: 'logoutResponse', typeInfo: '.LogoutResponse' }, { - elementName: 'ARBCancelSubscriptionResponse', - typeInfo: '.ARBCancelSubscriptionResponse' + elementName: 'ARBGetSubscriptionStatusRequest', + typeInfo: '.ARBGetSubscriptionStatusRequest' }, { - elementName: 'createCustomerProfileFromTransactionRequest', - typeInfo: '.CreateCustomerProfileFromTransactionRequest' + elementName: 'updateSplitTenderGroupRequest', + typeInfo: '.UpdateSplitTenderGroupRequest' + }, { + elementName: 'getCustomerPaymentProfileListRequest', + typeInfo: '.GetCustomerPaymentProfileListRequest' + }, { + elementName: 'createCustomerShippingAddressRequest', + typeInfo: '.CreateCustomerShippingAddressRequest' + }, { + elementName: 'updateHeldTransactionRequest', + typeInfo: '.UpdateHeldTransactionRequest' + }, { + elementName: 'getHostedProfilePageResponse', + typeInfo: '.GetHostedProfilePageResponse' }, { - elementName: 'getTransactionDetailsResponse', - typeInfo: '.GetTransactionDetailsResponse' + elementName: 'createCustomerPaymentProfileRequest', + typeInfo: '.CreateCustomerPaymentProfileRequest' }, { - elementName: 'deleteCustomerProfileResponse', - typeInfo: '.DeleteCustomerProfileResponse' + elementName: 'sendCustomerTransactionReceiptResponse', + typeInfo: '.SendCustomerTransactionReceiptResponse' }, { - elementName: 'ARBGetSubscriptionStatusRequest', - typeInfo: '.ARBGetSubscriptionStatusRequest' + elementName: 'ARBGetSubscriptionListResponse', + typeInfo: '.ARBGetSubscriptionListResponse' }, { - elementName: 'createCustomerProfileResponse', - typeInfo: '.CreateCustomerProfileResponse' + elementName: 'isAliveResponse', + typeInfo: '.IsAliveResponse' }, { - elementName: 'ARBUpdateSubscriptionResponse', - typeInfo: '.ARBUpdateSubscriptionResponse' + elementName: 'mobileDeviceRegistrationResponse', + typeInfo: '.MobileDeviceRegistrationResponse' }, { - elementName: 'validateCustomerPaymentProfileRequest', - typeInfo: '.ValidateCustomerPaymentProfileRequest' + elementName: 'ARBCreateSubscriptionRequest', + typeInfo: '.ARBCreateSubscriptionRequest' }, { - elementName: 'getCustomerPaymentProfileListResponse', - typeInfo: '.GetCustomerPaymentProfileListResponse' + elementName: 'updateCustomerPaymentProfileRequest', + typeInfo: '.UpdateCustomerPaymentProfileRequest' }, { - elementName: 'updateCustomerProfileResponse', - typeInfo: '.UpdateCustomerProfileResponse' + elementName: 'getUnsettledTransactionListRequest', + typeInfo: '.GetUnsettledTransactionListRequest' }, { elementName: 'securePaymentContainerResponse', typeInfo: '.SecurePaymentContainerResponse' }, { - elementName: 'getSettledBatchListRequest', - typeInfo: '.GetSettledBatchListRequest' - }, { - elementName: 'updateCustomerPaymentProfileResponse', - typeInfo: '.UpdateCustomerPaymentProfileResponse' + elementName: 'ARBCreateSubscriptionResponse', + typeInfo: '.ARBCreateSubscriptionResponse' }, { - elementName: 'getCustomerPaymentProfileResponse', - typeInfo: '.GetCustomerPaymentProfileResponse' + elementName: 'getCustomerProfileRequest', + typeInfo: '.GetCustomerProfileRequest' }, { - elementName: 'getHostedPaymentPageRequest', - typeInfo: '.GetHostedPaymentPageRequest' + elementName: 'createCustomerShippingAddressResponse', + typeInfo: '.CreateCustomerShippingAddressResponse' }, { - elementName: 'getAUJobSummaryRequest', - typeInfo: '.GetAUJobSummaryRequest' + elementName: 'getBatchStatisticsRequest', + typeInfo: '.GetBatchStatisticsRequest' }, { - elementName: 'getCustomerProfileIdsResponse', - typeInfo: '.GetCustomerProfileIdsResponse' + elementName: 'getUnsettledTransactionListResponse', + typeInfo: '.GetUnsettledTransactionListResponse' }, { - elementName: 'updateHeldTransactionResponse', - typeInfo: '.UpdateHeldTransactionResponse' + elementName: 'getHostedPaymentPageResponse', + typeInfo: '.GetHostedPaymentPageResponse' }, { - elementName: 'ARBGetSubscriptionListResponse', - typeInfo: '.ARBGetSubscriptionListResponse' + elementName: 'updateCustomerProfileResponse', + typeInfo: '.UpdateCustomerProfileResponse' }, { - elementName: 'logoutRequest', - typeInfo: '.LogoutRequest' + elementName: 'decryptPaymentDataResponse', + typeInfo: '.DecryptPaymentDataResponse' }, { - elementName: 'getTransactionDetailsRequest', - typeInfo: '.GetTransactionDetailsRequest' + elementName: 'getCustomerShippingAddressRequest', + typeInfo: '.GetCustomerShippingAddressRequest' }, { - elementName: 'authenticateTestResponse', - typeInfo: '.AuthenticateTestResponse' + elementName: 'updateSplitTenderGroupResponse', + typeInfo: '.UpdateSplitTenderGroupResponse' }, { - elementName: 'isAliveResponse', - typeInfo: '.IsAliveResponse' + elementName: 'updateHeldTransactionResponse', + typeInfo: '.UpdateHeldTransactionResponse' }, { - elementName: 'getCustomerProfileIdsRequest', - typeInfo: '.GetCustomerProfileIdsRequest' + elementName: 'mobileDeviceRegistrationRequest', + typeInfo: '.MobileDeviceRegistrationRequest' }, { - elementName: 'ARBGetSubscriptionListRequest', - typeInfo: '.ARBGetSubscriptionListRequest' + elementName: 'securePaymentContainerRequest', + typeInfo: '.SecurePaymentContainerRequest' }, { - elementName: 'updateCustomerShippingAddressRequest', - typeInfo: '.UpdateCustomerShippingAddressRequest' + elementName: 'getSettledBatchListRequest', + typeInfo: '.GetSettledBatchListRequest' }, { - elementName: 'getCustomerShippingAddressResponse', - typeInfo: '.GetCustomerShippingAddressResponse' + elementName: 'deleteCustomerProfileResponse', + typeInfo: '.DeleteCustomerProfileResponse' }, { - elementName: 'ARBGetSubscriptionRequest', - typeInfo: '.ARBGetSubscriptionRequest' + elementName: 'validateCustomerPaymentProfileRequest', + typeInfo: '.ValidateCustomerPaymentProfileRequest' }, { - elementName: 'getSettledBatchListResponse', - typeInfo: '.GetSettledBatchListResponse' + elementName: 'mobileDeviceLoginResponse', + typeInfo: '.MobileDeviceLoginResponse' }, { - elementName: 'createCustomerPaymentProfileRequest', - typeInfo: '.CreateCustomerPaymentProfileRequest' + elementName: 'ARBUpdateSubscriptionResponse', + typeInfo: '.ARBUpdateSubscriptionResponse' }, { - elementName: 'ARBCancelSubscriptionRequest', - typeInfo: '.ARBCancelSubscriptionRequest' + elementName: 'deleteCustomerShippingAddressResponse', + typeInfo: '.DeleteCustomerShippingAddressResponse' }, { - elementName: 'createCustomerProfileTransactionRequest', - typeInfo: '.CreateCustomerProfileTransactionRequest' + elementName: 'ARBGetSubscriptionRequest', + typeInfo: '.ARBGetSubscriptionRequest' }, { elementName: 'getAUJobDetailsRequest', typeInfo: '.GetAUJobDetailsRequest' }, { - elementName: 'createCustomerShippingAddressResponse', - typeInfo: '.CreateCustomerShippingAddressResponse' - }, { - elementName: 'sendCustomerTransactionReceiptResponse', - typeInfo: '.SendCustomerTransactionReceiptResponse' + elementName: 'isAliveRequest', + typeInfo: '.IsAliveRequest' }, { elementName: 'deleteCustomerPaymentProfileRequest', typeInfo: '.DeleteCustomerPaymentProfileRequest' }, { - elementName: 'getBatchStatisticsRequest', - typeInfo: '.GetBatchStatisticsRequest' + elementName: 'getAUJobSummaryResponse', + typeInfo: '.GetAUJobSummaryResponse' }, { - elementName: 'updateSplitTenderGroupRequest', - typeInfo: '.UpdateSplitTenderGroupRequest' + elementName: 'getCustomerShippingAddressResponse', + typeInfo: '.GetCustomerShippingAddressResponse' }, { - elementName: 'getHostedProfilePageRequest', - typeInfo: '.GetHostedProfilePageRequest' + elementName: 'sendCustomerTransactionReceiptRequest', + typeInfo: '.SendCustomerTransactionReceiptRequest' }, { - elementName: 'getMerchantDetailsRequest', - typeInfo: '.GetMerchantDetailsRequest' + elementName: 'getCustomerPaymentProfileResponse', + typeInfo: '.GetCustomerPaymentProfileResponse' }, { - elementName: 'deleteCustomerShippingAddressResponse', - typeInfo: '.DeleteCustomerShippingAddressResponse' + elementName: 'deleteCustomerProfileRequest', + typeInfo: '.DeleteCustomerProfileRequest' }, { - elementName: 'decryptPaymentDataRequest', - typeInfo: '.DecryptPaymentDataRequest' + elementName: 'authenticateTestResponse', + typeInfo: '.AuthenticateTestResponse' }, { - elementName: 'createTransactionRequest', - typeInfo: '.CreateTransactionRequest' + elementName: 'deleteCustomerPaymentProfileResponse', + typeInfo: '.DeleteCustomerPaymentProfileResponse' }, { - elementName: 'mobileDeviceLoginResponse', - typeInfo: '.MobileDeviceLoginResponse' + elementName: 'createCustomerProfileTransactionResponse', + typeInfo: '.CreateCustomerProfileTransactionResponse' }, { - elementName: 'getAUJobSummaryResponse', - typeInfo: '.GetAUJobSummaryResponse' + elementName: 'getBatchStatisticsResponse', + typeInfo: '.GetBatchStatisticsResponse' + }, { + elementName: 'createCustomerProfileResponse', + typeInfo: '.CreateCustomerProfileResponse' }, { elementName: 'createCustomerPaymentProfileResponse', typeInfo: '.CreateCustomerPaymentProfileResponse' }, { - elementName: 'ErrorResponse', - typeInfo: '.ANetApiResponse' - }, { - elementName: 'getCustomerProfileResponse', - typeInfo: '.GetCustomerProfileResponse' - }, { - elementName: 'updateCustomerPaymentProfileRequest', - typeInfo: '.UpdateCustomerPaymentProfileRequest' + elementName: 'getSettledBatchListResponse', + typeInfo: '.GetSettledBatchListResponse' }, { - elementName: 'mobileDeviceRegistrationResponse', - typeInfo: '.MobileDeviceRegistrationResponse' + elementName: 'getTransactionListRequest', + typeInfo: '.GetTransactionListRequest' }, { - elementName: 'ARBUpdateSubscriptionRequest', - typeInfo: '.ARBUpdateSubscriptionRequest' + elementName: 'EnumCollection', + typeInfo: '.EnumCollection' }, { - elementName: 'createCustomerShippingAddressRequest', - typeInfo: '.CreateCustomerShippingAddressRequest' + elementName: 'updateCustomerShippingAddressRequest', + typeInfo: '.UpdateCustomerShippingAddressRequest' }, { - elementName: 'getCustomerShippingAddressRequest', - typeInfo: '.GetCustomerShippingAddressRequest' + elementName: 'getMerchantDetailsResponse', + typeInfo: '.GetMerchantDetailsResponse' }, { - elementName: 'updateHeldTransactionRequest', - typeInfo: '.UpdateHeldTransactionRequest' + elementName: 'ARBCancelSubscriptionRequest', + typeInfo: '.ARBCancelSubscriptionRequest' }, { - elementName: 'updateCustomerProfileRequest', - typeInfo: '.UpdateCustomerProfileRequest' + elementName: 'getTransactionDetailsRequest', + typeInfo: '.GetTransactionDetailsRequest' }, { - elementName: 'deleteCustomerShippingAddressRequest', - typeInfo: '.DeleteCustomerShippingAddressRequest' + elementName: 'ErrorResponse', + typeInfo: '.ANetApiResponse' }, { elementName: 'validateCustomerPaymentProfileResponse', typeInfo: '.ValidateCustomerPaymentProfileResponse' }, { - elementName: 'updateCustomerShippingAddressResponse', - typeInfo: '.UpdateCustomerShippingAddressResponse' + elementName: 'getAUJobDetailsResponse', + typeInfo: '.GetAUJobDetailsResponse' }, { - elementName: 'getUnsettledTransactionListRequest', - typeInfo: '.GetUnsettledTransactionListRequest' + elementName: 'getAUJobSummaryRequest', + typeInfo: '.GetAUJobSummaryRequest' + }, { + elementName: 'createTransactionRequest', + typeInfo: '.CreateTransactionRequest' + }, { + elementName: 'getCustomerProfileResponse', + typeInfo: '.GetCustomerProfileResponse' + }, { + elementName: 'getHostedPaymentPageRequest', + typeInfo: '.GetHostedPaymentPageRequest' }, { elementName: 'ARBGetSubscriptionResponse', typeInfo: '.ARBGetSubscriptionResponse' }, { - elementName: 'createCustomerProfileRequest', - typeInfo: '.CreateCustomerProfileRequest' + elementName: 'getCustomerProfileIdsResponse', + typeInfo: '.GetCustomerProfileIdsResponse' + }, { + elementName: 'createCustomerProfileTransactionRequest', + typeInfo: '.CreateCustomerProfileTransactionRequest' + }, { + elementName: 'ARBGetSubscriptionListRequest', + typeInfo: '.ARBGetSubscriptionListRequest' + }, { + elementName: 'getCustomerPaymentProfileListResponse', + typeInfo: '.GetCustomerPaymentProfileListResponse' }, { elementName: 'getTransactionListResponse', typeInfo: '.GetTransactionListResponse' }, { - elementName: 'mobileDeviceRegistrationRequest', - typeInfo: '.MobileDeviceRegistrationRequest' + elementName: 'updateCustomerPaymentProfileResponse', + typeInfo: '.UpdateCustomerPaymentProfileResponse' }, { - elementName: 'createCustomerProfileTransactionResponse', - typeInfo: '.CreateCustomerProfileTransactionResponse' + elementName: 'getCustomerProfileIdsRequest', + typeInfo: '.GetCustomerProfileIdsRequest' }, { - elementName: 'deleteCustomerProfileRequest', - typeInfo: '.DeleteCustomerProfileRequest' + elementName: 'mobileDeviceLoginRequest', + typeInfo: '.MobileDeviceLoginRequest' }, { - elementName: 'getTransactionListRequest', - typeInfo: '.GetTransactionListRequest' + elementName: 'getMerchantDetailsRequest', + typeInfo: '.GetMerchantDetailsRequest' }, { - elementName: 'getUnsettledTransactionListResponse', - typeInfo: '.GetUnsettledTransactionListResponse' + elementName: 'decryptPaymentDataRequest', + typeInfo: '.DecryptPaymentDataRequest' + }, { + elementName: 'createCustomerProfileFromTransactionRequest', + typeInfo: '.CreateCustomerProfileFromTransactionRequest' }, { elementName: 'createTransactionResponse', typeInfo: '.CreateTransactionResponse' - }, { - elementName: 'ARBGetSubscriptionStatusResponse', - typeInfo: '.ARBGetSubscriptionStatusResponse' }] }; return { diff --git a/test/test-transactionreporting.js b/test/test-transactionreporting.js index ca269ea..da943fb 100644 --- a/test/test-transactionreporting.js +++ b/test/test-transactionreporting.js @@ -124,6 +124,52 @@ describe('Transaction Reporting', function() { }); }); }); + + describe('get Transaction List For Customer', function () { + var response; + + before(function(done){ + + var getRequest = new ApiContracts.GetTransactionListForCustomerRequest(); + getRequest.setMerchantAuthentication(testData.merchantAuthenticationType); + getRequest.setCustomerProfileId('1811474252'); + + //console.log(JSON.stringify(getRequest.getJSON(), null, 2)); + + var ctrl = new ApiControllers.GetTransactionListForCustomerController(getRequest.getJSON()); + + ctrl.execute(function(){ + + var apiResponse = ctrl.getResponse(); + + response = new ApiContracts.GetTransactionListResponse(apiResponse); + + //console.log(JSON.stringify(response, null, 2)); + done(); + }); + }); + + it('should return resultcode Ok when successful', function () { + + assert.equal(response.getMessages().getResultCode(), ApiContracts.MessageTypeEnum.OK); + }); + + it('should return not null transaction list when successful', function () { + + assert.isNotNull(response.getTransactions()); + assert.isDefined(response.getTransactions()); + }); + + it('should return not null transaction ids when successful', function () { + + var transactionArray = response.getTransactions().getTransaction(); + transactionArray.forEach(function(transaction) { + transactionId = transaction.getTransId(); + assert.isNotNull(transaction.getTransId()); + assert.isDefined(transaction.getTransId()); + }); + }); + }); describe('get Transaction Details', function () { var response; From 681f3817fe7a029a60b4b47ee2025ab73db596a9 Mon Sep 17 00:00:00 2001 From: Sunny Raj Rathod Date: Tue, 25 Apr 2017 10:41:12 +0530 Subject: [PATCH 04/58] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3beb59f..67e183c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "authorizenet", - "version": "1.0.2", + "version": "1.0.3", "description": "nodejs sdk for Authorize.Net", "main": "lib/authorizenet.js", "directories": { From b1d818ea42042f39b367fc0c87f5ed456b2b2b73 Mon Sep 17 00:00:00 2001 From: adavidw Date: Mon, 3 Jul 2017 15:13:44 -0600 Subject: [PATCH 05/58] standardize name of license file --- LICENSE => LICENSE.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename LICENSE => LICENSE.txt (100%) diff --git a/LICENSE b/LICENSE.txt similarity index 100% rename from LICENSE rename to LICENSE.txt From ed94e6efbcaeec1f13b47bc5edc725b47b59c366 Mon Sep 17 00:00:00 2001 From: Aaron Wright Date: Wed, 5 Jul 2017 12:24:51 -0600 Subject: [PATCH 06/58] Create .gitmodules --- .gitmodules | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..94822e3 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "sample-code-node"] + path = sample-code-node + url = https://github.com/AuthorizeNet/sample-code-node.git From 32b9d0c1e919ea39536a672670b38a9a966cad1c Mon Sep 17 00:00:00 2001 From: adavidw Date: Wed, 5 Jul 2017 12:30:51 -0600 Subject: [PATCH 07/58] add sample code repo as submodule --- .gitmodules | 3 +++ sample-code-node | 1 + 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 sample-code-node diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..94822e3 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "sample-code-node"] + path = sample-code-node + url = https://github.com/AuthorizeNet/sample-code-node.git diff --git a/sample-code-node b/sample-code-node new file mode 160000 index 0000000..ef9e5c2 --- /dev/null +++ b/sample-code-node @@ -0,0 +1 @@ +Subproject commit ef9e5c2d9e0379b5f47a0ebcb6847e711fe196ef From 3dec217fa41a83f216b50b0546773c3d792e1c8c Mon Sep 17 00:00:00 2001 From: adavidw Date: Wed, 5 Jul 2017 12:31:23 -0600 Subject: [PATCH 08/58] standardize readme format and info across repos --- README.md | 145 +++++++++++++++++++++--------------------------------- 1 file changed, 56 insertions(+), 89 deletions(-) diff --git a/README.md b/README.md index f236ac4..33309e7 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,16 @@ +# Authorize.Net Node.js SDK + [![Travis](https://img.shields.io/travis/AuthorizeNet/sdk-node/master.svg)](https://travis-ci.org/AuthorizeNet/sdk-node) [![NPM version](https://badge.fury.io/js/authorizenet.png)](http://badge.fury.io/js/authorizenet) -# Authorize.Net Node.js SDK +## Requirements -## Prerequisites +* Node.js version 4.1.2 or higher +* An Authorize.Net account (see _Registration & Configuration_ section below) -Node.js version 4.1.2 or higher +### TLS 1.2 +The Authorize.Net APIs only support connections using the TLS 1.2 security protocol. It's important to make sure you have new enough versions of all required components to support TLS 1.2. Additionally, it's very important to keep these components up to date going forward to mitigate the risk of any security flaws that may be discovered in your system or any libraries it uses. ## Installation @@ -17,104 +21,63 @@ To install AuthorizeNet ## Registration & Configuration -Get a sandbox account at https://developer.authorize.net/sandbox -Set your API credentials: +Use of this SDK and the Authorize.Net APIs requires having an account on our system. You can find these details in the Settings section. +If you don't currently have a production Authorize.Net account and need a sandbox account for testing, you can easily sign up for one [here](https://developer.authorize.net/sandbox/). + + +### Authentication + +To authenticate with the Authorize.Net API you will need to use your account's API Login ID and Transaction Key. If you don't have these values, you can obtain them from our Merchant Interface site. Access the Merchant Interface for production accounts at (https://account.authorize.net/) or sandbox accounts at (https://sandbox.authorize.net). + +Once you have your keys simply load them into the appropriate variables in your code, as per the below sample code dealing with the authentication part of the API request. + + +#### To set your API credentials for an API request: -````node +```javascript var merchantAuthenticationType = new ApiContracts.MerchantAuthenticationType(); merchantAuthenticationType.setName('YOUR_API_LOGIN_ID'); merchantAuthenticationType.setTransactionKey('YOUR_TRANSACTION_KEY'); -```` +``` -## Run AuthenticateTestRequest Sample +You should never include your Login ID and Transaction Key directly in a PHP file that's in a publically accessible portion of your website. A better practice would be to define these in a constants file, and then reference those constants in the appropriate place in your code. -`node sample/test.js` +### Switching between the sandbox environment and the production environment + +Authorize.Net maintains a complete sandbox environment for testing and development purposes. This sandbox environment is an exact duplicate of our production environment with the transaction authorization and settlement process simulated. By default, this SDK is configured to communicate with the sandbox environment. To switch to the production environment, call `setEnvironment` on the controller variable before execute. For example: +```javascript +// For PRODUCTION use +ctrl.setEnvironment(SDKConstants.endpoint.production); +``` +API credentials are different for each environment, so be sure to switch to the appropriate credentials when switching environments. -## Usage -See our sample code repository at https://github.com/AuthorizeNet/sample-code-node -For the simplest "Hello World" example, charging a credit card, paste this into a file called charge-credit-card.js and run: +## SDK Usage Examples and Sample Code +To get started using this SDK, it's highly recommended to download our sample code repository: +* [Authorize.Net Node.js Sample Code Repository (on GitHub)](https://github.com/AuthorizeNet/sample-code-node) + +In that respository, we have comprehensive sample code for all common uses of our API: + +Additionally, you can find details and examples of how our API is structured in our API Reference Guide: +* [Developer Center API Reference](http://developer.authorize.net/api/reference/index.html) + +The API Reference Guide provides examples of what information is needed for a particular request and how that information would be formatted. Using those examples, you can easily determine what methods would be necessary to include that information in a request using this SDK. + + + + + + + + +## Run AuthenticateTestRequest Sample + +`node sample/test.js` -````node -'use strict'; -var ApiContracts = require('authorizenet').APIContracts; -var ApiControllers = require('authorizenet').APIControllers; -var utils = require('../utils.js'); -var constants = require('../constants.js'); -function chargeCreditCard(callback) { - var merchantAuthenticationType = new ApiContracts.MerchantAuthenticationType(); - merchantAuthenticationType.setName(constants.apiLoginKey); - merchantAuthenticationType.setTransactionKey(constants.transactionKey); - - var creditCard = new ApiContracts.CreditCardType(); - creditCard.setCardNumber('4242424242424242'); - creditCard.setExpirationDate('0822'); - creditCard.setCardCode('999'); - - var paymentType = new ApiContracts.PaymentType(); - paymentType.setCreditCard(creditCard); - - var transactionRequestType = new ApiContracts.TransactionRequestType(); - transactionRequestType.setTransactionType(ApiContracts.TransactionTypeEnum.AUTHCAPTURETRANSACTION); - transactionRequestType.setPayment(paymentType); - transactionRequestType.setAmount(2.99); - - var createRequest = new ApiContracts.CreateTransactionRequest(); - createRequest.setMerchantAuthentication(merchantAuthenticationType); - createRequest.setTransactionRequest(transactionRequestType); - - //pretty print request - console.log(JSON.stringify(createRequest.getJSON(), null, 2)); - - var ctrl = new ApiControllers.CreateTransactionController(createRequest.getJSON()); - - ctrl.execute(function(){ - - var apiResponse = ctrl.getResponse(); - - var response = new ApiContracts.CreateTransactionResponse(apiResponse); - - //pretty print response - console.log(JSON.stringify(response, null, 2)); - - if(response != null){ - if(response.getMessages().getResultCode() == ApiContracts.MessageTypeEnum.OK && - response.getTransactionResponse().getResponseCode() == '1'){ - console.log('Transaction ID: ' + response.getTransactionResponse().getTransId()); - } - else{ - console.log('Result Code: ' + response.getMessages().getResultCode()); - console.log('Error Code: ' + response.getMessages().getMessage()[0].getCode()); - console.log('Error message: ' + response.getMessages().getMessage()[0].getText()); - } - } - else{ - console.log('Null Response.'); - } - - callback(response); - }); -} - -if (require.main === module) { - chargeCreditCard(function(){ - console.log('chargeCreditCard call complete.'); - }); -} - -module.exports.chargeCreditCard = chargeCreditCard; -```` - -### Setting Production or Sandbox Environments -To set the environment, call setEnvironment on controller variable before execute. Environment defaults to sandbox. -````node -// For PRODUCTION use -ctrl.setEnvironment(SDKConstants.endpoint.production); -```` ## Building and Testing Source Code @@ -122,7 +85,11 @@ ctrl.setEnvironment(SDKConstants.endpoint.production); `mocha` -## Run Particular Tests +### Run Particular Tests `mocha test/` + +## License + +This repository is destributed under a proprietary license. See the provided [`LICENSE.txt`](/license.txt) file. From 2f49924f962744693b41b6d0dd9c47df0dd25d7e Mon Sep 17 00:00:00 2001 From: adavidw Date: Wed, 5 Jul 2017 16:54:45 -0600 Subject: [PATCH 09/58] standardize readme format and info across repos --- README.md | 36 +++++++++--------------------------- 1 file changed, 9 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 33309e7..86ebf39 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,6 @@ ## Requirements - * Node.js version 4.1.2 or higher * An Authorize.Net account (see _Registration & Configuration_ section below) @@ -20,31 +19,27 @@ To install AuthorizeNet ## Registration & Configuration - Use of this SDK and the Authorize.Net APIs requires having an account on our system. You can find these details in the Settings section. If you don't currently have a production Authorize.Net account and need a sandbox account for testing, you can easily sign up for one [here](https://developer.authorize.net/sandbox/). - ### Authentication - To authenticate with the Authorize.Net API you will need to use your account's API Login ID and Transaction Key. If you don't have these values, you can obtain them from our Merchant Interface site. Access the Merchant Interface for production accounts at (https://account.authorize.net/) or sandbox accounts at (https://sandbox.authorize.net). Once you have your keys simply load them into the appropriate variables in your code, as per the below sample code dealing with the authentication part of the API request. - #### To set your API credentials for an API request: - ```javascript var merchantAuthenticationType = new ApiContracts.MerchantAuthenticationType(); merchantAuthenticationType.setName('YOUR_API_LOGIN_ID'); merchantAuthenticationType.setTransactionKey('YOUR_TRANSACTION_KEY'); ``` -You should never include your Login ID and Transaction Key directly in a PHP file that's in a publically accessible portion of your website. A better practice would be to define these in a constants file, and then reference those constants in the appropriate place in your code. +An authentication test sample is provided and can be run with the following command: +`node sample/test.js` +You should never include your Login ID and Transaction Key directly in a file that's in a publically accessible portion of your website. A better practice would be to define these in a constants file, and then reference those constants in the appropriate place in your code. ### Switching between the sandbox environment and the production environment - Authorize.Net maintains a complete sandbox environment for testing and development purposes. This sandbox environment is an exact duplicate of our production environment with the transaction authorization and settlement process simulated. By default, this SDK is configured to communicate with the sandbox environment. To switch to the production environment, call `setEnvironment` on the controller variable before execute. For example: ```javascript // For PRODUCTION use @@ -66,30 +61,17 @@ Additionally, you can find details and examples of how our API is structured in The API Reference Guide provides examples of what information is needed for a particular request and how that information would be formatted. Using those examples, you can easily determine what methods would be necessary to include that information in a request using this SDK. +## Building & Testing the SDK - - - - - -## Run AuthenticateTestRequest Sample - -`node sample/test.js` - - - - -## Building and Testing Source Code - -### Run All Tests - +### Running the SDK Tests `mocha` ### Run Particular Tests - `mocha test/` +### Testing Guide +For additional help in testing your own code, Authorize.Net maintains a [comprehensive testing guide](http://developer.authorize.net/hello_world/testing_guide/) that includes test credit card numbers to use and special triggers to generate certain responses from the sandbox environment. -## License -This repository is destributed under a proprietary license. See the provided [`LICENSE.txt`](/license.txt) file. +## License +This repository is distributed under a proprietary license. See the provided [`LICENSE.txt`](/license.txt) file. \ No newline at end of file From 5c7a9f0abcba24b1928400e147ac42c9988cf8d7 Mon Sep 17 00:00:00 2001 From: adavidw Date: Thu, 6 Jul 2017 13:15:48 -0600 Subject: [PATCH 10/58] minor text fixes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 86ebf39..40ac15c 100644 --- a/README.md +++ b/README.md @@ -74,4 +74,4 @@ For additional help in testing your own code, Authorize.Net maintains a [compreh ## License -This repository is distributed under a proprietary license. See the provided [`LICENSE.txt`](/license.txt) file. \ No newline at end of file +This repository is distributed under a proprietary license. See the provided [`LICENSE.txt`](/LICENSE.txt) file. \ No newline at end of file From 95a692c05003ccabe9dfbb3d6a21d294739bcc7d Mon Sep 17 00:00:00 2001 From: Aaron Wright Date: Sun, 15 Oct 2017 22:09:10 -0600 Subject: [PATCH 11/58] fixes for better Travis testing (#21) * update code for Travis badge * add command to update sample code; general cleanup * update account and routing numbers so tests will pass again * update version matrix to get latest and add version 8 * up supported version to latest release 4.x version --- .travis.yml | 23 +++++++++++++++++++---- README.md | 4 ++-- test/test-paymenttransactions.js | 8 ++++---- 3 files changed, 25 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1812c4b..bd71313 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,26 @@ language: node_js node_js: - - "4.1.2" - - "6.0.0" + - "4" + - "6" + - "8" + +before_install: + # execute all of the commands which need to be executed + # before installing dependencies install: - - npm install + # install all of the dependencies we need here + - npm install + +before_script: + # execute all of the commands which need to be executed + # before running actual tests + - git submodule update --remote --recursive script: - - mocha + # execute all of the tests or other commands to determine + # whether the build will pass or fail + - mocha + +after_script: \ No newline at end of file diff --git a/README.md b/README.md index 40ac15c..c79b16e 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # Authorize.Net Node.js SDK -[![Travis](https://img.shields.io/travis/AuthorizeNet/sdk-node/master.svg)](https://travis-ci.org/AuthorizeNet/sdk-node) +[![Travis CI Status](https://travis-ci.org/AuthorizeNet/sdk-node.svg?branch=master)](https://travis-ci.org/AuthorizeNet/sdk-node) [![NPM version](https://badge.fury.io/js/authorizenet.png)](http://badge.fury.io/js/authorizenet) ## Requirements -* Node.js version 4.1.2 or higher +* Node.js version 4.8.4 or higher * An Authorize.Net account (see _Registration & Configuration_ section below) ### TLS 1.2 diff --git a/test/test-paymenttransactions.js b/test/test-paymenttransactions.js index a4412b6..5bbb93d 100644 --- a/test/test-paymenttransactions.js +++ b/test/test-paymenttransactions.js @@ -380,8 +380,8 @@ describe('Payment Transactions', function() { var bankAccountType = new ApiContracts.BankAccountType(); bankAccountType.setAccountType(ApiContracts.BankAccountTypeEnum.CHECKING); - bankAccountType.setRoutingNumber('125000024'); - bankAccountType.setAccountNumber('12345678'); + bankAccountType.setRoutingNumber('121042882'); + bankAccountType.setAccountNumber('123456789'); bankAccountType.setNameOnAccount('John Doe'); paymentType.setBankAccount(bankAccountType); @@ -440,8 +440,8 @@ describe('Payment Transactions', function() { var bankAccountType = new ApiContracts.BankAccountType(); bankAccountType.setAccountType(ApiContracts.BankAccountTypeEnum.CHECKING); - bankAccountType.setRoutingNumber('125000024'); - bankAccountType.setAccountNumber('12345678'); + bankAccountType.setRoutingNumber('121042882'); + bankAccountType.setAccountNumber('123456789'); bankAccountType.setNameOnAccount('John Doe'); paymentType.setBankAccount(bankAccountType); From e96310f8f30a5ec521cd10861a366f6a529ab283 Mon Sep 17 00:00:00 2001 From: adavidw Date: Tue, 24 Oct 2017 00:37:46 -0600 Subject: [PATCH 12/58] add more detail to echeck debit test --- test/test-paymenttransactions.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test-paymenttransactions.js b/test/test-paymenttransactions.js index 5bbb93d..5d93af6 100644 --- a/test/test-paymenttransactions.js +++ b/test/test-paymenttransactions.js @@ -383,6 +383,8 @@ describe('Payment Transactions', function() { bankAccountType.setRoutingNumber('121042882'); bankAccountType.setAccountNumber('123456789'); bankAccountType.setNameOnAccount('John Doe'); + bankAccountType.setEcheckType('WEB'); + bankAccountType.setBankName('Wells Fargo Bank NA'); paymentType.setBankAccount(bankAccountType); var transactionRequestType = new ApiContracts.TransactionRequestType(); From b72aefe7592cd16e365de81c43d06db512b66460 Mon Sep 17 00:00:00 2001 From: bselvara Date: Tue, 31 Oct 2017 15:18:09 +0530 Subject: [PATCH 13/58] Adding new field includeIssuerInfo in the request of GetCustomerProfile and GetCustomerPaymentProfile APIs --- lib/apicontracts.js | 251 ++- lib/apicontrollers.js | 21 + mappings/Schema.js | 4337 +++++++++++++++++++++-------------------- 3 files changed, 2502 insertions(+), 2107 deletions(-) diff --git a/lib/apicontracts.js b/lib/apicontracts.js index a3c71db..1808738 100644 --- a/lib/apicontracts.js +++ b/lib/apicontracts.js @@ -97,6 +97,7 @@ class ARBSubscriptionMaskedType { if(('status' in obj) && (obj.status != null)) { this.setStatus(obj.status); } if(('profile' in obj) && (obj.profile != null)) { this.setProfile(new SubscriptionCustomerProfileType(obj.profile)); } if(('order' in obj) && (obj.order != null)) { this.setOrder(new OrderType(obj.order)); } + if(('arbTransactions' in obj) && (obj.arbTransactions != null)) { this.setArbTransactions(new ARBTransactionList(obj.arbTransactions)); } } else { this.setName(null); @@ -106,6 +107,7 @@ class ARBSubscriptionMaskedType { this.setStatus(null); this.setProfile(null); this.setOrder(null); + this.setArbTransactions(null); } logger.debug('Exit ARBSubscriptionMaskedType constructor'); } @@ -124,6 +126,8 @@ class ARBSubscriptionMaskedType { getProfile() { if('profile' in this) {return this.profile;} } setOrder(p_order) { this.order = p_order; } getOrder() { if('order' in this) {return this.order;} } + setArbTransactions(p_arbTransactions) { this.arbTransactions = p_arbTransactions; } + getArbTransactions() { if('arbTransactions' in this) {return this.arbTransactions;} } } module.exports.ARBSubscriptionMaskedType = ARBSubscriptionMaskedType; @@ -182,6 +186,62 @@ class ARBSubscriptionType { module.exports.ARBSubscriptionType = ARBSubscriptionType; +class ARBTransactionList { + constructor(obj) { + logger.debug('Enter ARBTransactionList constructor'); + if(arguments.length == 1) { + if((obj != undefined) && (obj != null)) { + var arbTransactionList = []; + obj.forEach(function(item) {arbTransactionList.push(new ArbTransaction(item));}); + this.setArbTransaction(arbTransactionList); + } + } + else { + this.setArbTransaction(null); + } + logger.debug('Exit ARBTransactionList constructor'); + } + + setArbTransaction(p_arbTransaction) { this.arbTransaction = p_arbTransaction; } + getArbTransaction() { if('arbTransaction' in this) {return this.arbTransaction;} } +} + +module.exports.ARBTransactionList = ARBTransactionList; + +class ArbTransaction { + constructor(obj) { + logger.debug('Enter ArbTransaction constructor'); + if(arguments.length == 1) { + if(('transId' in obj) && (obj.transId != null)) { this.setTransId(obj.transId); } + if(('response' in obj) && (obj.response != null)) { this.setResponse(obj.response); } + if(('submitTimeUTC' in obj) && (obj.submitTimeUTC != null)) { this.setSubmitTimeUTC(obj.submitTimeUTC); } + if(('payNum' in obj) && (obj.payNum != null)) { this.setPayNum(obj.payNum); } + if(('attemptNum' in obj) && (obj.attemptNum != null)) { this.setAttemptNum(obj.attemptNum); } + } + else { + this.setTransId(null); + this.setResponse(null); + this.setSubmitTimeUTC(null); + this.setPayNum(null); + this.setAttemptNum(null); + } + logger.debug('Exit ArbTransaction constructor'); + } + + setTransId(p_transId) { this.transId = p_transId; } + getTransId() { if('transId' in this) {return this.transId;} } + setResponse(p_response) { this.response = p_response; } + getResponse() { if('response' in this) {return this.response;} } + setSubmitTimeUTC(p_submitTimeUTC) { this.submitTimeUTC = p_submitTimeUTC; } + getSubmitTimeUTC() { if('submitTimeUTC' in this) {return this.submitTimeUTC;} } + setPayNum(p_payNum) { this.payNum = p_payNum; } + getPayNum() { if('payNum' in this) {return this.payNum;} } + setAttemptNum(p_attemptNum) { this.attemptNum = p_attemptNum; } + getAttemptNum() { if('attemptNum' in this) {return this.attemptNum;} } +} + +module.exports.ArbTransaction = ArbTransaction; + class ArrayOfAUResponseType { constructor(obj) { logger.debug('Enter ArrayOfAUResponseType constructor'); @@ -248,6 +308,28 @@ class ArrayOfBatchStatisticType { module.exports.ArrayOfBatchStatisticType = ArrayOfBatchStatisticType; +class ArrayOfCardType { + constructor(obj) { + logger.debug('Enter ArrayOfCardType constructor'); + if(arguments.length == 1) { + if((obj != undefined) && (obj != null)) { + var cardTypeList = []; + obj.forEach(function(item) {cardTypeList.push(new String(item));}); + this.setCardType(cardTypeList); + } + } + else { + this.setCardType(null); + } + logger.debug('Exit ArrayOfCardType constructor'); + } + + setCardType(p_cardType) { this.cardType = p_cardType; } + getCardType() { if('cardType' in this) {return this.cardType;} } +} + +module.exports.ArrayOfCardType = ArrayOfCardType; + class ArrayOfCurrencyCode { constructor(obj) { logger.debug('Enter ArrayOfCurrencyCode constructor'); @@ -1008,12 +1090,14 @@ class CreditCardMaskedType { if(('expirationDate' in obj) && (obj.expirationDate != null)) { this.setExpirationDate(obj.expirationDate); } if(('cardType' in obj) && (obj.cardType != null)) { this.setCardType(obj.cardType); } if(('cardArt' in obj) && (obj.cardArt != null)) { this.setCardArt(new CardArt(obj.cardArt)); } + if(('issuerNumber' in obj) && (obj.issuerNumber != null)) { this.setIssuerNumber(obj.issuerNumber); } } else { this.setCardNumber(null); this.setExpirationDate(null); this.setCardType(null); this.setCardArt(null); + this.setIssuerNumber(null); } logger.debug('Exit CreditCardMaskedType constructor'); } @@ -1026,6 +1110,8 @@ class CreditCardMaskedType { getCardType() { if('cardType' in this) {return this.cardType;} } setCardArt(p_cardArt) { this.cardArt = p_cardArt; } getCardArt() { if('cardArt' in this) {return this.cardArt;} } + setIssuerNumber(p_issuerNumber) { this.issuerNumber = p_issuerNumber; } + getIssuerNumber() { if('issuerNumber' in this) {return this.issuerNumber;} } } module.exports.CreditCardMaskedType = CreditCardMaskedType; @@ -1801,6 +1887,7 @@ class MerchantAuthenticationType { if(('impersonationAuthentication' in obj) && (obj.impersonationAuthentication != null)) { this.setImpersonationAuthentication(new ImpersonationAuthenticationType(obj.impersonationAuthentication)); } if(('fingerPrint' in obj) && (obj.fingerPrint != null)) { this.setFingerPrint(new FingerPrintType(obj.fingerPrint)); } if(('clientKey' in obj) && (obj.clientKey != null)) { this.setClientKey(obj.clientKey); } + if(('accessToken' in obj) && (obj.accessToken != null)) { this.setAccessToken(obj.accessToken); } if(('mobileDeviceId' in obj) && (obj.mobileDeviceId != null)) { this.setMobileDeviceId(obj.mobileDeviceId); } } else { @@ -1811,6 +1898,7 @@ class MerchantAuthenticationType { this.setImpersonationAuthentication(null); this.setFingerPrint(null); this.setClientKey(null); + this.setAccessToken(null); this.setMobileDeviceId(null); } logger.debug('Exit MerchantAuthenticationType constructor'); @@ -1830,6 +1918,8 @@ class MerchantAuthenticationType { getFingerPrint() { if('fingerPrint' in this) {return this.fingerPrint;} } setClientKey(p_clientKey) { this.clientKey = p_clientKey; } getClientKey() { if('clientKey' in this) {return this.clientKey;} } + setAccessToken(p_accessToken) { this.accessToken = p_accessToken; } + getAccessToken() { if('accessToken' in this) {return this.accessToken;} } setMobileDeviceId(p_mobileDeviceId) { this.mobileDeviceId = p_mobileDeviceId; } getMobileDeviceId() { if('mobileDeviceId' in this) {return this.mobileDeviceId;} } } @@ -2333,15 +2423,23 @@ class ProcessorType { logger.debug('Enter ProcessorType constructor'); if(arguments.length == 1) { if(('name' in obj) && (obj.name != null)) { this.setName(obj.name); } + if(('id' in obj) && (obj.id != null)) { this.setId(obj.id); } + if(('cardTypes' in obj) && (obj.cardTypes != null)) { this.setCardTypes(new ArrayOfCardType(obj.cardTypes)); } } else { this.setName(null); + this.setId(null); + this.setCardTypes(null); } logger.debug('Exit ProcessorType constructor'); } setName(p_name) { this.name = p_name; } getName() { if('name' in this) {return this.name;} } + setId(p_id) { this.id = p_id; } + getId() { if('id' in this) {return this.id;} } + setCardTypes(p_cardTypes) { this.cardTypes = p_cardTypes; } + getCardTypes() { if('cardTypes' in this) {return this.cardTypes;} } } module.exports.ProcessorType = ProcessorType; @@ -2556,6 +2654,64 @@ class SolutionType { module.exports.SolutionType = SolutionType; +class SubMerchantType { + constructor(obj) { + logger.debug('Enter SubMerchantType constructor'); + if(arguments.length == 1) { + if(('identifier' in obj) && (obj.identifier != null)) { this.setIdentifier(obj.identifier); } + if(('doingBusinessAs' in obj) && (obj.doingBusinessAs != null)) { this.setDoingBusinessAs(obj.doingBusinessAs); } + if(('paymentServiceProviderName' in obj) && (obj.paymentServiceProviderName != null)) { this.setPaymentServiceProviderName(obj.paymentServiceProviderName); } + if(('paymentServiceFacilitator' in obj) && (obj.paymentServiceFacilitator != null)) { this.setPaymentServiceFacilitator(obj.paymentServiceFacilitator); } + if(('streetAddress' in obj) && (obj.streetAddress != null)) { this.setStreetAddress(obj.streetAddress); } + if(('phone' in obj) && (obj.phone != null)) { this.setPhone(obj.phone); } + if(('email' in obj) && (obj.email != null)) { this.setEmail(obj.email); } + if(('postalCode' in obj) && (obj.postalCode != null)) { this.setPostalCode(obj.postalCode); } + if(('city' in obj) && (obj.city != null)) { this.setCity(obj.city); } + if(('regionCode' in obj) && (obj.regionCode != null)) { this.setRegionCode(obj.regionCode); } + if(('countryCode' in obj) && (obj.countryCode != null)) { this.setCountryCode(obj.countryCode); } + } + else { + this.setIdentifier(null); + this.setDoingBusinessAs(null); + this.setPaymentServiceProviderName(null); + this.setPaymentServiceFacilitator(null); + this.setStreetAddress(null); + this.setPhone(null); + this.setEmail(null); + this.setPostalCode(null); + this.setCity(null); + this.setRegionCode(null); + this.setCountryCode(null); + } + logger.debug('Exit SubMerchantType constructor'); + } + + setIdentifier(p_identifier) { this.identifier = p_identifier; } + getIdentifier() { if('identifier' in this) {return this.identifier;} } + setDoingBusinessAs(p_doingBusinessAs) { this.doingBusinessAs = p_doingBusinessAs; } + getDoingBusinessAs() { if('doingBusinessAs' in this) {return this.doingBusinessAs;} } + setPaymentServiceProviderName(p_paymentServiceProviderName) { this.paymentServiceProviderName = p_paymentServiceProviderName; } + getPaymentServiceProviderName() { if('paymentServiceProviderName' in this) {return this.paymentServiceProviderName;} } + setPaymentServiceFacilitator(p_paymentServiceFacilitator) { this.paymentServiceFacilitator = p_paymentServiceFacilitator; } + getPaymentServiceFacilitator() { if('paymentServiceFacilitator' in this) {return this.paymentServiceFacilitator;} } + setStreetAddress(p_streetAddress) { this.streetAddress = p_streetAddress; } + getStreetAddress() { if('streetAddress' in this) {return this.streetAddress;} } + setPhone(p_phone) { this.phone = p_phone; } + getPhone() { if('phone' in this) {return this.phone;} } + setEmail(p_email) { this.email = p_email; } + getEmail() { if('email' in this) {return this.email;} } + setPostalCode(p_postalCode) { this.postalCode = p_postalCode; } + getPostalCode() { if('postalCode' in this) {return this.postalCode;} } + setCity(p_city) { this.city = p_city; } + getCity() { if('city' in this) {return this.city;} } + setRegionCode(p_regionCode) { this.regionCode = p_regionCode; } + getRegionCode() { if('regionCode' in this) {return this.regionCode;} } + setCountryCode(p_countryCode) { this.countryCode = p_countryCode; } + getCountryCode() { if('countryCode' in this) {return this.countryCode;} } +} + +module.exports.SubMerchantType = SubMerchantType; + class SubscriptionDetail { constructor(obj) { logger.debug('Enter SubscriptionDetail constructor'); @@ -2711,11 +2867,13 @@ class TransRetailInfoType { if(('marketType' in obj) && (obj.marketType != null)) { this.setMarketType(obj.marketType); } if(('deviceType' in obj) && (obj.deviceType != null)) { this.setDeviceType(obj.deviceType); } if(('customerSignature' in obj) && (obj.customerSignature != null)) { this.setCustomerSignature(obj.customerSignature); } + if(('terminalNumber' in obj) && (obj.terminalNumber != null)) { this.setTerminalNumber(obj.terminalNumber); } } else { this.setMarketType(null); this.setDeviceType(null); this.setCustomerSignature(null); + this.setTerminalNumber(null); } logger.debug('Exit TransRetailInfoType constructor'); } @@ -2726,6 +2884,8 @@ class TransRetailInfoType { getDeviceType() { if('deviceType' in this) {return this.deviceType;} } setCustomerSignature(p_customerSignature) { this.customerSignature = p_customerSignature; } getCustomerSignature() { if('customerSignature' in this) {return this.customerSignature;} } + setTerminalNumber(p_terminalNumber) { this.terminalNumber = p_terminalNumber; } + getTerminalNumber() { if('terminalNumber' in this) {return this.terminalNumber;} } } module.exports.TransRetailInfoType = TransRetailInfoType; @@ -2777,6 +2937,9 @@ class TransactionDetailsType { if(('solution' in obj) && (obj.solution != null)) { this.setSolution(new SolutionType(obj.solution)); } if(('emvDetails' in obj) && (obj.emvDetails != null)) { this.setEmvDetails(new TransactionDetailsType.EmvDetails(obj.emvDetails)); } if(('profile' in obj) && (obj.profile != null)) { this.setProfile(new CustomerProfileIdType(obj.profile)); } + if(('surcharge' in obj) && (obj.surcharge != null)) { this.setSurcharge(new ExtendedAmountType(obj.surcharge)); } + if(('employeeId' in obj) && (obj.employeeId != null)) { this.setEmployeeId(obj.employeeId); } + if(('tip' in obj) && (obj.tip != null)) { this.setTip(new ExtendedAmountType(obj.tip)); } } else { this.setTransId(null); @@ -2822,6 +2985,9 @@ class TransactionDetailsType { this.setSolution(null); this.setEmvDetails(null); this.setProfile(null); + this.setSurcharge(null); + this.setEmployeeId(null); + this.setTip(null); } logger.debug('Exit TransactionDetailsType constructor'); } @@ -2912,6 +3078,12 @@ class TransactionDetailsType { getEmvDetails() { if('emvDetails' in this) {return this.emvDetails;} } setProfile(p_profile) { this.profile = p_profile; } getProfile() { if('profile' in this) {return this.profile;} } + setSurcharge(p_surcharge) { this.surcharge = p_surcharge; } + getSurcharge() { if('surcharge' in this) {return this.surcharge;} } + setEmployeeId(p_employeeId) { this.employeeId = p_employeeId; } + getEmployeeId() { if('employeeId' in this) {return this.employeeId;} } + setTip(p_tip) { this.tip = p_tip; } + getTip() { if('tip' in this) {return this.tip;} } } module.exports.TransactionDetailsType = TransactionDetailsType; @@ -2969,6 +3141,10 @@ class TransactionRequestType { if(('employeeId' in obj) && (obj.employeeId != null)) { this.setEmployeeId(obj.employeeId); } if(('transactionSettings' in obj) && (obj.transactionSettings != null)) { this.setTransactionSettings(new ArrayOfSetting(obj.transactionSettings)); } if(('userFields' in obj) && (obj.userFields != null)) { this.setUserFields(new TransactionRequestType.UserFields(obj.userFields)); } + if(('surcharge' in obj) && (obj.surcharge != null)) { this.setSurcharge(new ExtendedAmountType(obj.surcharge)); } + if(('merchantDescriptor' in obj) && (obj.merchantDescriptor != null)) { this.setMerchantDescriptor(obj.merchantDescriptor); } + if(('subMerchant' in obj) && (obj.subMerchant != null)) { this.setSubMerchant(new SubMerchantType(obj.subMerchant)); } + if(('tip' in obj) && (obj.tip != null)) { this.setTip(new ExtendedAmountType(obj.tip)); } } else { this.setTransactionType(null); @@ -2998,6 +3174,10 @@ class TransactionRequestType { this.setEmployeeId(null); this.setTransactionSettings(null); this.setUserFields(null); + this.setSurcharge(null); + this.setMerchantDescriptor(null); + this.setSubMerchant(null); + this.setTip(null); } logger.debug('Exit TransactionRequestType constructor'); } @@ -3056,6 +3236,14 @@ class TransactionRequestType { getTransactionSettings() { if('transactionSettings' in this) {return this.transactionSettings;} } setUserFields(p_userFields) { this.userFields = p_userFields; } getUserFields() { if('userFields' in this) {return this.userFields;} } + setSurcharge(p_surcharge) { this.surcharge = p_surcharge; } + getSurcharge() { if('surcharge' in this) {return this.surcharge;} } + setMerchantDescriptor(p_merchantDescriptor) { this.merchantDescriptor = p_merchantDescriptor; } + getMerchantDescriptor() { if('merchantDescriptor' in this) {return this.merchantDescriptor;} } + setSubMerchant(p_subMerchant) { this.subMerchant = p_subMerchant; } + getSubMerchant() { if('subMerchant' in this) {return this.subMerchant;} } + setTip(p_tip) { this.tip = p_tip; } + getTip() { if('tip' in this) {return this.tip;} } } module.exports.TransactionRequestType = TransactionRequestType; @@ -3995,16 +4183,20 @@ class ARBGetSubscriptionRequest extends ANetApiRequest { if(arguments.length == 1) { super(obj); if(('subscriptionId' in obj) && (obj.subscriptionId != null)) { this.setSubscriptionId(obj.subscriptionId); } + if(('includeTransactions' in obj) && (obj.includeTransactions != null)) { this.setIncludeTransactions(obj.includeTransactions); } } else { super(); this.setSubscriptionId(null); + this.setIncludeTransactions(null); } logger.debug('Exit ARBGetSubscriptionRequest constructor'); } setSubscriptionId(p_subscriptionId) { this.subscriptionId = p_subscriptionId; } getSubscriptionId() { if('subscriptionId' in this) {return this.subscriptionId;} } + setIncludeTransactions(p_includeTransactions) { this.includeTransactions = p_includeTransactions; } + getIncludeTransactions() { if('includeTransactions' in this) {return this.includeTransactions;} } } module.exports.ARBGetSubscriptionRequest = ARBGetSubscriptionRequest; @@ -5288,12 +5480,14 @@ class GetCustomerPaymentProfileRequest extends ANetApiRequest { if(('customerProfileId' in obj) && (obj.customerProfileId != null)) { this.setCustomerProfileId(obj.customerProfileId); } if(('customerPaymentProfileId' in obj) && (obj.customerPaymentProfileId != null)) { this.setCustomerPaymentProfileId(obj.customerPaymentProfileId); } if(('unmaskExpirationDate' in obj) && (obj.unmaskExpirationDate != null)) { this.setUnmaskExpirationDate(obj.unmaskExpirationDate); } + if(('includeIssuerInfo' in obj) && (obj.includeIssuerInfo != null)) { this.setIncludeIssuerInfo(obj.includeIssuerInfo); } } else { super(); this.setCustomerProfileId(null); this.setCustomerPaymentProfileId(null); this.setUnmaskExpirationDate(null); + this.setIncludeIssuerInfo(null); } logger.debug('Exit GetCustomerPaymentProfileRequest constructor'); } @@ -5304,6 +5498,8 @@ class GetCustomerPaymentProfileRequest extends ANetApiRequest { getCustomerPaymentProfileId() { if('customerPaymentProfileId' in this) {return this.customerPaymentProfileId;} } setUnmaskExpirationDate(p_unmaskExpirationDate) { this.unmaskExpirationDate = p_unmaskExpirationDate; } getUnmaskExpirationDate() { if('unmaskExpirationDate' in this) {return this.unmaskExpirationDate;} } + setIncludeIssuerInfo(p_includeIssuerInfo) { this.includeIssuerInfo = p_includeIssuerInfo; } + getIncludeIssuerInfo() { if('includeIssuerInfo' in this) {return this.includeIssuerInfo;} } } module.exports.GetCustomerPaymentProfileRequest = GetCustomerPaymentProfileRequest; @@ -5396,6 +5592,7 @@ class GetCustomerProfileRequest extends ANetApiRequest { if(('merchantCustomerId' in obj) && (obj.merchantCustomerId != null)) { this.setMerchantCustomerId(obj.merchantCustomerId); } if(('email' in obj) && (obj.email != null)) { this.setEmail(obj.email); } if(('unmaskExpirationDate' in obj) && (obj.unmaskExpirationDate != null)) { this.setUnmaskExpirationDate(obj.unmaskExpirationDate); } + if(('includeIssuerInfo' in obj) && (obj.includeIssuerInfo != null)) { this.setIncludeIssuerInfo(obj.includeIssuerInfo); } } else { super(); @@ -5403,6 +5600,7 @@ class GetCustomerProfileRequest extends ANetApiRequest { this.setMerchantCustomerId(null); this.setEmail(null); this.setUnmaskExpirationDate(null); + this.setIncludeIssuerInfo(null); } logger.debug('Exit GetCustomerProfileRequest constructor'); } @@ -5415,6 +5613,8 @@ class GetCustomerProfileRequest extends ANetApiRequest { getEmail() { if('email' in this) {return this.email;} } setUnmaskExpirationDate(p_unmaskExpirationDate) { this.unmaskExpirationDate = p_unmaskExpirationDate; } getUnmaskExpirationDate() { if('unmaskExpirationDate' in this) {return this.unmaskExpirationDate;} } + setIncludeIssuerInfo(p_includeIssuerInfo) { this.includeIssuerInfo = p_includeIssuerInfo; } + getIncludeIssuerInfo() { if('includeIssuerInfo' in this) {return this.includeIssuerInfo;} } } module.exports.GetCustomerProfileRequest = GetCustomerProfileRequest; @@ -5675,6 +5875,7 @@ class GetMerchantDetailsResponse extends ANetApiResponse { if(('productCodes' in obj) && (obj.productCodes != null)) { this.setProductCodes(new ArrayOfProductCode(obj.productCodes)); } if(('paymentMethods' in obj) && (obj.paymentMethods != null)) { this.setPaymentMethods(new ArrayOfPaymentMethod(obj.paymentMethods)); } if(('currencies' in obj) && (obj.currencies != null)) { this.setCurrencies(new ArrayOfCurrencyCode(obj.currencies)); } + if(('publicClientKey' in obj) && (obj.publicClientKey != null)) { this.setPublicClientKey(obj.publicClientKey); } } else { super(); @@ -5686,6 +5887,7 @@ class GetMerchantDetailsResponse extends ANetApiResponse { this.setProductCodes(null); this.setPaymentMethods(null); this.setCurrencies(null); + this.setPublicClientKey(null); } logger.debug('Exit GetMerchantDetailsResponse constructor'); } @@ -5706,6 +5908,8 @@ class GetMerchantDetailsResponse extends ANetApiResponse { getPaymentMethods() { if('paymentMethods' in this) {return this.paymentMethods;} } setCurrencies(p_currencies) { this.currencies = p_currencies; } getCurrencies() { if('currencies' in this) {return this.currencies;} } + setPublicClientKey(p_publicClientKey) { this.publicClientKey = p_publicClientKey; } + getPublicClientKey() { if('publicClientKey' in this) {return this.publicClientKey;} } } module.exports.GetMerchantDetailsResponse = GetMerchantDetailsResponse; @@ -6622,6 +6826,49 @@ class UpdateHeldTransactionResponse extends ANetApiResponse { module.exports.UpdateHeldTransactionResponse = UpdateHeldTransactionResponse; +class UpdateMerchantDetailsRequest extends ANetApiRequest { + getJSON() { + logger.debug('Enter UpdateMerchantDetailsRequest getJSON'); + utils.delete_null_properties(this, true); + var obj = { 'updateMerchantDetailsRequest' : this }; + logger.debug('Exit UpdateMerchantDetailsRequest getJSON'); + return obj; + } + + constructor(obj) { + logger.debug('Enter UpdateMerchantDetailsRequest constructor'); + if(arguments.length == 1) { + super(obj); + if(('isTestMode' in obj) && (obj.isTestMode != null)) { this.setIsTestMode(obj.isTestMode); } + } + else { + super(); + this.setIsTestMode(null); + } + logger.debug('Exit UpdateMerchantDetailsRequest constructor'); + } + + setIsTestMode(p_isTestMode) { this.isTestMode = p_isTestMode; } + getIsTestMode() { if('isTestMode' in this) {return this.isTestMode;} } +} + +module.exports.UpdateMerchantDetailsRequest = UpdateMerchantDetailsRequest; + +class UpdateMerchantDetailsResponse extends ANetApiResponse { + getJSON() { + logger.debug('Enter UpdateMerchantDetailsResponse getJSON'); + utils.delete_null_properties(this, true); + var obj = { 'updateMerchantDetailsResponse' : this }; + logger.debug('Exit UpdateMerchantDetailsResponse getJSON'); + return obj; + } + + constructor(obj) { if(arguments.length == 1) {super(obj);} else {super();} } + +} + +module.exports.UpdateMerchantDetailsResponse = UpdateMerchantDetailsResponse; + class UpdateSplitTenderGroupRequest extends ANetApiRequest { getJSON() { logger.debug('Enter UpdateSplitTenderGroupRequest getJSON'); @@ -7073,7 +7320,9 @@ const SettingNameEnum = { HOSTEDPAYMENTSHIPPINGADDRESSOPTIONS : 'hostedPaymentShippingAddressOptions', HOSTEDPAYMENTSECURITYOPTIONS : 'hostedPaymentSecurityOptions', HOSTEDPAYMENTCUSTOMEROPTIONS : 'hostedPaymentCustomerOptions', - HOSTEDPAYMENTSTYLEOPTIONS : 'hostedPaymentStyleOptions' + HOSTEDPAYMENTSTYLEOPTIONS : 'hostedPaymentStyleOptions', + TYPEEMAILRECEIPT : 'typeEmailReceipt', + HOSTEDPROFILEPAYMENTOPTIONS : 'hostedProfilePaymentOptions' }; module.exports.SettingNameEnum = SettingNameEnum; diff --git a/lib/apicontrollers.js b/lib/apicontrollers.js index 6972025..ba8d295 100644 --- a/lib/apicontrollers.js +++ b/lib/apicontrollers.js @@ -927,6 +927,27 @@ class UpdateHeldTransactionController extends APIOperationBase { module.exports.UpdateHeldTransactionController = UpdateHeldTransactionController; +class UpdateMerchantDetailsController extends APIOperationBase { + constructor(apiRequest) { + logger.debug('Enter UpdateMerchantDetailsController constructor'); + super(apiRequest); + logger.debug('Exit UpdateMerchantDetailsController constructor'); + } + + validateRequest(){ + logger.debug('Enter validateRequest'); + + logger.debug('Exit validateRequest'); + return; + } + + getRequestType(){ + return 'UpdateMerchantDetailsRequest'; + } +} + +module.exports.UpdateMerchantDetailsController = UpdateMerchantDetailsController; + class UpdateSplitTenderGroupController extends APIOperationBase { constructor(apiRequest) { logger.debug('Enter UpdateSplitTenderGroupController constructor'); diff --git a/mappings/Schema.js b/mappings/Schema.js index 23028f7..571411c 100644 --- a/mappings/Schema.js +++ b/mappings/Schema.js @@ -3,118 +3,50 @@ var Schema_Module_Factory = function () { name: 'Schema', defaultElementNamespaceURI: 'AnetApi\/xml\/v1\/schema\/AnetApiSchema.xsd', typeInfos: [{ - localName: 'DriversLicenseType', - typeName: 'driversLicenseType', - propertyInfos: [{ - name: 'number', - required: true - }, { - name: 'state', - required: true - }, { - name: 'dateOfBirth', - required: true - }] - }, { - localName: 'CustomerPaymentProfileBaseType', - typeName: 'customerPaymentProfileBaseType', - propertyInfos: [{ - name: 'customerType' - }, { - name: 'billTo', - typeInfo: '.CustomerAddressType' - }] - }, { - localName: 'MessagesType.Message', - typeName: null, - propertyInfos: [{ - name: 'code', - required: true - }, { - name: 'text', - required: true - }] - }, { - localName: 'DriversLicenseMaskedType', - typeName: 'driversLicenseMaskedType', - propertyInfos: [{ - name: 'number', - required: true - }, { - name: 'state', - required: true - }, { - name: 'dateOfBirth', - required: true - }] - }, { - localName: 'ArrayOfCustomerPaymentProfileListItemType', - typeName: 'arrayOfCustomerPaymentProfileListItemType', - propertyInfos: [{ - name: 'paymentProfile', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerPaymentProfileListItemType' - }] - }, { - localName: 'DeleteCustomerShippingAddressRequest', + localName: 'DeleteCustomerPaymentProfileRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ name: 'customerProfileId', required: true }, { - name: 'customerAddressId', + name: 'customerPaymentProfileId', required: true }] }, { - localName: 'SecurePaymentContainerErrorType', - typeName: 'securePaymentContainerErrorType', + localName: 'ExtendedAmountType', + typeName: 'extendedAmountType', propertyInfos: [{ - name: 'code', - required: true + name: 'amount', + required: true, + typeInfo: 'Decimal' }, { - name: 'description', - required: true + name: 'name' + }, { + name: 'description' }] }, { - localName: 'PaymentType', - typeName: 'paymentType', + localName: 'KeyManagementScheme.DUKPT', + typeName: null, propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardType' - }, { - name: 'bankAccount', - required: true, - typeInfo: '.BankAccountType' - }, { - name: 'trackData', - required: true, - typeInfo: '.CreditCardTrackType' - }, { - name: 'encryptedTrackData', + name: 'operation', required: true, - typeInfo: '.EncryptedTrackDataType' + elementName: 'Operation' }, { - name: 'payPal', + name: 'mode', required: true, - typeInfo: '.PayPalType' + elementName: 'Mode', + typeInfo: '.KeyManagementScheme.DUKPT.Mode' }, { - name: 'opaqueData', + name: 'deviceInfo', required: true, - typeInfo: '.OpaqueDataType' + elementName: 'DeviceInfo', + typeInfo: '.KeyManagementScheme.DUKPT.DeviceInfo' }, { - name: 'emv', + name: 'encryptedData', required: true, - typeInfo: '.PaymentEmvType' - }] - }, { - localName: 'ARBGetSubscriptionStatusResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'status' + elementName: 'EncryptedData', + typeInfo: '.KeyManagementScheme.DUKPT.EncryptedData' }] }, { localName: 'ProfileTransRefundType', @@ -139,45 +71,20 @@ var Schema_Module_Factory = function () { name: 'transId' }] }, { - localName: 'TransactionResponse.Errors.Error', - typeName: null, - propertyInfos: [{ - name: 'errorCode' - }, { - name: 'errorText' - }] - }, { - localName: 'CreateCustomerProfileTransactionResponse', + localName: 'GetCustomerProfileIdsResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'transactionResponse', - typeInfo: '.TransactionResponse' - }, { - name: 'directResponse' - }] - }, { - localName: 'PaymentProfile', - typeName: 'paymentProfile', - propertyInfos: [{ - name: 'paymentProfileId', - required: true - }, { - name: 'cardCode' + name: 'ids', + required: true, + typeInfo: '.ArrayOfNumericString' }] }, { - localName: 'GetCustomerShippingAddressResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'SubscriptionIdList', propertyInfos: [{ - name: 'defaultShippingAddress', - typeInfo: 'Boolean' - }, { - name: 'address', - typeInfo: '.CustomerAddressExType' - }, { - name: 'subscriptionIds', - typeInfo: '.SubscriptionIdList' + name: 'subscriptionId', + minOccurs: 0, + collection: true }] }, { localName: 'SubscriptionCustomerProfileType', @@ -191,14 +98,39 @@ var Schema_Module_Factory = function () { typeInfo: '.CustomerAddressExType' }] }, { - localName: 'TransactionResponse.UserFields', - typeName: null, + localName: 'CustomerProfileIdType', + typeName: 'customerProfileIdType', propertyInfos: [{ - name: 'userField', - minOccurs: 0, - maxOccurs: 20, - collection: true, - typeInfo: '.UserField' + name: 'customerProfileId', + required: true + }, { + name: 'customerPaymentProfileId' + }, { + name: 'customerAddressId' + }] + }, { + localName: 'CustomerPaymentProfileMaskedType', + typeName: 'customerPaymentProfileMaskedType', + baseTypeInfo: '.CustomerPaymentProfileBaseType', + propertyInfos: [{ + name: 'customerProfileId' + }, { + name: 'customerPaymentProfileId', + required: true + }, { + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' + }, { + name: 'payment', + typeInfo: '.PaymentMaskedType' + }, { + name: 'driversLicense', + typeInfo: '.DriversLicenseMaskedType' + }, { + name: 'taxId' + }, { + name: 'subscriptionIds', + typeInfo: '.SubscriptionIdList' }] }, { localName: 'TransactionResponse.EmvResponse.Tags', @@ -210,1096 +142,878 @@ var Schema_Module_Factory = function () { typeInfo: '.EmvTag' }] }, { - localName: 'KeyValue', - propertyInfos: [{ - name: 'encoding', - required: true, - elementName: 'Encoding' - }, { - name: 'encryptionAlgorithm', - required: true, - elementName: 'EncryptionAlgorithm' - }, { - name: 'scheme', - required: true, - elementName: 'Scheme', - typeInfo: '.KeyManagementScheme' - }] - }, { - localName: 'CustomerPaymentProfileSorting', + localName: 'FDSFilterType', propertyInfos: [{ - name: 'orderBy', + name: 'name', required: true }, { - name: 'orderDescending', - required: true, - typeInfo: 'Boolean' - }] - }, { - localName: 'EncryptedTrackDataType', - typeName: 'encryptedTrackDataType', - propertyInfos: [{ - name: 'formOfPayment', - required: true, - elementName: 'FormOfPayment', - typeInfo: '.KeyBlock' + name: 'action', + required: true }] }, { - localName: 'ProfileTransCaptureOnlyType', - typeName: 'profileTransCaptureOnlyType', - baseTypeInfo: '.ProfileTransOrderType', + localName: 'UpdateCustomerPaymentProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'approvalCode', - required: true + name: 'validationDirectResponse' }] }, { - localName: 'ARBGetSubscriptionListRequest', + localName: 'GetAUJobDetailsRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'searchType', + name: 'month', required: true }, { - name: 'sorting', - typeInfo: '.ARBGetSubscriptionListSorting' + name: 'modifiedTypeFilter' }, { name: 'paging', typeInfo: '.Paging' }] }, { - localName: 'CreateCustomerPaymentProfileRequest', + localName: 'PaymentScheduleType.Interval', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', - required: true - }, { - name: 'paymentProfile', + name: 'length', required: true, - typeInfo: '.CustomerPaymentProfileType' + typeInfo: 'Short' }, { - name: 'validationMode' - }] - }, { - localName: 'PaymentEmvType', - typeName: 'paymentEmvType', - propertyInfos: [{ - name: 'emvData', - required: true, - typeInfo: 'AnyType' - }, { - name: 'emvDescriptor', - required: true, - typeInfo: 'AnyType' - }, { - name: 'emvVersion', - required: true, - typeInfo: 'AnyType' + name: 'unit', + required: true }] }, { - localName: 'UpdateHeldTransactionResponse', + localName: 'TransactionResponse.Messages', typeName: null, - baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'transactionResponse', - typeInfo: '.TransactionResponse' + name: 'message', + minOccurs: 0, + collection: true, + typeInfo: '.TransactionResponse.Messages.Message' }] }, { - localName: 'ARBGetSubscriptionListSorting', + localName: 'NameAndAddressType', + typeName: 'nameAndAddressType', propertyInfos: [{ - name: 'orderBy', - required: true + name: 'firstName' }, { - name: 'orderDescending', - required: true, - typeInfo: 'Boolean' + name: 'lastName' + }, { + name: 'company' + }, { + name: 'address' + }, { + name: 'city' + }, { + name: 'state' + }, { + name: 'zip' + }, { + name: 'country' }] }, { - localName: 'GetHostedPaymentPageRequest', + localName: 'ARBCreateSubscriptionResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'transactionRequest', - required: true, - typeInfo: '.TransactionRequestType' + name: 'subscriptionId' }, { - name: 'hostedPaymentSettings', - typeInfo: '.ArrayOfSetting' + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'MobileDeviceRegistrationResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'GetCustomerProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'ArrayOfMarketType', propertyInfos: [{ - name: 'profile', - typeInfo: '.CustomerProfileMaskedType' - }, { - name: 'subscriptionIds', - typeInfo: '.SubscriptionIdList' + name: 'marketType', + minOccurs: 0, + collection: true }] }, { - localName: 'ArrayOfFDSFilter', + localName: 'TransactionRequestType.UserFields', + typeName: null, propertyInfos: [{ - name: 'fdsFilter', + name: 'userField', minOccurs: 0, + maxOccurs: 20, collection: true, - elementName: 'FDSFilter', - typeInfo: '.FDSFilterType' + typeInfo: '.UserField' }] }, { - localName: 'CreateCustomerPaymentProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'OpaqueDataType', + typeName: 'opaqueDataType', propertyInfos: [{ - name: 'customerProfileId' + name: 'dataDescriptor', + required: true }, { - name: 'customerPaymentProfileId' + name: 'dataValue', + required: true }, { - name: 'validationDirectResponse' + name: 'dataKey' }] }, { - localName: 'TransactionResponse.SplitTenderPayments', + localName: 'CreateCustomerShippingAddressRequest', typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'splitTenderPayment', - minOccurs: 0, - collection: true, - typeInfo: '.TransactionResponse.SplitTenderPayments.SplitTenderPayment' + name: 'customerProfileId', + required: true + }, { + name: 'address', + required: true, + typeInfo: '.CustomerAddressType' + }, { + name: 'defaultShippingAddress', + typeInfo: 'Boolean' }] }, { - localName: 'ArrayOfLong', + localName: 'ArrayOfReturnedItem', propertyInfos: [{ - name: '_long', + name: 'returnedItem', minOccurs: 0, collection: true, - elementName: 'long', - typeInfo: 'Long' - }] - }, { - localName: 'EmvTag', - typeName: 'emvTag', - propertyInfos: [{ - name: 'name' - }, { - name: 'value' - }, { - name: 'formatted' + typeInfo: '.ReturnedItemType' }] }, { - localName: 'IsAliveResponse', + localName: 'ARBGetSubscriptionRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'CreditCardTrackType', - typeName: 'creditCardTrackType', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'track1', + name: 'subscriptionId', required: true }, { - name: 'track2', - required: true - }] - }, { - localName: 'SecurePaymentContainerResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'opaqueData', - required: true, - typeInfo: '.OpaqueDataType' + name: 'includeTransactions', + typeInfo: 'Boolean' }] }, { - localName: 'ANetApiRequest', + localName: 'AuDetailsType', + typeName: 'auDetailsType', propertyInfos: [{ - name: 'merchantAuthentication', + name: 'customerProfileID', required: true, - typeInfo: '.MerchantAuthenticationType' + typeInfo: 'Long' }, { - name: 'clientId' + name: 'customerPaymentProfileID', + required: true, + typeInfo: 'Long' }, { - name: 'refId' - }] - }, { - localName: 'CreateCustomerProfileFromTransactionRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'transId', - required: true + name: 'firstName' }, { - name: 'customer', - typeInfo: '.CustomerProfileBaseType' + name: 'lastName' }, { - name: 'customerProfileId' + name: 'updateTimeUTC', + required: true }, { - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' + name: 'auReasonCode', + required: true }, { - name: 'defaultShippingAddress', - typeInfo: 'Boolean' + name: 'reasonDescription', + required: true }] }, { - localName: 'MessagesType', - typeName: 'messagesType', + localName: 'UpdateCustomerShippingAddressResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'UserField', + typeName: 'userField', propertyInfos: [{ - name: 'resultCode', - required: true + name: 'name' }, { - name: 'message', - required: true, - collection: true, - typeInfo: '.MessagesType.Message' + name: 'value' }] }, { - localName: 'ProfileTransOrderType', - typeName: 'profileTransOrderType', - baseTypeInfo: '.ProfileTransAmountType', + localName: 'LineItemType', + typeName: 'lineItemType', propertyInfos: [{ - name: 'customerProfileId', + name: 'itemId', required: true }, { - name: 'customerPaymentProfileId', + name: 'name', required: true }, { - name: 'customerShippingAddressId' + name: 'description' }, { - name: 'order', - typeInfo: '.OrderExType' + name: 'quantity', + required: true, + typeInfo: 'Decimal' }, { - name: 'taxExempt', - typeInfo: 'Boolean' + name: 'unitPrice', + required: true, + typeInfo: 'Decimal' }, { - name: 'recurringBilling', + name: 'taxable', typeInfo: 'Boolean' - }, { - name: 'cardCode' - }, { - name: 'splitTenderId' }] }, { - localName: 'CustomerProfilePaymentType', - typeName: 'customerProfilePaymentType', + localName: 'PaymentSimpleType', + typeName: 'paymentSimpleType', propertyInfos: [{ - name: 'createProfile', - typeInfo: 'Boolean' - }, { - name: 'customerProfileId' - }, { - name: 'paymentProfile', - typeInfo: '.PaymentProfile' + name: 'creditCard', + required: true, + typeInfo: '.CreditCardSimpleType' }, { - name: 'shippingProfileId' + name: 'bankAccount', + required: true, + typeInfo: '.BankAccountType' }] }, { - localName: 'TransactionResponse.SplitTenderPayments.SplitTenderPayment', - typeName: null, + localName: 'ArrayOfBatchStatisticType', propertyInfos: [{ - name: 'transId' - }, { - name: 'responseCode' - }, { - name: 'responseToCustomer' - }, { - name: 'authCode' - }, { - name: 'accountNumber' - }, { - name: 'accountType' - }, { - name: 'requestedAmount' - }, { - name: 'approvedAmount' - }, { - name: 'balanceOnCard' - }] - }, { - localName: 'Paging', - propertyInfos: [{ - name: 'limit', - required: true, - typeInfo: 'Int' - }, { - name: 'offset', - required: true, - typeInfo: 'Int' + name: 'statistic', + minOccurs: 0, + collection: true, + typeInfo: '.BatchStatisticType' }] }, { - localName: 'TransactionResponse.SecureAcceptance', + localName: 'IsAliveRequest', typeName: null, propertyInfos: [{ - name: 'secureAcceptanceUrl', - elementName: 'SecureAcceptanceUrl' - }, { - name: 'payerID', - elementName: 'PayerID' - }, { - name: 'payerEmail', - elementName: 'PayerEmail' + name: 'refId' }] }, { - localName: 'ArrayOfReturnedItem', + localName: 'ArrayOfCardType', propertyInfos: [{ - name: 'returnedItem', + name: 'cardType', minOccurs: 0, - collection: true, - typeInfo: '.ReturnedItemType' + maxOccurs: 30, + collection: true }] }, { - localName: 'PaymentScheduleType', - typeName: 'paymentScheduleType', + localName: 'GetUnsettledTransactionListRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'interval', - typeInfo: '.PaymentScheduleType.Interval' - }, { - name: 'startDate', - typeInfo: 'Date' + name: 'status' }, { - name: 'totalOccurrences', - typeInfo: 'Short' + name: 'sorting', + typeInfo: '.TransactionListSorting' }, { - name: 'trialOccurrences', - typeInfo: 'Short' - }] - }, { - localName: 'CustomerProfileExType', - typeName: 'customerProfileExType', - baseTypeInfo: '.CustomerProfileBaseType', - propertyInfos: [{ - name: 'customerProfileId' + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'UpdateCustomerShippingAddressResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'ARBCreateSubscriptionResponse', + localName: 'GetHostedProfilePageResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'subscriptionId' - }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: 'token', + required: true }] }, { - localName: 'GetCustomerShippingAddressRequest', + localName: 'CreateCustomerProfileRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'profile', + required: true, + typeInfo: '.CustomerProfileType' }, { - name: 'customerAddressId' + name: 'validationMode' }] }, { - localName: 'ARBGetSubscriptionResponse', + localName: 'GetUnsettledTransactionListResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'subscription', - required: true, - typeInfo: '.ARBSubscriptionMaskedType' + name: 'transactions', + typeInfo: '.ArrayOfTransactionSummaryType' + }, { + name: 'totalNumInResultSet', + typeInfo: 'Int' }] }, { - localName: 'AuDeleteType', - typeName: 'auDeleteType', - baseTypeInfo: '.AuDetailsType', + localName: 'CcAuthenticationType', + typeName: 'ccAuthenticationType', propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardMaskedType' + name: 'authenticationIndicator', + required: true + }, { + name: 'cardholderAuthenticationValue', + required: true }] }, { - localName: 'AuDetailsType', - typeName: 'auDetailsType', + localName: 'ProfileTransAmountType', + typeName: 'profileTransAmountType', propertyInfos: [{ - name: 'customerProfileID', - required: true, - typeInfo: 'Long' - }, { - name: 'customerPaymentProfileID', + name: 'amount', required: true, - typeInfo: 'Long' - }, { - name: 'firstName' + typeInfo: 'Decimal' }, { - name: 'lastName' + name: 'tax', + typeInfo: '.ExtendedAmountType' }, { - name: 'updateTimeUTC', - required: true + name: 'shipping', + typeInfo: '.ExtendedAmountType' }, { - name: 'auReasonCode', - required: true + name: 'duty', + typeInfo: '.ExtendedAmountType' }, { - name: 'reasonDescription', - required: true + name: 'lineItems', + minOccurs: 0, + maxOccurs: 30, + collection: true, + typeInfo: '.LineItemType' }] }, { - localName: 'AuthenticateTestRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' - }, { - localName: 'GetMerchantDetailsResponse', + localName: 'GetCustomerPaymentProfileListResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'isTestMode', - typeInfo: 'Boolean' - }, { - name: 'processors', - required: true, - typeInfo: '.ArrayOfProcessorType' - }, { - name: 'merchantName', - required: true - }, { - name: 'gatewayId', - required: true - }, { - name: 'marketTypes', - required: true, - typeInfo: '.ArrayOfMarketType' - }, { - name: 'productCodes', - required: true, - typeInfo: '.ArrayOfProductCode' - }, { - name: 'paymentMethods', + name: 'totalNumInResultSet', required: true, - typeInfo: '.ArrayOfPaymentMethod' + typeInfo: 'Int' }, { - name: 'currencies', - required: true, - typeInfo: '.ArrayOfCurrencyCode' + name: 'paymentProfiles', + typeInfo: '.ArrayOfCustomerPaymentProfileListItemType' }] }, { - localName: 'GetCustomerProfileIdsRequest', + localName: 'ARBGetSubscriptionListResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest' - }, { - localName: 'SolutionType', - typeName: 'solutionType', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'id', - required: true - }, { - name: 'name' + name: 'totalNumInResultSet', + typeInfo: 'Int' }, { - name: 'vendorName' + name: 'subscriptionDetails', + typeInfo: '.ArrayOfSubscription' }] }, { - localName: 'GetAUJobSummaryResponse', + localName: 'ARBGetSubscriptionListRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'auSummary', - typeInfo: '.ArrayOfAUResponseType' + name: 'searchType', + required: true + }, { + name: 'sorting', + typeInfo: '.ARBGetSubscriptionListSorting' + }, { + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'FingerPrintType', - typeName: 'fingerPrintType', + localName: 'MessagesType.Message', + typeName: null, propertyInfos: [{ - name: 'hashValue', + name: 'code', required: true }, { - name: 'sequence' - }, { - name: 'timestamp', + name: 'text', required: true - }, { - name: 'currencyCode' - }, { - name: 'amount' }] }, { - localName: 'OrderExType', - typeName: 'orderExType', - baseTypeInfo: '.OrderType', + localName: 'CustomerProfileMaskedType', + typeName: 'customerProfileMaskedType', + baseTypeInfo: '.CustomerProfileExType', propertyInfos: [{ - name: 'purchaseOrderNumber' + name: 'paymentProfiles', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerPaymentProfileMaskedType' + }, { + name: 'shipToList', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerAddressExType' }] }, { - localName: 'CreateTransactionRequest', + localName: 'TransactionResponse.PrePaidCard', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'transactionRequest', - required: true, - typeInfo: '.TransactionRequestType' + name: 'requestedAmount' + }, { + name: 'approvedAmount' + }, { + name: 'balanceOnCard' }] }, { - localName: 'DecryptPaymentDataResponse', + localName: 'KeyManagementScheme.DUKPT.EncryptedData', typeName: null, - baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'shippingInfo', - typeInfo: '.CustomerAddressType' - }, { - name: 'billingInfo', - typeInfo: '.CustomerAddressType' - }, { - name: 'cardInfo', - typeInfo: '.CreditCardMaskedType' - }, { - name: 'paymentDetails', - typeInfo: '.PaymentDetails' - }] - }, { - localName: 'SecurePaymentContainerRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'data', + name: 'value', required: true, - typeInfo: '.WebCheckOutDataType' - }] - }, { - localName: 'ARBSubscriptionType', - propertyInfos: [{ - name: 'name' - }, { - name: 'paymentSchedule', - typeInfo: '.PaymentScheduleType' - }, { - name: 'amount', - typeInfo: 'Decimal' - }, { - name: 'trialAmount', - typeInfo: 'Decimal' - }, { - name: 'payment', - typeInfo: '.PaymentType' - }, { - name: 'order', - typeInfo: '.OrderType' - }, { - name: 'customer', - typeInfo: '.CustomerType' - }, { - name: 'billTo', - typeInfo: '.NameAndAddressType' - }, { - name: 'shipTo', - typeInfo: '.NameAndAddressType' - }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' + elementName: 'Value' }] }, { - localName: 'GetTransactionListRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ArrayOfLineItem', propertyInfos: [{ - name: 'batchId' - }, { - name: 'sorting', - typeInfo: '.TransactionListSorting' - }, { - name: 'paging', - typeInfo: '.Paging' + name: 'lineItem', + minOccurs: 0, + collection: true, + typeInfo: '.LineItemType' }] }, { - localName: 'CustomerDataType', - typeName: 'customerDataType', + localName: 'CreditCardMaskedType', + typeName: 'creditCardMaskedType', propertyInfos: [{ - name: 'type' + name: 'cardNumber', + required: true }, { - name: 'id' + name: 'expirationDate', + required: true }, { - name: 'email' + name: 'cardType' }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseType' + name: 'cardArt', + typeInfo: '.CardArt' }, { - name: 'taxId' + name: 'issuerNumber' }] }, { - localName: 'GetUnsettledTransactionListResponse', + localName: 'IsAliveResponse', typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'transactions', - typeInfo: '.ArrayOfTransactionSummaryType' - }, { - name: 'totalNumInResultSet', - typeInfo: 'Int' - }] - }, { - localName: 'CustomerAddressType', - typeName: 'customerAddressType', - baseTypeInfo: '.NameAndAddressType', - propertyInfos: [{ - name: 'phoneNumber' - }, { - name: 'faxNumber' - }, { - name: 'email' - }] + baseTypeInfo: '.ANetApiResponse' }, { - localName: 'TransactionRequestType', - typeName: 'transactionRequestType', + localName: 'TransactionResponse', + typeName: 'transactionResponse', propertyInfos: [{ - name: 'transactionType', - required: true - }, { - name: 'amount', - typeInfo: 'Decimal' + name: 'responseCode' }, { - name: 'currencyCode' + name: 'rawResponseCode' }, { - name: 'payment', - typeInfo: '.PaymentType' + name: 'authCode' }, { - name: 'profile', - typeInfo: '.CustomerProfilePaymentType' + name: 'avsResultCode' }, { - name: 'solution', - typeInfo: '.SolutionType' + name: 'cvvResultCode' }, { - name: 'callId' + name: 'cavvResultCode' }, { - name: 'terminalNumber' + name: 'transId' }, { - name: 'authCode' + name: 'refTransID' }, { - name: 'refTransId' + name: 'transHash' }, { - name: 'splitTenderId' + name: 'testRequest' }, { - name: 'order', - typeInfo: '.OrderType' + name: 'accountNumber' }, { - name: 'lineItems', - typeInfo: '.ArrayOfLineItem' + name: 'entryMode' }, { - name: 'tax', - typeInfo: '.ExtendedAmountType' + name: 'accountType' }, { - name: 'duty', - typeInfo: '.ExtendedAmountType' + name: 'splitTenderId' }, { - name: 'shipping', - typeInfo: '.ExtendedAmountType' + name: 'prePaidCard', + typeInfo: '.TransactionResponse.PrePaidCard' }, { - name: 'taxExempt', - typeInfo: 'Boolean' + name: 'messages', + typeInfo: '.TransactionResponse.Messages' }, { - name: 'poNumber' + name: 'errors', + typeInfo: '.TransactionResponse.Errors' }, { - name: 'customer', - typeInfo: '.CustomerDataType' + name: 'splitTenderPayments', + typeInfo: '.TransactionResponse.SplitTenderPayments' }, { - name: 'billTo', - typeInfo: '.CustomerAddressType' + name: 'userFields', + typeInfo: '.TransactionResponse.UserFields' }, { name: 'shipTo', typeInfo: '.NameAndAddressType' }, { - name: 'customerIP' - }, { - name: 'cardholderAuthentication', - typeInfo: '.CcAuthenticationType' - }, { - name: 'retail', - typeInfo: '.TransRetailInfoType' - }, { - name: 'employeeId' - }, { - name: 'transactionSettings', - typeInfo: '.ArrayOfSetting' - }, { - name: 'userFields', - typeInfo: '.TransactionRequestType.UserFields' - }] - }, { - localName: 'ProfileTransPriorAuthCaptureType', - typeName: 'profileTransPriorAuthCaptureType', - baseTypeInfo: '.ProfileTransAmountType', - propertyInfos: [{ - name: 'customerProfileId' + name: 'secureAcceptance', + typeInfo: '.TransactionResponse.SecureAcceptance' }, { - name: 'customerPaymentProfileId' + name: 'emvResponse', + typeInfo: '.TransactionResponse.EmvResponse' }, { - name: 'customerShippingAddressId' + name: 'transHashSha2' }, { - name: 'transId', - required: true + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'ArrayOfString', + localName: 'UpdateHeldTransactionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'string', - minOccurs: 0, - collection: true + name: 'transactionResponse', + typeInfo: '.TransactionResponse' }] }, { - localName: 'CreateCustomerProfileRequest', + localName: 'GetHostedPaymentPageRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'profile', + name: 'transactionRequest', required: true, - typeInfo: '.CustomerProfileType' + typeInfo: '.TransactionRequestType' }, { - name: 'validationMode' + name: 'hostedPaymentSettings', + typeInfo: '.ArrayOfSetting' }] }, { - localName: 'UpdateCustomerShippingAddressRequest', + localName: 'GetBatchStatisticsRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', + name: 'batchId', required: true - }, { - name: 'address', - required: true, - typeInfo: '.CustomerAddressExType' - }, { - name: 'defaultShippingAddress', - typeInfo: 'Boolean' }] }, { - localName: 'DeleteCustomerShippingAddressResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' + localName: 'CustomerPaymentProfileExType', + typeName: 'customerPaymentProfileExType', + baseTypeInfo: '.CustomerPaymentProfileType', + propertyInfos: [{ + name: 'customerPaymentProfileId' + }] }, { - localName: 'BatchDetailsType', - typeName: 'batchDetailsType', + localName: 'SolutionType', + typeName: 'solutionType', propertyInfos: [{ - name: 'batchId', + name: 'id', required: true }, { - name: 'settlementTimeUTC', - typeInfo: 'DateTime' - }, { - name: 'settlementTimeLocal', - typeInfo: 'DateTime' - }, { - name: 'settlementState', - required: true + name: 'name' }, { - name: 'paymentMethod' + name: 'vendorName' + }] + }, { + localName: 'PaymentProfile', + typeName: 'paymentProfile', + propertyInfos: [{ + name: 'paymentProfileId', + required: true }, { - name: 'marketType' + name: 'cardCode' + }] + }, { + localName: 'CreditCardType', + typeName: 'creditCardType', + baseTypeInfo: '.CreditCardSimpleType', + propertyInfos: [{ + name: 'cardCode' }, { - name: 'product' + name: 'isPaymentToken', + typeInfo: 'Boolean' }, { - name: 'statistics', - typeInfo: '.ArrayOfBatchStatisticType' + name: 'cryptogram' }] }, { - localName: 'ProcessorType', - typeName: 'processorType', + localName: 'UpdateSplitTenderGroupRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'name', + name: 'splitTenderId', + required: true + }, { + name: 'splitTenderStatus', required: true }] }, { - localName: 'GetTransactionListResponse', + localName: 'ValidateCustomerPaymentProfileResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'transactions', - typeInfo: '.ArrayOfTransactionSummaryType' - }, { - name: 'totalNumInResultSet', - typeInfo: 'Int' + name: 'directResponse' }] }, { - localName: 'LogoutResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'GetCustomerPaymentProfileListResponse', + localName: 'TransactionResponse.SecureAcceptance', typeName: null, - baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'totalNumInResultSet', - required: true, - typeInfo: 'Int' + name: 'secureAcceptanceUrl', + elementName: 'SecureAcceptanceUrl' }, { - name: 'paymentProfiles', - typeInfo: '.ArrayOfCustomerPaymentProfileListItemType' + name: 'payerID', + elementName: 'PayerID' + }, { + name: 'payerEmail', + elementName: 'PayerEmail' }] }, { - localName: 'ImpersonationAuthenticationType', - typeName: 'impersonationAuthenticationType', + localName: 'SubMerchantType', + typeName: 'subMerchantType', propertyInfos: [{ - name: 'partnerLoginId', + name: 'identifier', required: true }, { - name: 'partnerTransactionKey', - required: true + name: 'doingBusinessAs' + }, { + name: 'paymentServiceProviderName' + }, { + name: 'paymentServiceFacilitator' + }, { + name: 'streetAddress' + }, { + name: 'phone' + }, { + name: 'email' + }, { + name: 'postalCode' + }, { + name: 'city' + }, { + name: 'regionCode' + }, { + name: 'countryCode' }] }, { - localName: 'MobileDeviceLoginRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' + localName: 'KeyBlock', + propertyInfos: [{ + name: 'value', + required: true, + elementName: 'Value', + typeInfo: '.KeyValue' + }] }, { - localName: 'SendCustomerTransactionReceiptRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'CustomerProfilePaymentType', + typeName: 'customerProfilePaymentType', propertyInfos: [{ - name: 'transId', - required: true + name: 'createProfile', + typeInfo: 'Boolean' }, { - name: 'customerEmail', - required: true + name: 'customerProfileId' }, { - name: 'emailSettings', - typeInfo: '.EmailSettingsType' + name: 'paymentProfile', + typeInfo: '.PaymentProfile' + }, { + name: 'shippingProfileId' }] }, { - localName: 'CustomerProfileType', - typeName: 'customerProfileType', - baseTypeInfo: '.CustomerProfileBaseType', + localName: 'TransactionResponse.SplitTenderPayments', + typeName: null, propertyInfos: [{ - name: 'paymentProfiles', + name: 'splitTenderPayment', minOccurs: 0, collection: true, - typeInfo: '.CustomerPaymentProfileType' + typeInfo: '.TransactionResponse.SplitTenderPayments.SplitTenderPayment' + }] + }, { + localName: 'UpdateMerchantDetailsResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'CreateCustomerShippingAddressResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'customerProfileId' }, { - name: 'shipToList', + name: 'customerAddressId' + }] + }, { + localName: 'ArrayOfSubscription', + propertyInfos: [{ + name: 'subscriptionDetail', minOccurs: 0, collection: true, - typeInfo: '.CustomerAddressType' + typeInfo: '.SubscriptionDetail' }] }, { - localName: 'ARBUpdateSubscriptionRequest', + localName: 'DeleteCustomerProfileRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'subscriptionId', + name: 'customerProfileId', required: true - }, { - name: 'subscription', - required: true, - typeInfo: '.ARBSubscriptionType' }] }, { - localName: 'CreateCustomerProfileResponse', + localName: 'TransactionResponse.Messages.Message', typeName: null, - baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileIdList', - required: true, - typeInfo: '.ArrayOfNumericString' - }, { - name: 'customerShippingAddressIdList', - required: true, - typeInfo: '.ArrayOfNumericString' + name: 'code' }, { - name: 'validationDirectResponseList', - required: true, - typeInfo: '.ArrayOfString' + name: 'description' }] }, { - localName: 'ExtendedAmountType', - typeName: 'extendedAmountType', + localName: 'CustomerProfileBaseType', + typeName: 'customerProfileBaseType', propertyInfos: [{ - name: 'amount', - required: true, - typeInfo: 'Decimal' - }, { - name: 'name' + name: 'merchantCustomerId' }, { name: 'description' + }, { + name: 'email' }] }, { - localName: 'CustomerPaymentProfileListItemType', - typeName: 'customerPaymentProfileListItemType', + localName: 'SubscriptionPaymentType', + typeName: 'subscriptionPaymentType', propertyInfos: [{ - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' - }, { - name: 'customerPaymentProfileId', + name: 'id', required: true, typeInfo: 'Int' }, { - name: 'customerProfileId', + name: 'payNum', required: true, typeInfo: 'Int' + }] + }, { + localName: 'CardArt', + typeName: 'cardArt', + propertyInfos: [{ + name: 'cardBrand' }, { - name: 'billTo', - required: true, - typeInfo: '.CustomerAddressType' + name: 'cardImageHeight' }, { - name: 'payment', - required: true, - typeInfo: '.PaymentMaskedType' + name: 'cardImageUrl' + }, { + name: 'cardImageWidth' + }, { + name: 'cardType' }] }, { - localName: 'TransactionListSorting', + localName: 'UpdateMerchantDetailsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'orderBy', - required: true - }, { - name: 'orderDescending', + name: 'isTestMode', required: true, typeInfo: 'Boolean' }] }, { - localName: 'GetCustomerPaymentProfileResponse', + localName: 'TransactionResponse.Errors', typeName: null, - baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'paymentProfile', - typeInfo: '.CustomerPaymentProfileMaskedType' + name: 'error', + minOccurs: 0, + collection: true, + typeInfo: '.TransactionResponse.Errors.Error' }] }, { - localName: 'GetBatchStatisticsRequest', + localName: 'AuthenticateTestRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'UpdateCustomerShippingAddressRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'batchId', + name: 'customerProfileId', required: true + }, { + name: 'address', + required: true, + typeInfo: '.CustomerAddressExType' + }, { + name: 'defaultShippingAddress', + typeInfo: 'Boolean' }] }, { - localName: 'ArrayOfSubscription', + localName: 'CreditCardSimpleType', + typeName: 'creditCardSimpleType', propertyInfos: [{ - name: 'subscriptionDetail', - minOccurs: 0, - collection: true, - typeInfo: '.SubscriptionDetail' + name: 'cardNumber', + required: true + }, { + name: 'expirationDate', + required: true }] }, { - localName: 'EmailSettingsType', - typeName: 'emailSettingsType', - baseTypeInfo: '.ArrayOfSetting', + localName: 'PaymentMaskedType', + typeName: 'paymentMaskedType', propertyInfos: [{ - name: 'version', - typeInfo: 'Integer', - attributeName: { - localPart: 'version' - }, - type: 'attribute' - }] - }, { - localName: 'ArrayOfBatchStatisticType', + name: 'creditCard', + required: true, + typeInfo: '.CreditCardMaskedType' + }, { + name: 'bankAccount', + required: true, + typeInfo: '.BankAccountMaskedType' + }, { + name: 'tokenInformation', + required: true, + typeInfo: '.TokenMaskedType' + }] + }, { + localName: 'EmailSettingsType', + typeName: 'emailSettingsType', + baseTypeInfo: '.ArrayOfSetting', propertyInfos: [{ - name: 'statistic', + name: 'version', + typeInfo: 'Integer', + attributeName: { + localPart: 'version' + }, + type: 'attribute' + }] + }, { + localName: 'ArrayOfAUResponseType', + propertyInfos: [{ + name: 'auResponse', minOccurs: 0, collection: true, - typeInfo: '.BatchStatisticType' + typeInfo: '.AuResponseType' }] }, { - localName: 'SubscriptionDetail', + localName: 'ARBCreateSubscriptionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'id', - required: true, - typeInfo: 'Int' - }, { - name: 'name' - }, { - name: 'status', - required: true - }, { - name: 'createTimeStampUTC', - required: true, - typeInfo: 'DateTime' - }, { - name: 'firstName' - }, { - name: 'lastName' - }, { - name: 'totalOccurrences', - required: true, - typeInfo: 'Int' - }, { - name: 'pastOccurrences', - required: true, - typeInfo: 'Int' - }, { - name: 'paymentMethod', - required: true - }, { - name: 'accountNumber' - }, { - name: 'invoice' - }, { - name: 'amount', - required: true, - typeInfo: 'Decimal' - }, { - name: 'currencyCode' - }, { - name: 'customerProfileId', + name: 'subscription', required: true, - typeInfo: 'Int' + typeInfo: '.ARBSubscriptionType' + }] + }, { + localName: 'GetTransactionListRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'batchId' }, { - name: 'customerPaymentProfileId', - required: true, - typeInfo: 'Int' + name: 'sorting', + typeInfo: '.TransactionListSorting' }, { - name: 'customerShippingProfileId', - typeInfo: 'Int' + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'ArrayOfFraudFilterType', + localName: 'GetTransactionDetailsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'fraudFilter', - required: true, - maxOccurs: 1000, - collection: true + name: 'transId', + required: true }] }, { - localName: 'ProfileTransactionType', - typeName: 'profileTransactionType', + localName: 'ReturnedItemType', + typeName: 'returnedItemType', propertyInfos: [{ - name: 'profileTransAuthCapture', - required: true, - typeInfo: '.ProfileTransAuthCaptureType' - }, { - name: 'profileTransAuthOnly', - required: true, - typeInfo: '.ProfileTransAuthOnlyType' + name: 'id', + required: true }, { - name: 'profileTransPriorAuthCapture', + name: 'dateUTC', required: true, - typeInfo: '.ProfileTransPriorAuthCaptureType' + typeInfo: 'DateTime' }, { - name: 'profileTransCaptureOnly', + name: 'dateLocal', required: true, - typeInfo: '.ProfileTransCaptureOnlyType' + typeInfo: 'DateTime' }, { - name: 'profileTransRefund', - required: true, - typeInfo: '.ProfileTransRefundType' + name: 'code', + required: true }, { - name: 'profileTransVoid', - required: true, - typeInfo: '.ProfileTransVoidType' + name: 'description', + required: true }] }, { - localName: 'TransactionDetailsType.EmvDetails', + localName: 'GetCustomerPaymentProfileRequest', typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'tag', - required: true, - collection: true, - typeInfo: '.TransactionDetailsType.EmvDetails.Tag' + name: 'customerProfileId', + required: true + }, { + name: 'customerPaymentProfileId' + }, { + name: 'unmaskExpirationDate', + typeInfo: 'Boolean' + }, { + name: 'includeIssuerInfo', + typeInfo: 'Boolean' }] }, { - localName: 'KeyManagementScheme.DUKPT.DeviceInfo', + localName: 'UpdateCustomerProfileResponse', typeName: null, - propertyInfos: [{ - name: 'description', - required: true, - elementName: 'Description' - }] + baseTypeInfo: '.ANetApiResponse' }, { - localName: 'ARBGetSubscriptionRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'AuDeleteType', + typeName: 'auDeleteType', + baseTypeInfo: '.AuDetailsType', propertyInfos: [{ - name: 'subscriptionId', - required: true + name: 'creditCard', + required: true, + typeInfo: '.CreditCardMaskedType' }] }, { localName: 'AuUpdateType', @@ -1315,48 +1029,31 @@ var Schema_Module_Factory = function () { typeInfo: '.CreditCardMaskedType' }] }, { - localName: 'ArrayOfNumericString', - propertyInfos: [{ - name: 'numericString', - minOccurs: 0, - collection: true - }] - }, { - localName: 'GetCustomerProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'merchantCustomerId' + name: 'merchantAuthentication', + required: true, + typeInfo: '.MerchantAuthenticationType' }, { - name: 'email' + name: 'clientId' }, { - name: 'unmaskExpirationDate', - typeInfo: 'Boolean' + name: 'refId' }] }, { - localName: 'ProfileTransAmountType', - typeName: 'profileTransAmountType', + localName: 'CustomerPaymentProfileType', + typeName: 'customerPaymentProfileType', + baseTypeInfo: '.CustomerPaymentProfileBaseType', propertyInfos: [{ - name: 'amount', - required: true, - typeInfo: 'Decimal' - }, { - name: 'tax', - typeInfo: '.ExtendedAmountType' + name: 'payment', + typeInfo: '.PaymentType' }, { - name: 'shipping', - typeInfo: '.ExtendedAmountType' + name: 'driversLicense', + typeInfo: '.DriversLicenseType' }, { - name: 'duty', - typeInfo: '.ExtendedAmountType' + name: 'taxId' }, { - name: 'lineItems', - minOccurs: 0, - maxOccurs: 30, - collection: true, - typeInfo: '.LineItemType' + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' }] }, { localName: 'AuResponseType', @@ -1373,498 +1070,430 @@ var Schema_Module_Factory = function () { required: true }] }, { - localName: 'KeyBlock', + localName: 'DecryptPaymentDataRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'value', + name: 'opaqueData', required: true, - elementName: 'Value', - typeInfo: '.KeyValue' + typeInfo: '.OpaqueDataType' + }, { + name: 'callId' }] }, { - localName: 'TransRetailInfoType', - typeName: 'transRetailInfoType', + localName: 'ArrayOfCurrencyCode', propertyInfos: [{ - name: 'marketType' - }, { - name: 'deviceType' - }, { - name: 'customerSignature' + name: 'currency', + minOccurs: 0, + collection: true }] }, { - localName: 'LogoutRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' + localName: 'PermissionType', + typeName: 'permissionType', + propertyInfos: [{ + name: 'permissionName' + }] }, { - localName: 'CreateProfileResponse', - typeName: 'createProfileResponse', + localName: 'ARBTransactionList', propertyInfos: [{ - name: 'messages', - required: true, - typeInfo: '.MessagesType' - }, { - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileIdList', - typeInfo: '.ArrayOfNumericString' - }, { - name: 'customerShippingAddressIdList', - typeInfo: '.ArrayOfNumericString' + name: 'arbTransaction', + minOccurs: 0, + collection: true, + typeInfo: '.ArbTransaction' }] }, { - localName: 'UpdateHeldTransactionRequest', + localName: 'ARBGetSubscriptionStatusResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'heldTransactionRequest', - required: true, - typeInfo: '.HeldTransactionRequestType' + name: 'status' }] }, { - localName: 'CreateCustomerShippingAddressRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'PaymentScheduleType', + typeName: 'paymentScheduleType', propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'interval', + typeInfo: '.PaymentScheduleType.Interval' }, { - name: 'address', - required: true, - typeInfo: '.CustomerAddressType' + name: 'startDate', + typeInfo: 'Date' }, { - name: 'defaultShippingAddress', - typeInfo: 'Boolean' + name: 'totalOccurrences', + typeInfo: 'Short' + }, { + name: 'trialOccurrences', + typeInfo: 'Short' }] }, { - localName: 'HeldTransactionRequestType', - typeName: 'heldTransactionRequestType', + localName: 'DriversLicenseMaskedType', + typeName: 'driversLicenseMaskedType', propertyInfos: [{ - name: 'action', + name: 'number', required: true }, { - name: 'refTransId', + name: 'state', + required: true + }, { + name: 'dateOfBirth', required: true }] }, { - localName: 'ListOfAUDetailsType', - propertyInfos: [{ - name: 'auUpdateOrAuDelete', - minOccurs: 0, - collection: true, - elementTypeInfos: [{ - elementName: 'auUpdate', - typeInfo: '.AuUpdateType' - }, { - elementName: 'auDelete', - typeInfo: '.AuDeleteType' - }], - type: 'elements' - }] - }, { - localName: 'GetSettledBatchListRequest', + localName: 'GetTransactionListForCustomerRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'includeStatistics', - typeInfo: 'Boolean' + name: 'customerProfileId', + required: true }, { - name: 'firstSettlementDate', - typeInfo: 'DateTime' + name: 'customerPaymentProfileId' }, { - name: 'lastSettlementDate', - typeInfo: 'DateTime' + name: 'sorting', + typeInfo: '.TransactionListSorting' + }, { + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'ArrayOfPermissionType', + localName: 'CreateCustomerProfileTransactionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'permission', - minOccurs: 0, - collection: true, - typeInfo: '.PermissionType' + name: 'transaction', + required: true, + typeInfo: '.ProfileTransactionType' + }, { + name: 'extraOptions' }] }, { - localName: 'ArrayOfLineItem', + localName: 'ArrayOfNumericString', propertyInfos: [{ - name: 'lineItem', + name: 'numericString', minOccurs: 0, - collection: true, - typeInfo: '.LineItemType' + collection: true }] }, { - localName: 'OrderType', - typeName: 'orderType', + localName: 'ProfileTransAuthOnlyType', + typeName: 'profileTransAuthOnlyType', + baseTypeInfo: '.ProfileTransOrderType' + }, { + localName: 'PaymentEmvType', + typeName: 'paymentEmvType', propertyInfos: [{ - name: 'invoiceNumber' + name: 'emvData', + required: true, + typeInfo: 'AnyType' }, { - name: 'description' + name: 'emvDescriptor', + required: true, + typeInfo: 'AnyType' + }, { + name: 'emvVersion', + required: true, + typeInfo: 'AnyType' }] }, { - localName: 'DeleteCustomerProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'GetMerchantDetailsRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' - }, { - localName: 'TransactionResponse.Errors', - typeName: null, + localName: 'CustomerPaymentProfileBaseType', + typeName: 'customerPaymentProfileBaseType', propertyInfos: [{ - name: 'error', - minOccurs: 0, - collection: true, - typeInfo: '.TransactionResponse.Errors.Error' + name: 'customerType' + }, { + name: 'billTo', + typeInfo: '.CustomerAddressType' }] }, { - localName: 'PaymentSimpleType', - typeName: 'paymentSimpleType', + localName: 'PaymentType', + typeName: 'paymentType', propertyInfos: [{ name: 'creditCard', required: true, - typeInfo: '.CreditCardSimpleType' + typeInfo: '.CreditCardType' }, { name: 'bankAccount', required: true, typeInfo: '.BankAccountType' + }, { + name: 'trackData', + required: true, + typeInfo: '.CreditCardTrackType' + }, { + name: 'encryptedTrackData', + required: true, + typeInfo: '.EncryptedTrackDataType' + }, { + name: 'payPal', + required: true, + typeInfo: '.PayPalType' + }, { + name: 'opaqueData', + required: true, + typeInfo: '.OpaqueDataType' + }, { + name: 'emv', + required: true, + typeInfo: '.PaymentEmvType' }] }, { - localName: 'CustomerPaymentProfileExType', - typeName: 'customerPaymentProfileExType', - baseTypeInfo: '.CustomerPaymentProfileType', + localName: 'OrderExType', + typeName: 'orderExType', + baseTypeInfo: '.OrderType', propertyInfos: [{ - name: 'customerPaymentProfileId' + name: 'purchaseOrderNumber' }] }, { - localName: 'CreditCardMaskedType', - typeName: 'creditCardMaskedType', + localName: 'CustomerProfileType', + typeName: 'customerProfileType', + baseTypeInfo: '.CustomerProfileBaseType', propertyInfos: [{ - name: 'cardNumber', - required: true - }, { - name: 'expirationDate', - required: true - }, { - name: 'cardType' + name: 'paymentProfiles', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerPaymentProfileType' }, { - name: 'cardArt', - typeInfo: '.CardArt' + name: 'shipToList', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerAddressType' }] }, { - localName: 'ARBUpdateSubscriptionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'CustomerAddressType', + typeName: 'customerAddressType', + baseTypeInfo: '.NameAndAddressType', propertyInfos: [{ - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: 'phoneNumber' + }, { + name: 'faxNumber' + }, { + name: 'email' }] }, { - localName: 'ARBGetSubscriptionStatusRequest', + localName: 'CreateCustomerProfileFromTransactionRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'subscriptionId', + name: 'transId', required: true - }] - }, { - localName: 'TokenMaskedType', - typeName: 'tokenMaskedType', - propertyInfos: [{ - name: 'tokenSource' }, { - name: 'tokenNumber', - required: true + name: 'customer', + typeInfo: '.CustomerProfileBaseType' }, { - name: 'expirationDate', - required: true + name: 'customerProfileId' + }, { + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' + }, { + name: 'defaultShippingAddress', + typeInfo: 'Boolean' }] }, { - localName: 'KeyManagementScheme.DUKPT', - typeName: null, + localName: 'TransRetailInfoType', + typeName: 'transRetailInfoType', propertyInfos: [{ - name: 'operation', - required: true, - elementName: 'Operation' + name: 'marketType' }, { - name: 'mode', - required: true, - elementName: 'Mode', - typeInfo: '.KeyManagementScheme.DUKPT.Mode' + name: 'deviceType' }, { - name: 'deviceInfo', - required: true, - elementName: 'DeviceInfo', - typeInfo: '.KeyManagementScheme.DUKPT.DeviceInfo' + name: 'customerSignature' }, { - name: 'encryptedData', - required: true, - elementName: 'EncryptedData', - typeInfo: '.KeyManagementScheme.DUKPT.EncryptedData' + name: 'terminalNumber' }] }, { - localName: 'DeleteCustomerPaymentProfileRequest', + localName: 'TransactionResponse.SplitTenderPayments.SplitTenderPayment', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'transId' }, { - name: 'customerPaymentProfileId', - required: true - }] - }, { - localName: 'ARBSubscriptionMaskedType', - propertyInfos: [{ - name: 'name' + name: 'responseCode' }, { - name: 'paymentSchedule', - typeInfo: '.PaymentScheduleType' + name: 'responseToCustomer' }, { - name: 'amount', - typeInfo: 'Decimal' + name: 'authCode' }, { - name: 'trialAmount', - typeInfo: 'Decimal' + name: 'accountNumber' }, { - name: 'status' + name: 'accountType' }, { - name: 'profile', - typeInfo: '.SubscriptionCustomerProfileType' + name: 'requestedAmount' }, { - name: 'order', - typeInfo: '.OrderType' - }] - }, { - localName: 'SubscriptionPaymentType', - typeName: 'subscriptionPaymentType', - propertyInfos: [{ - name: 'id', - required: true, - typeInfo: 'Int' + name: 'approvedAmount' }, { - name: 'payNum', - required: true, - typeInfo: 'Int' + name: 'balanceOnCard' }] }, { - localName: 'CustomerPaymentProfileType', - typeName: 'customerPaymentProfileType', - baseTypeInfo: '.CustomerPaymentProfileBaseType', + localName: 'GetCustomerProfileIdsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'BankAccountType', + typeName: 'bankAccountType', propertyInfos: [{ - name: 'payment', - typeInfo: '.PaymentType' + name: 'accountType' }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseType' + name: 'routingNumber', + required: true }, { - name: 'taxId' + name: 'accountNumber', + required: true }, { - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' - }] - }, { - localName: 'UpdateCustomerProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'ArrayOfCurrencyCode', - propertyInfos: [{ - name: 'currency', - minOccurs: 0, - collection: true + name: 'nameOnAccount', + required: true + }, { + name: 'echeckType' + }, { + name: 'bankName' + }, { + name: 'checkNumber' }] }, { - localName: 'PaymentScheduleType.Interval', + localName: 'CreateTransactionResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'length', + name: 'transactionResponse', required: true, - typeInfo: 'Short' + typeInfo: '.TransactionResponse' }, { - name: 'unit', - required: true + name: 'profileResponse', + typeInfo: '.CreateProfileResponse' }] }, { - localName: 'KeyManagementScheme', + localName: 'SubscriptionDetail', propertyInfos: [{ - name: 'dukpt', + name: 'id', required: true, - elementName: 'DUKPT', - typeInfo: '.KeyManagementScheme.DUKPT' - }] - }, { - localName: 'BatchStatisticType', - typeName: 'batchStatisticType', - propertyInfos: [{ - name: 'accountType', - required: true + typeInfo: 'Int' }, { - name: 'chargeAmount', - required: true, - typeInfo: 'Decimal' + name: 'name' }, { - name: 'chargeCount', - required: true, - typeInfo: 'Int' + name: 'status', + required: true }, { - name: 'refundAmount', + name: 'createTimeStampUTC', required: true, - typeInfo: 'Decimal' + typeInfo: 'DateTime' }, { - name: 'refundCount', - required: true, - typeInfo: 'Int' + name: 'firstName' }, { - name: 'voidCount', - required: true, - typeInfo: 'Int' + name: 'lastName' }, { - name: 'declineCount', + name: 'totalOccurrences', required: true, typeInfo: 'Int' }, { - name: 'errorCount', + name: 'pastOccurrences', required: true, typeInfo: 'Int' }, { - name: 'returnedItemAmount', - typeInfo: 'Decimal' - }, { - name: 'returnedItemCount', - typeInfo: 'Int' - }, { - name: 'chargebackAmount', - typeInfo: 'Decimal' + name: 'paymentMethod', + required: true }, { - name: 'chargebackCount', - typeInfo: 'Int' + name: 'accountNumber' }, { - name: 'correctionNoticeCount', - typeInfo: 'Int' + name: 'invoice' }, { - name: 'chargeChargeBackAmount', + name: 'amount', + required: true, typeInfo: 'Decimal' }, { - name: 'chargeChargeBackCount', - typeInfo: 'Int' - }, { - name: 'refundChargeBackAmount', - typeInfo: 'Decimal' + name: 'currencyCode' }, { - name: 'refundChargeBackCount', + name: 'customerProfileId', + required: true, typeInfo: 'Int' }, { - name: 'chargeReturnedItemsAmount', - typeInfo: 'Decimal' - }, { - name: 'chargeReturnedItemsCount', + name: 'customerPaymentProfileId', + required: true, typeInfo: 'Int' }, { - name: 'refundReturnedItemsAmount', - typeInfo: 'Decimal' - }, { - name: 'refundReturnedItemsCount', + name: 'customerShippingProfileId', typeInfo: 'Int' }] }, { - localName: 'ARBGetSubscriptionListResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'TokenMaskedType', + typeName: 'tokenMaskedType', propertyInfos: [{ - name: 'totalNumInResultSet', - typeInfo: 'Int' + name: 'tokenSource' }, { - name: 'subscriptionDetails', - typeInfo: '.ArrayOfSubscription' - }] - }, { - localName: 'TransactionDetailsType.EmvDetails.Tag', - typeName: null, - propertyInfos: [{ - name: 'tagId', + name: 'tokenNumber', required: true }, { - name: 'data', + name: 'expirationDate', required: true }] }, { - localName: 'ARBCreateSubscriptionRequest', + localName: 'GetAUJobSummaryResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'subscription', - required: true, - typeInfo: '.ARBSubscriptionType' + name: 'auSummary', + typeInfo: '.ArrayOfAUResponseType' }] }, { - localName: 'TransactionResponse.Messages', + localName: 'ProfileTransAuthCaptureType', + typeName: 'profileTransAuthCaptureType', + baseTypeInfo: '.ProfileTransOrderType' + }, { + localName: 'UpdateCustomerPaymentProfileRequest', typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'message', - minOccurs: 0, - collection: true, - typeInfo: '.TransactionResponse.Messages.Message' + name: 'customerProfileId', + required: true + }, { + name: 'paymentProfile', + required: true, + typeInfo: '.CustomerPaymentProfileExType' + }, { + name: 'validationMode' }] }, { - localName: 'CustomerPaymentProfileMaskedType', - typeName: 'customerPaymentProfileMaskedType', - baseTypeInfo: '.CustomerPaymentProfileBaseType', + localName: 'ARBSubscriptionType', propertyInfos: [{ - name: 'customerProfileId' + name: 'name' }, { - name: 'customerPaymentProfileId', - required: true + name: 'paymentSchedule', + typeInfo: '.PaymentScheduleType' }, { - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' + name: 'amount', + typeInfo: 'Decimal' + }, { + name: 'trialAmount', + typeInfo: 'Decimal' }, { name: 'payment', - typeInfo: '.PaymentMaskedType' + typeInfo: '.PaymentType' }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseMaskedType' + name: 'order', + typeInfo: '.OrderType' }, { - name: 'taxId' + name: 'customer', + typeInfo: '.CustomerType' }, { - name: 'subscriptionIds', - typeInfo: '.SubscriptionIdList' + name: 'billTo', + typeInfo: '.NameAndAddressType' + }, { + name: 'shipTo', + typeInfo: '.NameAndAddressType' + }, { + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'MobileDeviceRegistrationRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'CreditCardTrackType', + typeName: 'creditCardTrackType', propertyInfos: [{ - name: 'mobileDevice', - required: true, - typeInfo: '.MobileDeviceType' + name: 'track1', + required: true + }, { + name: 'track2', + required: true }] }, { - localName: 'IsAliveRequest', + localName: 'TransactionResponse.Errors.Error', typeName: null, propertyInfos: [{ - name: 'refId' - }] - }, { - localName: 'MerchantAuthenticationType', - typeName: 'merchantAuthenticationType', - propertyInfos: [{ - name: 'name' - }, { - name: 'transactionKey', - required: true - }, { - name: 'sessionToken' - }, { - name: 'password', - required: true - }, { - name: 'impersonationAuthentication', - typeInfo: '.ImpersonationAuthenticationType' - }, { - name: 'fingerPrint', - typeInfo: '.FingerPrintType' - }, { - name: 'clientKey' + name: 'errorCode' }, { - name: 'mobileDeviceId' + name: 'errorText' }] }, { localName: 'ArrayOfTransactionSummaryType', @@ -1875,483 +1504,576 @@ var Schema_Module_Factory = function () { typeInfo: '.TransactionSummaryType' }] }, { - localName: 'ProfileTransVoidType', - typeName: 'profileTransVoidType', + localName: 'ARBCancelSubscriptionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileId' - }, { - name: 'customerShippingAddressId' - }, { - name: 'transId', + name: 'subscriptionId', required: true }] }, { - localName: 'CreditCardType', - typeName: 'creditCardType', - baseTypeInfo: '.CreditCardSimpleType', - propertyInfos: [{ - name: 'cardCode' - }, { - name: 'isPaymentToken', - typeInfo: 'Boolean' - }, { - name: 'cryptogram' - }] - }, { - localName: 'BankAccountType', - typeName: 'bankAccountType', + localName: 'CustomerProfileSummaryType', + typeName: 'customerProfileSummaryType', propertyInfos: [{ - name: 'accountType' - }, { - name: 'routingNumber', - required: true + name: 'customerProfileId' }, { - name: 'accountNumber', - required: true + name: 'description' }, { - name: 'nameOnAccount', + name: 'merchantCustomerId', required: true }, { - name: 'echeckType' - }, { - name: 'bankName' + name: 'email' }, { - name: 'checkNumber' - }] - }, { - localName: 'UpdateCustomerProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'profile', + name: 'createdDate', required: true, - typeInfo: '.CustomerProfileExType' + typeInfo: 'DateTime' }] }, { - localName: 'GetAUJobSummaryRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ArrayOfPermissionType', propertyInfos: [{ - name: 'month', - required: true + name: 'permission', + minOccurs: 0, + collection: true, + typeInfo: '.PermissionType' }] }, { - localName: 'GetCustomerProfileIdsResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'CustomerAddressExType', + typeName: 'customerAddressExType', + baseTypeInfo: '.CustomerAddressType', propertyInfos: [{ - name: 'ids', - required: true, - typeInfo: '.ArrayOfNumericString' + name: 'customerAddressId' }] }, { - localName: 'GetAUJobDetailsResponse', + localName: 'DecryptPaymentDataResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'totalNumInResultSet', - typeInfo: 'Int' + name: 'shippingInfo', + typeInfo: '.CustomerAddressType' }, { - name: 'auDetails', - typeInfo: '.ListOfAUDetailsType' - }] - }, { - localName: 'ArrayOfBatchDetailsType', - propertyInfos: [{ - name: 'batch', - minOccurs: 0, - collection: true, - typeInfo: '.BatchDetailsType' + name: 'billingInfo', + typeInfo: '.CustomerAddressType' + }, { + name: 'cardInfo', + typeInfo: '.CreditCardMaskedType' + }, { + name: 'paymentDetails', + typeInfo: '.PaymentDetails' }] }, { - localName: 'WebCheckOutDataType', - typeName: 'webCheckOutDataType', + localName: 'HeldTransactionRequestType', + typeName: 'heldTransactionRequestType', propertyInfos: [{ - name: 'type', + name: 'action', required: true }, { - name: 'id', + name: 'refTransId', required: true - }, { - name: 'token', - required: true, - typeInfo: '.WebCheckOutDataType.Token' }] }, { - localName: 'TransactionResponse', - typeName: 'transactionResponse', + localName: 'GetSettledBatchListRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'responseCode' - }, { - name: 'rawResponseCode' + name: 'includeStatistics', + typeInfo: 'Boolean' }, { - name: 'authCode' + name: 'firstSettlementDate', + typeInfo: 'DateTime' }, { - name: 'avsResultCode' + name: 'lastSettlementDate', + typeInfo: 'DateTime' + }] + }, { + localName: 'PayPalType', + typeName: 'payPalType', + propertyInfos: [{ + name: 'successUrl' }, { - name: 'cvvResultCode' + name: 'cancelUrl' }, { - name: 'cavvResultCode' + name: 'paypalLc' }, { - name: 'transId' + name: 'paypalHdrImg' }, { - name: 'refTransID' + name: 'paypalPayflowcolor' }, { - name: 'transHash' + name: 'payerID' + }] + }, { + localName: 'MerchantContactType', + typeName: 'merchantContactType', + propertyInfos: [{ + name: 'merchantName' }, { - name: 'testRequest' + name: 'merchantAddress' }, { - name: 'accountNumber' + name: 'merchantCity' }, { - name: 'entryMode' + name: 'merchantState' }, { - name: 'accountType' + name: 'merchantZip' }, { - name: 'splitTenderId' + name: 'merchantPhone' + }] + }, { + localName: 'DeleteCustomerShippingAddressRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId', + required: true }, { - name: 'prePaidCard', - typeInfo: '.TransactionResponse.PrePaidCard' + name: 'customerAddressId', + required: true + }] + }, { + localName: 'PaymentDetails', + typeName: 'paymentDetails', + propertyInfos: [{ + name: 'currency' }, { - name: 'messages', - typeInfo: '.TransactionResponse.Messages' + name: 'promoCode' }, { - name: 'errors', - typeInfo: '.TransactionResponse.Errors' + name: 'misc' }, { - name: 'splitTenderPayments', - typeInfo: '.TransactionResponse.SplitTenderPayments' + name: 'giftWrap' }, { - name: 'userFields', - typeInfo: '.TransactionResponse.UserFields' + name: 'discount' }, { - name: 'shipTo', - typeInfo: '.NameAndAddressType' + name: 'tax' }, { - name: 'secureAcceptance', - typeInfo: '.TransactionResponse.SecureAcceptance' + name: 'shippingHandling' }, { - name: 'emvResponse', - typeInfo: '.TransactionResponse.EmvResponse' + name: 'subTotal' }, { - name: 'transHashSha2' + name: 'orderID' }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: 'amount' }] }, { - localName: 'CardArt', - typeName: 'cardArt', + localName: 'WebCheckOutDataType.Token', + typeName: null, propertyInfos: [{ - name: 'cardBrand' + name: 'cardNumber', + required: true }, { - name: 'cardImageHeight' + name: 'expirationDate', + required: true }, { - name: 'cardImageUrl' + name: 'cardCode' }, { - name: 'cardImageWidth' + name: 'zip' }, { - name: 'cardType' + name: 'fullName' }] }, { - localName: 'GetTransactionDetailsRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'BatchStatisticType', + typeName: 'batchStatisticType', propertyInfos: [{ - name: 'transId', + name: 'accountType', required: true - }] - }, { - localName: 'AuthenticateTestResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'GetUnsettledTransactionListRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'status' }, { - name: 'sorting', - typeInfo: '.TransactionListSorting' + name: 'chargeAmount', + required: true, + typeInfo: 'Decimal' }, { - name: 'paging', - typeInfo: '.Paging' - }] - }, { - localName: 'ArrayOfProductCode', - propertyInfos: [{ - name: 'productCode', - minOccurs: 0, - collection: true + name: 'chargeCount', + required: true, + typeInfo: 'Int' + }, { + name: 'refundAmount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'refundCount', + required: true, + typeInfo: 'Int' + }, { + name: 'voidCount', + required: true, + typeInfo: 'Int' + }, { + name: 'declineCount', + required: true, + typeInfo: 'Int' + }, { + name: 'errorCount', + required: true, + typeInfo: 'Int' + }, { + name: 'returnedItemAmount', + typeInfo: 'Decimal' + }, { + name: 'returnedItemCount', + typeInfo: 'Int' + }, { + name: 'chargebackAmount', + typeInfo: 'Decimal' + }, { + name: 'chargebackCount', + typeInfo: 'Int' + }, { + name: 'correctionNoticeCount', + typeInfo: 'Int' + }, { + name: 'chargeChargeBackAmount', + typeInfo: 'Decimal' + }, { + name: 'chargeChargeBackCount', + typeInfo: 'Int' + }, { + name: 'refundChargeBackAmount', + typeInfo: 'Decimal' + }, { + name: 'refundChargeBackCount', + typeInfo: 'Int' + }, { + name: 'chargeReturnedItemsAmount', + typeInfo: 'Decimal' + }, { + name: 'chargeReturnedItemsCount', + typeInfo: 'Int' + }, { + name: 'refundReturnedItemsAmount', + typeInfo: 'Decimal' + }, { + name: 'refundReturnedItemsCount', + typeInfo: 'Int' }] }, { - localName: 'TransactionRequestType.UserFields', + localName: 'GetCustomerProfileResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'userField', - minOccurs: 0, - maxOccurs: 20, - collection: true, - typeInfo: '.UserField' + name: 'profile', + typeInfo: '.CustomerProfileMaskedType' + }, { + name: 'subscriptionIds', + typeInfo: '.SubscriptionIdList' }] }, { - localName: 'CustomerProfileSummaryType', - typeName: 'customerProfileSummaryType', + localName: 'ArbTransaction', + typeName: 'arbTransaction', propertyInfos: [{ - name: 'customerProfileId' + name: 'transId' }, { - name: 'description' + name: 'response' }, { - name: 'merchantCustomerId', - required: true + name: 'submitTimeUTC', + typeInfo: 'DateTime' }, { - name: 'email' + name: 'payNum', + typeInfo: 'Int' }, { - name: 'createdDate', - required: true, - typeInfo: 'DateTime' + name: 'attemptNum', + typeInfo: 'Int' }] }, { - localName: 'TransactionResponse.Messages.Message', - typeName: null, + localName: 'KeyValue', propertyInfos: [{ - name: 'code' + name: 'encoding', + required: true, + elementName: 'Encoding' }, { - name: 'description' - }] - }, { - localName: 'CreditCardSimpleType', - typeName: 'creditCardSimpleType', - propertyInfos: [{ - name: 'cardNumber', - required: true + name: 'encryptionAlgorithm', + required: true, + elementName: 'EncryptionAlgorithm' }, { - name: 'expirationDate', - required: true + name: 'scheme', + required: true, + elementName: 'Scheme', + typeInfo: '.KeyManagementScheme' }] }, { - localName: 'KeyManagementScheme.DUKPT.Mode', + localName: 'CreateCustomerProfileTransactionResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'pin', - elementName: 'PIN' + name: 'transactionResponse', + typeInfo: '.TransactionResponse' }, { - name: 'data', - elementName: 'Data' + name: 'directResponse' }] }, { - localName: 'MobileDeviceLoginResponse', + localName: 'SecurePaymentContainerResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'merchantContact', - required: true, - typeInfo: '.MerchantContactType' - }, { - name: 'userPermissions', + name: 'opaqueData', required: true, - typeInfo: '.ArrayOfPermissionType' - }, { - name: 'merchantAccount', - typeInfo: '.TransRetailInfoType' + typeInfo: '.OpaqueDataType' }] }, { - localName: 'CreateCustomerProfileTransactionRequest', + localName: 'MobileDeviceRegistrationRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'transaction', + name: 'mobileDevice', required: true, - typeInfo: '.ProfileTransactionType' - }, { - name: 'extraOptions' - }] - }, { - localName: 'ArrayOfProcessorType', - propertyInfos: [{ - name: 'processor', - minOccurs: 0, - collection: true, - typeInfo: '.ProcessorType' + typeInfo: '.MobileDeviceType' }] }, { - localName: 'MerchantContactType', - typeName: 'merchantContactType', + localName: 'ValidateCustomerPaymentProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'merchantName' - }, { - name: 'merchantAddress' + name: 'customerProfileId', + required: true }, { - name: 'merchantCity' + name: 'customerPaymentProfileId', + required: true }, { - name: 'merchantState' + name: 'customerShippingAddressId' }, { - name: 'merchantZip' + name: 'cardCode' }, { - name: 'merchantPhone' + name: 'validationMode', + required: true }] }, { - localName: 'UpdateSplitTenderGroupResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'CustomerAddressExType', - typeName: 'customerAddressExType', - baseTypeInfo: '.CustomerAddressType', + localName: 'FraudInformationType', + typeName: 'fraudInformationType', propertyInfos: [{ - name: 'customerAddressId' + name: 'fraudFilterList', + required: true, + typeInfo: '.ArrayOfFraudFilterType' + }, { + name: 'fraudAction', + required: true }] }, { - localName: 'MobileDeviceType', - typeName: 'mobileDeviceType', + localName: 'BatchDetailsType', + typeName: 'batchDetailsType', propertyInfos: [{ - name: 'mobileDeviceId', + name: 'batchId', required: true }, { - name: 'description' + name: 'settlementTimeUTC', + typeInfo: 'DateTime' }, { - name: 'phoneNumber' + name: 'settlementTimeLocal', + typeInfo: 'DateTime' }, { - name: 'devicePlatform' + name: 'settlementState', + required: true }, { - name: 'deviceActivation' + name: 'paymentMethod' + }, { + name: 'marketType' + }, { + name: 'product' + }, { + name: 'statistics', + typeInfo: '.ArrayOfBatchStatisticType' }] }, { - localName: 'UserField', - typeName: 'userField', + localName: 'TransactionDetailsType', + typeName: 'transactionDetailsType', propertyInfos: [{ - name: 'name' + name: 'transId', + required: true }, { - name: 'value' - }] - }, { - localName: 'ProfileTransAuthOnlyType', - typeName: 'profileTransAuthOnlyType', - baseTypeInfo: '.ProfileTransOrderType' - }, { - localName: 'PaymentDetails', - typeName: 'paymentDetails', - propertyInfos: [{ - name: 'currency' + name: 'refTransId' }, { - name: 'promoCode' + name: 'splitTenderId' }, { - name: 'misc' + name: 'submitTimeUTC', + required: true, + typeInfo: 'DateTime' }, { - name: 'giftWrap' + name: 'submitTimeLocal', + required: true, + typeInfo: 'DateTime' }, { - name: 'discount' + name: 'transactionType', + required: true }, { - name: 'tax' + name: 'transactionStatus', + required: true }, { - name: 'shippingHandling' + name: 'responseCode', + required: true, + typeInfo: 'Int' }, { - name: 'subTotal' + name: 'responseReasonCode', + required: true, + typeInfo: 'Int' }, { - name: 'orderID' + name: 'subscription', + typeInfo: '.SubscriptionPaymentType' }, { - name: 'amount' - }] - }, { - localName: 'CustomerProfileBaseType', - typeName: 'customerProfileBaseType', - propertyInfos: [{ - name: 'merchantCustomerId' + name: 'responseReasonDescription', + required: true }, { - name: 'description' + name: 'authCode' }, { - name: 'email' - }] - }, { - localName: 'CreateTransactionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'transactionResponse', + name: 'avsResponse', + elementName: 'AVSResponse' + }, { + name: 'cardCodeResponse' + }, { + name: 'cavvResponse', + elementName: 'CAVVResponse' + }, { + name: 'fdsFilterAction', + elementName: 'FDSFilterAction' + }, { + name: 'fdsFilters', + elementName: 'FDSFilters', + typeInfo: '.ArrayOfFDSFilter' + }, { + name: 'batch', + typeInfo: '.BatchDetailsType' + }, { + name: 'order', + typeInfo: '.OrderExType' + }, { + name: 'requestedAmount', + typeInfo: 'Decimal' + }, { + name: 'authAmount', required: true, - typeInfo: '.TransactionResponse' + typeInfo: 'Decimal' }, { - name: 'profileResponse', - typeInfo: '.CreateProfileResponse' - }] - }, { - localName: 'PayPalType', - typeName: 'payPalType', - propertyInfos: [{ - name: 'successUrl' + name: 'settleAmount', + required: true, + typeInfo: 'Decimal' }, { - name: 'cancelUrl' + name: 'tax', + typeInfo: '.ExtendedAmountType' }, { - name: 'paypalLc' + name: 'shipping', + typeInfo: '.ExtendedAmountType' }, { - name: 'paypalHdrImg' + name: 'duty', + typeInfo: '.ExtendedAmountType' }, { - name: 'paypalPayflowcolor' + name: 'lineItems', + typeInfo: '.ArrayOfLineItem' }, { - name: 'payerID' + name: 'prepaidBalanceRemaining', + typeInfo: 'Decimal' + }, { + name: 'taxExempt', + typeInfo: 'Boolean' + }, { + name: 'payment', + required: true, + typeInfo: '.PaymentMaskedType' + }, { + name: 'customer', + typeInfo: '.CustomerDataType' + }, { + name: 'billTo', + typeInfo: '.CustomerAddressType' + }, { + name: 'shipTo', + typeInfo: '.NameAndAddressType' + }, { + name: 'recurringBilling', + typeInfo: 'Boolean' + }, { + name: 'customerIP' + }, { + name: 'product' + }, { + name: 'entryMode' + }, { + name: 'marketType' + }, { + name: 'mobileDeviceId' + }, { + name: 'customerSignature' + }, { + name: 'returnedItems', + typeInfo: '.ArrayOfReturnedItem' + }, { + name: 'solution', + typeInfo: '.SolutionType' + }, { + name: 'emvDetails', + typeInfo: '.TransactionDetailsType.EmvDetails' + }, { + name: 'profile', + typeInfo: '.CustomerProfileIdType' + }, { + name: 'surcharge', + typeInfo: '.ExtendedAmountType' + }, { + name: 'employeeId' + }, { + name: 'tip', + typeInfo: '.ExtendedAmountType' }] }, { - localName: 'ANetApiResponse', + localName: 'ArrayOfCustomerPaymentProfileListItemType', + typeName: 'arrayOfCustomerPaymentProfileListItemType', + propertyInfos: [{ + name: 'paymentProfile', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerPaymentProfileListItemType' + }] + }, { + localName: 'CreateProfileResponse', + typeName: 'createProfileResponse', propertyInfos: [{ - name: 'refId' - }, { name: 'messages', required: true, typeInfo: '.MessagesType' }, { - name: 'sessionToken' + name: 'customerProfileId' + }, { + name: 'customerPaymentProfileIdList', + typeInfo: '.ArrayOfNumericString' + }, { + name: 'customerShippingAddressIdList', + typeInfo: '.ArrayOfNumericString' }] }, { - localName: 'GetHostedProfilePageResponse', + localName: 'ARBUpdateSubscriptionResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'token', - required: true + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'GetTransactionListForCustomerRequest', + localName: 'ArrayOfString', + propertyInfos: [{ + name: 'string', + minOccurs: 0, + collection: true + }] + }, { + localName: 'GetBatchStatisticsResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'customerProfileId', - required: true - }, { - name: 'customerPaymentProfileId' - }, { - name: 'sorting', - typeInfo: '.TransactionListSorting' - }, { - name: 'paging', - typeInfo: '.Paging' + name: 'batch', + typeInfo: '.BatchDetailsType' }] }, { - localName: 'ValidateCustomerPaymentProfileRequest', + localName: 'ARBCancelSubscriptionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'CreateTransactionRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', - required: true - }, { - name: 'customerPaymentProfileId', - required: true - }, { - name: 'customerShippingAddressId' - }, { - name: 'cardCode' - }, { - name: 'validationMode', - required: true + name: 'transactionRequest', + required: true, + typeInfo: '.TransactionRequestType' }] }, { - localName: 'SettingType', - typeName: 'settingType', + localName: 'KeyManagementScheme.DUKPT.DeviceInfo', + typeName: null, propertyInfos: [{ - name: 'settingName' - }, { - name: 'settingValue' + name: 'description', + required: true, + elementName: 'Description' }] }, { localName: 'TransactionSummaryType', @@ -2406,179 +2128,236 @@ var Schema_Module_Factory = function () { typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'DeleteCustomerProfileRequest', + localName: 'ArrayOfFraudFilterType', + propertyInfos: [{ + name: 'fraudFilter', + required: true, + maxOccurs: 1000, + collection: true + }] + }, { + localName: 'ArrayOfProcessorType', + propertyInfos: [{ + name: 'processor', + minOccurs: 0, + collection: true, + typeInfo: '.ProcessorType' + }] + }, { + localName: 'GetHostedProfilePageRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ name: 'customerProfileId', required: true - }] + }, { + name: 'hostedProfileSettings', + typeInfo: '.ArrayOfSetting' + }] }, { - localName: 'GetBatchStatisticsResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'CustomerPaymentProfileListItemType', + typeName: 'customerPaymentProfileListItemType', propertyInfos: [{ - name: 'batch', - typeInfo: '.BatchDetailsType' + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' + }, { + name: 'customerPaymentProfileId', + required: true, + typeInfo: 'Int' + }, { + name: 'customerProfileId', + required: true, + typeInfo: 'Int' + }, { + name: 'billTo', + required: true, + typeInfo: '.CustomerAddressType' + }, { + name: 'payment', + required: true, + typeInfo: '.PaymentMaskedType' }] }, { - localName: 'GetHostedPaymentPageResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'ARBSubscriptionMaskedType', propertyInfos: [{ - name: 'token', - required: true + name: 'name' + }, { + name: 'paymentSchedule', + typeInfo: '.PaymentScheduleType' + }, { + name: 'amount', + typeInfo: 'Decimal' + }, { + name: 'trialAmount', + typeInfo: 'Decimal' + }, { + name: 'status' + }, { + name: 'profile', + typeInfo: '.SubscriptionCustomerProfileType' + }, { + name: 'order', + typeInfo: '.OrderType' + }, { + name: 'arbTransactions', + typeInfo: '.ARBTransactionList' }] }, { - localName: 'GetHostedProfilePageRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'MessagesType', + typeName: 'messagesType', propertyInfos: [{ - name: 'customerProfileId', + name: 'resultCode', required: true }, { - name: 'hostedProfileSettings', - typeInfo: '.ArrayOfSetting' + name: 'message', + required: true, + collection: true, + typeInfo: '.MessagesType.Message' }] }, { - localName: 'PaymentMaskedType', - typeName: 'paymentMaskedType', + localName: 'GetMerchantDetailsResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'creditCard', + name: 'isTestMode', + typeInfo: 'Boolean' + }, { + name: 'processors', required: true, - typeInfo: '.CreditCardMaskedType' + typeInfo: '.ArrayOfProcessorType' }, { - name: 'bankAccount', + name: 'merchantName', + required: true + }, { + name: 'gatewayId', + required: true + }, { + name: 'marketTypes', required: true, - typeInfo: '.BankAccountMaskedType' + typeInfo: '.ArrayOfMarketType' }, { - name: 'tokenInformation', + name: 'productCodes', required: true, - typeInfo: '.TokenMaskedType' + typeInfo: '.ArrayOfProductCode' + }, { + name: 'paymentMethods', + required: true, + typeInfo: '.ArrayOfPaymentMethod' + }, { + name: 'currencies', + required: true, + typeInfo: '.ArrayOfCurrencyCode' + }, { + name: 'publicClientKey' }] }, { - localName: 'UpdateCustomerPaymentProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ImpersonationAuthenticationType', + typeName: 'impersonationAuthenticationType', propertyInfos: [{ - name: 'customerProfileId', + name: 'partnerLoginId', required: true }, { - name: 'paymentProfile', + name: 'partnerTransactionKey', + required: true + }] + }, { + localName: 'ARBGetSubscriptionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'subscription', required: true, - typeInfo: '.CustomerPaymentProfileExType' - }, { - name: 'validationMode' + typeInfo: '.ARBSubscriptionMaskedType' }] }, { - localName: 'CustomerProfileMaskedType', - typeName: 'customerProfileMaskedType', - baseTypeInfo: '.CustomerProfileExType', + localName: 'ListOfAUDetailsType', propertyInfos: [{ - name: 'paymentProfiles', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerPaymentProfileMaskedType' - }, { - name: 'shipToList', + name: 'auUpdateOrAuDelete', minOccurs: 0, collection: true, - typeInfo: '.CustomerAddressExType' + elementTypeInfos: [{ + elementName: 'auUpdate', + typeInfo: '.AuUpdateType' + }, { + elementName: 'auDelete', + typeInfo: '.AuDeleteType' + }], + type: 'elements' }] }, { - localName: 'TransactionDetailsType', - typeName: 'transactionDetailsType', + localName: 'LogoutRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'FingerPrintType', + typeName: 'fingerPrintType', propertyInfos: [{ - name: 'transId', + name: 'hashValue', required: true }, { - name: 'refTransId' - }, { - name: 'splitTenderId' + name: 'sequence' }, { - name: 'submitTimeUTC', - required: true, - typeInfo: 'DateTime' + name: 'timestamp', + required: true }, { - name: 'submitTimeLocal', - required: true, - typeInfo: 'DateTime' + name: 'currencyCode' }, { + name: 'amount' + }] + }, { + localName: 'MobileDeviceLoginRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'TransactionRequestType', + typeName: 'transactionRequestType', + propertyInfos: [{ name: 'transactionType', required: true }, { - name: 'transactionStatus', - required: true - }, { - name: 'responseCode', - required: true, - typeInfo: 'Int' - }, { - name: 'responseReasonCode', - required: true, - typeInfo: 'Int' + name: 'amount', + typeInfo: 'Decimal' }, { - name: 'subscription', - typeInfo: '.SubscriptionPaymentType' + name: 'currencyCode' }, { - name: 'responseReasonDescription', - required: true + name: 'payment', + typeInfo: '.PaymentType' }, { - name: 'authCode' + name: 'profile', + typeInfo: '.CustomerProfilePaymentType' }, { - name: 'avsResponse', - elementName: 'AVSResponse' + name: 'solution', + typeInfo: '.SolutionType' }, { - name: 'cardCodeResponse' + name: 'callId' }, { - name: 'cavvResponse', - elementName: 'CAVVResponse' + name: 'terminalNumber' }, { - name: 'fdsFilterAction', - elementName: 'FDSFilterAction' + name: 'authCode' }, { - name: 'fdsFilters', - elementName: 'FDSFilters', - typeInfo: '.ArrayOfFDSFilter' + name: 'refTransId' }, { - name: 'batch', - typeInfo: '.BatchDetailsType' + name: 'splitTenderId' }, { name: 'order', - typeInfo: '.OrderExType' - }, { - name: 'requestedAmount', - typeInfo: 'Decimal' - }, { - name: 'authAmount', - required: true, - typeInfo: 'Decimal' + typeInfo: '.OrderType' }, { - name: 'settleAmount', - required: true, - typeInfo: 'Decimal' + name: 'lineItems', + typeInfo: '.ArrayOfLineItem' }, { name: 'tax', typeInfo: '.ExtendedAmountType' - }, { - name: 'shipping', - typeInfo: '.ExtendedAmountType' }, { name: 'duty', typeInfo: '.ExtendedAmountType' }, { - name: 'lineItems', - typeInfo: '.ArrayOfLineItem' - }, { - name: 'prepaidBalanceRemaining', - typeInfo: 'Decimal' + name: 'shipping', + typeInfo: '.ExtendedAmountType' }, { name: 'taxExempt', typeInfo: 'Boolean' }, { - name: 'payment', - required: true, - typeInfo: '.PaymentMaskedType' + name: 'poNumber' }, { name: 'customer', typeInfo: '.CustomerDataType' @@ -2588,52 +2367,221 @@ var Schema_Module_Factory = function () { }, { name: 'shipTo', typeInfo: '.NameAndAddressType' - }, { - name: 'recurringBilling', - typeInfo: 'Boolean' }, { name: 'customerIP' }, { - name: 'product' + name: 'cardholderAuthentication', + typeInfo: '.CcAuthenticationType' }, { - name: 'entryMode' + name: 'retail', + typeInfo: '.TransRetailInfoType' }, { - name: 'marketType' + name: 'employeeId' + }, { + name: 'transactionSettings', + typeInfo: '.ArrayOfSetting' + }, { + name: 'userFields', + typeInfo: '.TransactionRequestType.UserFields' + }, { + name: 'surcharge', + typeInfo: '.ExtendedAmountType' + }, { + name: 'merchantDescriptor' + }, { + name: 'subMerchant', + typeInfo: '.SubMerchantType' + }, { + name: 'tip', + typeInfo: '.ExtendedAmountType' + }] + }, { + localName: 'MerchantAuthenticationType', + typeName: 'merchantAuthenticationType', + propertyInfos: [{ + name: 'name' + }, { + name: 'transactionKey', + required: true + }, { + name: 'sessionToken' + }, { + name: 'password', + required: true + }, { + name: 'impersonationAuthentication', + typeInfo: '.ImpersonationAuthenticationType' + }, { + name: 'fingerPrint', + typeInfo: '.FingerPrintType' + }, { + name: 'clientKey' + }, { + name: 'accessToken' }, { name: 'mobileDeviceId' + }] + }, { + localName: 'EmvTag', + typeName: 'emvTag', + propertyInfos: [{ + name: 'name' }, { - name: 'customerSignature' + name: 'value' }, { - name: 'returnedItems', - typeInfo: '.ArrayOfReturnedItem' + name: 'formatted' + }] + }, { + localName: 'TransactionDetailsType.EmvDetails.Tag', + typeName: null, + propertyInfos: [{ + name: 'tagId', + required: true }, { - name: 'solution', - typeInfo: '.SolutionType' + name: 'data', + required: true + }] + }, { + localName: 'CustomerPaymentProfileSorting', + propertyInfos: [{ + name: 'orderBy', + required: true }, { - name: 'emvDetails', - typeInfo: '.TransactionDetailsType.EmvDetails' + name: 'orderDescending', + required: true, + typeInfo: 'Boolean' + }] + }, { + localName: 'KeyManagementScheme', + propertyInfos: [{ + name: 'dukpt', + required: true, + elementName: 'DUKPT', + typeInfo: '.KeyManagementScheme.DUKPT' + }] + }, { + localName: 'CustomerType', + typeName: 'customerType', + propertyInfos: [{ + name: 'type' }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: 'id' + }, { + name: 'email' + }, { + name: 'phoneNumber' + }, { + name: 'faxNumber' + }, { + name: 'driversLicense', + typeInfo: '.DriversLicenseType' + }, { + name: 'taxId' }] }, { - localName: 'DecryptPaymentDataRequest', + localName: 'ArrayOfPaymentMethod', + propertyInfos: [{ + name: 'paymentMethod', + minOccurs: 0, + collection: true + }] + }, { + localName: 'ArrayOfProductCode', + propertyInfos: [{ + name: 'productCode', + minOccurs: 0, + collection: true + }] + }, { + localName: 'GetCustomerShippingAddressResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'defaultShippingAddress', + typeInfo: 'Boolean' + }, { + name: 'address', + typeInfo: '.CustomerAddressExType' + }, { + name: 'subscriptionIds', + typeInfo: '.SubscriptionIdList' + }] + }, { + localName: 'TransactionResponse.UserFields', + typeName: null, + propertyInfos: [{ + name: 'userField', + minOccurs: 0, + maxOccurs: 20, + collection: true, + typeInfo: '.UserField' + }] + }, { + localName: 'BankAccountMaskedType', + typeName: 'bankAccountMaskedType', + propertyInfos: [{ + name: 'accountType' + }, { + name: 'routingNumber', + required: true + }, { + name: 'accountNumber', + required: true + }, { + name: 'nameOnAccount', + required: true + }, { + name: 'echeckType' + }, { + name: 'bankName' + }] + }, { + localName: 'ProfileTransVoidType', + typeName: 'profileTransVoidType', + propertyInfos: [{ + name: 'customerProfileId' + }, { + name: 'customerPaymentProfileId' + }, { + name: 'customerShippingAddressId' + }, { + name: 'transId', + required: true + }] + }, { + localName: 'GetCustomerPaymentProfileListRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'opaqueData', - required: true, - typeInfo: '.OpaqueDataType' + name: 'searchType', + required: true }, { - name: 'callId' + name: 'month', + required: true + }, { + name: 'sorting', + typeInfo: '.CustomerPaymentProfileSorting' + }, { + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'KeyManagementScheme.DUKPT.EncryptedData', + localName: 'SecurePaymentContainerRequest', typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'value', + name: 'data', required: true, - elementName: 'Value' + typeInfo: '.WebCheckOutDataType' + }] + }, { + localName: 'TransactionDetailsType.EmvDetails', + typeName: null, + propertyInfos: [{ + name: 'tag', + required: true, + collection: true, + typeInfo: '.TransactionDetailsType.EmvDetails.Tag' }] }, { localName: 'ArrayOfSetting', @@ -2644,289 +2592,317 @@ var Schema_Module_Factory = function () { typeInfo: '.SettingType' }] }, { - localName: 'LineItemType', - typeName: 'lineItemType', + localName: 'SettingType', + typeName: 'settingType', propertyInfos: [{ - name: 'itemId', - required: true - }, { - name: 'name', - required: true + name: 'settingName' }, { - name: 'description' + name: 'settingValue' + }] + }, { + localName: 'AuthenticateTestResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'ProfileTransPriorAuthCaptureType', + typeName: 'profileTransPriorAuthCaptureType', + baseTypeInfo: '.ProfileTransAmountType', + propertyInfos: [{ + name: 'customerProfileId' }, { - name: 'quantity', - required: true, - typeInfo: 'Decimal' + name: 'customerPaymentProfileId' }, { - name: 'unitPrice', - required: true, - typeInfo: 'Decimal' + name: 'customerShippingAddressId' }, { - name: 'taxable', - typeInfo: 'Boolean' + name: 'transId', + required: true }] }, { - localName: 'CcAuthenticationType', - typeName: 'ccAuthenticationType', + localName: 'ARBUpdateSubscriptionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'authenticationIndicator', + name: 'subscriptionId', required: true }, { - name: 'cardholderAuthenticationValue', - required: true + name: 'subscription', + required: true, + typeInfo: '.ARBSubscriptionType' }] }, { - localName: 'PermissionType', - typeName: 'permissionType', + localName: 'ANetApiResponse', propertyInfos: [{ - name: 'permissionName' + name: 'refId' + }, { + name: 'messages', + required: true, + typeInfo: '.MessagesType' + }, { + name: 'sessionToken' }] }, { - localName: 'ProfileTransAuthCaptureType', - typeName: 'profileTransAuthCaptureType', - baseTypeInfo: '.ProfileTransOrderType' - }, { - localName: 'TransactionResponse.EmvResponse', + localName: 'DeleteCustomerShippingAddressResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'Paging', propertyInfos: [{ - name: 'tlvData' + name: 'limit', + required: true, + typeInfo: 'Int' }, { - name: 'tags', - typeInfo: '.TransactionResponse.EmvResponse.Tags' + name: 'offset', + required: true, + typeInfo: 'Int' }] }, { - localName: 'ValidateCustomerPaymentProfileResponse', + localName: 'GetHostedPaymentPageResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'directResponse' + name: 'token', + required: true }] }, { - localName: 'UpdateSplitTenderGroupRequest', + localName: 'GetAUJobSummaryRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'splitTenderId', + name: 'month', required: true + }] + }, { + localName: 'CreateCustomerPaymentProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'customerProfileId' }, { - name: 'splitTenderStatus', + name: 'customerPaymentProfileId' + }, { + name: 'validationDirectResponse' + }] + }, { + localName: 'ProfileTransCaptureOnlyType', + typeName: 'profileTransCaptureOnlyType', + baseTypeInfo: '.ProfileTransOrderType', + propertyInfos: [{ + name: 'approvalCode', required: true }] }, { - localName: 'ArrayOfAUResponseType', + localName: 'ArrayOfFDSFilter', propertyInfos: [{ - name: 'auResponse', + name: 'fdsFilter', minOccurs: 0, collection: true, - typeInfo: '.AuResponseType' + elementName: 'FDSFilter', + typeInfo: '.FDSFilterType' }] }, { - localName: 'ARBCancelSubscriptionRequest', + localName: 'GetTransactionDetailsResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'subscriptionId', - required: true - }] - }, { - localName: 'ReturnedItemType', - typeName: 'returnedItemType', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'id', - required: true - }, { - name: 'dateUTC', - required: true, - typeInfo: 'DateTime' - }, { - name: 'dateLocal', + name: 'transaction', required: true, - typeInfo: 'DateTime' + typeInfo: '.TransactionDetailsType' }, { - name: 'code', - required: true + name: 'clientId' }, { - name: 'description', - required: true + name: 'transrefId' }] }, { - localName: 'OpaqueDataType', - typeName: 'opaqueDataType', + localName: 'UpdateCustomerProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'dataDescriptor', - required: true - }, { - name: 'dataValue', - required: true - }, { - name: 'dataKey' + name: 'profile', + required: true, + typeInfo: '.CustomerProfileExType' }] }, { - localName: 'GetAUJobDetailsRequest', + localName: 'ARBGetSubscriptionStatusRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'month', + name: 'subscriptionId', required: true - }, { - name: 'modifiedTypeFilter' - }, { - name: 'paging', - typeInfo: '.Paging' }] }, { - localName: 'ArrayOfPaymentMethod', + localName: 'GetSettledBatchListResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'paymentMethod', - minOccurs: 0, - collection: true + name: 'batchList', + typeInfo: '.ArrayOfBatchDetailsType' }] }, { - localName: 'WebCheckOutDataType.Token', - typeName: null, + localName: 'CustomerDataType', + typeName: 'customerDataType', propertyInfos: [{ - name: 'cardNumber', - required: true + name: 'type' }, { - name: 'expirationDate', - required: true + name: 'id' }, { - name: 'cardCode' + name: 'email' }, { - name: 'zip' + name: 'driversLicense', + typeInfo: '.DriversLicenseType' }, { - name: 'fullName' + name: 'taxId' }] }, { - localName: 'FDSFilterType', + localName: 'TransactionResponse.EmvResponse', + typeName: null, propertyInfos: [{ - name: 'name', - required: true + name: 'tlvData' }, { - name: 'action', - required: true + name: 'tags', + typeInfo: '.TransactionResponse.EmvResponse.Tags' }] }, { - localName: 'GetCustomerPaymentProfileListRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'TransactionListSorting', propertyInfos: [{ - name: 'searchType', - required: true - }, { - name: 'month', + name: 'orderBy', required: true }, { - name: 'sorting', - typeInfo: '.CustomerPaymentProfileSorting' - }, { - name: 'paging', - typeInfo: '.Paging' + name: 'orderDescending', + required: true, + typeInfo: 'Boolean' }] }, { - localName: 'ArrayOfMarketType', + localName: 'GetAUJobDetailsResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'marketType', - minOccurs: 0, - collection: true + name: 'totalNumInResultSet', + typeInfo: 'Int' + }, { + name: 'auDetails', + typeInfo: '.ListOfAUDetailsType' }] }, { - localName: 'TransactionResponse.PrePaidCard', - typeName: null, + localName: 'CustomerProfileExType', + typeName: 'customerProfileExType', + baseTypeInfo: '.CustomerProfileBaseType', propertyInfos: [{ - name: 'requestedAmount' - }, { - name: 'approvedAmount' - }, { - name: 'balanceOnCard' + name: 'customerProfileId' }] }, { - localName: 'NameAndAddressType', - typeName: 'nameAndAddressType', + localName: 'ProcessorType', + typeName: 'processorType', propertyInfos: [{ - name: 'firstName' - }, { - name: 'lastName' - }, { - name: 'company' - }, { - name: 'address' - }, { - name: 'city' - }, { - name: 'state' + name: 'name', + required: true }, { - name: 'zip' + name: 'id', + required: true, + typeInfo: 'Int' }, { - name: 'country' + name: 'cardTypes', + typeInfo: '.ArrayOfCardType' }] }, { - localName: 'UpdateCustomerPaymentProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'OrderType', + typeName: 'orderType', propertyInfos: [{ - name: 'validationDirectResponse' + name: 'invoiceNumber' + }, { + name: 'description' }] }, { - localName: 'BankAccountMaskedType', - typeName: 'bankAccountMaskedType', + localName: 'GetCustomerShippingAddressRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'accountType' - }, { - name: 'routingNumber', - required: true - }, { - name: 'accountNumber', + name: 'customerProfileId', required: true }, { - name: 'nameOnAccount', + name: 'customerAddressId' + }] + }, { + localName: 'GetMerchantDetailsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'CreateCustomerPaymentProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId', required: true }, { - name: 'echeckType' + name: 'paymentProfile', + required: true, + typeInfo: '.CustomerPaymentProfileType' }, { - name: 'bankName' + name: 'validationMode' }] }, { - localName: 'CustomerType', - typeName: 'customerType', + localName: 'ProfileTransactionType', + typeName: 'profileTransactionType', propertyInfos: [{ - name: 'type' + name: 'profileTransAuthCapture', + required: true, + typeInfo: '.ProfileTransAuthCaptureType' }, { - name: 'id' + name: 'profileTransAuthOnly', + required: true, + typeInfo: '.ProfileTransAuthOnlyType' }, { - name: 'email' + name: 'profileTransPriorAuthCapture', + required: true, + typeInfo: '.ProfileTransPriorAuthCaptureType' }, { - name: 'phoneNumber' + name: 'profileTransCaptureOnly', + required: true, + typeInfo: '.ProfileTransCaptureOnlyType' }, { - name: 'faxNumber' + name: 'profileTransRefund', + required: true, + typeInfo: '.ProfileTransRefundType' }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseType' + name: 'profileTransVoid', + required: true, + typeInfo: '.ProfileTransVoidType' + }] + }, { + localName: 'SecurePaymentContainerErrorType', + typeName: 'securePaymentContainerErrorType', + propertyInfos: [{ + name: 'code', + required: true }, { - name: 'taxId' + name: 'description', + required: true }] }, { - localName: 'DeleteCustomerPaymentProfileResponse', + localName: 'MobileDeviceRegistrationResponse', typeName: null, baseTypeInfo: '.ANetApiResponse' }, { - localName: 'FraudInformationType', - typeName: 'fraudInformationType', + localName: 'ArrayOfLong', propertyInfos: [{ - name: 'fraudFilterList', - required: true, - typeInfo: '.ArrayOfFraudFilterType' - }, { - name: 'fraudAction', - required: true + name: '_long', + minOccurs: 0, + collection: true, + elementName: 'long', + typeInfo: 'Long' }] }, { - localName: 'SubscriptionIdList', + localName: 'SendCustomerTransactionReceiptRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'subscriptionId', - minOccurs: 0, - collection: true + name: 'transId', + required: true + }, { + name: 'customerEmail', + required: true + }, { + name: 'emailSettings', + typeInfo: '.EmailSettingsType' }] }, { localName: 'EnumCollection', @@ -2966,387 +2942,521 @@ var Schema_Module_Factory = function () { required: true }] }, { - localName: 'GetTransactionDetailsResponse', + localName: 'ArrayOfBatchDetailsType', + propertyInfos: [{ + name: 'batch', + minOccurs: 0, + collection: true, + typeInfo: '.BatchDetailsType' + }] + }, { + localName: 'SendCustomerTransactionReceiptResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'GetCustomerProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId' + }, { + name: 'merchantCustomerId' + }, { + name: 'email' + }, { + name: 'unmaskExpirationDate', + typeInfo: 'Boolean' + }, { + name: 'includeIssuerInfo', + typeInfo: 'Boolean' + }] + }, { + localName: 'MobileDeviceType', + typeName: 'mobileDeviceType', + propertyInfos: [{ + name: 'mobileDeviceId', + required: true + }, { + name: 'description' + }, { + name: 'phoneNumber' + }, { + name: 'devicePlatform' + }, { + name: 'deviceActivation' + }] + }, { + localName: 'CreateCustomerProfileResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'transaction', + name: 'customerProfileId' + }, { + name: 'customerPaymentProfileIdList', required: true, - typeInfo: '.TransactionDetailsType' + typeInfo: '.ArrayOfNumericString' }, { - name: 'clientId' + name: 'customerShippingAddressIdList', + required: true, + typeInfo: '.ArrayOfNumericString' }, { - name: 'transrefId' + name: 'validationDirectResponseList', + required: true, + typeInfo: '.ArrayOfString' }] }, { - localName: 'GetSettledBatchListResponse', + localName: 'WebCheckOutDataType', + typeName: 'webCheckOutDataType', + propertyInfos: [{ + name: 'type', + required: true + }, { + name: 'id', + required: true + }, { + name: 'token', + required: true, + typeInfo: '.WebCheckOutDataType.Token' + }] + }, { + localName: 'GetCustomerPaymentProfileResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'batchList', - typeInfo: '.ArrayOfBatchDetailsType' + name: 'paymentProfile', + typeInfo: '.CustomerPaymentProfileMaskedType' }] }, { - localName: 'SendCustomerTransactionReceiptResponse', + localName: 'EncryptedTrackDataType', + typeName: 'encryptedTrackDataType', + propertyInfos: [{ + name: 'formOfPayment', + required: true, + elementName: 'FormOfPayment', + typeInfo: '.KeyBlock' + }] + }, { + localName: 'KeyManagementScheme.DUKPT.Mode', + typeName: null, + propertyInfos: [{ + name: 'pin', + elementName: 'PIN' + }, { + name: 'data', + elementName: 'Data' + }] + }, { + localName: 'DeleteCustomerProfileResponse', typeName: null, baseTypeInfo: '.ANetApiResponse' }, { - localName: 'GetCustomerPaymentProfileRequest', + localName: 'DriversLicenseType', + typeName: 'driversLicenseType', + propertyInfos: [{ + name: 'number', + required: true + }, { + name: 'state', + required: true + }, { + name: 'dateOfBirth', + required: true + }] + }, { + localName: 'UpdateSplitTenderGroupResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'ARBGetSubscriptionListSorting', + propertyInfos: [{ + name: 'orderBy', + required: true + }, { + name: 'orderDescending', + required: true, + typeInfo: 'Boolean' + }] + }, { + localName: 'LogoutResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'ProfileTransOrderType', + typeName: 'profileTransOrderType', + baseTypeInfo: '.ProfileTransAmountType', propertyInfos: [{ name: 'customerProfileId', required: true }, { - name: 'customerPaymentProfileId' + name: 'customerPaymentProfileId', + required: true + }, { + name: 'customerShippingAddressId' + }, { + name: 'order', + typeInfo: '.OrderExType' }, { - name: 'unmaskExpirationDate', + name: 'taxExempt', + typeInfo: 'Boolean' + }, { + name: 'recurringBilling', typeInfo: 'Boolean' + }, { + name: 'cardCode' + }, { + name: 'splitTenderId' }] }, { - localName: 'ARBCancelSubscriptionResponse', + localName: 'UpdateHeldTransactionRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse' + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'heldTransactionRequest', + required: true, + typeInfo: '.HeldTransactionRequestType' + }] }, { - localName: 'CreateCustomerShippingAddressResponse', + localName: 'GetTransactionListResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'customerProfileId' + name: 'transactions', + typeInfo: '.ArrayOfTransactionSummaryType' }, { - name: 'customerAddressId' + name: 'totalNumInResultSet', + typeInfo: 'Int' }] }, { - localName: 'CustomerProfileIdType', - typeName: 'customerProfileIdType', + localName: 'MobileDeviceLoginResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'merchantContact', + required: true, + typeInfo: '.MerchantContactType' }, { - name: 'customerPaymentProfileId' + name: 'userPermissions', + required: true, + typeInfo: '.ArrayOfPermissionType' }, { - name: 'customerAddressId' + name: 'merchantAccount', + typeInfo: '.TransRetailInfoType' }] }, { - type: 'enumInfo', - localName: 'BankAccountTypeEnum', - values: ['checking', 'savings', 'businessChecking'] - }, { - type: 'enumInfo', - localName: 'CustomerTypeEnum', - values: ['individual', 'business'] - }, { - type: 'enumInfo', - localName: 'SettlementStateEnum', - values: ['settledSuccessfully', 'settlementError', 'pendingSettlement'] - }, { - type: 'enumInfo', - localName: 'ARBSubscriptionStatusEnum', - values: ['active', 'expired', 'suspended', 'canceled', 'terminated'] + localName: 'DeleteCustomerPaymentProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' }, { type: 'enumInfo', - localName: 'ValidationModeEnum', - values: ['none', 'testMode', 'liveMode', 'oldLiveMode'] + localName: 'EncodingType', + values: ['Base64', 'Hex'] }, { type: 'enumInfo', localName: 'AccountTypeEnum', values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub', 'eCheck'] }, { type: 'enumInfo', - localName: 'EcheckTypeEnum', - values: ['PPD', 'WEB', 'CCD', 'TEL', 'ARC', 'BOC'] + localName: 'CardTypeEnum', + values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub'] }, { type: 'enumInfo', - localName: 'SplitTenderStatusEnum', - values: ['completed', 'held', 'voided'] + localName: 'ARBSubscriptionUnitEnum', + values: ['days', 'months'] }, { type: 'enumInfo', - localName: 'WebCheckOutTypeEnum', - values: ['PAN', 'TOKEN'] + localName: 'FDSFilterActionEnum', + values: ['reject', 'decline', 'hold', 'authAndHold', 'report'] + }, { + type: 'enumInfo', + localName: 'CustomerTypeEnum', + values: ['individual', 'business'] }, { type: 'enumInfo', localName: 'ARBGetSubscriptionListSearchTypeEnum', values: ['cardExpiringThisMonth', 'subscriptionActive', 'subscriptionExpiringThisMonth', 'subscriptionInactive'] }, { type: 'enumInfo', - localName: 'TransactionTypeEnum', - values: ['authOnlyTransaction', 'authCaptureTransaction', 'captureOnlyTransaction', 'refundTransaction', 'priorAuthCaptureTransaction', 'voidTransaction', 'getDetailsTransaction', 'authOnlyContinueTransaction', 'authCaptureContinueTransaction'] + localName: 'OperationType', + values: ['DECRYPT'] + }, { + type: 'enumInfo', + localName: 'PaymentMethodsTypeEnum', + values: ['Visa', 'MasterCard', 'Discover', 'AmericanExpress', 'DinersClub', 'JCB', 'EnRoute', 'Echeck', 'Paypal', 'VisaCheckout', 'ApplePay', 'AndroidPay'] }, { type: 'enumInfo', localName: 'EncryptionAlgorithmType', values: ['TDES', 'AES', 'RSA'] }, { type: 'enumInfo', - localName: 'ARBGetSubscriptionListOrderFieldEnum', - values: ['id', 'name', 'status', 'createTimeStampUTC', 'lastName', 'firstName', 'accountNumber', 'amount', 'pastOccurrences'] + localName: 'PermissionsEnum', + values: ['API_Merchant_BasicReporting', 'Submit_Charge', 'Submit_Refund', 'Submit_Update', 'Mobile_Admin'] }, { type: 'enumInfo', - localName: 'EncodingType', - values: ['Base64', 'Hex'] + localName: 'SettingNameEnum', + values: ['emailCustomer', 'merchantEmail', 'allowPartialAuth', 'headerEmailReceipt', 'footerEmailReceipt', 'recurringBilling', 'duplicateWindow', 'testRequest', 'hostedProfileReturnUrl', 'hostedProfileReturnUrlText', 'hostedProfilePageBorderVisible', 'hostedProfileIFrameCommunicatorUrl', 'hostedProfileHeadingBgColor', 'hostedProfileValidationMode', 'hostedProfileBillingAddressRequired', 'hostedProfileCardCodeRequired', 'hostedProfileBillingAddressOptions', 'hostedProfileManageOptions', 'hostedPaymentIFrameCommunicatorUrl', 'hostedPaymentButtonOptions', 'hostedPaymentReturnOptions', 'hostedPaymentOrderOptions', 'hostedPaymentPaymentOptions', 'hostedPaymentBillingAddressOptions', 'hostedPaymentShippingAddressOptions', 'hostedPaymentSecurityOptions', 'hostedPaymentCustomerOptions', 'hostedPaymentStyleOptions', 'typeEmailReceipt', 'hostedProfilePaymentOptions'] }, { type: 'enumInfo', - localName: 'OperationType', - values: ['DECRYPT'] + localName: 'MessageTypeEnum', + values: ['Ok', 'Error'] }, { type: 'enumInfo', - localName: 'PaymentMethodEnum', - values: ['creditCard', 'eCheck', 'payPal'] + localName: 'WebCheckOutTypeEnum', + values: ['PAN', 'TOKEN'] }, { type: 'enumInfo', - localName: 'CustomerPaymentProfileOrderFieldEnum', - values: ['id'] + localName: 'AfdsTransactionEnum', + values: ['approve', 'decline'] }, { type: 'enumInfo', - localName: 'PaymentMethodsTypeEnum', - values: ['Visa', 'MasterCard', 'Discover', 'AmericanExpress', 'DinersClub', 'JCB', 'EnRoute', 'Echeck', 'Paypal', 'VisaCheckout', 'ApplePay', 'AndroidPay'] + localName: 'SplitTenderStatusEnum', + values: ['completed', 'held', 'voided'] }, { type: 'enumInfo', - localName: 'DeviceActivationEnum', - values: ['Activate', 'Disable'] + localName: 'CustomerPaymentProfileSearchTypeEnum', + values: ['cardsExpiringInMonth'] }, { type: 'enumInfo', - localName: 'PermissionsEnum', - values: ['API_Merchant_BasicReporting', 'Submit_Charge', 'Submit_Refund', 'Submit_Update', 'Mobile_Admin'] + localName: 'PaymentMethodEnum', + values: ['creditCard', 'eCheck', 'payPal'] }, { type: 'enumInfo', - localName: 'MessageTypeEnum', - values: ['Ok', 'Error'] + localName: 'ValidationModeEnum', + values: ['none', 'testMode', 'liveMode', 'oldLiveMode'] }, { type: 'enumInfo', - localName: 'FDSFilterActionEnum', - values: ['reject', 'decline', 'hold', 'authAndHold', 'report'] + localName: 'SettlementStateEnum', + values: ['settledSuccessfully', 'settlementError', 'pendingSettlement'] }, { type: 'enumInfo', - localName: 'CardTypeEnum', - values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub'] + localName: 'ARBSubscriptionStatusEnum', + values: ['active', 'expired', 'suspended', 'canceled', 'terminated'] }, { type: 'enumInfo', - localName: 'SettingNameEnum', - values: ['emailCustomer', 'merchantEmail', 'allowPartialAuth', 'headerEmailReceipt', 'footerEmailReceipt', 'recurringBilling', 'duplicateWindow', 'testRequest', 'hostedProfileReturnUrl', 'hostedProfileReturnUrlText', 'hostedProfilePageBorderVisible', 'hostedProfileIFrameCommunicatorUrl', 'hostedProfileHeadingBgColor', 'hostedProfileValidationMode', 'hostedProfileBillingAddressRequired', 'hostedProfileCardCodeRequired', 'hostedProfileBillingAddressOptions', 'hostedProfileManageOptions', 'hostedPaymentIFrameCommunicatorUrl', 'hostedPaymentButtonOptions', 'hostedPaymentReturnOptions', 'hostedPaymentOrderOptions', 'hostedPaymentPaymentOptions', 'hostedPaymentBillingAddressOptions', 'hostedPaymentShippingAddressOptions', 'hostedPaymentSecurityOptions', 'hostedPaymentCustomerOptions', 'hostedPaymentStyleOptions'] + localName: 'TransactionTypeEnum', + values: ['authOnlyTransaction', 'authCaptureTransaction', 'captureOnlyTransaction', 'refundTransaction', 'priorAuthCaptureTransaction', 'voidTransaction', 'getDetailsTransaction', 'authOnlyContinueTransaction', 'authCaptureContinueTransaction'] }, { type: 'enumInfo', - localName: 'AfdsTransactionEnum', - values: ['approve', 'decline'] + localName: 'ARBGetSubscriptionListOrderFieldEnum', + values: ['id', 'name', 'status', 'createTimeStampUTC', 'lastName', 'firstName', 'accountNumber', 'amount', 'pastOccurrences'] + }, { + type: 'enumInfo', + localName: 'DeviceActivationEnum', + values: ['Activate', 'Disable'] }, { type: 'enumInfo', localName: 'TransactionListOrderFieldEnum', values: ['id', 'submitTimeUTC'] }, { type: 'enumInfo', - localName: 'TransactionGroupStatusEnum', - values: ['any', 'pendingApproval'] + localName: 'EcheckTypeEnum', + values: ['PPD', 'WEB', 'CCD', 'TEL', 'ARC', 'BOC'] }, { type: 'enumInfo', - localName: 'CustomerPaymentProfileSearchTypeEnum', - values: ['cardsExpiringInMonth'] + localName: 'CustomerPaymentProfileOrderFieldEnum', + values: ['id'] + }, { + type: 'enumInfo', + localName: 'BankAccountTypeEnum', + values: ['checking', 'savings', 'businessChecking'] }, { type: 'enumInfo', localName: 'AUJobTypeEnum', values: ['all', 'updates', 'deletes'] }, { type: 'enumInfo', - localName: 'ARBSubscriptionUnitEnum', - values: ['days', 'months'] + localName: 'TransactionGroupStatusEnum', + values: ['any', 'pendingApproval'] }, { type: 'enumInfo', localName: 'TransactionStatusEnum', values: ['authorizedPendingCapture', 'capturedPendingSettlement', 'communicationError', 'refundSettledSuccessfully', 'refundPendingSettlement', 'approvedReview', 'declined', 'couldNotVoid', 'expired', 'generalError', 'pendingFinalSettlement', 'pendingSettlement', 'failedReview', 'settledSuccessfully', 'settlementError', 'underReview', 'updatingSettlement', 'voided', 'FDSPendingReview', 'FDSAuthorizedPendingReview', 'returnedItem', 'chargeback', 'chargebackReversal', 'authorizedPendingRelease'] }], elementInfos: [{ - elementName: 'getCustomerPaymentProfileRequest', - typeInfo: '.GetCustomerPaymentProfileRequest' - }, { - elementName: 'getTransactionListForCustomerRequest', - typeInfo: '.GetTransactionListForCustomerRequest' - }, { - elementName: 'authenticateTestRequest', - typeInfo: '.AuthenticateTestRequest' - }, { - elementName: 'ARBUpdateSubscriptionRequest', - typeInfo: '.ARBUpdateSubscriptionRequest' - }, { - elementName: 'ARBCancelSubscriptionResponse', - typeInfo: '.ARBCancelSubscriptionResponse' - }, { - elementName: 'getTransactionDetailsResponse', - typeInfo: '.GetTransactionDetailsResponse' - }, { - elementName: 'updateCustomerProfileRequest', - typeInfo: '.UpdateCustomerProfileRequest' - }, { - elementName: 'updateCustomerShippingAddressResponse', - typeInfo: '.UpdateCustomerShippingAddressResponse' - }, { - elementName: 'deleteCustomerShippingAddressRequest', - typeInfo: '.DeleteCustomerShippingAddressRequest' + elementName: 'ARBGetSubscriptionStatusRequest', + typeInfo: '.ARBGetSubscriptionStatusRequest' }, { - elementName: 'createCustomerProfileRequest', - typeInfo: '.CreateCustomerProfileRequest' + elementName: 'getTransactionListRequest', + typeInfo: '.GetTransactionListRequest' }, { - elementName: 'getHostedProfilePageRequest', - typeInfo: '.GetHostedProfilePageRequest' + elementName: 'getMerchantDetailsRequest', + typeInfo: '.GetMerchantDetailsRequest' }, { - elementName: 'ARBGetSubscriptionStatusResponse', - typeInfo: '.ARBGetSubscriptionStatusResponse' + elementName: 'ARBGetSubscriptionResponse', + typeInfo: '.ARBGetSubscriptionResponse' }, { - elementName: 'logoutRequest', - typeInfo: '.LogoutRequest' + elementName: 'getAUJobSummaryResponse', + typeInfo: '.GetAUJobSummaryResponse' }, { - elementName: 'logoutResponse', - typeInfo: '.LogoutResponse' + elementName: 'isAliveRequest', + typeInfo: '.IsAliveRequest' }, { - elementName: 'ARBGetSubscriptionStatusRequest', - typeInfo: '.ARBGetSubscriptionStatusRequest' + elementName: 'deleteCustomerProfileRequest', + typeInfo: '.DeleteCustomerProfileRequest' }, { - elementName: 'updateSplitTenderGroupRequest', - typeInfo: '.UpdateSplitTenderGroupRequest' + elementName: 'getTransactionDetailsResponse', + typeInfo: '.GetTransactionDetailsResponse' }, { elementName: 'getCustomerPaymentProfileListRequest', typeInfo: '.GetCustomerPaymentProfileListRequest' }, { - elementName: 'createCustomerShippingAddressRequest', - typeInfo: '.CreateCustomerShippingAddressRequest' - }, { - elementName: 'updateHeldTransactionRequest', - typeInfo: '.UpdateHeldTransactionRequest' - }, { - elementName: 'getHostedProfilePageResponse', - typeInfo: '.GetHostedProfilePageResponse' - }, { - elementName: 'createCustomerPaymentProfileRequest', - typeInfo: '.CreateCustomerPaymentProfileRequest' - }, { - elementName: 'sendCustomerTransactionReceiptResponse', - typeInfo: '.SendCustomerTransactionReceiptResponse' + elementName: 'getAUJobDetailsResponse', + typeInfo: '.GetAUJobDetailsResponse' }, { - elementName: 'ARBGetSubscriptionListResponse', - typeInfo: '.ARBGetSubscriptionListResponse' + elementName: 'decryptPaymentDataResponse', + typeInfo: '.DecryptPaymentDataResponse' }, { - elementName: 'isAliveResponse', - typeInfo: '.IsAliveResponse' + elementName: 'ErrorResponse', + typeInfo: '.ANetApiResponse' }, { - elementName: 'mobileDeviceRegistrationResponse', - typeInfo: '.MobileDeviceRegistrationResponse' + elementName: 'updateMerchantDetailsResponse', + typeInfo: '.UpdateMerchantDetailsResponse' }, { - elementName: 'ARBCreateSubscriptionRequest', - typeInfo: '.ARBCreateSubscriptionRequest' + elementName: 'createCustomerProfileTransactionResponse', + typeInfo: '.CreateCustomerProfileTransactionResponse' }, { - elementName: 'updateCustomerPaymentProfileRequest', - typeInfo: '.UpdateCustomerPaymentProfileRequest' + elementName: 'getTransactionDetailsRequest', + typeInfo: '.GetTransactionDetailsRequest' }, { - elementName: 'getUnsettledTransactionListRequest', - typeInfo: '.GetUnsettledTransactionListRequest' + elementName: 'getUnsettledTransactionListResponse', + typeInfo: '.GetUnsettledTransactionListResponse' }, { - elementName: 'securePaymentContainerResponse', - typeInfo: '.SecurePaymentContainerResponse' + elementName: 'ARBUpdateSubscriptionResponse', + typeInfo: '.ARBUpdateSubscriptionResponse' }, { - elementName: 'ARBCreateSubscriptionResponse', - typeInfo: '.ARBCreateSubscriptionResponse' + elementName: 'getMerchantDetailsResponse', + typeInfo: '.GetMerchantDetailsResponse' }, { - elementName: 'getCustomerProfileRequest', - typeInfo: '.GetCustomerProfileRequest' + elementName: 'deleteCustomerProfileResponse', + typeInfo: '.DeleteCustomerProfileResponse' }, { - elementName: 'createCustomerShippingAddressResponse', - typeInfo: '.CreateCustomerShippingAddressResponse' + elementName: 'getSettledBatchListRequest', + typeInfo: '.GetSettledBatchListRequest' }, { - elementName: 'getBatchStatisticsRequest', - typeInfo: '.GetBatchStatisticsRequest' + elementName: 'deleteCustomerPaymentProfileResponse', + typeInfo: '.DeleteCustomerPaymentProfileResponse' }, { - elementName: 'getUnsettledTransactionListResponse', - typeInfo: '.GetUnsettledTransactionListResponse' + elementName: 'getUnsettledTransactionListRequest', + typeInfo: '.GetUnsettledTransactionListRequest' }, { - elementName: 'getHostedPaymentPageResponse', - typeInfo: '.GetHostedPaymentPageResponse' + elementName: 'securePaymentContainerRequest', + typeInfo: '.SecurePaymentContainerRequest' }, { elementName: 'updateCustomerProfileResponse', typeInfo: '.UpdateCustomerProfileResponse' }, { - elementName: 'decryptPaymentDataResponse', - typeInfo: '.DecryptPaymentDataResponse' + elementName: 'securePaymentContainerResponse', + typeInfo: '.SecurePaymentContainerResponse' }, { - elementName: 'getCustomerShippingAddressRequest', - typeInfo: '.GetCustomerShippingAddressRequest' + elementName: 'logoutResponse', + typeInfo: '.LogoutResponse' + }, { + elementName: 'sendCustomerTransactionReceiptResponse', + typeInfo: '.SendCustomerTransactionReceiptResponse' + }, { + elementName: 'ARBGetSubscriptionRequest', + typeInfo: '.ARBGetSubscriptionRequest' }, { elementName: 'updateSplitTenderGroupResponse', typeInfo: '.UpdateSplitTenderGroupResponse' }, { - elementName: 'updateHeldTransactionResponse', - typeInfo: '.UpdateHeldTransactionResponse' + elementName: 'logoutRequest', + typeInfo: '.LogoutRequest' }, { - elementName: 'mobileDeviceRegistrationRequest', - typeInfo: '.MobileDeviceRegistrationRequest' + elementName: 'updateCustomerPaymentProfileRequest', + typeInfo: '.UpdateCustomerPaymentProfileRequest' }, { - elementName: 'securePaymentContainerRequest', - typeInfo: '.SecurePaymentContainerRequest' + elementName: 'isAliveResponse', + typeInfo: '.IsAliveResponse' }, { - elementName: 'getSettledBatchListRequest', - typeInfo: '.GetSettledBatchListRequest' + elementName: 'decryptPaymentDataRequest', + typeInfo: '.DecryptPaymentDataRequest' }, { - elementName: 'deleteCustomerProfileResponse', - typeInfo: '.DeleteCustomerProfileResponse' + elementName: 'ARBGetSubscriptionListRequest', + typeInfo: '.ARBGetSubscriptionListRequest' }, { - elementName: 'validateCustomerPaymentProfileRequest', - typeInfo: '.ValidateCustomerPaymentProfileRequest' + elementName: 'updateCustomerShippingAddressResponse', + typeInfo: '.UpdateCustomerShippingAddressResponse' }, { elementName: 'mobileDeviceLoginResponse', typeInfo: '.MobileDeviceLoginResponse' }, { - elementName: 'ARBUpdateSubscriptionResponse', - typeInfo: '.ARBUpdateSubscriptionResponse' - }, { - elementName: 'deleteCustomerShippingAddressResponse', - typeInfo: '.DeleteCustomerShippingAddressResponse' + elementName: 'createCustomerShippingAddressResponse', + typeInfo: '.CreateCustomerShippingAddressResponse' }, { - elementName: 'ARBGetSubscriptionRequest', - typeInfo: '.ARBGetSubscriptionRequest' + elementName: 'validateCustomerPaymentProfileRequest', + typeInfo: '.ValidateCustomerPaymentProfileRequest' }, { - elementName: 'getAUJobDetailsRequest', - typeInfo: '.GetAUJobDetailsRequest' + elementName: 'createCustomerShippingAddressRequest', + typeInfo: '.CreateCustomerShippingAddressRequest' }, { - elementName: 'isAliveRequest', - typeInfo: '.IsAliveRequest' + elementName: 'getCustomerProfileRequest', + typeInfo: '.GetCustomerProfileRequest' }, { - elementName: 'deleteCustomerPaymentProfileRequest', - typeInfo: '.DeleteCustomerPaymentProfileRequest' + elementName: 'createCustomerProfileResponse', + typeInfo: '.CreateCustomerProfileResponse' }, { - elementName: 'getAUJobSummaryResponse', - typeInfo: '.GetAUJobSummaryResponse' + elementName: 'createCustomerPaymentProfileRequest', + typeInfo: '.CreateCustomerPaymentProfileRequest' }, { - elementName: 'getCustomerShippingAddressResponse', - typeInfo: '.GetCustomerShippingAddressResponse' + elementName: 'validateCustomerPaymentProfileResponse', + typeInfo: '.ValidateCustomerPaymentProfileResponse' }, { elementName: 'sendCustomerTransactionReceiptRequest', typeInfo: '.SendCustomerTransactionReceiptRequest' }, { - elementName: 'getCustomerPaymentProfileResponse', - typeInfo: '.GetCustomerPaymentProfileResponse' + elementName: 'getCustomerProfileResponse', + typeInfo: '.GetCustomerProfileResponse' }, { - elementName: 'deleteCustomerProfileRequest', - typeInfo: '.DeleteCustomerProfileRequest' + elementName: 'mobileDeviceRegistrationResponse', + typeInfo: '.MobileDeviceRegistrationResponse' + }, { + elementName: 'getCustomerPaymentProfileListResponse', + typeInfo: '.GetCustomerPaymentProfileListResponse' + }, { + elementName: 'getCustomerPaymentProfileRequest', + typeInfo: '.GetCustomerPaymentProfileRequest' + }, { + elementName: 'ARBUpdateSubscriptionRequest', + typeInfo: '.ARBUpdateSubscriptionRequest' + }, { + elementName: 'createCustomerProfileFromTransactionRequest', + typeInfo: '.CreateCustomerProfileFromTransactionRequest' }, { elementName: 'authenticateTestResponse', typeInfo: '.AuthenticateTestResponse' }, { - elementName: 'deleteCustomerPaymentProfileResponse', - typeInfo: '.DeleteCustomerPaymentProfileResponse' - }, { - elementName: 'createCustomerProfileTransactionResponse', - typeInfo: '.CreateCustomerProfileTransactionResponse' + elementName: 'ARBGetSubscriptionListResponse', + typeInfo: '.ARBGetSubscriptionListResponse' }, { - elementName: 'getBatchStatisticsResponse', - typeInfo: '.GetBatchStatisticsResponse' + elementName: 'ARBCancelSubscriptionResponse', + typeInfo: '.ARBCancelSubscriptionResponse' }, { - elementName: 'createCustomerProfileResponse', - typeInfo: '.CreateCustomerProfileResponse' + elementName: 'ARBCreateSubscriptionResponse', + typeInfo: '.ARBCreateSubscriptionResponse' }, { elementName: 'createCustomerPaymentProfileResponse', typeInfo: '.CreateCustomerPaymentProfileResponse' }, { - elementName: 'getSettledBatchListResponse', - typeInfo: '.GetSettledBatchListResponse' + elementName: 'getCustomerPaymentProfileResponse', + typeInfo: '.GetCustomerPaymentProfileResponse' }, { - elementName: 'getTransactionListRequest', - typeInfo: '.GetTransactionListRequest' + elementName: 'createCustomerProfileTransactionRequest', + typeInfo: '.CreateCustomerProfileTransactionRequest' + }, { + elementName: 'deleteCustomerShippingAddressRequest', + typeInfo: '.DeleteCustomerShippingAddressRequest' + }, { + elementName: 'getAUJobDetailsRequest', + typeInfo: '.GetAUJobDetailsRequest' + }, { + elementName: 'updateCustomerPaymentProfileResponse', + typeInfo: '.UpdateCustomerPaymentProfileResponse' + }, { + elementName: 'getCustomerShippingAddressRequest', + typeInfo: '.GetCustomerShippingAddressRequest' + }, { + elementName: 'getCustomerProfileIdsRequest', + typeInfo: '.GetCustomerProfileIdsRequest' }, { elementName: 'EnumCollection', typeInfo: '.EnumCollection' @@ -3354,74 +3464,89 @@ var Schema_Module_Factory = function () { elementName: 'updateCustomerShippingAddressRequest', typeInfo: '.UpdateCustomerShippingAddressRequest' }, { - elementName: 'getMerchantDetailsResponse', - typeInfo: '.GetMerchantDetailsResponse' + elementName: 'createTransactionRequest', + typeInfo: '.CreateTransactionRequest' }, { - elementName: 'ARBCancelSubscriptionRequest', - typeInfo: '.ARBCancelSubscriptionRequest' + elementName: 'getAUJobSummaryRequest', + typeInfo: '.GetAUJobSummaryRequest' }, { - elementName: 'getTransactionDetailsRequest', - typeInfo: '.GetTransactionDetailsRequest' + elementName: 'createCustomerProfileRequest', + typeInfo: '.CreateCustomerProfileRequest' }, { - elementName: 'ErrorResponse', - typeInfo: '.ANetApiResponse' + elementName: 'updateCustomerProfileRequest', + typeInfo: '.UpdateCustomerProfileRequest' }, { - elementName: 'validateCustomerPaymentProfileResponse', - typeInfo: '.ValidateCustomerPaymentProfileResponse' + elementName: 'updateMerchantDetailsRequest', + typeInfo: '.UpdateMerchantDetailsRequest' }, { - elementName: 'getAUJobDetailsResponse', - typeInfo: '.GetAUJobDetailsResponse' + elementName: 'mobileDeviceRegistrationRequest', + typeInfo: '.MobileDeviceRegistrationRequest' }, { - elementName: 'getAUJobSummaryRequest', - typeInfo: '.GetAUJobSummaryRequest' + elementName: 'getTransactionListForCustomerRequest', + typeInfo: '.GetTransactionListForCustomerRequest' }, { - elementName: 'createTransactionRequest', - typeInfo: '.CreateTransactionRequest' + elementName: 'mobileDeviceLoginRequest', + typeInfo: '.MobileDeviceLoginRequest' }, { - elementName: 'getCustomerProfileResponse', - typeInfo: '.GetCustomerProfileResponse' + elementName: 'getBatchStatisticsRequest', + typeInfo: '.GetBatchStatisticsRequest' }, { - elementName: 'getHostedPaymentPageRequest', - typeInfo: '.GetHostedPaymentPageRequest' + elementName: 'getHostedProfilePageRequest', + typeInfo: '.GetHostedProfilePageRequest' }, { - elementName: 'ARBGetSubscriptionResponse', - typeInfo: '.ARBGetSubscriptionResponse' + elementName: 'getHostedProfilePageResponse', + typeInfo: '.GetHostedProfilePageResponse' }, { - elementName: 'getCustomerProfileIdsResponse', - typeInfo: '.GetCustomerProfileIdsResponse' + elementName: 'createTransactionResponse', + typeInfo: '.CreateTransactionResponse' }, { - elementName: 'createCustomerProfileTransactionRequest', - typeInfo: '.CreateCustomerProfileTransactionRequest' + elementName: 'ARBGetSubscriptionStatusResponse', + typeInfo: '.ARBGetSubscriptionStatusResponse' }, { - elementName: 'ARBGetSubscriptionListRequest', - typeInfo: '.ARBGetSubscriptionListRequest' + elementName: 'getHostedPaymentPageResponse', + typeInfo: '.GetHostedPaymentPageResponse' }, { - elementName: 'getCustomerPaymentProfileListResponse', - typeInfo: '.GetCustomerPaymentProfileListResponse' + elementName: 'updateHeldTransactionResponse', + typeInfo: '.UpdateHeldTransactionResponse' + }, { + elementName: 'getCustomerShippingAddressResponse', + typeInfo: '.GetCustomerShippingAddressResponse' }, { elementName: 'getTransactionListResponse', typeInfo: '.GetTransactionListResponse' }, { - elementName: 'updateCustomerPaymentProfileResponse', - typeInfo: '.UpdateCustomerPaymentProfileResponse' + elementName: 'getCustomerProfileIdsResponse', + typeInfo: '.GetCustomerProfileIdsResponse' }, { - elementName: 'getCustomerProfileIdsRequest', - typeInfo: '.GetCustomerProfileIdsRequest' + elementName: 'getSettledBatchListResponse', + typeInfo: '.GetSettledBatchListResponse' }, { - elementName: 'mobileDeviceLoginRequest', - typeInfo: '.MobileDeviceLoginRequest' + elementName: 'ARBCreateSubscriptionRequest', + typeInfo: '.ARBCreateSubscriptionRequest' }, { - elementName: 'getMerchantDetailsRequest', - typeInfo: '.GetMerchantDetailsRequest' + elementName: 'deleteCustomerPaymentProfileRequest', + typeInfo: '.DeleteCustomerPaymentProfileRequest' }, { - elementName: 'decryptPaymentDataRequest', - typeInfo: '.DecryptPaymentDataRequest' + elementName: 'getHostedPaymentPageRequest', + typeInfo: '.GetHostedPaymentPageRequest' }, { - elementName: 'createCustomerProfileFromTransactionRequest', - typeInfo: '.CreateCustomerProfileFromTransactionRequest' + elementName: 'updateSplitTenderGroupRequest', + typeInfo: '.UpdateSplitTenderGroupRequest' }, { - elementName: 'createTransactionResponse', - typeInfo: '.CreateTransactionResponse' + elementName: 'updateHeldTransactionRequest', + typeInfo: '.UpdateHeldTransactionRequest' + }, { + elementName: 'getBatchStatisticsResponse', + typeInfo: '.GetBatchStatisticsResponse' + }, { + elementName: 'deleteCustomerShippingAddressResponse', + typeInfo: '.DeleteCustomerShippingAddressResponse' + }, { + elementName: 'authenticateTestRequest', + typeInfo: '.AuthenticateTestRequest' + }, { + elementName: 'ARBCancelSubscriptionRequest', + typeInfo: '.ARBCancelSubscriptionRequest' }] }; return { From 044c9ab803712fb31a1c3cfa80db3a26e95e694b Mon Sep 17 00:00:00 2001 From: adavidw Date: Wed, 8 Nov 2017 15:25:40 -0700 Subject: [PATCH 14/58] increase the wait time to maximize test success --- test/test-recurringbilling.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-recurringbilling.js b/test/test-recurringbilling.js index 5bf611c..784dbe5 100644 --- a/test/test-recurringbilling.js +++ b/test/test-recurringbilling.js @@ -301,7 +301,7 @@ describe('Recurring Billing', function() { //console.log(JSON.stringify(response, null, 2)); done(); }); - }, 10000); + }, 20000); }); it('should return resultcode Ok when successful', function () { From 053627611bba4d8cebead4ea51be06fd21867767 Mon Sep 17 00:00:00 2001 From: adavidw Date: Thu, 9 Nov 2017 17:01:05 -0700 Subject: [PATCH 15/58] change production endpoint to Akamai SureRoute endpoint --- lib/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/constants.js b/lib/constants.js index 4d2374d..d937225 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -3,7 +3,7 @@ var constants = { 'endpoint': { 'sandbox': 'https://apitest.authorize.net/xml/v1/request.api', - 'production': 'https://api.authorize.net/xml/v1/request.api' + 'production': 'https://api2.authorize.net/xml/v1/request.api' } }; From aea16e96ba9cf0bd243ef702e7c3f161b6dfff08 Mon Sep 17 00:00:00 2001 From: adavidw Date: Thu, 16 Nov 2017 09:38:07 -0800 Subject: [PATCH 16/58] update bank account --- test/test-paymenttransactions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-paymenttransactions.js b/test/test-paymenttransactions.js index 5d93af6..a986c5f 100644 --- a/test/test-paymenttransactions.js +++ b/test/test-paymenttransactions.js @@ -381,7 +381,7 @@ describe('Payment Transactions', function() { var bankAccountType = new ApiContracts.BankAccountType(); bankAccountType.setAccountType(ApiContracts.BankAccountTypeEnum.CHECKING); bankAccountType.setRoutingNumber('121042882'); - bankAccountType.setAccountNumber('123456789'); + bankAccountType.setAccountNumber('1234567890'); bankAccountType.setNameOnAccount('John Doe'); bankAccountType.setEcheckType('WEB'); bankAccountType.setBankName('Wells Fargo Bank NA'); @@ -443,7 +443,7 @@ describe('Payment Transactions', function() { var bankAccountType = new ApiContracts.BankAccountType(); bankAccountType.setAccountType(ApiContracts.BankAccountTypeEnum.CHECKING); bankAccountType.setRoutingNumber('121042882'); - bankAccountType.setAccountNumber('123456789'); + bankAccountType.setAccountNumber('1234567890'); bankAccountType.setNameOnAccount('John Doe'); paymentType.setBankAccount(bankAccountType); From 251ae073c1266efa793e9316a9740c456b281da8 Mon Sep 17 00:00:00 2001 From: Sunny Raj Rathod Date: Tue, 21 Nov 2017 12:04:43 +0530 Subject: [PATCH 17/58] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 67e183c..e343a01 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "authorizenet", - "version": "1.0.3", + "version": "1.0.4", "description": "nodejs sdk for Authorize.Net", "main": "lib/authorizenet.js", "directories": { From 48972a68f5b69f92ef8094affd1a13c2bfa7b49b Mon Sep 17 00:00:00 2001 From: sunnyrajrathod Date: Wed, 13 Jun 2018 14:43:34 +0530 Subject: [PATCH 18/58] - API changes for Network token and Guest profile. --- lib/apicontracts.js | 125 +- mappings/Schema.js | 4416 ++++++++++++++++++++++--------------------- 2 files changed, 2308 insertions(+), 2233 deletions(-) diff --git a/lib/apicontracts.js b/lib/apicontracts.js index 1808738..fb31f98 100644 --- a/lib/apicontracts.js +++ b/lib/apicontracts.js @@ -1091,6 +1091,7 @@ class CreditCardMaskedType { if(('cardType' in obj) && (obj.cardType != null)) { this.setCardType(obj.cardType); } if(('cardArt' in obj) && (obj.cardArt != null)) { this.setCardArt(new CardArt(obj.cardArt)); } if(('issuerNumber' in obj) && (obj.issuerNumber != null)) { this.setIssuerNumber(obj.issuerNumber); } + if(('isPaymentToken' in obj) && (obj.isPaymentToken != null)) { this.setIsPaymentToken(obj.isPaymentToken); } } else { this.setCardNumber(null); @@ -1098,6 +1099,7 @@ class CreditCardMaskedType { this.setCardType(null); this.setCardArt(null); this.setIssuerNumber(null); + this.setIsPaymentToken(null); } logger.debug('Exit CreditCardMaskedType constructor'); } @@ -1112,6 +1114,8 @@ class CreditCardMaskedType { getCardArt() { if('cardArt' in this) {return this.cardArt;} } setIssuerNumber(p_issuerNumber) { this.issuerNumber = p_issuerNumber; } getIssuerNumber() { if('issuerNumber' in this) {return this.issuerNumber;} } + setIsPaymentToken(p_isPaymentToken) { this.isPaymentToken = p_isPaymentToken; } + getIsPaymentToken() { if('isPaymentToken' in this) {return this.isPaymentToken;} } } module.exports.CreditCardMaskedType = CreditCardMaskedType; @@ -2369,6 +2373,7 @@ class PaymentType { if(('payPal' in obj) && (obj.payPal != null)) { this.setPayPal(new PayPalType(obj.payPal)); } if(('opaqueData' in obj) && (obj.opaqueData != null)) { this.setOpaqueData(new OpaqueDataType(obj.opaqueData)); } if(('emv' in obj) && (obj.emv != null)) { this.setEmv(new PaymentEmvType(obj.emv)); } + if(('dataSource' in obj) && (obj.dataSource != null)) { this.setDataSource(obj.dataSource); } } else { this.setCreditCard(null); @@ -2378,6 +2383,7 @@ class PaymentType { this.setPayPal(null); this.setOpaqueData(null); this.setEmv(null); + this.setDataSource(null); } logger.debug('Exit PaymentType constructor'); } @@ -2396,6 +2402,8 @@ class PaymentType { getOpaqueData() { if('opaqueData' in this) {return this.opaqueData;} } setEmv(p_emv) { this.emv = p_emv; } getEmv() { if('emv' in this) {return this.emv;} } + setDataSource(p_dataSource) { this.dataSource = p_dataSource; } + getDataSource() { if('dataSource' in this) {return this.dataSource;} } } module.exports.PaymentType = PaymentType; @@ -3468,12 +3476,14 @@ class WebCheckOutDataType { if(arguments.length == 1) { if(('type' in obj) && (obj.type != null)) { this.setType(obj.type); } if(('id' in obj) && (obj.id != null)) { this.setId(obj.id); } - if(('token' in obj) && (obj.token != null)) { this.setToken(new WebCheckOutDataType.Token(obj.token)); } + if(('token' in obj) && (obj.token != null)) { this.setToken(new WebCheckOutDataTypeToken(obj.token)); } + if(('bankToken' in obj) && (obj.bankToken != null)) { this.setBankToken(new BankAccountType(obj.bankToken)); } } else { this.setType(null); this.setId(null); this.setToken(null); + this.setBankToken(null); } logger.debug('Exit WebCheckOutDataType constructor'); } @@ -3484,10 +3494,46 @@ class WebCheckOutDataType { getId() { if('id' in this) {return this.id;} } setToken(p_token) { this.token = p_token; } getToken() { if('token' in this) {return this.token;} } + setBankToken(p_bankToken) { this.bankToken = p_bankToken; } + getBankToken() { if('bankToken' in this) {return this.bankToken;} } } module.exports.WebCheckOutDataType = WebCheckOutDataType; +class WebCheckOutDataTypeToken { + constructor(obj) { + logger.debug('Enter WebCheckOutDataTypeToken constructor'); + if(arguments.length == 1) { + if(('cardNumber' in obj) && (obj.cardNumber != null)) { this.setCardNumber(obj.cardNumber); } + if(('expirationDate' in obj) && (obj.expirationDate != null)) { this.setExpirationDate(obj.expirationDate); } + if(('cardCode' in obj) && (obj.cardCode != null)) { this.setCardCode(obj.cardCode); } + if(('zip' in obj) && (obj.zip != null)) { this.setZip(obj.zip); } + if(('fullName' in obj) && (obj.fullName != null)) { this.setFullName(obj.fullName); } + } + else { + this.setCardNumber(null); + this.setExpirationDate(null); + this.setCardCode(null); + this.setZip(null); + this.setFullName(null); + } + logger.debug('Exit WebCheckOutDataTypeToken constructor'); + } + + setCardNumber(p_cardNumber) { this.cardNumber = p_cardNumber; } + getCardNumber() { if('cardNumber' in this) {return this.cardNumber;} } + setExpirationDate(p_expirationDate) { this.expirationDate = p_expirationDate; } + getExpirationDate() { if('expirationDate' in this) {return this.expirationDate;} } + setCardCode(p_cardCode) { this.cardCode = p_cardCode; } + getCardCode() { if('cardCode' in this) {return this.cardCode;} } + setZip(p_zip) { this.zip = p_zip; } + getZip() { if('zip' in this) {return this.zip;} } + setFullName(p_fullName) { this.fullName = p_fullName; } + getFullName() { if('fullName' in this) {return this.fullName;} } +} + +module.exports.WebCheckOutDataTypeToken = WebCheckOutDataTypeToken; + KeyManagementScheme.DUKPT = class { constructor(obj) { logger.debug('Enter KeyManagementScheme.DUKPT constructor'); @@ -3768,40 +3814,6 @@ TransactionResponse.UserFields = class { module.exports.TransactionResponse.UserFields = TransactionResponse.UserFields; -WebCheckOutDataType.Token = class { - constructor(obj) { - logger.debug('Enter WebCheckOutDataType.Token constructor'); - if(arguments.length == 1) { - if(('cardNumber' in obj) && (obj.cardNumber != null)) { this.setCardNumber(obj.cardNumber); } - if(('expirationDate' in obj) && (obj.expirationDate != null)) { this.setExpirationDate(obj.expirationDate); } - if(('cardCode' in obj) && (obj.cardCode != null)) { this.setCardCode(obj.cardCode); } - if(('zip' in obj) && (obj.zip != null)) { this.setZip(obj.zip); } - if(('fullName' in obj) && (obj.fullName != null)) { this.setFullName(obj.fullName); } - } - else { - this.setCardNumber(null); - this.setExpirationDate(null); - this.setCardCode(null); - this.setZip(null); - this.setFullName(null); - } - logger.debug('Exit WebCheckOutDataType.Token constructor'); - } - - setCardNumber(p_cardNumber) { this.cardNumber = p_cardNumber; } - getCardNumber() { if('cardNumber' in this) {return this.cardNumber;} } - setExpirationDate(p_expirationDate) { this.expirationDate = p_expirationDate; } - getExpirationDate() { if('expirationDate' in this) {return this.expirationDate;} } - setCardCode(p_cardCode) { this.cardCode = p_cardCode; } - getCardCode() { if('cardCode' in this) {return this.cardCode;} } - setZip(p_zip) { this.zip = p_zip; } - getZip() { if('zip' in this) {return this.zip;} } - setFullName(p_fullName) { this.fullName = p_fullName; } - getFullName() { if('fullName' in this) {return this.fullName;} } -}; - -module.exports.WebCheckOutDataType.Token = WebCheckOutDataType.Token; - KeyManagementScheme.DUKPT.DeviceInfo = class { constructor(obj) { logger.debug('Enter KeyManagementScheme.DUKPT.DeviceInfo constructor'); @@ -4509,6 +4521,7 @@ class CreateCustomerProfileFromTransactionRequest extends ANetApiRequest { if(('customerProfileId' in obj) && (obj.customerProfileId != null)) { this.setCustomerProfileId(obj.customerProfileId); } if(('defaultPaymentProfile' in obj) && (obj.defaultPaymentProfile != null)) { this.setDefaultPaymentProfile(obj.defaultPaymentProfile); } if(('defaultShippingAddress' in obj) && (obj.defaultShippingAddress != null)) { this.setDefaultShippingAddress(obj.defaultShippingAddress); } + if(('profileType' in obj) && (obj.profileType != null)) { this.setProfileType(obj.profileType); } } else { super(); @@ -4517,6 +4530,7 @@ class CreateCustomerProfileFromTransactionRequest extends ANetApiRequest { this.setCustomerProfileId(null); this.setDefaultPaymentProfile(null); this.setDefaultShippingAddress(null); + this.setProfileType(null); } logger.debug('Exit CreateCustomerProfileFromTransactionRequest constructor'); } @@ -4531,6 +4545,8 @@ class CreateCustomerProfileFromTransactionRequest extends ANetApiRequest { getDefaultPaymentProfile() { if('defaultPaymentProfile' in this) {return this.defaultPaymentProfile;} } setDefaultShippingAddress(p_defaultShippingAddress) { this.defaultShippingAddress = p_defaultShippingAddress; } getDefaultShippingAddress() { if('defaultShippingAddress' in this) {return this.defaultShippingAddress;} } + setProfileType(p_profileType) { this.profileType = p_profileType; } + getProfileType() { if('profileType' in this) {return this.profileType;} } } module.exports.CreateCustomerProfileFromTransactionRequest = CreateCustomerProfileFromTransactionRequest; @@ -4966,11 +4982,13 @@ class CustomerProfileType extends CustomerProfileBaseType { obj.shipToList.forEach(function(item) {shipToListList.push(new CustomerAddressType(item));}); this.setShipToList(shipToListList); } + if(('profileType' in obj) && (obj.profileType != null)) { this.setProfileType(obj.profileType); } } else { super(); this.setPaymentProfiles(null); this.setShipToList(null); + this.setProfileType(null); } logger.debug('Exit CustomerProfileType constructor'); } @@ -4979,6 +4997,8 @@ class CustomerProfileType extends CustomerProfileBaseType { getPaymentProfiles() { if('paymentProfiles' in this) {return this.paymentProfiles;} } setShipToList(p_shipToList) { this.shipToList = p_shipToList; } getShipToList() { if('shipToList' in this) {return this.shipToList;} } + setProfileType(p_profileType) { this.profileType = p_profileType; } + getProfileType() { if('profileType' in this) {return this.profileType;} } } module.exports.CustomerProfileType = CustomerProfileType; @@ -6689,7 +6709,7 @@ class UpdateCustomerProfileRequest extends ANetApiRequest { logger.debug('Enter UpdateCustomerProfileRequest constructor'); if(arguments.length == 1) { super(obj); - if(('profile' in obj) && (obj.profile != null)) { this.setProfile(new CustomerProfileExType(obj.profile)); } + if(('profile' in obj) && (obj.profile != null)) { this.setProfile(new CustomerProfileInfoExType(obj.profile)); } } else { super(); @@ -7028,6 +7048,26 @@ class CustomerPaymentProfileExType extends CustomerPaymentProfileType { module.exports.CustomerPaymentProfileExType = CustomerPaymentProfileExType; +class CustomerProfileInfoExType extends CustomerProfileExType { + constructor(obj) { + logger.debug('Enter CustomerProfileInfoExType constructor'); + if(arguments.length == 1) { + super(obj); + if(('profileType' in obj) && (obj.profileType != null)) { this.setProfileType(obj.profileType); } + } + else { + super(); + this.setProfileType(null); + } + logger.debug('Exit CustomerProfileInfoExType constructor'); + } + + setProfileType(p_profileType) { this.profileType = p_profileType; } + getProfileType() { if('profileType' in this) {return this.profileType;} } +} + +module.exports.CustomerProfileInfoExType = CustomerProfileInfoExType; + class CustomerProfileMaskedType extends CustomerProfileExType { constructor(obj) { logger.debug('Enter CustomerProfileMaskedType constructor'); @@ -7043,11 +7083,13 @@ class CustomerProfileMaskedType extends CustomerProfileExType { obj.shipToList.forEach(function(item) {shipToListList.push(new CustomerAddressExType(item));}); this.setShipToList(shipToListList); } + if(('profileType' in obj) && (obj.profileType != null)) { this.setProfileType(obj.profileType); } } else { super(); this.setPaymentProfiles(null); this.setShipToList(null); + this.setProfileType(null); } logger.debug('Exit CustomerProfileMaskedType constructor'); } @@ -7056,6 +7098,8 @@ class CustomerProfileMaskedType extends CustomerProfileExType { getPaymentProfiles() { if('paymentProfiles' in this) {return this.paymentProfiles;} } setShipToList(p_shipToList) { this.shipToList = p_shipToList; } getShipToList() { if('shipToList' in this) {return this.shipToList;} } + setProfileType(p_profileType) { this.profileType = p_profileType; } + getProfileType() { if('profileType' in this) {return this.profileType;} } } module.exports.CustomerProfileMaskedType = CustomerProfileMaskedType; @@ -7205,6 +7249,12 @@ const CustomerPaymentProfileSearchTypeEnum = { }; module.exports.CustomerPaymentProfileSearchTypeEnum = CustomerPaymentProfileSearchTypeEnum; +const CustomerProfileTypeEnum = { + REGULAR : 'regular', + GUEST : 'guest' +}; +module.exports.CustomerProfileTypeEnum = CustomerProfileTypeEnum; + const CustomerTypeEnum = { INDIVIDUAL : 'individual', BUSINESS : 'business' @@ -7322,7 +7372,8 @@ const SettingNameEnum = { HOSTEDPAYMENTCUSTOMEROPTIONS : 'hostedPaymentCustomerOptions', HOSTEDPAYMENTSTYLEOPTIONS : 'hostedPaymentStyleOptions', TYPEEMAILRECEIPT : 'typeEmailReceipt', - HOSTEDPROFILEPAYMENTOPTIONS : 'hostedProfilePaymentOptions' + HOSTEDPROFILEPAYMENTOPTIONS : 'hostedProfilePaymentOptions', + HOSTEDPROFILESAVEBUTTONTEXT : 'hostedProfileSaveButtonText' }; module.exports.SettingNameEnum = SettingNameEnum; diff --git a/mappings/Schema.js b/mappings/Schema.js index 571411c..8e788c5 100644 --- a/mappings/Schema.js +++ b/mappings/Schema.js @@ -3,81 +3,79 @@ var Schema_Module_Factory = function () { name: 'Schema', defaultElementNamespaceURI: 'AnetApi\/xml\/v1\/schema\/AnetApiSchema.xsd', typeInfos: [{ - localName: 'DeleteCustomerPaymentProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'KeyBlock', propertyInfos: [{ - name: 'customerProfileId', - required: true - }, { - name: 'customerPaymentProfileId', - required: true + name: 'value', + required: true, + elementName: 'Value', + typeInfo: '.KeyValue' }] }, { - localName: 'ExtendedAmountType', - typeName: 'extendedAmountType', + localName: 'EmailSettingsType', + typeName: 'emailSettingsType', + baseTypeInfo: '.ArrayOfSetting', propertyInfos: [{ - name: 'amount', - required: true, - typeInfo: 'Decimal' - }, { - name: 'name' - }, { - name: 'description' + name: 'version', + typeInfo: 'Integer', + attributeName: { + localPart: 'version' + }, + type: 'attribute' }] }, { - localName: 'KeyManagementScheme.DUKPT', - typeName: null, + localName: 'CreditCardMaskedType', + typeName: 'creditCardMaskedType', propertyInfos: [{ - name: 'operation', - required: true, - elementName: 'Operation' + name: 'cardNumber', + required: true }, { - name: 'mode', - required: true, - elementName: 'Mode', - typeInfo: '.KeyManagementScheme.DUKPT.Mode' + name: 'expirationDate', + required: true }, { - name: 'deviceInfo', - required: true, - elementName: 'DeviceInfo', - typeInfo: '.KeyManagementScheme.DUKPT.DeviceInfo' + name: 'cardType' }, { - name: 'encryptedData', - required: true, - elementName: 'EncryptedData', - typeInfo: '.KeyManagementScheme.DUKPT.EncryptedData' + name: 'cardArt', + typeInfo: '.CardArt' + }, { + name: 'issuerNumber' + }, { + name: 'isPaymentToken', + typeInfo: 'Boolean' }] }, { - localName: 'ProfileTransRefundType', - typeName: 'profileTransRefundType', - baseTypeInfo: '.ProfileTransAmountType', + localName: 'GetSettledBatchListResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileId' - }, { - name: 'customerShippingAddressId' - }, { - name: 'creditCardNumberMasked' + name: 'batchList', + typeInfo: '.ArrayOfBatchDetailsType' + }] + }, { + localName: 'ArbTransaction', + typeName: 'arbTransaction', + propertyInfos: [{ + name: 'transId' }, { - name: 'bankRoutingNumberMasked' + name: 'response' }, { - name: 'bankAccountNumberMasked' + name: 'submitTimeUTC', + typeInfo: 'DateTime' }, { - name: 'order', - typeInfo: '.OrderExType' + name: 'payNum', + typeInfo: 'Int' }, { - name: 'transId' + name: 'attemptNum', + typeInfo: 'Int' }] }, { - localName: 'GetCustomerProfileIdsResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'CcAuthenticationType', + typeName: 'ccAuthenticationType', propertyInfos: [{ - name: 'ids', - required: true, - typeInfo: '.ArrayOfNumericString' + name: 'authenticationIndicator', + required: true + }, { + name: 'cardholderAuthenticationValue', + required: true }] }, { localName: 'SubscriptionIdList', @@ -87,170 +85,143 @@ var Schema_Module_Factory = function () { collection: true }] }, { - localName: 'SubscriptionCustomerProfileType', - typeName: 'subscriptionCustomerProfileType', - baseTypeInfo: '.CustomerProfileExType', - propertyInfos: [{ - name: 'paymentProfile', - typeInfo: '.CustomerPaymentProfileMaskedType' - }, { - name: 'shippingProfile', - typeInfo: '.CustomerAddressExType' - }] - }, { - localName: 'CustomerProfileIdType', - typeName: 'customerProfileIdType', + localName: 'CreateCustomerProfileFromTransactionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', + name: 'transId', required: true }, { - name: 'customerPaymentProfileId' + name: 'customer', + typeInfo: '.CustomerProfileBaseType' }, { - name: 'customerAddressId' - }] - }, { - localName: 'CustomerPaymentProfileMaskedType', - typeName: 'customerPaymentProfileMaskedType', - baseTypeInfo: '.CustomerPaymentProfileBaseType', - propertyInfos: [{ name: 'customerProfileId' - }, { - name: 'customerPaymentProfileId', - required: true }, { name: 'defaultPaymentProfile', typeInfo: 'Boolean' }, { - name: 'payment', - typeInfo: '.PaymentMaskedType' - }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseMaskedType' - }, { - name: 'taxId' + name: 'defaultShippingAddress', + typeInfo: 'Boolean' }, { - name: 'subscriptionIds', - typeInfo: '.SubscriptionIdList' - }] - }, { - localName: 'TransactionResponse.EmvResponse.Tags', - typeName: null, - propertyInfos: [{ - name: 'tag', - required: true, - collection: true, - typeInfo: '.EmvTag' + name: 'profileType' }] }, { - localName: 'FDSFilterType', + localName: 'MobileDeviceType', + typeName: 'mobileDeviceType', propertyInfos: [{ - name: 'name', + name: 'mobileDeviceId', required: true }, { - name: 'action', - required: true + name: 'description' + }, { + name: 'phoneNumber' + }, { + name: 'devicePlatform' + }, { + name: 'deviceActivation' }] }, { - localName: 'UpdateCustomerPaymentProfileResponse', + localName: 'GetMerchantDetailsRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'validationDirectResponse' - }] + baseTypeInfo: '.ANetApiRequest' }, { - localName: 'GetAUJobDetailsRequest', + localName: 'GetAUJobSummaryRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ name: 'month', required: true - }, { - name: 'modifiedTypeFilter' - }, { - name: 'paging', - typeInfo: '.Paging' - }] - }, { - localName: 'PaymentScheduleType.Interval', - typeName: null, - propertyInfos: [{ - name: 'length', - required: true, - typeInfo: 'Short' - }, { - name: 'unit', - required: true }] }, { - localName: 'TransactionResponse.Messages', - typeName: null, + localName: 'PermissionType', + typeName: 'permissionType', propertyInfos: [{ - name: 'message', - minOccurs: 0, - collection: true, - typeInfo: '.TransactionResponse.Messages.Message' + name: 'permissionName' }] }, { - localName: 'NameAndAddressType', - typeName: 'nameAndAddressType', + localName: 'SubscriptionDetail', propertyInfos: [{ + name: 'id', + required: true, + typeInfo: 'Int' + }, { + name: 'name' + }, { + name: 'status', + required: true + }, { + name: 'createTimeStampUTC', + required: true, + typeInfo: 'DateTime' + }, { name: 'firstName' }, { name: 'lastName' }, { - name: 'company' + name: 'totalOccurrences', + required: true, + typeInfo: 'Int' }, { - name: 'address' + name: 'pastOccurrences', + required: true, + typeInfo: 'Int' }, { - name: 'city' + name: 'paymentMethod', + required: true }, { - name: 'state' + name: 'accountNumber' }, { - name: 'zip' + name: 'invoice' }, { - name: 'country' + name: 'amount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'currencyCode' + }, { + name: 'customerProfileId', + required: true, + typeInfo: 'Int' + }, { + name: 'customerPaymentProfileId', + required: true, + typeInfo: 'Int' + }, { + name: 'customerShippingProfileId', + typeInfo: 'Int' }] }, { - localName: 'ARBCreateSubscriptionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'PaymentProfile', + typeName: 'paymentProfile', propertyInfos: [{ - name: 'subscriptionId' + name: 'paymentProfileId', + required: true }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' - }] - }, { - localName: 'ArrayOfMarketType', - propertyInfos: [{ - name: 'marketType', - minOccurs: 0, - collection: true + name: 'cardCode' }] }, { - localName: 'TransactionRequestType.UserFields', + localName: 'UpdateSplitTenderGroupResponse', typeName: null, - propertyInfos: [{ - name: 'userField', - minOccurs: 0, - maxOccurs: 20, - collection: true, - typeInfo: '.UserField' - }] + baseTypeInfo: '.ANetApiResponse' }, { - localName: 'OpaqueDataType', - typeName: 'opaqueDataType', + localName: 'DecryptPaymentDataResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'dataDescriptor', - required: true + name: 'shippingInfo', + typeInfo: '.CustomerAddressType' }, { - name: 'dataValue', - required: true + name: 'billingInfo', + typeInfo: '.CustomerAddressType' }, { - name: 'dataKey' + name: 'cardInfo', + typeInfo: '.CreditCardMaskedType' + }, { + name: 'paymentDetails', + typeInfo: '.PaymentDetails' }] }, { - localName: 'CreateCustomerShippingAddressRequest', + localName: 'UpdateCustomerShippingAddressRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ @@ -259,182 +230,252 @@ var Schema_Module_Factory = function () { }, { name: 'address', required: true, - typeInfo: '.CustomerAddressType' + typeInfo: '.CustomerAddressExType' }, { name: 'defaultShippingAddress', typeInfo: 'Boolean' }] }, { - localName: 'ArrayOfReturnedItem', + localName: 'ArrayOfMarketType', propertyInfos: [{ - name: 'returnedItem', + name: 'marketType', + minOccurs: 0, + collection: true + }] + }, { + localName: 'ArrayOfLong', + propertyInfos: [{ + name: '_long', minOccurs: 0, collection: true, - typeInfo: '.ReturnedItemType' + elementName: 'long', + typeInfo: 'Long' }] }, { - localName: 'ARBGetSubscriptionRequest', + localName: 'ARBUpdateSubscriptionResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'subscriptionId', - required: true - }, { - name: 'includeTransactions', - typeInfo: 'Boolean' + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'AuDetailsType', - typeName: 'auDetailsType', + localName: 'ArrayOfSetting', propertyInfos: [{ - name: 'customerProfileID', - required: true, - typeInfo: 'Long' - }, { - name: 'customerPaymentProfileID', - required: true, - typeInfo: 'Long' - }, { - name: 'firstName' - }, { - name: 'lastName' + name: 'setting', + minOccurs: 0, + collection: true, + typeInfo: '.SettingType' + }] + }, { + localName: 'BankAccountType', + typeName: 'bankAccountType', + propertyInfos: [{ + name: 'accountType' }, { - name: 'updateTimeUTC', + name: 'routingNumber', required: true }, { - name: 'auReasonCode', + name: 'accountNumber', required: true }, { - name: 'reasonDescription', + name: 'nameOnAccount', required: true + }, { + name: 'echeckType' + }, { + name: 'bankName' + }, { + name: 'checkNumber' }] }, { - localName: 'UpdateCustomerShippingAddressResponse', + localName: 'DeleteCustomerPaymentProfileResponse', typeName: null, baseTypeInfo: '.ANetApiResponse' }, { - localName: 'UserField', - typeName: 'userField', - propertyInfos: [{ - name: 'name' - }, { - name: 'value' - }] - }, { - localName: 'LineItemType', - typeName: 'lineItemType', + localName: 'CreateCustomerProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'itemId', - required: true - }, { - name: 'name', - required: true - }, { - name: 'description' + name: 'customerProfileId' }, { - name: 'quantity', + name: 'customerPaymentProfileIdList', required: true, - typeInfo: 'Decimal' + typeInfo: '.ArrayOfNumericString' }, { - name: 'unitPrice', + name: 'customerShippingAddressIdList', required: true, - typeInfo: 'Decimal' + typeInfo: '.ArrayOfNumericString' }, { - name: 'taxable', - typeInfo: 'Boolean' + name: 'validationDirectResponseList', + required: true, + typeInfo: '.ArrayOfString' }] }, { - localName: 'PaymentSimpleType', - typeName: 'paymentSimpleType', + localName: 'GetCustomerShippingAddressResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardSimpleType' + name: 'defaultShippingAddress', + typeInfo: 'Boolean' }, { - name: 'bankAccount', - required: true, - typeInfo: '.BankAccountType' + name: 'address', + typeInfo: '.CustomerAddressExType' + }, { + name: 'subscriptionIds', + typeInfo: '.SubscriptionIdList' }] }, { - localName: 'ArrayOfBatchStatisticType', + localName: 'DriversLicenseMaskedType', + typeName: 'driversLicenseMaskedType', propertyInfos: [{ - name: 'statistic', - minOccurs: 0, - collection: true, - typeInfo: '.BatchStatisticType' + name: 'number', + required: true + }, { + name: 'state', + required: true + }, { + name: 'dateOfBirth', + required: true }] }, { - localName: 'IsAliveRequest', - typeName: null, + localName: 'CreateProfileResponse', + typeName: 'createProfileResponse', propertyInfos: [{ - name: 'refId' + name: 'messages', + required: true, + typeInfo: '.MessagesType' + }, { + name: 'customerProfileId' + }, { + name: 'customerPaymentProfileIdList', + typeInfo: '.ArrayOfNumericString' + }, { + name: 'customerShippingAddressIdList', + typeInfo: '.ArrayOfNumericString' }] }, { - localName: 'ArrayOfCardType', + localName: 'CardArt', + typeName: 'cardArt', propertyInfos: [{ - name: 'cardType', - minOccurs: 0, - maxOccurs: 30, - collection: true + name: 'cardBrand' + }, { + name: 'cardImageHeight' + }, { + name: 'cardImageUrl' + }, { + name: 'cardImageWidth' + }, { + name: 'cardType' }] }, { - localName: 'GetUnsettledTransactionListRequest', + localName: 'SendCustomerTransactionReceiptRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'status' + name: 'transId', + required: true }, { - name: 'sorting', - typeInfo: '.TransactionListSorting' + name: 'customerEmail', + required: true }, { - name: 'paging', - typeInfo: '.Paging' + name: 'emailSettings', + typeInfo: '.EmailSettingsType' }] }, { - localName: 'GetHostedProfilePageResponse', + localName: 'TransactionDetailsType.EmvDetails', typeName: null, - baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'token', - required: true + name: 'tag', + required: true, + collection: true, + typeInfo: '.TransactionDetailsType.EmvDetails.Tag' }] }, { - localName: 'CreateCustomerProfileRequest', + localName: 'UpdateMerchantDetailsResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'UpdateSplitTenderGroupRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'profile', - required: true, - typeInfo: '.CustomerProfileType' + name: 'splitTenderId', + required: true }, { - name: 'validationMode' + name: 'splitTenderStatus', + required: true }] }, { - localName: 'GetUnsettledTransactionListResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'TransactionDetailsType', + typeName: 'transactionDetailsType', propertyInfos: [{ - name: 'transactions', - typeInfo: '.ArrayOfTransactionSummaryType' - }, { - name: 'totalNumInResultSet', - typeInfo: 'Int' - }] - }, { - localName: 'CcAuthenticationType', - typeName: 'ccAuthenticationType', - propertyInfos: [{ - name: 'authenticationIndicator', + name: 'transId', required: true }, { - name: 'cardholderAuthenticationValue', + name: 'refTransId' + }, { + name: 'splitTenderId' + }, { + name: 'submitTimeUTC', + required: true, + typeInfo: 'DateTime' + }, { + name: 'submitTimeLocal', + required: true, + typeInfo: 'DateTime' + }, { + name: 'transactionType', required: true - }] - }, { - localName: 'ProfileTransAmountType', - typeName: 'profileTransAmountType', - propertyInfos: [{ - name: 'amount', + }, { + name: 'transactionStatus', + required: true + }, { + name: 'responseCode', + required: true, + typeInfo: 'Int' + }, { + name: 'responseReasonCode', + required: true, + typeInfo: 'Int' + }, { + name: 'subscription', + typeInfo: '.SubscriptionPaymentType' + }, { + name: 'responseReasonDescription', + required: true + }, { + name: 'authCode' + }, { + name: 'avsResponse', + elementName: 'AVSResponse' + }, { + name: 'cardCodeResponse' + }, { + name: 'cavvResponse', + elementName: 'CAVVResponse' + }, { + name: 'fdsFilterAction', + elementName: 'FDSFilterAction' + }, { + name: 'fdsFilters', + elementName: 'FDSFilters', + typeInfo: '.ArrayOfFDSFilter' + }, { + name: 'batch', + typeInfo: '.BatchDetailsType' + }, { + name: 'order', + typeInfo: '.OrderExType' + }, { + name: 'requestedAmount', + typeInfo: 'Decimal' + }, { + name: 'authAmount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'settleAmount', required: true, typeInfo: 'Decimal' }, { @@ -448,434 +489,504 @@ var Schema_Module_Factory = function () { typeInfo: '.ExtendedAmountType' }, { name: 'lineItems', + typeInfo: '.ArrayOfLineItem' + }, { + name: 'prepaidBalanceRemaining', + typeInfo: 'Decimal' + }, { + name: 'taxExempt', + typeInfo: 'Boolean' + }, { + name: 'payment', + required: true, + typeInfo: '.PaymentMaskedType' + }, { + name: 'customer', + typeInfo: '.CustomerDataType' + }, { + name: 'billTo', + typeInfo: '.CustomerAddressType' + }, { + name: 'shipTo', + typeInfo: '.NameAndAddressType' + }, { + name: 'recurringBilling', + typeInfo: 'Boolean' + }, { + name: 'customerIP' + }, { + name: 'product' + }, { + name: 'entryMode' + }, { + name: 'marketType' + }, { + name: 'mobileDeviceId' + }, { + name: 'customerSignature' + }, { + name: 'returnedItems', + typeInfo: '.ArrayOfReturnedItem' + }, { + name: 'solution', + typeInfo: '.SolutionType' + }, { + name: 'emvDetails', + typeInfo: '.TransactionDetailsType.EmvDetails' + }, { + name: 'profile', + typeInfo: '.CustomerProfileIdType' + }, { + name: 'surcharge', + typeInfo: '.ExtendedAmountType' + }, { + name: 'employeeId' + }, { + name: 'tip', + typeInfo: '.ExtendedAmountType' + }] + }, { + localName: 'ARBTransactionList', + propertyInfos: [{ + name: 'arbTransaction', minOccurs: 0, - maxOccurs: 30, collection: true, - typeInfo: '.LineItemType' + typeInfo: '.ArbTransaction' }] }, { - localName: 'GetCustomerPaymentProfileListResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'TokenMaskedType', + typeName: 'tokenMaskedType', propertyInfos: [{ - name: 'totalNumInResultSet', - required: true, - typeInfo: 'Int' + name: 'tokenSource' }, { - name: 'paymentProfiles', - typeInfo: '.ArrayOfCustomerPaymentProfileListItemType' + name: 'tokenNumber', + required: true + }, { + name: 'expirationDate', + required: true }] }, { - localName: 'ARBGetSubscriptionListResponse', + localName: 'UpdateCustomerProfileRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'totalNumInResultSet', - typeInfo: 'Int' - }, { - name: 'subscriptionDetails', - typeInfo: '.ArrayOfSubscription' + name: 'profile', + required: true, + typeInfo: '.CustomerProfileInfoExType' }] }, { - localName: 'ARBGetSubscriptionListRequest', + localName: 'MobileDeviceRegistrationRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'searchType', - required: true - }, { - name: 'sorting', - typeInfo: '.ARBGetSubscriptionListSorting' - }, { - name: 'paging', - typeInfo: '.Paging' + name: 'mobileDevice', + required: true, + typeInfo: '.MobileDeviceType' }] }, { - localName: 'MessagesType.Message', + localName: 'CreateCustomerPaymentProfileResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'code', - required: true + name: 'customerProfileId' }, { - name: 'text', - required: true - }] - }, { - localName: 'CustomerProfileMaskedType', - typeName: 'customerProfileMaskedType', - baseTypeInfo: '.CustomerProfileExType', - propertyInfos: [{ - name: 'paymentProfiles', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerPaymentProfileMaskedType' + name: 'customerPaymentProfileId' }, { - name: 'shipToList', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerAddressExType' + name: 'validationDirectResponse' }] }, { - localName: 'TransactionResponse.PrePaidCard', + localName: 'GetCustomerProfileRequest', typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'requestedAmount' + name: 'customerProfileId' }, { - name: 'approvedAmount' + name: 'merchantCustomerId' }, { - name: 'balanceOnCard' + name: 'email' + }, { + name: 'unmaskExpirationDate', + typeInfo: 'Boolean' + }, { + name: 'includeIssuerInfo', + typeInfo: 'Boolean' }] }, { - localName: 'KeyManagementScheme.DUKPT.EncryptedData', + localName: 'DeleteCustomerProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'DeleteCustomerShippingAddressResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'GetCustomerPaymentProfileResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'value', - required: true, - elementName: 'Value' + name: 'paymentProfile', + typeInfo: '.CustomerPaymentProfileMaskedType' }] }, { - localName: 'ArrayOfLineItem', + localName: 'TransactionRequestType.UserFields', + typeName: null, propertyInfos: [{ - name: 'lineItem', + name: 'userField', minOccurs: 0, + maxOccurs: 20, collection: true, - typeInfo: '.LineItemType' + typeInfo: '.UserField' }] }, { - localName: 'CreditCardMaskedType', - typeName: 'creditCardMaskedType', + localName: 'PaymentMaskedType', + typeName: 'paymentMaskedType', propertyInfos: [{ - name: 'cardNumber', - required: true - }, { - name: 'expirationDate', - required: true + name: 'creditCard', + required: true, + typeInfo: '.CreditCardMaskedType' }, { - name: 'cardType' - }, { - name: 'cardArt', - typeInfo: '.CardArt' + name: 'bankAccount', + required: true, + typeInfo: '.BankAccountMaskedType' }, { - name: 'issuerNumber' + name: 'tokenInformation', + required: true, + typeInfo: '.TokenMaskedType' }] }, { - localName: 'IsAliveResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'TransactionResponse', - typeName: 'transactionResponse', + localName: 'CustomerProfilePaymentType', + typeName: 'customerProfilePaymentType', propertyInfos: [{ - name: 'responseCode' - }, { - name: 'rawResponseCode' - }, { - name: 'authCode' - }, { - name: 'avsResultCode' - }, { - name: 'cvvResultCode' - }, { - name: 'cavvResultCode' - }, { - name: 'transId' - }, { - name: 'refTransID' - }, { - name: 'transHash' - }, { - name: 'testRequest' - }, { - name: 'accountNumber' - }, { - name: 'entryMode' - }, { - name: 'accountType' - }, { - name: 'splitTenderId' - }, { - name: 'prePaidCard', - typeInfo: '.TransactionResponse.PrePaidCard' - }, { - name: 'messages', - typeInfo: '.TransactionResponse.Messages' - }, { - name: 'errors', - typeInfo: '.TransactionResponse.Errors' - }, { - name: 'splitTenderPayments', - typeInfo: '.TransactionResponse.SplitTenderPayments' - }, { - name: 'userFields', - typeInfo: '.TransactionResponse.UserFields' - }, { - name: 'shipTo', - typeInfo: '.NameAndAddressType' - }, { - name: 'secureAcceptance', - typeInfo: '.TransactionResponse.SecureAcceptance' + name: 'createProfile', + typeInfo: 'Boolean' }, { - name: 'emvResponse', - typeInfo: '.TransactionResponse.EmvResponse' + name: 'customerProfileId' }, { - name: 'transHashSha2' + name: 'paymentProfile', + typeInfo: '.PaymentProfile' }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: 'shippingProfileId' }] }, { - localName: 'UpdateHeldTransactionResponse', + localName: 'MobileDeviceRegistrationResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'CreateCustomerShippingAddressResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'transactionResponse', - typeInfo: '.TransactionResponse' + name: 'customerProfileId' + }, { + name: 'customerAddressId' }] }, { - localName: 'GetHostedPaymentPageRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ProcessorType', + typeName: 'processorType', propertyInfos: [{ - name: 'transactionRequest', + name: 'name', + required: true + }, { + name: 'id', required: true, - typeInfo: '.TransactionRequestType' + typeInfo: 'Int' }, { - name: 'hostedPaymentSettings', - typeInfo: '.ArrayOfSetting' + name: 'cardTypes', + typeInfo: '.ArrayOfCardType' }] }, { - localName: 'GetBatchStatisticsRequest', + localName: 'GetCustomerShippingAddressRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'batchId', + name: 'customerProfileId', required: true + }, { + name: 'customerAddressId' }] }, { - localName: 'CustomerPaymentProfileExType', - typeName: 'customerPaymentProfileExType', - baseTypeInfo: '.CustomerPaymentProfileType', + localName: 'AuthenticateTestRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'AuthenticateTestResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'AuUpdateType', + typeName: 'auUpdateType', + baseTypeInfo: '.AuDetailsType', propertyInfos: [{ - name: 'customerPaymentProfileId' + name: 'newCreditCard', + required: true, + typeInfo: '.CreditCardMaskedType' + }, { + name: 'oldCreditCard', + required: true, + typeInfo: '.CreditCardMaskedType' }] }, { - localName: 'SolutionType', - typeName: 'solutionType', + localName: 'CustomerProfileType', + typeName: 'customerProfileType', + baseTypeInfo: '.CustomerProfileBaseType', propertyInfos: [{ - name: 'id', - required: true + name: 'paymentProfiles', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerPaymentProfileType' }, { - name: 'name' + name: 'shipToList', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerAddressType' }, { - name: 'vendorName' + name: 'profileType' }] }, { - localName: 'PaymentProfile', - typeName: 'paymentProfile', + localName: 'OpaqueDataType', + typeName: 'opaqueDataType', propertyInfos: [{ - name: 'paymentProfileId', + name: 'dataDescriptor', required: true }, { - name: 'cardCode' + name: 'dataValue', + required: true + }, { + name: 'dataKey' }] }, { - localName: 'CreditCardType', - typeName: 'creditCardType', - baseTypeInfo: '.CreditCardSimpleType', + localName: 'ProfileTransAuthOnlyType', + typeName: 'profileTransAuthOnlyType', + baseTypeInfo: '.ProfileTransOrderType' + }, { + localName: 'CreditCardSimpleType', + typeName: 'creditCardSimpleType', propertyInfos: [{ - name: 'cardCode' - }, { - name: 'isPaymentToken', - typeInfo: 'Boolean' + name: 'cardNumber', + required: true }, { - name: 'cryptogram' + name: 'expirationDate', + required: true }] }, { - localName: 'UpdateSplitTenderGroupRequest', + localName: 'GetTransactionListForCustomerRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'splitTenderId', + name: 'customerProfileId', required: true }, { - name: 'splitTenderStatus', - required: true + name: 'customerPaymentProfileId' + }, { + name: 'sorting', + typeInfo: '.TransactionListSorting' + }, { + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'ValidateCustomerPaymentProfileResponse', + localName: 'GetMerchantDetailsResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'directResponse' - }] - }, { - localName: 'TransactionResponse.SecureAcceptance', - typeName: null, - propertyInfos: [{ - name: 'secureAcceptanceUrl', - elementName: 'SecureAcceptanceUrl' + name: 'isTestMode', + typeInfo: 'Boolean' }, { - name: 'payerID', - elementName: 'PayerID' + name: 'processors', + required: true, + typeInfo: '.ArrayOfProcessorType' }, { - name: 'payerEmail', - elementName: 'PayerEmail' - }] - }, { - localName: 'SubMerchantType', - typeName: 'subMerchantType', - propertyInfos: [{ - name: 'identifier', + name: 'merchantName', required: true }, { - name: 'doingBusinessAs' - }, { - name: 'paymentServiceProviderName' - }, { - name: 'paymentServiceFacilitator' - }, { - name: 'streetAddress' - }, { - name: 'phone' + name: 'gatewayId', + required: true }, { - name: 'email' + name: 'marketTypes', + required: true, + typeInfo: '.ArrayOfMarketType' }, { - name: 'postalCode' + name: 'productCodes', + required: true, + typeInfo: '.ArrayOfProductCode' }, { - name: 'city' + name: 'paymentMethods', + required: true, + typeInfo: '.ArrayOfPaymentMethod' }, { - name: 'regionCode' + name: 'currencies', + required: true, + typeInfo: '.ArrayOfCurrencyCode' }, { - name: 'countryCode' + name: 'publicClientKey' }] }, { - localName: 'KeyBlock', + localName: 'ARBGetSubscriptionStatusResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'value', - required: true, - elementName: 'Value', - typeInfo: '.KeyValue' + name: 'status' }] }, { - localName: 'CustomerProfilePaymentType', - typeName: 'customerProfilePaymentType', + localName: 'CreditCardType', + typeName: 'creditCardType', + baseTypeInfo: '.CreditCardSimpleType', propertyInfos: [{ - name: 'createProfile', - typeInfo: 'Boolean' - }, { - name: 'customerProfileId' + name: 'cardCode' }, { - name: 'paymentProfile', - typeInfo: '.PaymentProfile' + name: 'isPaymentToken', + typeInfo: 'Boolean' }, { - name: 'shippingProfileId' + name: 'cryptogram' }] }, { - localName: 'TransactionResponse.SplitTenderPayments', - typeName: null, + localName: 'ArrayOfTransactionSummaryType', propertyInfos: [{ - name: 'splitTenderPayment', + name: 'transaction', minOccurs: 0, collection: true, - typeInfo: '.TransactionResponse.SplitTenderPayments.SplitTenderPayment' + typeInfo: '.TransactionSummaryType' }] }, { - localName: 'UpdateMerchantDetailsResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'CreateCustomerShippingAddressResponse', + localName: 'DeleteCustomerPaymentProfileRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId' + name: 'customerProfileId', + required: true }, { - name: 'customerAddressId' - }] - }, { - localName: 'ArrayOfSubscription', - propertyInfos: [{ - name: 'subscriptionDetail', - minOccurs: 0, - collection: true, - typeInfo: '.SubscriptionDetail' + name: 'customerPaymentProfileId', + required: true }] }, { - localName: 'DeleteCustomerProfileRequest', + localName: 'PaymentScheduleType.Interval', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', + name: 'length', + required: true, + typeInfo: 'Short' + }, { + name: 'unit', required: true }] }, { - localName: 'TransactionResponse.Messages.Message', - typeName: null, + localName: 'SettingType', + typeName: 'settingType', propertyInfos: [{ - name: 'code' + name: 'settingName' }, { - name: 'description' + name: 'settingValue' }] }, { - localName: 'CustomerProfileBaseType', - typeName: 'customerProfileBaseType', + localName: 'TransactionResponse.EmvResponse', + typeName: null, propertyInfos: [{ - name: 'merchantCustomerId' - }, { - name: 'description' + name: 'tlvData' }, { - name: 'email' + name: 'tags', + typeInfo: '.TransactionResponse.EmvResponse.Tags' }] }, { - localName: 'SubscriptionPaymentType', - typeName: 'subscriptionPaymentType', + localName: 'TransactionSummaryType', + typeName: 'transactionSummaryType', propertyInfos: [{ - name: 'id', + name: 'transId', + required: true + }, { + name: 'submitTimeUTC', required: true, - typeInfo: 'Int' + typeInfo: 'DateTime' }, { - name: 'payNum', + name: 'submitTimeLocal', required: true, - typeInfo: 'Int' - }] - }, { - localName: 'CardArt', - typeName: 'cardArt', - propertyInfos: [{ - name: 'cardBrand' + typeInfo: 'DateTime' }, { - name: 'cardImageHeight' + name: 'transactionStatus', + required: true }, { - name: 'cardImageUrl' + name: 'invoiceNumber' }, { - name: 'cardImageWidth' + name: 'firstName' }, { - name: 'cardType' + name: 'lastName' + }, { + name: 'accountType', + required: true + }, { + name: 'accountNumber', + required: true + }, { + name: 'settleAmount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'marketType' + }, { + name: 'product' + }, { + name: 'mobileDeviceId' + }, { + name: 'subscription', + typeInfo: '.SubscriptionPaymentType' + }, { + name: 'hasReturnedItems', + typeInfo: 'Boolean' + }, { + name: 'fraudInformation', + typeInfo: '.FraudInformationType' + }, { + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'UpdateMerchantDetailsRequest', + localName: 'DeleteCustomerProfileRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'isTestMode', - required: true, - typeInfo: 'Boolean' + name: 'customerProfileId', + required: true }] }, { - localName: 'TransactionResponse.Errors', - typeName: null, + localName: 'AuResponseType', + typeName: 'auResponseType', propertyInfos: [{ - name: 'error', - minOccurs: 0, - collection: true, - typeInfo: '.TransactionResponse.Errors.Error' + name: 'auReasonCode', + required: true + }, { + name: 'profileCount', + required: true, + typeInfo: 'Long' + }, { + name: 'reasonDescription', + required: true }] }, { - localName: 'AuthenticateTestRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' + localName: 'AuDetailsType', + typeName: 'auDetailsType', + propertyInfos: [{ + name: 'customerProfileID', + required: true, + typeInfo: 'Long' + }, { + name: 'customerPaymentProfileID', + required: true, + typeInfo: 'Long' + }, { + name: 'firstName' + }, { + name: 'lastName' + }, { + name: 'updateTimeUTC', + required: true + }, { + name: 'auReasonCode', + required: true + }, { + name: 'reasonDescription', + required: true + }] }, { - localName: 'UpdateCustomerShippingAddressRequest', + localName: 'CreateCustomerShippingAddressRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ @@ -884,249 +995,254 @@ var Schema_Module_Factory = function () { }, { name: 'address', required: true, - typeInfo: '.CustomerAddressExType' + typeInfo: '.CustomerAddressType' }, { name: 'defaultShippingAddress', typeInfo: 'Boolean' }] }, { - localName: 'CreditCardSimpleType', - typeName: 'creditCardSimpleType', + localName: 'ARBGetSubscriptionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'cardNumber', - required: true - }, { - name: 'expirationDate', - required: true + name: 'subscription', + required: true, + typeInfo: '.ARBSubscriptionMaskedType' }] }, { - localName: 'PaymentMaskedType', - typeName: 'paymentMaskedType', + localName: 'PayPalType', + typeName: 'payPalType', propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardMaskedType' + name: 'successUrl' }, { - name: 'bankAccount', - required: true, - typeInfo: '.BankAccountMaskedType' + name: 'cancelUrl' }, { - name: 'tokenInformation', - required: true, - typeInfo: '.TokenMaskedType' - }] - }, { - localName: 'EmailSettingsType', - typeName: 'emailSettingsType', - baseTypeInfo: '.ArrayOfSetting', - propertyInfos: [{ - name: 'version', - typeInfo: 'Integer', - attributeName: { - localPart: 'version' - }, - type: 'attribute' + name: 'paypalLc' + }, { + name: 'paypalHdrImg' + }, { + name: 'paypalPayflowcolor' + }, { + name: 'payerID' }] }, { - localName: 'ArrayOfAUResponseType', + localName: 'CustomerProfileMaskedType', + typeName: 'customerProfileMaskedType', + baseTypeInfo: '.CustomerProfileExType', propertyInfos: [{ - name: 'auResponse', + name: 'paymentProfiles', minOccurs: 0, collection: true, - typeInfo: '.AuResponseType' + typeInfo: '.CustomerPaymentProfileMaskedType' + }, { + name: 'shipToList', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerAddressExType' + }, { + name: 'profileType' }] }, { - localName: 'ARBCreateSubscriptionRequest', + localName: 'KeyManagementScheme.DUKPT', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'subscription', + name: 'operation', required: true, - typeInfo: '.ARBSubscriptionType' - }] - }, { - localName: 'GetTransactionListRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'batchId' + elementName: 'Operation' }, { - name: 'sorting', - typeInfo: '.TransactionListSorting' + name: 'mode', + required: true, + elementName: 'Mode', + typeInfo: '.KeyManagementScheme.DUKPT.Mode' }, { - name: 'paging', - typeInfo: '.Paging' + name: 'deviceInfo', + required: true, + elementName: 'DeviceInfo', + typeInfo: '.KeyManagementScheme.DUKPT.DeviceInfo' + }, { + name: 'encryptedData', + required: true, + elementName: 'EncryptedData', + typeInfo: '.KeyManagementScheme.DUKPT.EncryptedData' }] }, { - localName: 'GetTransactionDetailsRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ProfileTransAmountType', + typeName: 'profileTransAmountType', propertyInfos: [{ - name: 'transId', - required: true + name: 'amount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'tax', + typeInfo: '.ExtendedAmountType' + }, { + name: 'shipping', + typeInfo: '.ExtendedAmountType' + }, { + name: 'duty', + typeInfo: '.ExtendedAmountType' + }, { + name: 'lineItems', + minOccurs: 0, + maxOccurs: 30, + collection: true, + typeInfo: '.LineItemType' }] }, { - localName: 'ReturnedItemType', - typeName: 'returnedItemType', + localName: 'MerchantAuthenticationType', + typeName: 'merchantAuthenticationType', propertyInfos: [{ - name: 'id', - required: true + name: 'name' }, { - name: 'dateUTC', - required: true, - typeInfo: 'DateTime' + name: 'transactionKey', + required: true }, { - name: 'dateLocal', - required: true, - typeInfo: 'DateTime' + name: 'sessionToken' }, { - name: 'code', + name: 'password', required: true }, { - name: 'description', - required: true + name: 'impersonationAuthentication', + typeInfo: '.ImpersonationAuthenticationType' + }, { + name: 'fingerPrint', + typeInfo: '.FingerPrintType' + }, { + name: 'clientKey' + }, { + name: 'accessToken' + }, { + name: 'mobileDeviceId' }] }, { - localName: 'GetCustomerPaymentProfileRequest', + localName: 'DecryptPaymentDataRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', - required: true - }, { - name: 'customerPaymentProfileId' - }, { - name: 'unmaskExpirationDate', - typeInfo: 'Boolean' + name: 'opaqueData', + required: true, + typeInfo: '.OpaqueDataType' }, { - name: 'includeIssuerInfo', - typeInfo: 'Boolean' + name: 'callId' }] }, { - localName: 'UpdateCustomerProfileResponse', + localName: 'ARBGetSubscriptionStatusRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse' + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'subscriptionId', + required: true + }] }, { - localName: 'AuDeleteType', - typeName: 'auDeleteType', - baseTypeInfo: '.AuDetailsType', + localName: 'OrderExType', + typeName: 'orderExType', + baseTypeInfo: '.OrderType', propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardMaskedType' + name: 'purchaseOrderNumber' }] }, { - localName: 'AuUpdateType', - typeName: 'auUpdateType', - baseTypeInfo: '.AuDetailsType', + localName: 'GetBatchStatisticsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'newCreditCard', - required: true, - typeInfo: '.CreditCardMaskedType' - }, { - name: 'oldCreditCard', - required: true, - typeInfo: '.CreditCardMaskedType' + name: 'batchId', + required: true }] }, { - localName: 'ANetApiRequest', + localName: 'WebCheckOutDataType', + typeName: 'webCheckOutDataType', propertyInfos: [{ - name: 'merchantAuthentication', - required: true, - typeInfo: '.MerchantAuthenticationType' + name: 'type', + required: true }, { - name: 'clientId' + name: 'id', + required: true }, { - name: 'refId' + name: 'token', + typeInfo: '.WebCheckOutDataTypeToken' + }, { + name: 'bankToken', + typeInfo: '.BankAccountType' }] }, { - localName: 'CustomerPaymentProfileType', - typeName: 'customerPaymentProfileType', - baseTypeInfo: '.CustomerPaymentProfileBaseType', + localName: 'ArrayOfProductCode', propertyInfos: [{ - name: 'payment', - typeInfo: '.PaymentType' + name: 'productCode', + minOccurs: 0, + collection: true + }] + }, { + localName: 'CustomerType', + typeName: 'customerType', + propertyInfos: [{ + name: 'type' + }, { + name: 'id' + }, { + name: 'email' + }, { + name: 'phoneNumber' + }, { + name: 'faxNumber' }, { name: 'driversLicense', typeInfo: '.DriversLicenseType' }, { name: 'taxId' - }, { - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' }] }, { - localName: 'AuResponseType', - typeName: 'auResponseType', + localName: 'GetHostedProfilePageResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'auReasonCode', - required: true - }, { - name: 'profileCount', - required: true, - typeInfo: 'Long' - }, { - name: 'reasonDescription', + name: 'token', required: true }] }, { - localName: 'DecryptPaymentDataRequest', + localName: 'SecurePaymentContainerRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'opaqueData', + name: 'data', required: true, - typeInfo: '.OpaqueDataType' - }, { - name: 'callId' - }] - }, { - localName: 'ArrayOfCurrencyCode', - propertyInfos: [{ - name: 'currency', - minOccurs: 0, - collection: true + typeInfo: '.WebCheckOutDataType' }] }, { - localName: 'PermissionType', - typeName: 'permissionType', + localName: 'IsAliveRequest', + typeName: null, propertyInfos: [{ - name: 'permissionName' + name: 'refId' }] }, { - localName: 'ARBTransactionList', + localName: 'ArrayOfSubscription', propertyInfos: [{ - name: 'arbTransaction', + name: 'subscriptionDetail', minOccurs: 0, collection: true, - typeInfo: '.ArbTransaction' + typeInfo: '.SubscriptionDetail' }] }, { - localName: 'ARBGetSubscriptionStatusResponse', + localName: 'ValidateCustomerPaymentProfileResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'status' + name: 'directResponse' }] }, { - localName: 'PaymentScheduleType', - typeName: 'paymentScheduleType', + localName: 'MessagesType', + typeName: 'messagesType', propertyInfos: [{ - name: 'interval', - typeInfo: '.PaymentScheduleType.Interval' - }, { - name: 'startDate', - typeInfo: 'Date' - }, { - name: 'totalOccurrences', - typeInfo: 'Short' + name: 'resultCode', + required: true }, { - name: 'trialOccurrences', - typeInfo: 'Short' + name: 'message', + required: true, + collection: true, + typeInfo: '.MessagesType.Message' }] }, { - localName: 'DriversLicenseMaskedType', - typeName: 'driversLicenseMaskedType', + localName: 'DriversLicenseType', + typeName: 'driversLicenseType', propertyInfos: [{ name: 'number', required: true @@ -1138,312 +1254,225 @@ var Schema_Module_Factory = function () { required: true }] }, { - localName: 'GetTransactionListForCustomerRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'SecurePaymentContainerErrorType', + typeName: 'securePaymentContainerErrorType', propertyInfos: [{ - name: 'customerProfileId', + name: 'code', required: true }, { - name: 'customerPaymentProfileId' - }, { - name: 'sorting', - typeInfo: '.TransactionListSorting' - }, { - name: 'paging', - typeInfo: '.Paging' + name: 'description', + required: true }] }, { - localName: 'CreateCustomerProfileTransactionRequest', + localName: 'MessagesType.Message', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'transaction', - required: true, - typeInfo: '.ProfileTransactionType' + name: 'code', + required: true }, { - name: 'extraOptions' + name: 'text', + required: true }] }, { - localName: 'ArrayOfNumericString', + localName: 'GetSettledBatchListRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'numericString', - minOccurs: 0, + name: 'includeStatistics', + typeInfo: 'Boolean' + }, { + name: 'firstSettlementDate', + typeInfo: 'DateTime' + }, { + name: 'lastSettlementDate', + typeInfo: 'DateTime' + }] + }, { + localName: 'ArrayOfFraudFilterType', + propertyInfos: [{ + name: 'fraudFilter', + required: true, + maxOccurs: 1000, collection: true }] }, { - localName: 'ProfileTransAuthOnlyType', - typeName: 'profileTransAuthOnlyType', - baseTypeInfo: '.ProfileTransOrderType' + localName: 'LogoutRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' }, { - localName: 'PaymentEmvType', - typeName: 'paymentEmvType', + localName: 'ANetApiRequest', propertyInfos: [{ - name: 'emvData', + name: 'merchantAuthentication', required: true, - typeInfo: 'AnyType' + typeInfo: '.MerchantAuthenticationType' }, { - name: 'emvDescriptor', - required: true, - typeInfo: 'AnyType' + name: 'clientId' }, { - name: 'emvVersion', - required: true, - typeInfo: 'AnyType' + name: 'refId' }] }, { - localName: 'CustomerPaymentProfileBaseType', - typeName: 'customerPaymentProfileBaseType', + localName: 'ARBSubscriptionMaskedType', propertyInfos: [{ - name: 'customerType' + name: 'name' }, { - name: 'billTo', - typeInfo: '.CustomerAddressType' - }] - }, { - localName: 'PaymentType', - typeName: 'paymentType', - propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardType' + name: 'paymentSchedule', + typeInfo: '.PaymentScheduleType' }, { - name: 'bankAccount', - required: true, - typeInfo: '.BankAccountType' + name: 'amount', + typeInfo: 'Decimal' }, { - name: 'trackData', - required: true, - typeInfo: '.CreditCardTrackType' + name: 'trialAmount', + typeInfo: 'Decimal' }, { - name: 'encryptedTrackData', - required: true, - typeInfo: '.EncryptedTrackDataType' + name: 'status' }, { - name: 'payPal', - required: true, - typeInfo: '.PayPalType' + name: 'profile', + typeInfo: '.SubscriptionCustomerProfileType' }, { - name: 'opaqueData', - required: true, - typeInfo: '.OpaqueDataType' + name: 'order', + typeInfo: '.OrderType' }, { - name: 'emv', - required: true, - typeInfo: '.PaymentEmvType' + name: 'arbTransactions', + typeInfo: '.ARBTransactionList' }] }, { - localName: 'OrderExType', - typeName: 'orderExType', - baseTypeInfo: '.OrderType', + localName: 'CreateTransactionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'purchaseOrderNumber' + name: 'transactionRequest', + required: true, + typeInfo: '.TransactionRequestType' }] }, { - localName: 'CustomerProfileType', - typeName: 'customerProfileType', - baseTypeInfo: '.CustomerProfileBaseType', + localName: 'CreateCustomerProfileTransactionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'paymentProfiles', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerPaymentProfileType' + name: 'transactionResponse', + typeInfo: '.TransactionResponse' }, { - name: 'shipToList', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerAddressType' + name: 'directResponse' }] }, { - localName: 'CustomerAddressType', - typeName: 'customerAddressType', - baseTypeInfo: '.NameAndAddressType', + localName: 'PaymentSimpleType', + typeName: 'paymentSimpleType', propertyInfos: [{ - name: 'phoneNumber' - }, { - name: 'faxNumber' + name: 'creditCard', + required: true, + typeInfo: '.CreditCardSimpleType' }, { - name: 'email' + name: 'bankAccount', + required: true, + typeInfo: '.BankAccountType' }] }, { - localName: 'CreateCustomerProfileFromTransactionRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'CustomerPaymentProfileType', + typeName: 'customerPaymentProfileType', + baseTypeInfo: '.CustomerPaymentProfileBaseType', propertyInfos: [{ - name: 'transId', - required: true + name: 'payment', + typeInfo: '.PaymentType' }, { - name: 'customer', - typeInfo: '.CustomerProfileBaseType' + name: 'driversLicense', + typeInfo: '.DriversLicenseType' }, { - name: 'customerProfileId' + name: 'taxId' }, { name: 'defaultPaymentProfile', typeInfo: 'Boolean' - }, { - name: 'defaultShippingAddress', - typeInfo: 'Boolean' - }] - }, { - localName: 'TransRetailInfoType', - typeName: 'transRetailInfoType', - propertyInfos: [{ - name: 'marketType' - }, { - name: 'deviceType' - }, { - name: 'customerSignature' - }, { - name: 'terminalNumber' }] }, { - localName: 'TransactionResponse.SplitTenderPayments.SplitTenderPayment', - typeName: null, + localName: 'LineItemType', + typeName: 'lineItemType', propertyInfos: [{ - name: 'transId' - }, { - name: 'responseCode' - }, { - name: 'responseToCustomer' - }, { - name: 'authCode' + name: 'itemId', + required: true }, { - name: 'accountNumber' + name: 'name', + required: true }, { - name: 'accountType' + name: 'description' }, { - name: 'requestedAmount' + name: 'quantity', + required: true, + typeInfo: 'Decimal' }, { - name: 'approvedAmount' + name: 'unitPrice', + required: true, + typeInfo: 'Decimal' }, { - name: 'balanceOnCard' + name: 'taxable', + typeInfo: 'Boolean' }] }, { - localName: 'GetCustomerProfileIdsRequest', + localName: 'TransactionResponse.EmvResponse.Tags', typeName: null, - baseTypeInfo: '.ANetApiRequest' + propertyInfos: [{ + name: 'tag', + required: true, + collection: true, + typeInfo: '.EmvTag' + }] }, { - localName: 'BankAccountType', - typeName: 'bankAccountType', + localName: 'ProfileTransPriorAuthCaptureType', + typeName: 'profileTransPriorAuthCaptureType', + baseTypeInfo: '.ProfileTransAmountType', propertyInfos: [{ - name: 'accountType' + name: 'customerProfileId' }, { - name: 'routingNumber', - required: true + name: 'customerPaymentProfileId' }, { - name: 'accountNumber', - required: true + name: 'customerShippingAddressId' }, { - name: 'nameOnAccount', + name: 'transId', required: true - }, { - name: 'echeckType' - }, { - name: 'bankName' - }, { - name: 'checkNumber' }] }, { - localName: 'CreateTransactionResponse', + localName: 'SecurePaymentContainerResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'transactionResponse', + name: 'opaqueData', required: true, - typeInfo: '.TransactionResponse' - }, { - name: 'profileResponse', - typeInfo: '.CreateProfileResponse' + typeInfo: '.OpaqueDataType' }] }, { - localName: 'SubscriptionDetail', + localName: 'GetUnsettledTransactionListRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'id', - required: true, - typeInfo: 'Int' - }, { - name: 'name' - }, { - name: 'status', - required: true - }, { - name: 'createTimeStampUTC', - required: true, - typeInfo: 'DateTime' + name: 'status' }, { - name: 'firstName' + name: 'sorting', + typeInfo: '.TransactionListSorting' }, { - name: 'lastName' - }, { - name: 'totalOccurrences', - required: true, - typeInfo: 'Int' - }, { - name: 'pastOccurrences', - required: true, - typeInfo: 'Int' - }, { - name: 'paymentMethod', - required: true - }, { - name: 'accountNumber' - }, { - name: 'invoice' - }, { - name: 'amount', - required: true, - typeInfo: 'Decimal' - }, { - name: 'currencyCode' - }, { - name: 'customerProfileId', - required: true, - typeInfo: 'Int' - }, { - name: 'customerPaymentProfileId', - required: true, - typeInfo: 'Int' - }, { - name: 'customerShippingProfileId', - typeInfo: 'Int' + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'TokenMaskedType', - typeName: 'tokenMaskedType', + localName: 'AuDeleteType', + typeName: 'auDeleteType', + baseTypeInfo: '.AuDetailsType', propertyInfos: [{ - name: 'tokenSource' - }, { - name: 'tokenNumber', - required: true - }, { - name: 'expirationDate', - required: true + name: 'creditCard', + required: true, + typeInfo: '.CreditCardMaskedType' }] }, { - localName: 'GetAUJobSummaryResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'CustomerProfileInfoExType', + typeName: 'customerProfileInfoExType', + baseTypeInfo: '.CustomerProfileExType', propertyInfos: [{ - name: 'auSummary', - typeInfo: '.ArrayOfAUResponseType' + name: 'profileType' }] }, { - localName: 'ProfileTransAuthCaptureType', - typeName: 'profileTransAuthCaptureType', - baseTypeInfo: '.ProfileTransOrderType' - }, { - localName: 'UpdateCustomerPaymentProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'KeyManagementScheme', propertyInfos: [{ - name: 'customerProfileId', - required: true - }, { - name: 'paymentProfile', + name: 'dukpt', required: true, - typeInfo: '.CustomerPaymentProfileExType' - }, { - name: 'validationMode' + elementName: 'DUKPT', + typeInfo: '.KeyManagementScheme.DUKPT' }] }, { localName: 'ARBSubscriptionType', @@ -1478,87 +1507,104 @@ var Schema_Module_Factory = function () { typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'CreditCardTrackType', - typeName: 'creditCardTrackType', + localName: 'KeyManagementScheme.DUKPT.EncryptedData', + typeName: null, propertyInfos: [{ - name: 'track1', - required: true - }, { - name: 'track2', + name: 'value', + required: true, + elementName: 'Value' + }] + }, { + localName: 'ProfileTransCaptureOnlyType', + typeName: 'profileTransCaptureOnlyType', + baseTypeInfo: '.ProfileTransOrderType', + propertyInfos: [{ + name: 'approvalCode', required: true }] }, { - localName: 'TransactionResponse.Errors.Error', + localName: 'GetAUJobSummaryResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'errorCode' + name: 'auSummary', + typeInfo: '.ArrayOfAUResponseType' + }] + }, { + localName: 'NameAndAddressType', + typeName: 'nameAndAddressType', + propertyInfos: [{ + name: 'firstName' }, { - name: 'errorText' + name: 'lastName' + }, { + name: 'company' + }, { + name: 'address' + }, { + name: 'city' + }, { + name: 'state' + }, { + name: 'zip' + }, { + name: 'country' }] }, { - localName: 'ArrayOfTransactionSummaryType', + localName: 'ArrayOfPaymentMethod', propertyInfos: [{ - name: 'transaction', + name: 'paymentMethod', minOccurs: 0, - collection: true, - typeInfo: '.TransactionSummaryType' + collection: true }] }, { - localName: 'ARBCancelSubscriptionRequest', + localName: 'ARBGetSubscriptionRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ name: 'subscriptionId', required: true + }, { + name: 'includeTransactions', + typeInfo: 'Boolean' }] }, { - localName: 'CustomerProfileSummaryType', - typeName: 'customerProfileSummaryType', + localName: 'TransactionResponse.SplitTenderPayments.SplitTenderPayment', + typeName: null, propertyInfos: [{ - name: 'customerProfileId' + name: 'transId' }, { - name: 'description' + name: 'responseCode' }, { - name: 'merchantCustomerId', - required: true + name: 'responseToCustomer' }, { - name: 'email' + name: 'authCode' }, { - name: 'createdDate', - required: true, - typeInfo: 'DateTime' - }] - }, { - localName: 'ArrayOfPermissionType', - propertyInfos: [{ - name: 'permission', - minOccurs: 0, - collection: true, - typeInfo: '.PermissionType' - }] - }, { - localName: 'CustomerAddressExType', - typeName: 'customerAddressExType', - baseTypeInfo: '.CustomerAddressType', - propertyInfos: [{ - name: 'customerAddressId' + name: 'accountNumber' + }, { + name: 'accountType' + }, { + name: 'requestedAmount' + }, { + name: 'approvedAmount' + }, { + name: 'balanceOnCard' }] }, { - localName: 'DecryptPaymentDataResponse', + localName: 'GetCustomerPaymentProfileRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'shippingInfo', - typeInfo: '.CustomerAddressType' + name: 'customerProfileId', + required: true }, { - name: 'billingInfo', - typeInfo: '.CustomerAddressType' + name: 'customerPaymentProfileId' }, { - name: 'cardInfo', - typeInfo: '.CreditCardMaskedType' + name: 'unmaskExpirationDate', + typeInfo: 'Boolean' }, { - name: 'paymentDetails', - typeInfo: '.PaymentDetails' + name: 'includeIssuerInfo', + typeInfo: 'Boolean' }] }, { localName: 'HeldTransactionRequestType', @@ -1571,101 +1617,219 @@ var Schema_Module_Factory = function () { required: true }] }, { - localName: 'GetSettledBatchListRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'includeStatistics', - typeInfo: 'Boolean' - }, { - name: 'firstSettlementDate', - typeInfo: 'DateTime' - }, { - name: 'lastSettlementDate', - typeInfo: 'DateTime' - }] - }, { - localName: 'PayPalType', - typeName: 'payPalType', + localName: 'SubMerchantType', + typeName: 'subMerchantType', propertyInfos: [{ - name: 'successUrl' + name: 'identifier', + required: true }, { - name: 'cancelUrl' + name: 'doingBusinessAs' }, { - name: 'paypalLc' + name: 'paymentServiceProviderName' }, { - name: 'paypalHdrImg' + name: 'paymentServiceFacilitator' }, { - name: 'paypalPayflowcolor' + name: 'streetAddress' }, { - name: 'payerID' - }] - }, { - localName: 'MerchantContactType', - typeName: 'merchantContactType', - propertyInfos: [{ - name: 'merchantName' + name: 'phone' }, { - name: 'merchantAddress' + name: 'email' }, { - name: 'merchantCity' + name: 'postalCode' }, { - name: 'merchantState' + name: 'city' }, { - name: 'merchantZip' + name: 'regionCode' }, { - name: 'merchantPhone' + name: 'countryCode' }] }, { - localName: 'DeleteCustomerShippingAddressRequest', + localName: 'GetTransactionDetailsResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'transaction', + required: true, + typeInfo: '.TransactionDetailsType' }, { - name: 'customerAddressId', - required: true + name: 'clientId' + }, { + name: 'transrefId' }] }, { - localName: 'PaymentDetails', - typeName: 'paymentDetails', + localName: 'ArrayOfNumericString', propertyInfos: [{ - name: 'currency' - }, { - name: 'promoCode' + name: 'numericString', + minOccurs: 0, + collection: true + }] + }, { + localName: 'CustomerPaymentProfileExType', + typeName: 'customerPaymentProfileExType', + baseTypeInfo: '.CustomerPaymentProfileType', + propertyInfos: [{ + name: 'customerPaymentProfileId' + }] + }, { + localName: 'ArrayOfCustomerPaymentProfileListItemType', + typeName: 'arrayOfCustomerPaymentProfileListItemType', + propertyInfos: [{ + name: 'paymentProfile', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerPaymentProfileListItemType' + }] + }, { + localName: 'ArrayOfProcessorType', + propertyInfos: [{ + name: 'processor', + minOccurs: 0, + collection: true, + typeInfo: '.ProcessorType' + }] + }, { + localName: 'TransactionResponse.Errors.Error', + typeName: null, + propertyInfos: [{ + name: 'errorCode' }, { - name: 'misc' + name: 'errorText' + }] + }, { + localName: 'GetTransactionListResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'transactions', + typeInfo: '.ArrayOfTransactionSummaryType' }, { - name: 'giftWrap' + name: 'totalNumInResultSet', + typeInfo: 'Int' + }] + }, { + localName: 'ArrayOfLineItem', + propertyInfos: [{ + name: 'lineItem', + minOccurs: 0, + collection: true, + typeInfo: '.LineItemType' + }] + }, { + localName: 'UserField', + typeName: 'userField', + propertyInfos: [{ + name: 'name' }, { - name: 'discount' + name: 'value' + }] + }, { + localName: 'ImpersonationAuthenticationType', + typeName: 'impersonationAuthenticationType', + propertyInfos: [{ + name: 'partnerLoginId', + required: true }, { - name: 'tax' + name: 'partnerTransactionKey', + required: true + }] + }, { + localName: 'UpdateCustomerPaymentProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId', + required: true }, { - name: 'shippingHandling' + name: 'paymentProfile', + required: true, + typeInfo: '.CustomerPaymentProfileExType' }, { - name: 'subTotal' + name: 'validationMode' + }] + }, { + localName: 'PaymentScheduleType', + typeName: 'paymentScheduleType', + propertyInfos: [{ + name: 'interval', + typeInfo: '.PaymentScheduleType.Interval' }, { - name: 'orderID' + name: 'startDate', + typeInfo: 'Date' }, { - name: 'amount' + name: 'totalOccurrences', + typeInfo: 'Short' + }, { + name: 'trialOccurrences', + typeInfo: 'Short' }] }, { - localName: 'WebCheckOutDataType.Token', - typeName: null, + localName: 'EmvTag', + typeName: 'emvTag', propertyInfos: [{ - name: 'cardNumber', - required: true + name: 'name' }, { - name: 'expirationDate', + name: 'value' + }, { + name: 'formatted' + }] + }, { + localName: 'ArrayOfPermissionType', + propertyInfos: [{ + name: 'permission', + minOccurs: 0, + collection: true, + typeInfo: '.PermissionType' + }] + }, { + localName: 'SolutionType', + typeName: 'solutionType', + propertyInfos: [{ + name: 'id', required: true }, { - name: 'cardCode' + name: 'name' }, { - name: 'zip' + name: 'vendorName' + }] + }, { + localName: 'CustomerPaymentProfileBaseType', + typeName: 'customerPaymentProfileBaseType', + propertyInfos: [{ + name: 'customerType' }, { - name: 'fullName' + name: 'billTo', + typeInfo: '.CustomerAddressType' + }] + }, { + localName: 'GetUnsettledTransactionListResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'transactions', + typeInfo: '.ArrayOfTransactionSummaryType' + }, { + name: 'totalNumInResultSet', + typeInfo: 'Int' + }] + }, { + localName: 'ARBCreateSubscriptionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'subscription', + required: true, + typeInfo: '.ARBSubscriptionType' + }] + }, { + localName: 'GetCustomerProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'profile', + typeInfo: '.CustomerProfileMaskedType' + }, { + name: 'subscriptionIds', + typeInfo: '.SubscriptionIdList' }] }, { localName: 'BatchStatisticType', @@ -1742,79 +1906,56 @@ var Schema_Module_Factory = function () { typeInfo: 'Int' }] }, { - localName: 'GetCustomerProfileResponse', + localName: 'ARBGetSubscriptionListRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'profile', - typeInfo: '.CustomerProfileMaskedType' - }, { - name: 'subscriptionIds', - typeInfo: '.SubscriptionIdList' - }] - }, { - localName: 'ArbTransaction', - typeName: 'arbTransaction', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'transId' - }, { - name: 'response' - }, { - name: 'submitTimeUTC', - typeInfo: 'DateTime' + name: 'searchType', + required: true }, { - name: 'payNum', - typeInfo: 'Int' + name: 'sorting', + typeInfo: '.ARBGetSubscriptionListSorting' }, { - name: 'attemptNum', - typeInfo: 'Int' + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'KeyValue', + localName: 'ListOfAUDetailsType', propertyInfos: [{ - name: 'encoding', - required: true, - elementName: 'Encoding' - }, { - name: 'encryptionAlgorithm', - required: true, - elementName: 'EncryptionAlgorithm' - }, { - name: 'scheme', - required: true, - elementName: 'Scheme', - typeInfo: '.KeyManagementScheme' + name: 'auUpdateOrAuDelete', + minOccurs: 0, + collection: true, + elementTypeInfos: [{ + elementName: 'auUpdate', + typeInfo: '.AuUpdateType' + }, { + elementName: 'auDelete', + typeInfo: '.AuDeleteType' + }], + type: 'elements' }] }, { - localName: 'CreateCustomerProfileTransactionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'ArrayOfBatchDetailsType', propertyInfos: [{ - name: 'transactionResponse', - typeInfo: '.TransactionResponse' - }, { - name: 'directResponse' + name: 'batch', + minOccurs: 0, + collection: true, + typeInfo: '.BatchDetailsType' }] }, { - localName: 'SecurePaymentContainerResponse', + localName: 'SendCustomerTransactionReceiptResponse', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'ArrayOfBatchStatisticType', propertyInfos: [{ - name: 'opaqueData', - required: true, - typeInfo: '.OpaqueDataType' + name: 'statistic', + minOccurs: 0, + collection: true, + typeInfo: '.BatchStatisticType' }] }, { - localName: 'MobileDeviceRegistrationRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'mobileDevice', - required: true, - typeInfo: '.MobileDeviceType' - }] - }, { - localName: 'ValidateCustomerPaymentProfileRequest', + localName: 'ValidateCustomerPaymentProfileRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ @@ -1832,220 +1973,123 @@ var Schema_Module_Factory = function () { required: true }] }, { - localName: 'FraudInformationType', - typeName: 'fraudInformationType', + localName: 'SubscriptionCustomerProfileType', + typeName: 'subscriptionCustomerProfileType', + baseTypeInfo: '.CustomerProfileExType', propertyInfos: [{ - name: 'fraudFilterList', - required: true, - typeInfo: '.ArrayOfFraudFilterType' + name: 'paymentProfile', + typeInfo: '.CustomerPaymentProfileMaskedType' }, { - name: 'fraudAction', - required: true + name: 'shippingProfile', + typeInfo: '.CustomerAddressExType' }] }, { - localName: 'BatchDetailsType', - typeName: 'batchDetailsType', + localName: 'CustomerProfileExType', + typeName: 'customerProfileExType', + baseTypeInfo: '.CustomerProfileBaseType', propertyInfos: [{ - name: 'batchId', - required: true - }, { - name: 'settlementTimeUTC', - typeInfo: 'DateTime' - }, { - name: 'settlementTimeLocal', - typeInfo: 'DateTime' - }, { - name: 'settlementState', - required: true - }, { - name: 'paymentMethod' - }, { - name: 'marketType' - }, { - name: 'product' - }, { - name: 'statistics', - typeInfo: '.ArrayOfBatchStatisticType' + name: 'customerProfileId' }] }, { - localName: 'TransactionDetailsType', - typeName: 'transactionDetailsType', + localName: 'TransactionResponse', + typeName: 'transactionResponse', propertyInfos: [{ - name: 'transId', - required: true - }, { - name: 'refTransId' - }, { - name: 'splitTenderId' - }, { - name: 'submitTimeUTC', - required: true, - typeInfo: 'DateTime' - }, { - name: 'submitTimeLocal', - required: true, - typeInfo: 'DateTime' - }, { - name: 'transactionType', - required: true - }, { - name: 'transactionStatus', - required: true - }, { - name: 'responseCode', - required: true, - typeInfo: 'Int' - }, { - name: 'responseReasonCode', - required: true, - typeInfo: 'Int' - }, { - name: 'subscription', - typeInfo: '.SubscriptionPaymentType' + name: 'responseCode' }, { - name: 'responseReasonDescription', - required: true + name: 'rawResponseCode' }, { name: 'authCode' }, { - name: 'avsResponse', - elementName: 'AVSResponse' - }, { - name: 'cardCodeResponse' - }, { - name: 'cavvResponse', - elementName: 'CAVVResponse' - }, { - name: 'fdsFilterAction', - elementName: 'FDSFilterAction' + name: 'avsResultCode' }, { - name: 'fdsFilters', - elementName: 'FDSFilters', - typeInfo: '.ArrayOfFDSFilter' + name: 'cvvResultCode' }, { - name: 'batch', - typeInfo: '.BatchDetailsType' + name: 'cavvResultCode' }, { - name: 'order', - typeInfo: '.OrderExType' + name: 'transId' }, { - name: 'requestedAmount', - typeInfo: 'Decimal' + name: 'refTransID' }, { - name: 'authAmount', - required: true, - typeInfo: 'Decimal' + name: 'transHash' }, { - name: 'settleAmount', - required: true, - typeInfo: 'Decimal' + name: 'testRequest' }, { - name: 'tax', - typeInfo: '.ExtendedAmountType' + name: 'accountNumber' }, { - name: 'shipping', - typeInfo: '.ExtendedAmountType' + name: 'entryMode' }, { - name: 'duty', - typeInfo: '.ExtendedAmountType' + name: 'accountType' }, { - name: 'lineItems', - typeInfo: '.ArrayOfLineItem' + name: 'splitTenderId' }, { - name: 'prepaidBalanceRemaining', - typeInfo: 'Decimal' + name: 'prePaidCard', + typeInfo: '.TransactionResponse.PrePaidCard' }, { - name: 'taxExempt', - typeInfo: 'Boolean' + name: 'messages', + typeInfo: '.TransactionResponse.Messages' }, { - name: 'payment', - required: true, - typeInfo: '.PaymentMaskedType' + name: 'errors', + typeInfo: '.TransactionResponse.Errors' }, { - name: 'customer', - typeInfo: '.CustomerDataType' + name: 'splitTenderPayments', + typeInfo: '.TransactionResponse.SplitTenderPayments' }, { - name: 'billTo', - typeInfo: '.CustomerAddressType' + name: 'userFields', + typeInfo: '.TransactionResponse.UserFields' }, { name: 'shipTo', typeInfo: '.NameAndAddressType' }, { - name: 'recurringBilling', - typeInfo: 'Boolean' - }, { - name: 'customerIP' - }, { - name: 'product' - }, { - name: 'entryMode' - }, { - name: 'marketType' - }, { - name: 'mobileDeviceId' - }, { - name: 'customerSignature' - }, { - name: 'returnedItems', - typeInfo: '.ArrayOfReturnedItem' + name: 'secureAcceptance', + typeInfo: '.TransactionResponse.SecureAcceptance' }, { - name: 'solution', - typeInfo: '.SolutionType' + name: 'emvResponse', + typeInfo: '.TransactionResponse.EmvResponse' }, { - name: 'emvDetails', - typeInfo: '.TransactionDetailsType.EmvDetails' + name: 'transHashSha2' }, { name: 'profile', typeInfo: '.CustomerProfileIdType' - }, { - name: 'surcharge', - typeInfo: '.ExtendedAmountType' - }, { - name: 'employeeId' - }, { - name: 'tip', - typeInfo: '.ExtendedAmountType' }] }, { - localName: 'ArrayOfCustomerPaymentProfileListItemType', - typeName: 'arrayOfCustomerPaymentProfileListItemType', + localName: 'CustomerDataType', + typeName: 'customerDataType', propertyInfos: [{ - name: 'paymentProfile', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerPaymentProfileListItemType' + name: 'type' + }, { + name: 'id' + }, { + name: 'email' + }, { + name: 'driversLicense', + typeInfo: '.DriversLicenseType' + }, { + name: 'taxId' }] }, { - localName: 'CreateProfileResponse', - typeName: 'createProfileResponse', + localName: 'EncryptedTrackDataType', + typeName: 'encryptedTrackDataType', propertyInfos: [{ - name: 'messages', + name: 'formOfPayment', required: true, - typeInfo: '.MessagesType' - }, { - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileIdList', - typeInfo: '.ArrayOfNumericString' - }, { - name: 'customerShippingAddressIdList', - typeInfo: '.ArrayOfNumericString' + elementName: 'FormOfPayment', + typeInfo: '.KeyBlock' }] }, { - localName: 'ARBUpdateSubscriptionResponse', + localName: 'ARBGetSubscriptionListResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: 'totalNumInResultSet', + typeInfo: 'Int' + }, { + name: 'subscriptionDetails', + typeInfo: '.ArrayOfSubscription' }] }, { - localName: 'ArrayOfString', - propertyInfos: [{ - name: 'string', - minOccurs: 0, - collection: true - }] + localName: 'GetCustomerProfileIdsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' }, { localName: 'GetBatchStatisticsResponse', typeName: null, @@ -2055,391 +2099,233 @@ var Schema_Module_Factory = function () { typeInfo: '.BatchDetailsType' }] }, { - localName: 'ARBCancelSubscriptionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'CreateTransactionRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'transactionRequest', - required: true, - typeInfo: '.TransactionRequestType' - }] - }, { - localName: 'KeyManagementScheme.DUKPT.DeviceInfo', - typeName: null, + localName: 'PaymentDetails', + typeName: 'paymentDetails', propertyInfos: [{ - name: 'description', - required: true, - elementName: 'Description' - }] - }, { - localName: 'TransactionSummaryType', - typeName: 'transactionSummaryType', - propertyInfos: [{ - name: 'transId', - required: true - }, { - name: 'submitTimeUTC', - required: true, - typeInfo: 'DateTime' - }, { - name: 'submitTimeLocal', - required: true, - typeInfo: 'DateTime' - }, { - name: 'transactionStatus', - required: true - }, { - name: 'invoiceNumber' - }, { - name: 'firstName' - }, { - name: 'lastName' - }, { - name: 'accountType', - required: true - }, { - name: 'accountNumber', - required: true - }, { - name: 'settleAmount', - required: true, - typeInfo: 'Decimal' - }, { - name: 'marketType' - }, { - name: 'product' - }, { - name: 'mobileDeviceId' + name: 'currency' }, { - name: 'subscription', - typeInfo: '.SubscriptionPaymentType' + name: 'promoCode' }, { - name: 'hasReturnedItems', - typeInfo: 'Boolean' + name: 'misc' }, { - name: 'fraudInformation', - typeInfo: '.FraudInformationType' + name: 'giftWrap' }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' - }] - }, { - localName: 'ArrayOfFraudFilterType', - propertyInfos: [{ - name: 'fraudFilter', - required: true, - maxOccurs: 1000, - collection: true - }] - }, { - localName: 'ArrayOfProcessorType', - propertyInfos: [{ - name: 'processor', - minOccurs: 0, - collection: true, - typeInfo: '.ProcessorType' - }] - }, { - localName: 'GetHostedProfilePageRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'discount' }, { - name: 'hostedProfileSettings', - typeInfo: '.ArrayOfSetting' - }] - }, { - localName: 'CustomerPaymentProfileListItemType', - typeName: 'customerPaymentProfileListItemType', - propertyInfos: [{ - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' + name: 'tax' }, { - name: 'customerPaymentProfileId', - required: true, - typeInfo: 'Int' + name: 'shippingHandling' }, { - name: 'customerProfileId', - required: true, - typeInfo: 'Int' + name: 'subTotal' }, { - name: 'billTo', - required: true, - typeInfo: '.CustomerAddressType' + name: 'orderID' }, { - name: 'payment', - required: true, - typeInfo: '.PaymentMaskedType' + name: 'amount' }] }, { - localName: 'ARBSubscriptionMaskedType', + localName: 'BankAccountMaskedType', + typeName: 'bankAccountMaskedType', propertyInfos: [{ - name: 'name' - }, { - name: 'paymentSchedule', - typeInfo: '.PaymentScheduleType' - }, { - name: 'amount', - typeInfo: 'Decimal' - }, { - name: 'trialAmount', - typeInfo: 'Decimal' - }, { - name: 'status' - }, { - name: 'profile', - typeInfo: '.SubscriptionCustomerProfileType' - }, { - name: 'order', - typeInfo: '.OrderType' + name: 'accountType' }, { - name: 'arbTransactions', - typeInfo: '.ARBTransactionList' - }] - }, { - localName: 'MessagesType', - typeName: 'messagesType', - propertyInfos: [{ - name: 'resultCode', + name: 'routingNumber', required: true }, { - name: 'message', - required: true, - collection: true, - typeInfo: '.MessagesType.Message' - }] - }, { - localName: 'GetMerchantDetailsResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'isTestMode', - typeInfo: 'Boolean' - }, { - name: 'processors', - required: true, - typeInfo: '.ArrayOfProcessorType' - }, { - name: 'merchantName', + name: 'accountNumber', required: true }, { - name: 'gatewayId', + name: 'nameOnAccount', required: true }, { - name: 'marketTypes', - required: true, - typeInfo: '.ArrayOfMarketType' - }, { - name: 'productCodes', - required: true, - typeInfo: '.ArrayOfProductCode' - }, { - name: 'paymentMethods', - required: true, - typeInfo: '.ArrayOfPaymentMethod' - }, { - name: 'currencies', - required: true, - typeInfo: '.ArrayOfCurrencyCode' + name: 'echeckType' }, { - name: 'publicClientKey' + name: 'bankName' }] }, { - localName: 'ImpersonationAuthenticationType', - typeName: 'impersonationAuthenticationType', + localName: 'CustomerAddressExType', + typeName: 'customerAddressExType', + baseTypeInfo: '.CustomerAddressType', propertyInfos: [{ - name: 'partnerLoginId', - required: true - }, { - name: 'partnerTransactionKey', - required: true + name: 'customerAddressId' }] }, { - localName: 'ARBGetSubscriptionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'SubscriptionPaymentType', + typeName: 'subscriptionPaymentType', propertyInfos: [{ - name: 'subscription', + name: 'id', required: true, - typeInfo: '.ARBSubscriptionMaskedType' + typeInfo: 'Int' + }, { + name: 'payNum', + required: true, + typeInfo: 'Int' }] }, { - localName: 'ListOfAUDetailsType', + localName: 'ArrayOfCurrencyCode', propertyInfos: [{ - name: 'auUpdateOrAuDelete', + name: 'currency', minOccurs: 0, - collection: true, - elementTypeInfos: [{ - elementName: 'auUpdate', - typeInfo: '.AuUpdateType' - }, { - elementName: 'auDelete', - typeInfo: '.AuDeleteType' - }], - type: 'elements' - }] - }, { - localName: 'LogoutRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' - }, { - localName: 'FingerPrintType', - typeName: 'fingerPrintType', - propertyInfos: [{ - name: 'hashValue', - required: true - }, { - name: 'sequence' - }, { - name: 'timestamp', - required: true - }, { - name: 'currencyCode' - }, { - name: 'amount' + collection: true }] }, { - localName: 'MobileDeviceLoginRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' - }, { - localName: 'TransactionRequestType', - typeName: 'transactionRequestType', + localName: 'PaymentEmvType', + typeName: 'paymentEmvType', propertyInfos: [{ - name: 'transactionType', - required: true - }, { - name: 'amount', - typeInfo: 'Decimal' - }, { - name: 'currencyCode' - }, { - name: 'payment', - typeInfo: '.PaymentType' - }, { - name: 'profile', - typeInfo: '.CustomerProfilePaymentType' - }, { - name: 'solution', - typeInfo: '.SolutionType' - }, { - name: 'callId' - }, { - name: 'terminalNumber' - }, { - name: 'authCode' - }, { - name: 'refTransId' - }, { - name: 'splitTenderId' - }, { - name: 'order', - typeInfo: '.OrderType' - }, { - name: 'lineItems', - typeInfo: '.ArrayOfLineItem' - }, { - name: 'tax', - typeInfo: '.ExtendedAmountType' - }, { - name: 'duty', - typeInfo: '.ExtendedAmountType' - }, { - name: 'shipping', - typeInfo: '.ExtendedAmountType' - }, { - name: 'taxExempt', - typeInfo: 'Boolean' - }, { - name: 'poNumber' - }, { - name: 'customer', - typeInfo: '.CustomerDataType' - }, { - name: 'billTo', - typeInfo: '.CustomerAddressType' - }, { - name: 'shipTo', - typeInfo: '.NameAndAddressType' - }, { - name: 'customerIP' - }, { - name: 'cardholderAuthentication', - typeInfo: '.CcAuthenticationType' + name: 'emvData', + required: true, + typeInfo: 'AnyType' }, { - name: 'retail', - typeInfo: '.TransRetailInfoType' + name: 'emvDescriptor', + required: true, + typeInfo: 'AnyType' }, { - name: 'employeeId' + name: 'emvVersion', + required: true, + typeInfo: 'AnyType' + }] + }, { + localName: 'UpdateCustomerShippingAddressResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'ARBCancelSubscriptionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'ARBUpdateSubscriptionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'subscriptionId', + required: true }, { - name: 'transactionSettings', - typeInfo: '.ArrayOfSetting' + name: 'subscription', + required: true, + typeInfo: '.ARBSubscriptionType' + }] + }, { + localName: 'LogoutResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'CreateCustomerProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'profile', + required: true, + typeInfo: '.CustomerProfileType' }, { - name: 'userFields', - typeInfo: '.TransactionRequestType.UserFields' + name: 'validationMode' + }] + }, { + localName: 'GetTransactionListRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'batchId' }, { - name: 'surcharge', - typeInfo: '.ExtendedAmountType' + name: 'sorting', + typeInfo: '.TransactionListSorting' }, { - name: 'merchantDescriptor' + name: 'paging', + typeInfo: '.Paging' + }] + }, { + localName: 'CustomerAddressType', + typeName: 'customerAddressType', + baseTypeInfo: '.NameAndAddressType', + propertyInfos: [{ + name: 'phoneNumber' }, { - name: 'subMerchant', - typeInfo: '.SubMerchantType' + name: 'faxNumber' }, { - name: 'tip', - typeInfo: '.ExtendedAmountType' + name: 'email' }] }, { - localName: 'MerchantAuthenticationType', - typeName: 'merchantAuthenticationType', + localName: 'TransactionResponse.SecureAcceptance', + typeName: null, propertyInfos: [{ - name: 'name' + name: 'secureAcceptanceUrl', + elementName: 'SecureAcceptanceUrl' }, { - name: 'transactionKey', - required: true + name: 'payerID', + elementName: 'PayerID' }, { - name: 'sessionToken' + name: 'payerEmail', + elementName: 'PayerEmail' + }] + }, { + localName: 'FDSFilterType', + propertyInfos: [{ + name: 'name', + required: true }, { - name: 'password', + name: 'action', required: true + }] + }, { + localName: 'MerchantContactType', + typeName: 'merchantContactType', + propertyInfos: [{ + name: 'merchantName' }, { - name: 'impersonationAuthentication', - typeInfo: '.ImpersonationAuthenticationType' + name: 'merchantAddress' }, { - name: 'fingerPrint', - typeInfo: '.FingerPrintType' + name: 'merchantCity' }, { - name: 'clientKey' + name: 'merchantState' }, { - name: 'accessToken' + name: 'merchantZip' }, { - name: 'mobileDeviceId' + name: 'merchantPhone' }] }, { - localName: 'EmvTag', - typeName: 'emvTag', + localName: 'CustomerProfileSummaryType', + typeName: 'customerProfileSummaryType', propertyInfos: [{ - name: 'name' + name: 'customerProfileId' }, { - name: 'value' + name: 'description' }, { - name: 'formatted' + name: 'merchantCustomerId', + required: true + }, { + name: 'email' + }, { + name: 'createdDate', + required: true, + typeInfo: 'DateTime' }] }, { - localName: 'TransactionDetailsType.EmvDetails.Tag', + localName: 'GetAUJobDetailsRequest', typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'tagId', + name: 'month', required: true }, { - name: 'data', - required: true + name: 'modifiedTypeFilter' + }, { + name: 'paging', + typeInfo: '.Paging' + }] + }, { + localName: 'ArrayOfAUResponseType', + propertyInfos: [{ + name: 'auResponse', + minOccurs: 0, + collection: true, + typeInfo: '.AuResponseType' + }] + }, { + localName: 'UpdateHeldTransactionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'heldTransactionRequest', + required: true, + typeInfo: '.HeldTransactionRequestType' }] }, { localName: 'CustomerPaymentProfileSorting', @@ -2452,92 +2338,85 @@ var Schema_Module_Factory = function () { typeInfo: 'Boolean' }] }, { - localName: 'KeyManagementScheme', + localName: 'TransactionDetailsType.EmvDetails.Tag', + typeName: null, propertyInfos: [{ - name: 'dukpt', - required: true, - elementName: 'DUKPT', - typeInfo: '.KeyManagementScheme.DUKPT' + name: 'tagId', + required: true + }, { + name: 'data', + required: true }] }, { - localName: 'CustomerType', - typeName: 'customerType', + localName: 'KeyManagementScheme.DUKPT.Mode', + typeName: null, propertyInfos: [{ - name: 'type' - }, { - name: 'id' - }, { - name: 'email' - }, { - name: 'phoneNumber' + name: 'pin', + elementName: 'PIN' }, { - name: 'faxNumber' + name: 'data', + elementName: 'Data' + }] + }, { + localName: 'CustomerProfileIdType', + typeName: 'customerProfileIdType', + propertyInfos: [{ + name: 'customerProfileId', + required: true }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseType' + name: 'customerPaymentProfileId' }, { - name: 'taxId' + name: 'customerAddressId' }] }, { - localName: 'ArrayOfPaymentMethod', + localName: 'TransactionResponse.SplitTenderPayments', + typeName: null, propertyInfos: [{ - name: 'paymentMethod', + name: 'splitTenderPayment', minOccurs: 0, - collection: true + collection: true, + typeInfo: '.TransactionResponse.SplitTenderPayments.SplitTenderPayment' }] }, { - localName: 'ArrayOfProductCode', + localName: 'ArrayOfFDSFilter', propertyInfos: [{ - name: 'productCode', + name: 'fdsFilter', minOccurs: 0, - collection: true + collection: true, + elementName: 'FDSFilter', + typeInfo: '.FDSFilterType' }] }, { - localName: 'GetCustomerShippingAddressResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'Paging', propertyInfos: [{ - name: 'defaultShippingAddress', - typeInfo: 'Boolean' - }, { - name: 'address', - typeInfo: '.CustomerAddressExType' + name: 'limit', + required: true, + typeInfo: 'Int' }, { - name: 'subscriptionIds', - typeInfo: '.SubscriptionIdList' - }] - }, { - localName: 'TransactionResponse.UserFields', - typeName: null, - propertyInfos: [{ - name: 'userField', - minOccurs: 0, - maxOccurs: 20, - collection: true, - typeInfo: '.UserField' + name: 'offset', + required: true, + typeInfo: 'Int' }] }, { - localName: 'BankAccountMaskedType', - typeName: 'bankAccountMaskedType', + localName: 'FingerPrintType', + typeName: 'fingerPrintType', propertyInfos: [{ - name: 'accountType' - }, { - name: 'routingNumber', + name: 'hashValue', required: true }, { - name: 'accountNumber', - required: true + name: 'sequence' }, { - name: 'nameOnAccount', + name: 'timestamp', required: true }, { - name: 'echeckType' + name: 'currencyCode' }, { - name: 'bankName' + name: 'amount' }] }, { - localName: 'ProfileTransVoidType', - typeName: 'profileTransVoidType', + localName: 'ProfileTransRefundType', + typeName: 'profileTransRefundType', + baseTypeInfo: '.ProfileTransAmountType', propertyInfos: [{ name: 'customerProfileId' }, { @@ -2545,89 +2424,93 @@ var Schema_Module_Factory = function () { }, { name: 'customerShippingAddressId' }, { - name: 'transId', - required: true - }] - }, { - localName: 'GetCustomerPaymentProfileListRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'searchType', - required: true + name: 'creditCardNumberMasked' }, { - name: 'month', - required: true + name: 'bankRoutingNumberMasked' }, { - name: 'sorting', - typeInfo: '.CustomerPaymentProfileSorting' + name: 'bankAccountNumberMasked' }, { - name: 'paging', - typeInfo: '.Paging' + name: 'order', + typeInfo: '.OrderExType' + }, { + name: 'transId' }] }, { - localName: 'SecurePaymentContainerRequest', + localName: 'CreateCustomerProfileTransactionRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'data', + name: 'transaction', required: true, - typeInfo: '.WebCheckOutDataType' + typeInfo: '.ProfileTransactionType' + }, { + name: 'extraOptions' }] }, { - localName: 'TransactionDetailsType.EmvDetails', - typeName: null, + localName: 'ArrayOfReturnedItem', propertyInfos: [{ - name: 'tag', - required: true, + name: 'returnedItem', + minOccurs: 0, collection: true, - typeInfo: '.TransactionDetailsType.EmvDetails.Tag' + typeInfo: '.ReturnedItemType' }] }, { - localName: 'ArrayOfSetting', + localName: 'ArrayOfCardType', propertyInfos: [{ - name: 'setting', + name: 'cardType', minOccurs: 0, - collection: true, - typeInfo: '.SettingType' + maxOccurs: 30, + collection: true }] }, { - localName: 'SettingType', - typeName: 'settingType', + localName: 'CustomerPaymentProfileMaskedType', + typeName: 'customerPaymentProfileMaskedType', + baseTypeInfo: '.CustomerPaymentProfileBaseType', propertyInfos: [{ - name: 'settingName' + name: 'customerProfileId' }, { - name: 'settingValue' + name: 'customerPaymentProfileId', + required: true + }, { + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' + }, { + name: 'payment', + typeInfo: '.PaymentMaskedType' + }, { + name: 'driversLicense', + typeInfo: '.DriversLicenseMaskedType' + }, { + name: 'taxId' + }, { + name: 'subscriptionIds', + typeInfo: '.SubscriptionIdList' }] }, { - localName: 'AuthenticateTestResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'ProfileTransPriorAuthCaptureType', - typeName: 'profileTransPriorAuthCaptureType', - baseTypeInfo: '.ProfileTransAmountType', + localName: 'WebCheckOutDataTypeToken', + typeName: 'webCheckOutDataTypeToken', propertyInfos: [{ - name: 'customerProfileId' + name: 'cardNumber', + required: true }, { - name: 'customerPaymentProfileId' + name: 'expirationDate', + required: true }, { - name: 'customerShippingAddressId' + name: 'cardCode' }, { - name: 'transId', - required: true + name: 'zip' + }, { + name: 'fullName' }] }, { - localName: 'ARBUpdateSubscriptionRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'TransactionListSorting', propertyInfos: [{ - name: 'subscriptionId', + name: 'orderBy', required: true }, { - name: 'subscription', + name: 'orderDescending', required: true, - typeInfo: '.ARBSubscriptionType' + typeInfo: 'Boolean' }] }, { localName: 'ANetApiResponse', @@ -2641,203 +2524,268 @@ var Schema_Module_Factory = function () { name: 'sessionToken' }] }, { - localName: 'DeleteCustomerShippingAddressResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'Paging', + localName: 'TransRetailInfoType', + typeName: 'transRetailInfoType', propertyInfos: [{ - name: 'limit', - required: true, - typeInfo: 'Int' + name: 'marketType' }, { - name: 'offset', - required: true, - typeInfo: 'Int' + name: 'deviceType' + }, { + name: 'customerSignature' + }, { + name: 'terminalNumber' }] }, { - localName: 'GetHostedPaymentPageResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'ArrayOfString', propertyInfos: [{ - name: 'token', - required: true + name: 'string', + minOccurs: 0, + collection: true }] }, { - localName: 'GetAUJobSummaryRequest', + localName: 'TransactionResponse.Errors', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'month', - required: true + name: 'error', + minOccurs: 0, + collection: true, + typeInfo: '.TransactionResponse.Errors.Error' }] }, { - localName: 'CreateCustomerPaymentProfileResponse', + localName: 'GetHostedProfilePageRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileId' + name: 'customerProfileId', + required: true }, { - name: 'validationDirectResponse' + name: 'hostedProfileSettings', + typeInfo: '.ArrayOfSetting' }] }, { - localName: 'ProfileTransCaptureOnlyType', - typeName: 'profileTransCaptureOnlyType', - baseTypeInfo: '.ProfileTransOrderType', - propertyInfos: [{ - name: 'approvalCode', - required: true - }] + localName: 'IsAliveResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' }, { - localName: 'ArrayOfFDSFilter', + localName: 'TransactionRequestType', + typeName: 'transactionRequestType', propertyInfos: [{ - name: 'fdsFilter', - minOccurs: 0, - collection: true, - elementName: 'FDSFilter', - typeInfo: '.FDSFilterType' + name: 'transactionType', + required: true + }, { + name: 'amount', + typeInfo: 'Decimal' + }, { + name: 'currencyCode' + }, { + name: 'payment', + typeInfo: '.PaymentType' + }, { + name: 'profile', + typeInfo: '.CustomerProfilePaymentType' + }, { + name: 'solution', + typeInfo: '.SolutionType' + }, { + name: 'callId' + }, { + name: 'terminalNumber' + }, { + name: 'authCode' + }, { + name: 'refTransId' + }, { + name: 'splitTenderId' + }, { + name: 'order', + typeInfo: '.OrderType' + }, { + name: 'lineItems', + typeInfo: '.ArrayOfLineItem' + }, { + name: 'tax', + typeInfo: '.ExtendedAmountType' + }, { + name: 'duty', + typeInfo: '.ExtendedAmountType' + }, { + name: 'shipping', + typeInfo: '.ExtendedAmountType' + }, { + name: 'taxExempt', + typeInfo: 'Boolean' + }, { + name: 'poNumber' + }, { + name: 'customer', + typeInfo: '.CustomerDataType' + }, { + name: 'billTo', + typeInfo: '.CustomerAddressType' + }, { + name: 'shipTo', + typeInfo: '.NameAndAddressType' + }, { + name: 'customerIP' + }, { + name: 'cardholderAuthentication', + typeInfo: '.CcAuthenticationType' + }, { + name: 'retail', + typeInfo: '.TransRetailInfoType' + }, { + name: 'employeeId' + }, { + name: 'transactionSettings', + typeInfo: '.ArrayOfSetting' + }, { + name: 'userFields', + typeInfo: '.TransactionRequestType.UserFields' + }, { + name: 'surcharge', + typeInfo: '.ExtendedAmountType' + }, { + name: 'merchantDescriptor' + }, { + name: 'subMerchant', + typeInfo: '.SubMerchantType' + }, { + name: 'tip', + typeInfo: '.ExtendedAmountType' }] }, { - localName: 'GetTransactionDetailsResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'KeyValue', propertyInfos: [{ - name: 'transaction', + name: 'encoding', required: true, - typeInfo: '.TransactionDetailsType' + elementName: 'Encoding' }, { - name: 'clientId' + name: 'encryptionAlgorithm', + required: true, + elementName: 'EncryptionAlgorithm' }, { - name: 'transrefId' - }] - }, { - localName: 'UpdateCustomerProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'profile', + name: 'scheme', required: true, - typeInfo: '.CustomerProfileExType' + elementName: 'Scheme', + typeInfo: '.KeyManagementScheme' }] }, { - localName: 'ARBGetSubscriptionStatusRequest', + localName: 'DeleteCustomerShippingAddressRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'subscriptionId', + name: 'customerProfileId', + required: true + }, { + name: 'customerAddressId', required: true }] }, { - localName: 'GetSettledBatchListResponse', + localName: 'TransactionResponse.PrePaidCard', typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'batchList', - typeInfo: '.ArrayOfBatchDetailsType' - }] - }, { - localName: 'CustomerDataType', - typeName: 'customerDataType', propertyInfos: [{ - name: 'type' - }, { - name: 'id' - }, { - name: 'email' + name: 'requestedAmount' }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseType' + name: 'approvedAmount' }, { - name: 'taxId' + name: 'balanceOnCard' }] }, { - localName: 'TransactionResponse.EmvResponse', + localName: 'CreateCustomerPaymentProfileRequest', typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'tlvData' + name: 'customerProfileId', + required: true }, { - name: 'tags', - typeInfo: '.TransactionResponse.EmvResponse.Tags' + name: 'paymentProfile', + required: true, + typeInfo: '.CustomerPaymentProfileType' + }, { + name: 'validationMode' }] }, { - localName: 'TransactionListSorting', + localName: 'ProfileTransOrderType', + typeName: 'profileTransOrderType', + baseTypeInfo: '.ProfileTransAmountType', propertyInfos: [{ - name: 'orderBy', + name: 'customerProfileId', required: true }, { - name: 'orderDescending', - required: true, + name: 'customerPaymentProfileId', + required: true + }, { + name: 'customerShippingAddressId' + }, { + name: 'order', + typeInfo: '.OrderExType' + }, { + name: 'taxExempt', typeInfo: 'Boolean' + }, { + name: 'recurringBilling', + typeInfo: 'Boolean' + }, { + name: 'cardCode' + }, { + name: 'splitTenderId' }] }, { - localName: 'GetAUJobDetailsResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'CustomerPaymentProfileListItemType', + typeName: 'customerPaymentProfileListItemType', propertyInfos: [{ - name: 'totalNumInResultSet', + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' + }, { + name: 'customerPaymentProfileId', + required: true, typeInfo: 'Int' }, { - name: 'auDetails', - typeInfo: '.ListOfAUDetailsType' + name: 'customerProfileId', + required: true, + typeInfo: 'Int' + }, { + name: 'billTo', + required: true, + typeInfo: '.CustomerAddressType' + }, { + name: 'payment', + required: true, + typeInfo: '.PaymentMaskedType' }] }, { - localName: 'CustomerProfileExType', - typeName: 'customerProfileExType', - baseTypeInfo: '.CustomerProfileBaseType', + localName: 'TransactionResponse.Messages', + typeName: null, propertyInfos: [{ - name: 'customerProfileId' + name: 'message', + minOccurs: 0, + collection: true, + typeInfo: '.TransactionResponse.Messages.Message' }] }, { - localName: 'ProcessorType', - typeName: 'processorType', + localName: 'ExtendedAmountType', + typeName: 'extendedAmountType', propertyInfos: [{ - name: 'name', - required: true - }, { - name: 'id', + name: 'amount', required: true, - typeInfo: 'Int' + typeInfo: 'Decimal' }, { - name: 'cardTypes', - typeInfo: '.ArrayOfCardType' - }] - }, { - localName: 'OrderType', - typeName: 'orderType', - propertyInfos: [{ - name: 'invoiceNumber' + name: 'name' }, { name: 'description' }] }, { - localName: 'GetCustomerShippingAddressRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ProfileTransVoidType', + typeName: 'profileTransVoidType', propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'customerProfileId' }, { - name: 'customerAddressId' - }] - }, { - localName: 'GetMerchantDetailsRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' - }, { - localName: 'CreateCustomerPaymentProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'customerPaymentProfileId' }, { - name: 'paymentProfile', - required: true, - typeInfo: '.CustomerPaymentProfileType' + name: 'customerShippingAddressId' }, { - name: 'validationMode' + name: 'transId', + required: true }] }, { localName: 'ProfileTransactionType', @@ -2868,41 +2816,12 @@ var Schema_Module_Factory = function () { typeInfo: '.ProfileTransVoidType' }] }, { - localName: 'SecurePaymentContainerErrorType', - typeName: 'securePaymentContainerErrorType', - propertyInfos: [{ - name: 'code', - required: true - }, { - name: 'description', - required: true - }] - }, { - localName: 'MobileDeviceRegistrationResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'ArrayOfLong', - propertyInfos: [{ - name: '_long', - minOccurs: 0, - collection: true, - elementName: 'long', - typeInfo: 'Long' - }] - }, { - localName: 'SendCustomerTransactionReceiptRequest', + localName: 'UpdateHeldTransactionResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'transId', - required: true - }, { - name: 'customerEmail', - required: true - }, { - name: 'emailSettings', - typeInfo: '.EmailSettingsType' + name: 'transactionResponse', + typeInfo: '.TransactionResponse' }] }, { localName: 'EnumCollection', @@ -2942,189 +2861,294 @@ var Schema_Module_Factory = function () { required: true }] }, { - localName: 'ArrayOfBatchDetailsType', + localName: 'GetHostedPaymentPageRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'transactionRequest', + required: true, + typeInfo: '.TransactionRequestType' + }, { + name: 'hostedPaymentSettings', + typeInfo: '.ArrayOfSetting' + }] + }, { + localName: 'GetCustomerPaymentProfileListRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'searchType', + required: true + }, { + name: 'month', + required: true + }, { + name: 'sorting', + typeInfo: '.CustomerPaymentProfileSorting' + }, { + name: 'paging', + typeInfo: '.Paging' + }] + }, { + localName: 'GetTransactionDetailsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'transId', + required: true + }] + }, { + localName: 'KeyManagementScheme.DUKPT.DeviceInfo', + typeName: null, + propertyInfos: [{ + name: 'description', + required: true, + elementName: 'Description' + }] + }, { + localName: 'GetHostedPaymentPageResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'token', + required: true + }] + }, { + localName: 'ARBCreateSubscriptionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'batch', - minOccurs: 0, - collection: true, - typeInfo: '.BatchDetailsType' + name: 'subscriptionId' + }, { + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'SendCustomerTransactionReceiptResponse', + localName: 'UpdateCustomerProfileResponse', typeName: null, baseTypeInfo: '.ANetApiResponse' }, { - localName: 'GetCustomerProfileRequest', + localName: 'MobileDeviceLoginRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'ProfileTransAuthCaptureType', + typeName: 'profileTransAuthCaptureType', + baseTypeInfo: '.ProfileTransOrderType' + }, { + localName: 'TransactionResponse.UserFields', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'merchantCustomerId' - }, { - name: 'email' - }, { - name: 'unmaskExpirationDate', - typeInfo: 'Boolean' + name: 'userField', + minOccurs: 0, + maxOccurs: 20, + collection: true, + typeInfo: '.UserField' + }] + }, { + localName: 'GetAUJobDetailsResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'totalNumInResultSet', + typeInfo: 'Int' }, { - name: 'includeIssuerInfo', - typeInfo: 'Boolean' + name: 'auDetails', + typeInfo: '.ListOfAUDetailsType' }] }, { - localName: 'MobileDeviceType', - typeName: 'mobileDeviceType', + localName: 'ARBGetSubscriptionListSorting', propertyInfos: [{ - name: 'mobileDeviceId', + name: 'orderBy', required: true }, { - name: 'description' - }, { - name: 'phoneNumber' - }, { - name: 'devicePlatform' - }, { - name: 'deviceActivation' + name: 'orderDescending', + required: true, + typeInfo: 'Boolean' }] }, { - localName: 'CreateCustomerProfileResponse', + localName: 'UpdateMerchantDetailsRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileIdList', + name: 'isTestMode', required: true, - typeInfo: '.ArrayOfNumericString' + typeInfo: 'Boolean' + }] + }, { + localName: 'CustomerProfileBaseType', + typeName: 'customerProfileBaseType', + propertyInfos: [{ + name: 'merchantCustomerId' }, { - name: 'customerShippingAddressIdList', - required: true, - typeInfo: '.ArrayOfNumericString' + name: 'description' }, { - name: 'validationDirectResponseList', - required: true, - typeInfo: '.ArrayOfString' + name: 'email' }] }, { - localName: 'WebCheckOutDataType', - typeName: 'webCheckOutDataType', + localName: 'ARBCancelSubscriptionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'type', - required: true - }, { - name: 'id', + name: 'subscriptionId', required: true - }, { - name: 'token', - required: true, - typeInfo: '.WebCheckOutDataType.Token' }] }, { - localName: 'GetCustomerPaymentProfileResponse', + localName: 'UpdateCustomerPaymentProfileResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'paymentProfile', - typeInfo: '.CustomerPaymentProfileMaskedType' + name: 'validationDirectResponse' }] }, { - localName: 'EncryptedTrackDataType', - typeName: 'encryptedTrackDataType', + localName: 'CreateTransactionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'formOfPayment', + name: 'transactionResponse', required: true, - elementName: 'FormOfPayment', - typeInfo: '.KeyBlock' + typeInfo: '.TransactionResponse' + }, { + name: 'profileResponse', + typeInfo: '.CreateProfileResponse' }] }, { - localName: 'KeyManagementScheme.DUKPT.Mode', + localName: 'GetCustomerPaymentProfileListResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'pin', - elementName: 'PIN' + name: 'totalNumInResultSet', + required: true, + typeInfo: 'Int' }, { - name: 'data', - elementName: 'Data' + name: 'paymentProfiles', + typeInfo: '.ArrayOfCustomerPaymentProfileListItemType' }] }, { - localName: 'DeleteCustomerProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'DriversLicenseType', - typeName: 'driversLicenseType', + localName: 'PaymentType', + typeName: 'paymentType', propertyInfos: [{ - name: 'number', - required: true + name: 'creditCard', + required: true, + typeInfo: '.CreditCardType' }, { - name: 'state', - required: true + name: 'bankAccount', + required: true, + typeInfo: '.BankAccountType' }, { - name: 'dateOfBirth', - required: true + name: 'trackData', + required: true, + typeInfo: '.CreditCardTrackType' + }, { + name: 'encryptedTrackData', + required: true, + typeInfo: '.EncryptedTrackDataType' + }, { + name: 'payPal', + required: true, + typeInfo: '.PayPalType' + }, { + name: 'opaqueData', + required: true, + typeInfo: '.OpaqueDataType' + }, { + name: 'emv', + required: true, + typeInfo: '.PaymentEmvType' + }, { + name: 'dataSource' }] }, { - localName: 'UpdateSplitTenderGroupResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'ARBGetSubscriptionListSorting', + localName: 'CreditCardTrackType', + typeName: 'creditCardTrackType', propertyInfos: [{ - name: 'orderBy', + name: 'track1', required: true }, { - name: 'orderDescending', - required: true, - typeInfo: 'Boolean' + name: 'track2', + required: true }] }, { - localName: 'LogoutResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'ProfileTransOrderType', - typeName: 'profileTransOrderType', - baseTypeInfo: '.ProfileTransAmountType', + localName: 'BatchDetailsType', + typeName: 'batchDetailsType', propertyInfos: [{ - name: 'customerProfileId', + name: 'batchId', required: true }, { - name: 'customerPaymentProfileId', + name: 'settlementTimeUTC', + typeInfo: 'DateTime' + }, { + name: 'settlementTimeLocal', + typeInfo: 'DateTime' + }, { + name: 'settlementState', required: true }, { - name: 'customerShippingAddressId' + name: 'paymentMethod' }, { - name: 'order', - typeInfo: '.OrderExType' + name: 'marketType' }, { - name: 'taxExempt', - typeInfo: 'Boolean' + name: 'product' }, { - name: 'recurringBilling', - typeInfo: 'Boolean' + name: 'statistics', + typeInfo: '.ArrayOfBatchStatisticType' + }] + }, { + localName: 'FraudInformationType', + typeName: 'fraudInformationType', + propertyInfos: [{ + name: 'fraudFilterList', + required: true, + typeInfo: '.ArrayOfFraudFilterType' }, { - name: 'cardCode' + name: 'fraudAction', + required: true + }] + }, { + localName: 'TransactionResponse.Messages.Message', + typeName: null, + propertyInfos: [{ + name: 'code' }, { - name: 'splitTenderId' + name: 'description' }] }, { - localName: 'UpdateHeldTransactionRequest', + localName: 'GetCustomerProfileIdsResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'heldTransactionRequest', + name: 'ids', required: true, - typeInfo: '.HeldTransactionRequestType' + typeInfo: '.ArrayOfNumericString' + }] + }, { + localName: 'OrderType', + typeName: 'orderType', + propertyInfos: [{ + name: 'invoiceNumber' + }, { + name: 'description' }] }, { - localName: 'GetTransactionListResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'ReturnedItemType', + typeName: 'returnedItemType', propertyInfos: [{ - name: 'transactions', - typeInfo: '.ArrayOfTransactionSummaryType' + name: 'id', + required: true }, { - name: 'totalNumInResultSet', - typeInfo: 'Int' + name: 'dateUTC', + required: true, + typeInfo: 'DateTime' + }, { + name: 'dateLocal', + required: true, + typeInfo: 'DateTime' + }, { + name: 'code', + required: true + }, { + name: 'description', + required: true }] }, { localName: 'MobileDeviceLoginResponse', @@ -3142,411 +3166,411 @@ var Schema_Module_Factory = function () { name: 'merchantAccount', typeInfo: '.TransRetailInfoType' }] - }, { - localName: 'DeleteCustomerPaymentProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' }, { type: 'enumInfo', - localName: 'EncodingType', - values: ['Base64', 'Hex'] + localName: 'BankAccountTypeEnum', + values: ['checking', 'savings', 'businessChecking'] }, { type: 'enumInfo', - localName: 'AccountTypeEnum', - values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub', 'eCheck'] + localName: 'CustomerProfileTypeEnum', + values: ['regular', 'guest'] }, { type: 'enumInfo', - localName: 'CardTypeEnum', - values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub'] + localName: 'AfdsTransactionEnum', + values: ['approve', 'decline'] }, { type: 'enumInfo', - localName: 'ARBSubscriptionUnitEnum', - values: ['days', 'months'] + localName: 'WebCheckOutTypeEnum', + values: ['PAN', 'TOKEN'] }, { type: 'enumInfo', - localName: 'FDSFilterActionEnum', - values: ['reject', 'decline', 'hold', 'authAndHold', 'report'] + localName: 'EcheckTypeEnum', + values: ['PPD', 'WEB', 'CCD', 'TEL', 'ARC', 'BOC'] }, { type: 'enumInfo', - localName: 'CustomerTypeEnum', - values: ['individual', 'business'] + localName: 'PaymentMethodsTypeEnum', + values: ['Visa', 'MasterCard', 'Discover', 'AmericanExpress', 'DinersClub', 'JCB', 'EnRoute', 'Echeck', 'Paypal', 'VisaCheckout', 'ApplePay', 'AndroidPay'] }, { type: 'enumInfo', - localName: 'ARBGetSubscriptionListSearchTypeEnum', - values: ['cardExpiringThisMonth', 'subscriptionActive', 'subscriptionExpiringThisMonth', 'subscriptionInactive'] + localName: 'ARBSubscriptionStatusEnum', + values: ['active', 'expired', 'suspended', 'canceled', 'terminated'] }, { type: 'enumInfo', - localName: 'OperationType', - values: ['DECRYPT'] + localName: 'ValidationModeEnum', + values: ['none', 'testMode', 'liveMode', 'oldLiveMode'] }, { type: 'enumInfo', - localName: 'PaymentMethodsTypeEnum', - values: ['Visa', 'MasterCard', 'Discover', 'AmericanExpress', 'DinersClub', 'JCB', 'EnRoute', 'Echeck', 'Paypal', 'VisaCheckout', 'ApplePay', 'AndroidPay'] + localName: 'CustomerPaymentProfileSearchTypeEnum', + values: ['cardsExpiringInMonth'] }, { type: 'enumInfo', - localName: 'EncryptionAlgorithmType', - values: ['TDES', 'AES', 'RSA'] + localName: 'CardTypeEnum', + values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub'] }, { type: 'enumInfo', - localName: 'PermissionsEnum', - values: ['API_Merchant_BasicReporting', 'Submit_Charge', 'Submit_Refund', 'Submit_Update', 'Mobile_Admin'] + localName: 'SplitTenderStatusEnum', + values: ['completed', 'held', 'voided'] }, { type: 'enumInfo', localName: 'SettingNameEnum', - values: ['emailCustomer', 'merchantEmail', 'allowPartialAuth', 'headerEmailReceipt', 'footerEmailReceipt', 'recurringBilling', 'duplicateWindow', 'testRequest', 'hostedProfileReturnUrl', 'hostedProfileReturnUrlText', 'hostedProfilePageBorderVisible', 'hostedProfileIFrameCommunicatorUrl', 'hostedProfileHeadingBgColor', 'hostedProfileValidationMode', 'hostedProfileBillingAddressRequired', 'hostedProfileCardCodeRequired', 'hostedProfileBillingAddressOptions', 'hostedProfileManageOptions', 'hostedPaymentIFrameCommunicatorUrl', 'hostedPaymentButtonOptions', 'hostedPaymentReturnOptions', 'hostedPaymentOrderOptions', 'hostedPaymentPaymentOptions', 'hostedPaymentBillingAddressOptions', 'hostedPaymentShippingAddressOptions', 'hostedPaymentSecurityOptions', 'hostedPaymentCustomerOptions', 'hostedPaymentStyleOptions', 'typeEmailReceipt', 'hostedProfilePaymentOptions'] + values: ['emailCustomer', 'merchantEmail', 'allowPartialAuth', 'headerEmailReceipt', 'footerEmailReceipt', 'recurringBilling', 'duplicateWindow', 'testRequest', 'hostedProfileReturnUrl', 'hostedProfileReturnUrlText', 'hostedProfilePageBorderVisible', 'hostedProfileIFrameCommunicatorUrl', 'hostedProfileHeadingBgColor', 'hostedProfileValidationMode', 'hostedProfileBillingAddressRequired', 'hostedProfileCardCodeRequired', 'hostedProfileBillingAddressOptions', 'hostedProfileManageOptions', 'hostedPaymentIFrameCommunicatorUrl', 'hostedPaymentButtonOptions', 'hostedPaymentReturnOptions', 'hostedPaymentOrderOptions', 'hostedPaymentPaymentOptions', 'hostedPaymentBillingAddressOptions', 'hostedPaymentShippingAddressOptions', 'hostedPaymentSecurityOptions', 'hostedPaymentCustomerOptions', 'hostedPaymentStyleOptions', 'typeEmailReceipt', 'hostedProfilePaymentOptions', 'hostedProfileSaveButtonText'] }, { type: 'enumInfo', - localName: 'MessageTypeEnum', - values: ['Ok', 'Error'] + localName: 'EncryptionAlgorithmType', + values: ['TDES', 'AES', 'RSA'] }, { type: 'enumInfo', - localName: 'WebCheckOutTypeEnum', - values: ['PAN', 'TOKEN'] + localName: 'FDSFilterActionEnum', + values: ['reject', 'decline', 'hold', 'authAndHold', 'report'] }, { type: 'enumInfo', - localName: 'AfdsTransactionEnum', - values: ['approve', 'decline'] + localName: 'AccountTypeEnum', + values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub', 'eCheck'] }, { type: 'enumInfo', - localName: 'SplitTenderStatusEnum', - values: ['completed', 'held', 'voided'] + localName: 'PermissionsEnum', + values: ['API_Merchant_BasicReporting', 'Submit_Charge', 'Submit_Refund', 'Submit_Update', 'Mobile_Admin'] }, { type: 'enumInfo', - localName: 'CustomerPaymentProfileSearchTypeEnum', - values: ['cardsExpiringInMonth'] + localName: 'OperationType', + values: ['DECRYPT'] }, { type: 'enumInfo', - localName: 'PaymentMethodEnum', - values: ['creditCard', 'eCheck', 'payPal'] + localName: 'TransactionStatusEnum', + values: ['authorizedPendingCapture', 'capturedPendingSettlement', 'communicationError', 'refundSettledSuccessfully', 'refundPendingSettlement', 'approvedReview', 'declined', 'couldNotVoid', 'expired', 'generalError', 'pendingFinalSettlement', 'pendingSettlement', 'failedReview', 'settledSuccessfully', 'settlementError', 'underReview', 'updatingSettlement', 'voided', 'FDSPendingReview', 'FDSAuthorizedPendingReview', 'returnedItem', 'chargeback', 'chargebackReversal', 'authorizedPendingRelease'] }, { type: 'enumInfo', - localName: 'ValidationModeEnum', - values: ['none', 'testMode', 'liveMode', 'oldLiveMode'] + localName: 'ARBGetSubscriptionListOrderFieldEnum', + values: ['id', 'name', 'status', 'createTimeStampUTC', 'lastName', 'firstName', 'accountNumber', 'amount', 'pastOccurrences'] }, { type: 'enumInfo', - localName: 'SettlementStateEnum', - values: ['settledSuccessfully', 'settlementError', 'pendingSettlement'] + localName: 'CustomerPaymentProfileOrderFieldEnum', + values: ['id'] }, { type: 'enumInfo', - localName: 'ARBSubscriptionStatusEnum', - values: ['active', 'expired', 'suspended', 'canceled', 'terminated'] + localName: 'CustomerTypeEnum', + values: ['individual', 'business'] }, { type: 'enumInfo', - localName: 'TransactionTypeEnum', - values: ['authOnlyTransaction', 'authCaptureTransaction', 'captureOnlyTransaction', 'refundTransaction', 'priorAuthCaptureTransaction', 'voidTransaction', 'getDetailsTransaction', 'authOnlyContinueTransaction', 'authCaptureContinueTransaction'] + localName: 'ARBSubscriptionUnitEnum', + values: ['days', 'months'] }, { type: 'enumInfo', - localName: 'ARBGetSubscriptionListOrderFieldEnum', - values: ['id', 'name', 'status', 'createTimeStampUTC', 'lastName', 'firstName', 'accountNumber', 'amount', 'pastOccurrences'] + localName: 'TransactionGroupStatusEnum', + values: ['any', 'pendingApproval'] }, { type: 'enumInfo', - localName: 'DeviceActivationEnum', - values: ['Activate', 'Disable'] + localName: 'ARBGetSubscriptionListSearchTypeEnum', + values: ['cardExpiringThisMonth', 'subscriptionActive', 'subscriptionExpiringThisMonth', 'subscriptionInactive'] }, { type: 'enumInfo', localName: 'TransactionListOrderFieldEnum', values: ['id', 'submitTimeUTC'] }, { type: 'enumInfo', - localName: 'EcheckTypeEnum', - values: ['PPD', 'WEB', 'CCD', 'TEL', 'ARC', 'BOC'] + localName: 'TransactionTypeEnum', + values: ['authOnlyTransaction', 'authCaptureTransaction', 'captureOnlyTransaction', 'refundTransaction', 'priorAuthCaptureTransaction', 'voidTransaction', 'getDetailsTransaction', 'authOnlyContinueTransaction', 'authCaptureContinueTransaction'] }, { type: 'enumInfo', - localName: 'CustomerPaymentProfileOrderFieldEnum', - values: ['id'] + localName: 'DeviceActivationEnum', + values: ['Activate', 'Disable'] }, { type: 'enumInfo', - localName: 'BankAccountTypeEnum', - values: ['checking', 'savings', 'businessChecking'] + localName: 'PaymentMethodEnum', + values: ['creditCard', 'eCheck', 'payPal'] }, { type: 'enumInfo', - localName: 'AUJobTypeEnum', - values: ['all', 'updates', 'deletes'] + localName: 'SettlementStateEnum', + values: ['settledSuccessfully', 'settlementError', 'pendingSettlement'] }, { type: 'enumInfo', - localName: 'TransactionGroupStatusEnum', - values: ['any', 'pendingApproval'] + localName: 'MessageTypeEnum', + values: ['Ok', 'Error'] }, { type: 'enumInfo', - localName: 'TransactionStatusEnum', - values: ['authorizedPendingCapture', 'capturedPendingSettlement', 'communicationError', 'refundSettledSuccessfully', 'refundPendingSettlement', 'approvedReview', 'declined', 'couldNotVoid', 'expired', 'generalError', 'pendingFinalSettlement', 'pendingSettlement', 'failedReview', 'settledSuccessfully', 'settlementError', 'underReview', 'updatingSettlement', 'voided', 'FDSPendingReview', 'FDSAuthorizedPendingReview', 'returnedItem', 'chargeback', 'chargebackReversal', 'authorizedPendingRelease'] + localName: 'EncodingType', + values: ['Base64', 'Hex'] + }, { + type: 'enumInfo', + localName: 'AUJobTypeEnum', + values: ['all', 'updates', 'deletes'] }], elementInfos: [{ - elementName: 'ARBGetSubscriptionStatusRequest', - typeInfo: '.ARBGetSubscriptionStatusRequest' - }, { - elementName: 'getTransactionListRequest', - typeInfo: '.GetTransactionListRequest' - }, { - elementName: 'getMerchantDetailsRequest', - typeInfo: '.GetMerchantDetailsRequest' - }, { - elementName: 'ARBGetSubscriptionResponse', - typeInfo: '.ARBGetSubscriptionResponse' - }, { - elementName: 'getAUJobSummaryResponse', - typeInfo: '.GetAUJobSummaryResponse' - }, { - elementName: 'isAliveRequest', - typeInfo: '.IsAliveRequest' - }, { - elementName: 'deleteCustomerProfileRequest', - typeInfo: '.DeleteCustomerProfileRequest' - }, { - elementName: 'getTransactionDetailsResponse', - typeInfo: '.GetTransactionDetailsResponse' - }, { - elementName: 'getCustomerPaymentProfileListRequest', - typeInfo: '.GetCustomerPaymentProfileListRequest' - }, { - elementName: 'getAUJobDetailsResponse', - typeInfo: '.GetAUJobDetailsResponse' - }, { - elementName: 'decryptPaymentDataResponse', - typeInfo: '.DecryptPaymentDataResponse' - }, { - elementName: 'ErrorResponse', - typeInfo: '.ANetApiResponse' - }, { - elementName: 'updateMerchantDetailsResponse', - typeInfo: '.UpdateMerchantDetailsResponse' + elementName: 'getMerchantDetailsResponse', + typeInfo: '.GetMerchantDetailsResponse' }, { - elementName: 'createCustomerProfileTransactionResponse', - typeInfo: '.CreateCustomerProfileTransactionResponse' + elementName: 'EnumCollection', + typeInfo: '.EnumCollection' }, { - elementName: 'getTransactionDetailsRequest', - typeInfo: '.GetTransactionDetailsRequest' + elementName: 'mobileDeviceRegistrationResponse', + typeInfo: '.MobileDeviceRegistrationResponse' }, { - elementName: 'getUnsettledTransactionListResponse', - typeInfo: '.GetUnsettledTransactionListResponse' + elementName: 'ARBGetSubscriptionRequest', + typeInfo: '.ARBGetSubscriptionRequest' }, { - elementName: 'ARBUpdateSubscriptionResponse', - typeInfo: '.ARBUpdateSubscriptionResponse' + elementName: 'mobileDeviceLoginResponse', + typeInfo: '.MobileDeviceLoginResponse' }, { - elementName: 'getMerchantDetailsResponse', - typeInfo: '.GetMerchantDetailsResponse' + elementName: 'ARBGetSubscriptionListResponse', + typeInfo: '.ARBGetSubscriptionListResponse' }, { - elementName: 'deleteCustomerProfileResponse', - typeInfo: '.DeleteCustomerProfileResponse' + elementName: 'getCustomerPaymentProfileRequest', + typeInfo: '.GetCustomerPaymentProfileRequest' }, { - elementName: 'getSettledBatchListRequest', - typeInfo: '.GetSettledBatchListRequest' + elementName: 'deleteCustomerPaymentProfileRequest', + typeInfo: '.DeleteCustomerPaymentProfileRequest' }, { - elementName: 'deleteCustomerPaymentProfileResponse', - typeInfo: '.DeleteCustomerPaymentProfileResponse' + elementName: 'createTransactionRequest', + typeInfo: '.CreateTransactionRequest' }, { - elementName: 'getUnsettledTransactionListRequest', - typeInfo: '.GetUnsettledTransactionListRequest' + elementName: 'getSettledBatchListResponse', + typeInfo: '.GetSettledBatchListResponse' }, { - elementName: 'securePaymentContainerRequest', - typeInfo: '.SecurePaymentContainerRequest' + elementName: 'updateCustomerShippingAddressResponse', + typeInfo: '.UpdateCustomerShippingAddressResponse' }, { elementName: 'updateCustomerProfileResponse', typeInfo: '.UpdateCustomerProfileResponse' }, { - elementName: 'securePaymentContainerResponse', - typeInfo: '.SecurePaymentContainerResponse' - }, { - elementName: 'logoutResponse', - typeInfo: '.LogoutResponse' + elementName: 'createCustomerShippingAddressRequest', + typeInfo: '.CreateCustomerShippingAddressRequest' }, { elementName: 'sendCustomerTransactionReceiptResponse', typeInfo: '.SendCustomerTransactionReceiptResponse' }, { - elementName: 'ARBGetSubscriptionRequest', - typeInfo: '.ARBGetSubscriptionRequest' + elementName: 'decryptPaymentDataRequest', + typeInfo: '.DecryptPaymentDataRequest' }, { - elementName: 'updateSplitTenderGroupResponse', - typeInfo: '.UpdateSplitTenderGroupResponse' + elementName: 'ARBCreateSubscriptionResponse', + typeInfo: '.ARBCreateSubscriptionResponse' }, { - elementName: 'logoutRequest', - typeInfo: '.LogoutRequest' + elementName: 'createCustomerPaymentProfileRequest', + typeInfo: '.CreateCustomerPaymentProfileRequest' + }, { + elementName: 'getTransactionDetailsResponse', + typeInfo: '.GetTransactionDetailsResponse' + }, { + elementName: 'createTransactionResponse', + typeInfo: '.CreateTransactionResponse' + }, { + elementName: 'ARBCancelSubscriptionResponse', + typeInfo: '.ARBCancelSubscriptionResponse' }, { - elementName: 'updateCustomerPaymentProfileRequest', - typeInfo: '.UpdateCustomerPaymentProfileRequest' + elementName: 'updateHeldTransactionResponse', + typeInfo: '.UpdateHeldTransactionResponse' }, { elementName: 'isAliveResponse', typeInfo: '.IsAliveResponse' }, { - elementName: 'decryptPaymentDataRequest', - typeInfo: '.DecryptPaymentDataRequest' + elementName: 'createCustomerProfileFromTransactionRequest', + typeInfo: '.CreateCustomerProfileFromTransactionRequest' }, { - elementName: 'ARBGetSubscriptionListRequest', - typeInfo: '.ARBGetSubscriptionListRequest' + elementName: 'updateSplitTenderGroupResponse', + typeInfo: '.UpdateSplitTenderGroupResponse' }, { - elementName: 'updateCustomerShippingAddressResponse', - typeInfo: '.UpdateCustomerShippingAddressResponse' + elementName: 'getTransactionListForCustomerRequest', + typeInfo: '.GetTransactionListForCustomerRequest' }, { - elementName: 'mobileDeviceLoginResponse', - typeInfo: '.MobileDeviceLoginResponse' + elementName: 'getCustomerProfileIdsRequest', + typeInfo: '.GetCustomerProfileIdsRequest' + }, { + elementName: 'ARBGetSubscriptionStatusResponse', + typeInfo: '.ARBGetSubscriptionStatusResponse' }, { elementName: 'createCustomerShippingAddressResponse', typeInfo: '.CreateCustomerShippingAddressResponse' }, { - elementName: 'validateCustomerPaymentProfileRequest', - typeInfo: '.ValidateCustomerPaymentProfileRequest' + elementName: 'getUnsettledTransactionListRequest', + typeInfo: '.GetUnsettledTransactionListRequest' }, { - elementName: 'createCustomerShippingAddressRequest', - typeInfo: '.CreateCustomerShippingAddressRequest' + elementName: 'ARBCancelSubscriptionRequest', + typeInfo: '.ARBCancelSubscriptionRequest' }, { - elementName: 'getCustomerProfileRequest', - typeInfo: '.GetCustomerProfileRequest' + elementName: 'getBatchStatisticsRequest', + typeInfo: '.GetBatchStatisticsRequest' }, { - elementName: 'createCustomerProfileResponse', - typeInfo: '.CreateCustomerProfileResponse' + elementName: 'getSettledBatchListRequest', + typeInfo: '.GetSettledBatchListRequest' }, { - elementName: 'createCustomerPaymentProfileRequest', - typeInfo: '.CreateCustomerPaymentProfileRequest' + elementName: 'getHostedProfilePageRequest', + typeInfo: '.GetHostedProfilePageRequest' }, { - elementName: 'validateCustomerPaymentProfileResponse', - typeInfo: '.ValidateCustomerPaymentProfileResponse' + elementName: 'getCustomerPaymentProfileListRequest', + typeInfo: '.GetCustomerPaymentProfileListRequest' }, { - elementName: 'sendCustomerTransactionReceiptRequest', - typeInfo: '.SendCustomerTransactionReceiptRequest' + elementName: 'ARBCreateSubscriptionRequest', + typeInfo: '.ARBCreateSubscriptionRequest' }, { - elementName: 'getCustomerProfileResponse', - typeInfo: '.GetCustomerProfileResponse' + elementName: 'getHostedPaymentPageRequest', + typeInfo: '.GetHostedPaymentPageRequest' }, { - elementName: 'mobileDeviceRegistrationResponse', - typeInfo: '.MobileDeviceRegistrationResponse' + elementName: 'getTransactionListRequest', + typeInfo: '.GetTransactionListRequest' }, { - elementName: 'getCustomerPaymentProfileListResponse', - typeInfo: '.GetCustomerPaymentProfileListResponse' + elementName: 'getAUJobSummaryRequest', + typeInfo: '.GetAUJobSummaryRequest' }, { - elementName: 'getCustomerPaymentProfileRequest', - typeInfo: '.GetCustomerPaymentProfileRequest' + elementName: 'getCustomerProfileIdsResponse', + typeInfo: '.GetCustomerProfileIdsResponse' + }, { + elementName: 'getBatchStatisticsResponse', + typeInfo: '.GetBatchStatisticsResponse' }, { elementName: 'ARBUpdateSubscriptionRequest', typeInfo: '.ARBUpdateSubscriptionRequest' }, { - elementName: 'createCustomerProfileFromTransactionRequest', - typeInfo: '.CreateCustomerProfileFromTransactionRequest' + elementName: 'getCustomerProfileResponse', + typeInfo: '.GetCustomerProfileResponse' }, { - elementName: 'authenticateTestResponse', - typeInfo: '.AuthenticateTestResponse' + elementName: 'deleteCustomerShippingAddressResponse', + typeInfo: '.DeleteCustomerShippingAddressResponse' }, { - elementName: 'ARBGetSubscriptionListResponse', - typeInfo: '.ARBGetSubscriptionListResponse' + elementName: 'logoutRequest', + typeInfo: '.LogoutRequest' }, { - elementName: 'ARBCancelSubscriptionResponse', - typeInfo: '.ARBCancelSubscriptionResponse' + elementName: 'getCustomerPaymentProfileResponse', + typeInfo: '.GetCustomerPaymentProfileResponse' }, { - elementName: 'ARBCreateSubscriptionResponse', - typeInfo: '.ARBCreateSubscriptionResponse' + elementName: 'updateCustomerPaymentProfileResponse', + typeInfo: '.UpdateCustomerPaymentProfileResponse' }, { - elementName: 'createCustomerPaymentProfileResponse', - typeInfo: '.CreateCustomerPaymentProfileResponse' + elementName: 'getTransactionDetailsRequest', + typeInfo: '.GetTransactionDetailsRequest' }, { - elementName: 'getCustomerPaymentProfileResponse', - typeInfo: '.GetCustomerPaymentProfileResponse' + elementName: 'securePaymentContainerRequest', + typeInfo: '.SecurePaymentContainerRequest' }, { - elementName: 'createCustomerProfileTransactionRequest', - typeInfo: '.CreateCustomerProfileTransactionRequest' + elementName: 'deleteCustomerProfileRequest', + typeInfo: '.DeleteCustomerProfileRequest' }, { - elementName: 'deleteCustomerShippingAddressRequest', - typeInfo: '.DeleteCustomerShippingAddressRequest' + elementName: 'getUnsettledTransactionListResponse', + typeInfo: '.GetUnsettledTransactionListResponse' }, { - elementName: 'getAUJobDetailsRequest', - typeInfo: '.GetAUJobDetailsRequest' + elementName: 'ARBGetSubscriptionResponse', + typeInfo: '.ARBGetSubscriptionResponse' }, { - elementName: 'updateCustomerPaymentProfileResponse', - typeInfo: '.UpdateCustomerPaymentProfileResponse' + elementName: 'getHostedProfilePageResponse', + typeInfo: '.GetHostedProfilePageResponse' }, { - elementName: 'getCustomerShippingAddressRequest', - typeInfo: '.GetCustomerShippingAddressRequest' + elementName: 'getCustomerShippingAddressResponse', + typeInfo: '.GetCustomerShippingAddressResponse' }, { - elementName: 'getCustomerProfileIdsRequest', - typeInfo: '.GetCustomerProfileIdsRequest' + elementName: 'createCustomerProfileResponse', + typeInfo: '.CreateCustomerProfileResponse' }, { - elementName: 'EnumCollection', - typeInfo: '.EnumCollection' + elementName: 'updateHeldTransactionRequest', + typeInfo: '.UpdateHeldTransactionRequest' + }, { + elementName: 'authenticateTestRequest', + typeInfo: '.AuthenticateTestRequest' + }, { + elementName: 'deleteCustomerPaymentProfileResponse', + typeInfo: '.DeleteCustomerPaymentProfileResponse' }, { elementName: 'updateCustomerShippingAddressRequest', typeInfo: '.UpdateCustomerShippingAddressRequest' }, { - elementName: 'createTransactionRequest', - typeInfo: '.CreateTransactionRequest' + elementName: 'deleteCustomerProfileResponse', + typeInfo: '.DeleteCustomerProfileResponse' }, { - elementName: 'getAUJobSummaryRequest', - typeInfo: '.GetAUJobSummaryRequest' + elementName: 'createCustomerProfileTransactionRequest', + typeInfo: '.CreateCustomerProfileTransactionRequest' }, { - elementName: 'createCustomerProfileRequest', - typeInfo: '.CreateCustomerProfileRequest' + elementName: 'securePaymentContainerResponse', + typeInfo: '.SecurePaymentContainerResponse' }, { - elementName: 'updateCustomerProfileRequest', - typeInfo: '.UpdateCustomerProfileRequest' + elementName: 'updateCustomerPaymentProfileRequest', + typeInfo: '.UpdateCustomerPaymentProfileRequest' }, { - elementName: 'updateMerchantDetailsRequest', - typeInfo: '.UpdateMerchantDetailsRequest' + elementName: 'deleteCustomerShippingAddressRequest', + typeInfo: '.DeleteCustomerShippingAddressRequest' }, { - elementName: 'mobileDeviceRegistrationRequest', - typeInfo: '.MobileDeviceRegistrationRequest' + elementName: 'ARBGetSubscriptionStatusRequest', + typeInfo: '.ARBGetSubscriptionStatusRequest' }, { - elementName: 'getTransactionListForCustomerRequest', - typeInfo: '.GetTransactionListForCustomerRequest' + elementName: 'updateCustomerProfileRequest', + typeInfo: '.UpdateCustomerProfileRequest' }, { - elementName: 'mobileDeviceLoginRequest', - typeInfo: '.MobileDeviceLoginRequest' + elementName: 'authenticateTestResponse', + typeInfo: '.AuthenticateTestResponse' }, { - elementName: 'getBatchStatisticsRequest', - typeInfo: '.GetBatchStatisticsRequest' + elementName: 'ARBUpdateSubscriptionResponse', + typeInfo: '.ARBUpdateSubscriptionResponse' }, { - elementName: 'getHostedProfilePageRequest', - typeInfo: '.GetHostedProfilePageRequest' + elementName: 'sendCustomerTransactionReceiptRequest', + typeInfo: '.SendCustomerTransactionReceiptRequest' }, { - elementName: 'getHostedProfilePageResponse', - typeInfo: '.GetHostedProfilePageResponse' + elementName: 'getTransactionListResponse', + typeInfo: '.GetTransactionListResponse' }, { - elementName: 'createTransactionResponse', - typeInfo: '.CreateTransactionResponse' + elementName: 'createCustomerPaymentProfileResponse', + typeInfo: '.CreateCustomerPaymentProfileResponse' }, { - elementName: 'ARBGetSubscriptionStatusResponse', - typeInfo: '.ARBGetSubscriptionStatusResponse' + elementName: 'getCustomerPaymentProfileListResponse', + typeInfo: '.GetCustomerPaymentProfileListResponse' + }, { + elementName: 'mobileDeviceRegistrationRequest', + typeInfo: '.MobileDeviceRegistrationRequest' }, { elementName: 'getHostedPaymentPageResponse', typeInfo: '.GetHostedPaymentPageResponse' }, { - elementName: 'updateHeldTransactionResponse', - typeInfo: '.UpdateHeldTransactionResponse' + elementName: 'logoutResponse', + typeInfo: '.LogoutResponse' }, { - elementName: 'getCustomerShippingAddressResponse', - typeInfo: '.GetCustomerShippingAddressResponse' + elementName: 'getAUJobDetailsResponse', + typeInfo: '.GetAUJobDetailsResponse' }, { - elementName: 'getTransactionListResponse', - typeInfo: '.GetTransactionListResponse' + elementName: 'isAliveRequest', + typeInfo: '.IsAliveRequest' }, { - elementName: 'getCustomerProfileIdsResponse', - typeInfo: '.GetCustomerProfileIdsResponse' + elementName: 'validateCustomerPaymentProfileRequest', + typeInfo: '.ValidateCustomerPaymentProfileRequest' }, { - elementName: 'getSettledBatchListResponse', - typeInfo: '.GetSettledBatchListResponse' + elementName: 'getMerchantDetailsRequest', + typeInfo: '.GetMerchantDetailsRequest' }, { - elementName: 'ARBCreateSubscriptionRequest', - typeInfo: '.ARBCreateSubscriptionRequest' + elementName: 'getAUJobSummaryResponse', + typeInfo: '.GetAUJobSummaryResponse' }, { - elementName: 'deleteCustomerPaymentProfileRequest', - typeInfo: '.DeleteCustomerPaymentProfileRequest' + elementName: 'createCustomerProfileRequest', + typeInfo: '.CreateCustomerProfileRequest' }, { - elementName: 'getHostedPaymentPageRequest', - typeInfo: '.GetHostedPaymentPageRequest' + elementName: 'validateCustomerPaymentProfileResponse', + typeInfo: '.ValidateCustomerPaymentProfileResponse' + }, { + elementName: 'ErrorResponse', + typeInfo: '.ANetApiResponse' }, { elementName: 'updateSplitTenderGroupRequest', typeInfo: '.UpdateSplitTenderGroupRequest' }, { - elementName: 'updateHeldTransactionRequest', - typeInfo: '.UpdateHeldTransactionRequest' + elementName: 'mobileDeviceLoginRequest', + typeInfo: '.MobileDeviceLoginRequest' }, { - elementName: 'getBatchStatisticsResponse', - typeInfo: '.GetBatchStatisticsResponse' + elementName: 'getAUJobDetailsRequest', + typeInfo: '.GetAUJobDetailsRequest' }, { - elementName: 'deleteCustomerShippingAddressResponse', - typeInfo: '.DeleteCustomerShippingAddressResponse' + elementName: 'decryptPaymentDataResponse', + typeInfo: '.DecryptPaymentDataResponse' }, { - elementName: 'authenticateTestRequest', - typeInfo: '.AuthenticateTestRequest' + elementName: 'getCustomerProfileRequest', + typeInfo: '.GetCustomerProfileRequest' }, { - elementName: 'ARBCancelSubscriptionRequest', - typeInfo: '.ARBCancelSubscriptionRequest' + elementName: 'updateMerchantDetailsRequest', + typeInfo: '.UpdateMerchantDetailsRequest' + }, { + elementName: 'updateMerchantDetailsResponse', + typeInfo: '.UpdateMerchantDetailsResponse' + }, { + elementName: 'getCustomerShippingAddressRequest', + typeInfo: '.GetCustomerShippingAddressRequest' + }, { + elementName: 'createCustomerProfileTransactionResponse', + typeInfo: '.CreateCustomerProfileTransactionResponse' + }, { + elementName: 'ARBGetSubscriptionListRequest', + typeInfo: '.ARBGetSubscriptionListRequest' }] }; return { From 259b0d7a3a0264ce00c04bacfa26149e17358791 Mon Sep 17 00:00:00 2001 From: Kaushik Kumar Mahato Date: Fri, 15 Jun 2018 16:40:07 +0530 Subject: [PATCH 19/58] Change bank routing number & Batch date range for reporting --- test/test-paymenttransactions.js | 6 +++--- test/test-transactionreporting.js | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/test/test-paymenttransactions.js b/test/test-paymenttransactions.js index a986c5f..4a5818d 100644 --- a/test/test-paymenttransactions.js +++ b/test/test-paymenttransactions.js @@ -380,7 +380,7 @@ describe('Payment Transactions', function() { var bankAccountType = new ApiContracts.BankAccountType(); bankAccountType.setAccountType(ApiContracts.BankAccountTypeEnum.CHECKING); - bankAccountType.setRoutingNumber('121042882'); + bankAccountType.setRoutingNumber('125008547'); bankAccountType.setAccountNumber('1234567890'); bankAccountType.setNameOnAccount('John Doe'); bankAccountType.setEcheckType('WEB'); @@ -433,7 +433,7 @@ describe('Payment Transactions', function() { }); }); - describe.skip('Credit a Bank Account', function () { + describe('Credit a Bank Account', function () { var response; before(function(done){ @@ -442,7 +442,7 @@ describe('Payment Transactions', function() { var bankAccountType = new ApiContracts.BankAccountType(); bankAccountType.setAccountType(ApiContracts.BankAccountTypeEnum.CHECKING); - bankAccountType.setRoutingNumber('121042882'); + bankAccountType.setRoutingNumber('125008547'); bankAccountType.setAccountNumber('1234567890'); bankAccountType.setNameOnAccount('John Doe'); paymentType.setBankAccount(bankAccountType); diff --git a/test/test-transactionreporting.js b/test/test-transactionreporting.js index da943fb..13ea667 100644 --- a/test/test-transactionreporting.js +++ b/test/test-transactionreporting.js @@ -30,8 +30,11 @@ describe('Transaction Reporting', function() { var createRequest = new ApiContracts.GetSettledBatchListRequest(); createRequest.setMerchantAuthentication(testData.merchantAuthenticationType); createRequest.setIncludeStatistics(true); - createRequest.setFirstSettlementDate('2015-05-01T16:00:00Z'); - createRequest.setLastSettlementDate('2015-05-31T16:00:00Z'); + // createRequest.setFirstSettlementDate('2015-05-01T16:00:00Z'); + // createRequest.setLastSettlementDate('2015-05-31T16:00:00Z'); + + createRequest.setFirstSettlementDate(new Date(new Date().setDate(new Date().getDate()-30))); + createRequest.setLastSettlementDate(new Date()); //console.log(JSON.stringify(createRequest.getJSON(), null, 2)); From 78400f0a4419f1bca9d9009ef1a82c820cb219be Mon Sep 17 00:00:00 2001 From: Kaushik Kumar Mahato Date: Fri, 15 Jun 2018 16:51:46 +0530 Subject: [PATCH 20/58] Fix Credit Bank Test --- test/test-paymenttransactions.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test-paymenttransactions.js b/test/test-paymenttransactions.js index 4a5818d..468414d 100644 --- a/test/test-paymenttransactions.js +++ b/test/test-paymenttransactions.js @@ -36,6 +36,7 @@ describe('Payment Transactions', function() { var authOnlyTransactionIdForVoid; var authAndCaptureTransactionId; var debitTransactionId; + var debitTransactionAmount; var createCustomerProfileResponse; var testData = new PaymentTransactionsTestData(); @@ -387,10 +388,11 @@ describe('Payment Transactions', function() { bankAccountType.setBankName('Wells Fargo Bank NA'); paymentType.setBankAccount(bankAccountType); + debitTransactionAmount = utils.getRandomAmount(); var transactionRequestType = new ApiContracts.TransactionRequestType(); transactionRequestType.setTransactionType(ApiContracts.TransactionTypeEnum.AUTHCAPTURETRANSACTION); transactionRequestType.setPayment(paymentType); - transactionRequestType.setAmount(utils.getRandomAmount()); + transactionRequestType.setAmount(debitTransactionAmount); var createRequest = new ApiContracts.CreateTransactionRequest(); createRequest.setRefId(testData.refId); @@ -451,7 +453,7 @@ describe('Payment Transactions', function() { transactionRequestType.setTransactionType(ApiContracts.TransactionTypeEnum.REFUNDTRANSACTION); transactionRequestType.setPayment(paymentType); transactionRequestType.setRefTransId(debitTransactionId); - transactionRequestType.setAmount(utils.getRandomAmount()); + transactionRequestType.setAmount(debitTransactionAmount); var createRequest = new ApiContracts.CreateTransactionRequest(); createRequest.setMerchantAuthentication(testData.merchantAuthenticationType); From 810bf2028e4caf0f07dbfb8430917385599dd89d Mon Sep 17 00:00:00 2001 From: Kaushik Kumar Mahato Date: Fri, 15 Jun 2018 17:23:24 +0530 Subject: [PATCH 21/58] Fixed Credit Bank Account Test --- test/test-paymenttransactions.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/test-paymenttransactions.js b/test/test-paymenttransactions.js index 468414d..42ff2d7 100644 --- a/test/test-paymenttransactions.js +++ b/test/test-paymenttransactions.js @@ -452,14 +452,15 @@ describe('Payment Transactions', function() { var transactionRequestType = new ApiContracts.TransactionRequestType(); transactionRequestType.setTransactionType(ApiContracts.TransactionTypeEnum.REFUNDTRANSACTION); transactionRequestType.setPayment(paymentType); - transactionRequestType.setRefTransId(debitTransactionId); + // Transaction is can be used only in case of trnsaction is settled. + // transactionRequestType.setRefTransId(debitTransactionId); transactionRequestType.setAmount(debitTransactionAmount); var createRequest = new ApiContracts.CreateTransactionRequest(); createRequest.setMerchantAuthentication(testData.merchantAuthenticationType); createRequest.setTransactionRequest(transactionRequestType); - //console.log(JSON.stringify(createRequest.getJSON(), null, 2)); + // console.log(JSON.stringify(createRequest.getJSON(), null, 2)); var ctrl = new ApiControllers.CreateTransactionController(createRequest.getJSON()); @@ -469,7 +470,7 @@ describe('Payment Transactions', function() { response = new ApiContracts.CreateTransactionResponse(apiResponse); - //console.log(JSON.stringify(response, null, 2)); + // console.log(JSON.stringify(response, null, 2)); done(); }); }); From ae213537877ad9ce640e43d2a12916901c1c2247 Mon Sep 17 00:00:00 2001 From: Kaushik Kumar Mahato Date: Fri, 15 Jun 2018 18:13:56 +0530 Subject: [PATCH 22/58] Update to 1.0.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e343a01..73f9514 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "authorizenet", - "version": "1.0.4", + "version": "1.0.5", "description": "nodejs sdk for Authorize.Net", "main": "lib/authorizenet.js", "directories": { From 3504374db17b1af5ee88a6c58e6b7f86a3a46abb Mon Sep 17 00:00:00 2001 From: sinayak Date: Mon, 8 Oct 2018 17:19:40 +0530 Subject: [PATCH 23/58] Chase Pay SDK Updates --- lib/apicontracts.js | 16 ++++++++++++++++ mappings/Schema.js | 8 ++++++++ 2 files changed, 24 insertions(+) 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', From 9ed381845b9e6b183c56a0d91a25f59180e51069 Mon Sep 17 00:00:00 2001 From: Gabriel Broadwin Nongsiej Date: Fri, 12 Oct 2018 11:12:59 +0530 Subject: [PATCH 24/58] Updating Bank Account number --- test/test-paymenttransactions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-paymenttransactions.js b/test/test-paymenttransactions.js index 42ff2d7..14619d9 100644 --- a/test/test-paymenttransactions.js +++ b/test/test-paymenttransactions.js @@ -382,7 +382,7 @@ describe('Payment Transactions', function() { var bankAccountType = new ApiContracts.BankAccountType(); bankAccountType.setAccountType(ApiContracts.BankAccountTypeEnum.CHECKING); bankAccountType.setRoutingNumber('125008547'); - bankAccountType.setAccountNumber('1234567890'); + bankAccountType.setAccountNumber('8256571452'); bankAccountType.setNameOnAccount('John Doe'); bankAccountType.setEcheckType('WEB'); bankAccountType.setBankName('Wells Fargo Bank NA'); @@ -445,7 +445,7 @@ describe('Payment Transactions', function() { var bankAccountType = new ApiContracts.BankAccountType(); bankAccountType.setAccountType(ApiContracts.BankAccountTypeEnum.CHECKING); bankAccountType.setRoutingNumber('125008547'); - bankAccountType.setAccountNumber('1234567890'); + bankAccountType.setAccountNumber('8256571452'); bankAccountType.setNameOnAccount('John Doe'); paymentType.setBankAccount(bankAccountType); From 7f4cd7ca8542bcac0afdc08922148c385cd3618f Mon Sep 17 00:00:00 2001 From: Gabriel Broadwin Nongsiej Date: Fri, 12 Oct 2018 11:21:51 +0530 Subject: [PATCH 25/58] Changes for Release 1.0.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": { From db7de4e085853096c03c1087357c0c925b7b2519 Mon Sep 17 00:00:00 2001 From: MaSimon Date: Fri, 2 Nov 2018 15:02:13 +0530 Subject: [PATCH 26/58] Fix for issue #31 --- lib/apicontracts.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/apicontracts.js b/lib/apicontracts.js index 3ebb29b..175038d 100644 --- a/lib/apicontracts.js +++ b/lib/apicontracts.js @@ -9,8 +9,11 @@ class ANetApiRequest { logger.debug('Enter ANetApiRequest constructor'); if(arguments.length == 1) { if(('merchantAuthentication' in obj) && (obj.merchantAuthentication != null)) { this.setMerchantAuthentication(new MerchantAuthenticationType(obj.merchantAuthentication)); } + else { this.setMerchantAuthentication(null); } if(('clientId' in obj) && (obj.clientId != null)) { this.setClientId(obj.clientId); } + else { this.setClientId(null); } if(('refId' in obj) && (obj.refId != null)) { this.setRefId(obj.refId); } + else { this.setRefId(null); } } else { this.setMerchantAuthentication(null); From 8840c3d5ccee629f15e2fc3d4a58a5228d9dc807 Mon Sep 17 00:00:00 2001 From: MaSimon Date: Fri, 2 Nov 2018 16:38:51 +0530 Subject: [PATCH 27/58] Fix for issue #47 --- lib/apicontrollersbase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/apicontrollersbase.js b/lib/apicontrollersbase.js index 46f170d..d7e14fd 100644 --- a/lib/apicontrollersbase.js +++ b/lib/apicontrollersbase.js @@ -85,7 +85,7 @@ class APIOperationBase { method: 'POST', headers: { 'Content-Type': 'application/json', - 'Content-Length': this._request.length + 'Content-Length': Buffer.byteLength(JSON.stringify(this._request)) }, json: true, timeout: config.timeout, From 86c3f3847b597fab9b6ea215ded1cf8e59cfd75b Mon Sep 17 00:00:00 2001 From: MaSimon Date: Tue, 6 Nov 2018 15:57:24 +0530 Subject: [PATCH 28/58] Fix for issue #47 --- lib/apicontrollersbase.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/apicontrollersbase.js b/lib/apicontrollersbase.js index d7e14fd..7b0255d 100644 --- a/lib/apicontrollersbase.js +++ b/lib/apicontrollersbase.js @@ -83,10 +83,6 @@ class APIOperationBase { var reqOpts = { url: this._endpoint, method: 'POST', - headers: { - 'Content-Type': 'application/json', - 'Content-Length': Buffer.byteLength(JSON.stringify(this._request)) - }, json: true, timeout: config.timeout, body: this._request From 26e60d4a0f1febe2afc186ba627a3a9cbfa748d0 Mon Sep 17 00:00:00 2001 From: MaSimon Date: Fri, 16 Nov 2018 14:38:55 +0530 Subject: [PATCH 29/58] Changes for the Updated fields in the XSD for the November release --- lib/apicontracts.js | 406 ++++++++++++++++++++++++++++++++++++++++++ lib/apicontrollers.js | 20 +++ mappings/Schema.js | 214 +++++++++++++++++++++- 3 files changed, 639 insertions(+), 1 deletion(-) diff --git a/lib/apicontracts.js b/lib/apicontracts.js index 3ebb29b..1a11c1d 100644 --- a/lib/apicontracts.js +++ b/lib/apicontracts.js @@ -330,6 +330,28 @@ class ArrayOfCardType { module.exports.ArrayOfCardType = ArrayOfCardType; +class ArrayOfContactDetail { + constructor(obj) { + logger.debug('Enter ArrayOfContactDetail constructor'); + if(arguments.length == 1) { + if((obj != undefined) && (obj != null)) { + var contactDetailList = []; + obj.forEach(function(item) {contactDetailList.push(new ContactDetailType(item));}); + this.setContactDetail(contactDetailList); + } + } + else { + this.setContactDetail(null); + } + logger.debug('Exit ArrayOfContactDetail constructor'); + } + + setContactDetail(p_contactDetail) { this.contactDetail = p_contactDetail; } + getContactDetail() { if('contactDetail' in this) {return this.contactDetail;} } +} + +module.exports.ArrayOfContactDetail = ArrayOfContactDetail; + class ArrayOfCurrencyCode { constructor(obj) { logger.debug('Enter ArrayOfCurrencyCode constructor'); @@ -1052,6 +1074,32 @@ class CcAuthenticationType { module.exports.CcAuthenticationType = CcAuthenticationType; +class ContactDetailType { + constructor(obj) { + logger.debug('Enter ContactDetailType constructor'); + if(arguments.length == 1) { + if(('email' in obj) && (obj.email != null)) { this.setEmail(obj.email); } + if(('firstName' in obj) && (obj.firstName != null)) { this.setFirstName(obj.firstName); } + if(('lastName' in obj) && (obj.lastName != null)) { this.setLastName(obj.lastName); } + } + else { + this.setEmail(null); + this.setFirstName(null); + this.setLastName(null); + } + logger.debug('Exit ContactDetailType constructor'); + } + + setEmail(p_email) { this.email = p_email; } + getEmail() { if('email' in this) {return this.email;} } + setFirstName(p_firstName) { this.firstName = p_firstName; } + getFirstName() { if('firstName' in this) {return this.firstName;} } + setLastName(p_lastName) { this.lastName = p_lastName; } + getLastName() { if('lastName' in this) {return this.lastName;} } +} + +module.exports.ContactDetailType = ContactDetailType; + class CreateProfileResponse { constructor(obj) { logger.debug('Enter CreateProfileResponse constructor'); @@ -1830,6 +1878,26 @@ class LineItemType { if(('quantity' in obj) && (obj.quantity != null)) { this.setQuantity(obj.quantity); } if(('unitPrice' in obj) && (obj.unitPrice != null)) { this.setUnitPrice(obj.unitPrice); } if(('taxable' in obj) && (obj.taxable != null)) { this.setTaxable(obj.taxable); } + if(('unitOfMeasure' in obj) && (obj.unitOfMeasure != null)) { this.setUnitOfMeasure(obj.unitOfMeasure); } + if(('typeOfSupply' in obj) && (obj.typeOfSupply != null)) { this.setTypeOfSupply(obj.typeOfSupply); } + if(('taxRate' in obj) && (obj.taxRate != null)) { this.setTaxRate(obj.taxRate); } + if(('taxAmount' in obj) && (obj.taxAmount != null)) { this.setTaxAmount(obj.taxAmount); } + if(('nationalTax' in obj) && (obj.nationalTax != null)) { this.setNationalTax(obj.nationalTax); } + if(('localTax' in obj) && (obj.localTax != null)) { this.setLocalTax(obj.localTax); } + if(('vatRate' in obj) && (obj.vatRate != null)) { this.setVatRate(obj.vatRate); } + if(('alternateTaxId' in obj) && (obj.alternateTaxId != null)) { this.setAlternateTaxId(obj.alternateTaxId); } + if(('alternateTaxType' in obj) && (obj.alternateTaxType != null)) { this.setAlternateTaxType(obj.alternateTaxType); } + if(('alternateTaxTypeApplied' in obj) && (obj.alternateTaxTypeApplied != null)) { this.setAlternateTaxTypeApplied(obj.alternateTaxTypeApplied); } + if(('alternateTaxRate' in obj) && (obj.alternateTaxRate != null)) { this.setAlternateTaxRate(obj.alternateTaxRate); } + if(('alternateTaxAmount' in obj) && (obj.alternateTaxAmount != null)) { this.setAlternateTaxAmount(obj.alternateTaxAmount); } + if(('totalAmount' in obj) && (obj.totalAmount != null)) { this.setTotalAmount(obj.totalAmount); } + if(('commodityCode' in obj) && (obj.commodityCode != null)) { this.setCommodityCode(obj.commodityCode); } + if(('productCode' in obj) && (obj.productCode != null)) { this.setProductCode(obj.productCode); } + if(('productSKU' in obj) && (obj.productSKU != null)) { this.setProductSKU(obj.productSKU); } + if(('discountRate' in obj) && (obj.discountRate != null)) { this.setDiscountRate(obj.discountRate); } + if(('discountAmount' in obj) && (obj.discountAmount != null)) { this.setDiscountAmount(obj.discountAmount); } + if(('taxIncludedInTotal' in obj) && (obj.taxIncludedInTotal != null)) { this.setTaxIncludedInTotal(obj.taxIncludedInTotal); } + if(('taxIsAfterDiscount' in obj) && (obj.taxIsAfterDiscount != null)) { this.setTaxIsAfterDiscount(obj.taxIsAfterDiscount); } } else { this.setItemId(null); @@ -1838,6 +1906,26 @@ class LineItemType { this.setQuantity(null); this.setUnitPrice(null); this.setTaxable(null); + this.setUnitOfMeasure(null); + this.setTypeOfSupply(null); + this.setTaxRate(null); + this.setTaxAmount(null); + this.setNationalTax(null); + this.setLocalTax(null); + this.setVatRate(null); + this.setAlternateTaxId(null); + this.setAlternateTaxType(null); + this.setAlternateTaxTypeApplied(null); + this.setAlternateTaxRate(null); + this.setAlternateTaxAmount(null); + this.setTotalAmount(null); + this.setCommodityCode(null); + this.setProductCode(null); + this.setProductSKU(null); + this.setDiscountRate(null); + this.setDiscountAmount(null); + this.setTaxIncludedInTotal(null); + this.setTaxIsAfterDiscount(null); } logger.debug('Exit LineItemType constructor'); } @@ -1854,6 +1942,46 @@ class LineItemType { getUnitPrice() { if('unitPrice' in this) {return this.unitPrice;} } setTaxable(p_taxable) { this.taxable = p_taxable; } getTaxable() { if('taxable' in this) {return this.taxable;} } + setUnitOfMeasure(p_unitOfMeasure) { this.unitOfMeasure = p_unitOfMeasure; } + getUnitOfMeasure() { if('unitOfMeasure' in this) {return this.unitOfMeasure;} } + setTypeOfSupply(p_typeOfSupply) { this.typeOfSupply = p_typeOfSupply; } + getTypeOfSupply() { if('typeOfSupply' in this) {return this.typeOfSupply;} } + setTaxRate(p_taxRate) { this.taxRate = p_taxRate; } + getTaxRate() { if('taxRate' in this) {return this.taxRate;} } + setTaxAmount(p_taxAmount) { this.taxAmount = p_taxAmount; } + getTaxAmount() { if('taxAmount' in this) {return this.taxAmount;} } + setNationalTax(p_nationalTax) { this.nationalTax = p_nationalTax; } + getNationalTax() { if('nationalTax' in this) {return this.nationalTax;} } + setLocalTax(p_localTax) { this.localTax = p_localTax; } + getLocalTax() { if('localTax' in this) {return this.localTax;} } + setVatRate(p_vatRate) { this.vatRate = p_vatRate; } + getVatRate() { if('vatRate' in this) {return this.vatRate;} } + setAlternateTaxId(p_alternateTaxId) { this.alternateTaxId = p_alternateTaxId; } + getAlternateTaxId() { if('alternateTaxId' in this) {return this.alternateTaxId;} } + setAlternateTaxType(p_alternateTaxType) { this.alternateTaxType = p_alternateTaxType; } + getAlternateTaxType() { if('alternateTaxType' in this) {return this.alternateTaxType;} } + setAlternateTaxTypeApplied(p_alternateTaxTypeApplied) { this.alternateTaxTypeApplied = p_alternateTaxTypeApplied; } + getAlternateTaxTypeApplied() { if('alternateTaxTypeApplied' in this) {return this.alternateTaxTypeApplied;} } + setAlternateTaxRate(p_alternateTaxRate) { this.alternateTaxRate = p_alternateTaxRate; } + getAlternateTaxRate() { if('alternateTaxRate' in this) {return this.alternateTaxRate;} } + setAlternateTaxAmount(p_alternateTaxAmount) { this.alternateTaxAmount = p_alternateTaxAmount; } + getAlternateTaxAmount() { if('alternateTaxAmount' in this) {return this.alternateTaxAmount;} } + setTotalAmount(p_totalAmount) { this.totalAmount = p_totalAmount; } + getTotalAmount() { if('totalAmount' in this) {return this.totalAmount;} } + setCommodityCode(p_commodityCode) { this.commodityCode = p_commodityCode; } + getCommodityCode() { if('commodityCode' in this) {return this.commodityCode;} } + setProductCode(p_productCode) { this.productCode = p_productCode; } + getProductCode() { if('productCode' in this) {return this.productCode;} } + setProductSKU(p_productSKU) { this.productSKU = p_productSKU; } + getProductSKU() { if('productSKU' in this) {return this.productSKU;} } + setDiscountRate(p_discountRate) { this.discountRate = p_discountRate; } + getDiscountRate() { if('discountRate' in this) {return this.discountRate;} } + setDiscountAmount(p_discountAmount) { this.discountAmount = p_discountAmount; } + getDiscountAmount() { if('discountAmount' in this) {return this.discountAmount;} } + setTaxIncludedInTotal(p_taxIncludedInTotal) { this.taxIncludedInTotal = p_taxIncludedInTotal; } + getTaxIncludedInTotal() { if('taxIncludedInTotal' in this) {return this.taxIncludedInTotal;} } + setTaxIsAfterDiscount(p_taxIsAfterDiscount) { this.taxIsAfterDiscount = p_taxIsAfterDiscount; } + getTaxIsAfterDiscount() { if('taxIsAfterDiscount' in this) {return this.taxIsAfterDiscount;} } } module.exports.LineItemType = LineItemType; @@ -2081,11 +2209,13 @@ class OpaqueDataType { if(('dataDescriptor' in obj) && (obj.dataDescriptor != null)) { this.setDataDescriptor(obj.dataDescriptor); } if(('dataValue' in obj) && (obj.dataValue != null)) { this.setDataValue(obj.dataValue); } if(('dataKey' in obj) && (obj.dataKey != null)) { this.setDataKey(obj.dataKey); } + if(('expirationTimeStamp' in obj) && (obj.expirationTimeStamp != null)) { this.setExpirationTimeStamp(obj.expirationTimeStamp); } } else { this.setDataDescriptor(null); this.setDataValue(null); this.setDataKey(null); + this.setExpirationTimeStamp(null); } logger.debug('Exit OpaqueDataType constructor'); } @@ -2096,6 +2226,8 @@ class OpaqueDataType { getDataValue() { if('dataValue' in this) {return this.dataValue;} } setDataKey(p_dataKey) { this.dataKey = p_dataKey; } getDataKey() { if('dataKey' in this) {return this.dataKey;} } + setExpirationTimeStamp(p_expirationTimeStamp) { this.expirationTimeStamp = p_expirationTimeStamp; } + getExpirationTimeStamp() { if('expirationTimeStamp' in this) {return this.expirationTimeStamp;} } } module.exports.OpaqueDataType = OpaqueDataType; @@ -2106,10 +2238,42 @@ class OrderType { if(arguments.length == 1) { if(('invoiceNumber' in obj) && (obj.invoiceNumber != null)) { this.setInvoiceNumber(obj.invoiceNumber); } if(('description' in obj) && (obj.description != null)) { this.setDescription(obj.description); } + if(('discountAmount' in obj) && (obj.discountAmount != null)) { this.setDiscountAmount(obj.discountAmount); } + if(('taxIsAfterDiscount' in obj) && (obj.taxIsAfterDiscount != null)) { this.setTaxIsAfterDiscount(obj.taxIsAfterDiscount); } + if(('totalTaxTypeCode' in obj) && (obj.totalTaxTypeCode != null)) { this.setTotalTaxTypeCode(obj.totalTaxTypeCode); } + if(('purchaserVATRegistrationNumber' in obj) && (obj.purchaserVATRegistrationNumber != null)) { this.setPurchaserVATRegistrationNumber(obj.purchaserVATRegistrationNumber); } + if(('merchantVATRegistrationNumber' in obj) && (obj.merchantVATRegistrationNumber != null)) { this.setMerchantVATRegistrationNumber(obj.merchantVATRegistrationNumber); } + if(('vatInvoiceReferenceNumber' in obj) && (obj.vatInvoiceReferenceNumber != null)) { this.setVatInvoiceReferenceNumber(obj.vatInvoiceReferenceNumber); } + if(('purchaserCode' in obj) && (obj.purchaserCode != null)) { this.setPurchaserCode(obj.purchaserCode); } + if(('summaryCommodityCode' in obj) && (obj.summaryCommodityCode != null)) { this.setSummaryCommodityCode(obj.summaryCommodityCode); } + if(('purchaseOrderDateUTC' in obj) && (obj.purchaseOrderDateUTC != null)) { this.setPurchaseOrderDateUTC(obj.purchaseOrderDateUTC); } + if(('supplierOrderReference' in obj) && (obj.supplierOrderReference != null)) { this.setSupplierOrderReference(obj.supplierOrderReference); } + if(('authorizedContactName' in obj) && (obj.authorizedContactName != null)) { this.setAuthorizedContactName(obj.authorizedContactName); } + if(('cardAcceptorRefNumber' in obj) && (obj.cardAcceptorRefNumber != null)) { this.setCardAcceptorRefNumber(obj.cardAcceptorRefNumber); } + if(('amexDataTAA1' in obj) && (obj.amexDataTAA1 != null)) { this.setAmexDataTAA1(obj.amexDataTAA1); } + if(('amexDataTAA2' in obj) && (obj.amexDataTAA2 != null)) { this.setAmexDataTAA2(obj.amexDataTAA2); } + if(('amexDataTAA3' in obj) && (obj.amexDataTAA3 != null)) { this.setAmexDataTAA3(obj.amexDataTAA3); } + if(('amexDataTAA4' in obj) && (obj.amexDataTAA4 != null)) { this.setAmexDataTAA4(obj.amexDataTAA4); } } else { this.setInvoiceNumber(null); this.setDescription(null); + this.setDiscountAmount(null); + this.setTaxIsAfterDiscount(null); + this.setTotalTaxTypeCode(null); + this.setPurchaserVATRegistrationNumber(null); + this.setMerchantVATRegistrationNumber(null); + this.setVatInvoiceReferenceNumber(null); + this.setPurchaserCode(null); + this.setSummaryCommodityCode(null); + this.setPurchaseOrderDateUTC(null); + this.setSupplierOrderReference(null); + this.setAuthorizedContactName(null); + this.setCardAcceptorRefNumber(null); + this.setAmexDataTAA1(null); + this.setAmexDataTAA2(null); + this.setAmexDataTAA3(null); + this.setAmexDataTAA4(null); } logger.debug('Exit OrderType constructor'); } @@ -2118,10 +2282,80 @@ class OrderType { getInvoiceNumber() { if('invoiceNumber' in this) {return this.invoiceNumber;} } setDescription(p_description) { this.description = p_description; } getDescription() { if('description' in this) {return this.description;} } + setDiscountAmount(p_discountAmount) { this.discountAmount = p_discountAmount; } + getDiscountAmount() { if('discountAmount' in this) {return this.discountAmount;} } + setTaxIsAfterDiscount(p_taxIsAfterDiscount) { this.taxIsAfterDiscount = p_taxIsAfterDiscount; } + getTaxIsAfterDiscount() { if('taxIsAfterDiscount' in this) {return this.taxIsAfterDiscount;} } + setTotalTaxTypeCode(p_totalTaxTypeCode) { this.totalTaxTypeCode = p_totalTaxTypeCode; } + getTotalTaxTypeCode() { if('totalTaxTypeCode' in this) {return this.totalTaxTypeCode;} } + setPurchaserVATRegistrationNumber(p_purchaserVATRegistrationNumber) { this.purchaserVATRegistrationNumber = p_purchaserVATRegistrationNumber; } + getPurchaserVATRegistrationNumber() { if('purchaserVATRegistrationNumber' in this) {return this.purchaserVATRegistrationNumber;} } + setMerchantVATRegistrationNumber(p_merchantVATRegistrationNumber) { this.merchantVATRegistrationNumber = p_merchantVATRegistrationNumber; } + getMerchantVATRegistrationNumber() { if('merchantVATRegistrationNumber' in this) {return this.merchantVATRegistrationNumber;} } + setVatInvoiceReferenceNumber(p_vatInvoiceReferenceNumber) { this.vatInvoiceReferenceNumber = p_vatInvoiceReferenceNumber; } + getVatInvoiceReferenceNumber() { if('vatInvoiceReferenceNumber' in this) {return this.vatInvoiceReferenceNumber;} } + setPurchaserCode(p_purchaserCode) { this.purchaserCode = p_purchaserCode; } + getPurchaserCode() { if('purchaserCode' in this) {return this.purchaserCode;} } + setSummaryCommodityCode(p_summaryCommodityCode) { this.summaryCommodityCode = p_summaryCommodityCode; } + getSummaryCommodityCode() { if('summaryCommodityCode' in this) {return this.summaryCommodityCode;} } + setPurchaseOrderDateUTC(p_purchaseOrderDateUTC) { this.purchaseOrderDateUTC = p_purchaseOrderDateUTC; } + getPurchaseOrderDateUTC() { if('purchaseOrderDateUTC' in this) {return this.purchaseOrderDateUTC;} } + setSupplierOrderReference(p_supplierOrderReference) { this.supplierOrderReference = p_supplierOrderReference; } + getSupplierOrderReference() { if('supplierOrderReference' in this) {return this.supplierOrderReference;} } + setAuthorizedContactName(p_authorizedContactName) { this.authorizedContactName = p_authorizedContactName; } + getAuthorizedContactName() { if('authorizedContactName' in this) {return this.authorizedContactName;} } + setCardAcceptorRefNumber(p_cardAcceptorRefNumber) { this.cardAcceptorRefNumber = p_cardAcceptorRefNumber; } + getCardAcceptorRefNumber() { if('cardAcceptorRefNumber' in this) {return this.cardAcceptorRefNumber;} } + setAmexDataTAA1(p_amexDataTAA1) { this.amexDataTAA1 = p_amexDataTAA1; } + getAmexDataTAA1() { if('amexDataTAA1' in this) {return this.amexDataTAA1;} } + setAmexDataTAA2(p_amexDataTAA2) { this.amexDataTAA2 = p_amexDataTAA2; } + getAmexDataTAA2() { if('amexDataTAA2' in this) {return this.amexDataTAA2;} } + setAmexDataTAA3(p_amexDataTAA3) { this.amexDataTAA3 = p_amexDataTAA3; } + getAmexDataTAA3() { if('amexDataTAA3' in this) {return this.amexDataTAA3;} } + setAmexDataTAA4(p_amexDataTAA4) { this.amexDataTAA4 = p_amexDataTAA4; } + getAmexDataTAA4() { if('amexDataTAA4' in this) {return this.amexDataTAA4;} } } module.exports.OrderType = OrderType; +class OtherTaxType { + constructor(obj) { + logger.debug('Enter OtherTaxType constructor'); + if(arguments.length == 1) { + if(('nationalTaxAmount' in obj) && (obj.nationalTaxAmount != null)) { this.setNationalTaxAmount(obj.nationalTaxAmount); } + if(('localTaxAmount' in obj) && (obj.localTaxAmount != null)) { this.setLocalTaxAmount(obj.localTaxAmount); } + if(('alternateTaxAmount' in obj) && (obj.alternateTaxAmount != null)) { this.setAlternateTaxAmount(obj.alternateTaxAmount); } + if(('alternateTaxId' in obj) && (obj.alternateTaxId != null)) { this.setAlternateTaxId(obj.alternateTaxId); } + if(('vatTaxRate' in obj) && (obj.vatTaxRate != null)) { this.setVatTaxRate(obj.vatTaxRate); } + if(('vatTaxAmount' in obj) && (obj.vatTaxAmount != null)) { this.setVatTaxAmount(obj.vatTaxAmount); } + } + else { + this.setNationalTaxAmount(null); + this.setLocalTaxAmount(null); + this.setAlternateTaxAmount(null); + this.setAlternateTaxId(null); + this.setVatTaxRate(null); + this.setVatTaxAmount(null); + } + logger.debug('Exit OtherTaxType constructor'); + } + + setNationalTaxAmount(p_nationalTaxAmount) { this.nationalTaxAmount = p_nationalTaxAmount; } + getNationalTaxAmount() { if('nationalTaxAmount' in this) {return this.nationalTaxAmount;} } + setLocalTaxAmount(p_localTaxAmount) { this.localTaxAmount = p_localTaxAmount; } + getLocalTaxAmount() { if('localTaxAmount' in this) {return this.localTaxAmount;} } + setAlternateTaxAmount(p_alternateTaxAmount) { this.alternateTaxAmount = p_alternateTaxAmount; } + getAlternateTaxAmount() { if('alternateTaxAmount' in this) {return this.alternateTaxAmount;} } + setAlternateTaxId(p_alternateTaxId) { this.alternateTaxId = p_alternateTaxId; } + getAlternateTaxId() { if('alternateTaxId' in this) {return this.alternateTaxId;} } + setVatTaxRate(p_vatTaxRate) { this.vatTaxRate = p_vatTaxRate; } + getVatTaxRate() { if('vatTaxRate' in this) {return this.vatTaxRate;} } + setVatTaxAmount(p_vatTaxAmount) { this.vatTaxAmount = p_vatTaxAmount; } + getVatTaxAmount() { if('vatTaxAmount' in this) {return this.vatTaxAmount;} } +} + +module.exports.OtherTaxType = OtherTaxType; + class Paging { constructor(obj) { logger.debug('Enter Paging constructor'); @@ -2426,6 +2660,36 @@ class PermissionType { module.exports.PermissionType = PermissionType; +class ProcessingOptions { + constructor(obj) { + logger.debug('Enter ProcessingOptions constructor'); + if(arguments.length == 1) { + if(('isFirstRecurringPayment' in obj) && (obj.isFirstRecurringPayment != null)) { this.setIsFirstRecurringPayment(obj.isFirstRecurringPayment); } + if(('isFirstSubsequentAuth' in obj) && (obj.isFirstSubsequentAuth != null)) { this.setIsFirstSubsequentAuth(obj.isFirstSubsequentAuth); } + if(('isSubsequentAuth' in obj) && (obj.isSubsequentAuth != null)) { this.setIsSubsequentAuth(obj.isSubsequentAuth); } + if(('isStoredCredentials' in obj) && (obj.isStoredCredentials != null)) { this.setIsStoredCredentials(obj.isStoredCredentials); } + } + else { + this.setIsFirstRecurringPayment(null); + this.setIsFirstSubsequentAuth(null); + this.setIsSubsequentAuth(null); + this.setIsStoredCredentials(null); + } + logger.debug('Exit ProcessingOptions constructor'); + } + + setIsFirstRecurringPayment(p_isFirstRecurringPayment) { this.isFirstRecurringPayment = p_isFirstRecurringPayment; } + getIsFirstRecurringPayment() { if('isFirstRecurringPayment' in this) {return this.isFirstRecurringPayment;} } + setIsFirstSubsequentAuth(p_isFirstSubsequentAuth) { this.isFirstSubsequentAuth = p_isFirstSubsequentAuth; } + getIsFirstSubsequentAuth() { if('isFirstSubsequentAuth' in this) {return this.isFirstSubsequentAuth;} } + setIsSubsequentAuth(p_isSubsequentAuth) { this.isSubsequentAuth = p_isSubsequentAuth; } + getIsSubsequentAuth() { if('isSubsequentAuth' in this) {return this.isSubsequentAuth;} } + setIsStoredCredentials(p_isStoredCredentials) { this.isStoredCredentials = p_isStoredCredentials; } + getIsStoredCredentials() { if('isStoredCredentials' in this) {return this.isStoredCredentials;} } +} + +module.exports.ProcessingOptions = ProcessingOptions; + class ProcessorType { constructor(obj) { logger.debug('Enter ProcessorType constructor'); @@ -2842,6 +3106,28 @@ class SubscriptionPaymentType { module.exports.SubscriptionPaymentType = SubscriptionPaymentType; +class SubsequentAuthInformation { + constructor(obj) { + logger.debug('Enter SubsequentAuthInformation constructor'); + if(arguments.length == 1) { + if(('originalNetworkTransId' in obj) && (obj.originalNetworkTransId != null)) { this.setOriginalNetworkTransId(obj.originalNetworkTransId); } + if(('reason' in obj) && (obj.reason != null)) { this.setReason(obj.reason); } + } + else { + this.setOriginalNetworkTransId(null); + this.setReason(null); + } + logger.debug('Exit SubsequentAuthInformation constructor'); + } + + setOriginalNetworkTransId(p_originalNetworkTransId) { this.originalNetworkTransId = p_originalNetworkTransId; } + getOriginalNetworkTransId() { if('originalNetworkTransId' in this) {return this.originalNetworkTransId;} } + setReason(p_reason) { this.reason = p_reason; } + getReason() { if('reason' in this) {return this.reason;} } +} + +module.exports.SubsequentAuthInformation = SubsequentAuthInformation; + class TokenMaskedType { constructor(obj) { logger.debug('Enter TokenMaskedType constructor'); @@ -2952,6 +3238,8 @@ class TransactionDetailsType { if(('surcharge' in obj) && (obj.surcharge != null)) { this.setSurcharge(new ExtendedAmountType(obj.surcharge)); } if(('employeeId' in obj) && (obj.employeeId != null)) { this.setEmployeeId(obj.employeeId); } if(('tip' in obj) && (obj.tip != null)) { this.setTip(new ExtendedAmountType(obj.tip)); } + if(('otherTax' in obj) && (obj.otherTax != null)) { this.setOtherTax(new OtherTaxType(obj.otherTax)); } + if(('shipFrom' in obj) && (obj.shipFrom != null)) { this.setShipFrom(new NameAndAddressType(obj.shipFrom)); } } else { this.setTransId(null); @@ -3000,6 +3288,8 @@ class TransactionDetailsType { this.setSurcharge(null); this.setEmployeeId(null); this.setTip(null); + this.setOtherTax(null); + this.setShipFrom(null); } logger.debug('Exit TransactionDetailsType constructor'); } @@ -3096,6 +3386,10 @@ class TransactionDetailsType { getEmployeeId() { if('employeeId' in this) {return this.employeeId;} } setTip(p_tip) { this.tip = p_tip; } getTip() { if('tip' in this) {return this.tip;} } + setOtherTax(p_otherTax) { this.otherTax = p_otherTax; } + getOtherTax() { if('otherTax' in this) {return this.otherTax;} } + setShipFrom(p_shipFrom) { this.shipFrom = p_shipFrom; } + getShipFrom() { if('shipFrom' in this) {return this.shipFrom;} } } module.exports.TransactionDetailsType = TransactionDetailsType; @@ -3157,6 +3451,10 @@ class TransactionRequestType { if(('merchantDescriptor' in obj) && (obj.merchantDescriptor != null)) { this.setMerchantDescriptor(obj.merchantDescriptor); } if(('subMerchant' in obj) && (obj.subMerchant != null)) { this.setSubMerchant(new SubMerchantType(obj.subMerchant)); } if(('tip' in obj) && (obj.tip != null)) { this.setTip(new ExtendedAmountType(obj.tip)); } + if(('processingOptions' in obj) && (obj.processingOptions != null)) { this.setProcessingOptions(new ProcessingOptions(obj.processingOptions)); } + if(('subsequentAuthInformation' in obj) && (obj.subsequentAuthInformation != null)) { this.setSubsequentAuthInformation(new SubsequentAuthInformation(obj.subsequentAuthInformation)); } + if(('otherTax' in obj) && (obj.otherTax != null)) { this.setOtherTax(new OtherTaxType(obj.otherTax)); } + if(('shipFrom' in obj) && (obj.shipFrom != null)) { this.setShipFrom(new NameAndAddressType(obj.shipFrom)); } } else { this.setTransactionType(null); @@ -3190,6 +3488,10 @@ class TransactionRequestType { this.setMerchantDescriptor(null); this.setSubMerchant(null); this.setTip(null); + this.setProcessingOptions(null); + this.setSubsequentAuthInformation(null); + this.setOtherTax(null); + this.setShipFrom(null); } logger.debug('Exit TransactionRequestType constructor'); } @@ -3256,6 +3558,14 @@ class TransactionRequestType { getSubMerchant() { if('subMerchant' in this) {return this.subMerchant;} } setTip(p_tip) { this.tip = p_tip; } getTip() { if('tip' in this) {return this.tip;} } + setProcessingOptions(p_processingOptions) { this.processingOptions = p_processingOptions; } + getProcessingOptions() { if('processingOptions' in this) {return this.processingOptions;} } + setSubsequentAuthInformation(p_subsequentAuthInformation) { this.subsequentAuthInformation = p_subsequentAuthInformation; } + getSubsequentAuthInformation() { if('subsequentAuthInformation' in this) {return this.subsequentAuthInformation;} } + setOtherTax(p_otherTax) { this.otherTax = p_otherTax; } + getOtherTax() { if('otherTax' in this) {return this.otherTax;} } + setShipFrom(p_shipFrom) { this.shipFrom = p_shipFrom; } + getShipFrom() { if('shipFrom' in this) {return this.shipFrom;} } } module.exports.TransactionRequestType = TransactionRequestType; @@ -3288,6 +3598,7 @@ class TransactionResponse { if(('emvResponse' in obj) && (obj.emvResponse != null)) { this.setEmvResponse(new TransactionResponse.EmvResponse(obj.emvResponse)); } if(('transHashSha2' in obj) && (obj.transHashSha2 != null)) { this.setTransHashSha2(obj.transHashSha2); } if(('profile' in obj) && (obj.profile != null)) { this.setProfile(new CustomerProfileIdType(obj.profile)); } + if(('networkTransId' in obj) && (obj.networkTransId != null)) { this.setNetworkTransId(obj.networkTransId); } } else { this.setResponseCode(null); @@ -3314,6 +3625,7 @@ class TransactionResponse { this.setEmvResponse(null); this.setTransHashSha2(null); this.setProfile(null); + this.setNetworkTransId(null); } logger.debug('Exit TransactionResponse constructor'); } @@ -3366,6 +3678,8 @@ class TransactionResponse { getTransHashSha2() { if('transHashSha2' in this) {return this.transHashSha2;} } setProfile(p_profile) { this.profile = p_profile; } getProfile() { if('profile' in this) {return this.profile;} } + setNetworkTransId(p_networkTransId) { this.networkTransId = p_networkTransId; } + getNetworkTransId() { if('networkTransId' in this) {return this.networkTransId;} } } module.exports.TransactionResponse = TransactionResponse; @@ -5500,6 +5814,70 @@ class GetCustomerPaymentProfileListResponse extends ANetApiResponse { module.exports.GetCustomerPaymentProfileListResponse = GetCustomerPaymentProfileListResponse; +class GetCustomerPaymentProfileNonceRequest extends ANetApiRequest { + getJSON() { + logger.debug('Enter GetCustomerPaymentProfileNonceRequest getJSON'); + utils.delete_null_properties(this, true); + var obj = { 'getCustomerPaymentProfileNonceRequest' : this }; + logger.debug('Exit GetCustomerPaymentProfileNonceRequest getJSON'); + return obj; + } + + constructor(obj) { + logger.debug('Enter GetCustomerPaymentProfileNonceRequest constructor'); + if(arguments.length == 1) { + super(obj); + if(('connectedAccessToken' in obj) && (obj.connectedAccessToken != null)) { this.setConnectedAccessToken(obj.connectedAccessToken); } + if(('customerProfileId' in obj) && (obj.customerProfileId != null)) { this.setCustomerProfileId(obj.customerProfileId); } + if(('customerPaymentProfileId' in obj) && (obj.customerPaymentProfileId != null)) { this.setCustomerPaymentProfileId(obj.customerPaymentProfileId); } + } + else { + super(); + this.setConnectedAccessToken(null); + this.setCustomerProfileId(null); + this.setCustomerPaymentProfileId(null); + } + logger.debug('Exit GetCustomerPaymentProfileNonceRequest constructor'); + } + + setConnectedAccessToken(p_connectedAccessToken) { this.connectedAccessToken = p_connectedAccessToken; } + getConnectedAccessToken() { if('connectedAccessToken' in this) {return this.connectedAccessToken;} } + setCustomerProfileId(p_customerProfileId) { this.customerProfileId = p_customerProfileId; } + getCustomerProfileId() { if('customerProfileId' in this) {return this.customerProfileId;} } + setCustomerPaymentProfileId(p_customerPaymentProfileId) { this.customerPaymentProfileId = p_customerPaymentProfileId; } + getCustomerPaymentProfileId() { if('customerPaymentProfileId' in this) {return this.customerPaymentProfileId;} } +} + +module.exports.GetCustomerPaymentProfileNonceRequest = GetCustomerPaymentProfileNonceRequest; + +class GetCustomerPaymentProfileNonceResponse extends ANetApiResponse { + getJSON() { + logger.debug('Enter GetCustomerPaymentProfileNonceResponse getJSON'); + utils.delete_null_properties(this, true); + var obj = { 'getCustomerPaymentProfileNonceResponse' : this }; + logger.debug('Exit GetCustomerPaymentProfileNonceResponse getJSON'); + return obj; + } + + constructor(obj) { + logger.debug('Enter GetCustomerPaymentProfileNonceResponse constructor'); + if(arguments.length == 1) { + super(obj); + if(('opaqueData' in obj) && (obj.opaqueData != null)) { this.setOpaqueData(new OpaqueDataType(obj.opaqueData)); } + } + else { + super(); + this.setOpaqueData(null); + } + logger.debug('Exit GetCustomerPaymentProfileNonceResponse constructor'); + } + + setOpaqueData(p_opaqueData) { this.opaqueData = p_opaqueData; } + getOpaqueData() { if('opaqueData' in this) {return this.opaqueData;} } +} + +module.exports.GetCustomerPaymentProfileNonceResponse = GetCustomerPaymentProfileNonceResponse; + class GetCustomerPaymentProfileRequest extends ANetApiRequest { getJSON() { logger.debug('Enter GetCustomerPaymentProfileRequest getJSON'); @@ -5912,6 +6290,9 @@ class GetMerchantDetailsResponse extends ANetApiResponse { if(('paymentMethods' in obj) && (obj.paymentMethods != null)) { this.setPaymentMethods(new ArrayOfPaymentMethod(obj.paymentMethods)); } if(('currencies' in obj) && (obj.currencies != null)) { this.setCurrencies(new ArrayOfCurrencyCode(obj.currencies)); } if(('publicClientKey' in obj) && (obj.publicClientKey != null)) { this.setPublicClientKey(obj.publicClientKey); } + if(('businessInformation' in obj) && (obj.businessInformation != null)) { this.setBusinessInformation(new CustomerAddressType(obj.businessInformation)); } + if(('merchantTimeZone' in obj) && (obj.merchantTimeZone != null)) { this.setMerchantTimeZone(obj.merchantTimeZone); } + if(('contactDetails' in obj) && (obj.contactDetails != null)) { this.setContactDetails(new ArrayOfContactDetail(obj.contactDetails)); } } else { super(); @@ -5924,6 +6305,9 @@ class GetMerchantDetailsResponse extends ANetApiResponse { this.setPaymentMethods(null); this.setCurrencies(null); this.setPublicClientKey(null); + this.setBusinessInformation(null); + this.setMerchantTimeZone(null); + this.setContactDetails(null); } logger.debug('Exit GetMerchantDetailsResponse constructor'); } @@ -5946,6 +6330,12 @@ class GetMerchantDetailsResponse extends ANetApiResponse { getCurrencies() { if('currencies' in this) {return this.currencies;} } setPublicClientKey(p_publicClientKey) { this.publicClientKey = p_publicClientKey; } getPublicClientKey() { if('publicClientKey' in this) {return this.publicClientKey;} } + setBusinessInformation(p_businessInformation) { this.businessInformation = p_businessInformation; } + getBusinessInformation() { if('businessInformation' in this) {return this.businessInformation;} } + setMerchantTimeZone(p_merchantTimeZone) { this.merchantTimeZone = p_merchantTimeZone; } + getMerchantTimeZone() { if('merchantTimeZone' in this) {return this.merchantTimeZone;} } + setContactDetails(p_contactDetails) { this.contactDetails = p_contactDetails; } + getContactDetails() { if('contactDetails' in this) {return this.contactDetails;} } } module.exports.GetMerchantDetailsResponse = GetMerchantDetailsResponse; @@ -6426,6 +6816,8 @@ class ProfileTransOrderType extends ProfileTransAmountType { if(('recurringBilling' in obj) && (obj.recurringBilling != null)) { this.setRecurringBilling(obj.recurringBilling); } if(('cardCode' in obj) && (obj.cardCode != null)) { this.setCardCode(obj.cardCode); } if(('splitTenderId' in obj) && (obj.splitTenderId != null)) { this.setSplitTenderId(obj.splitTenderId); } + if(('processingOptions' in obj) && (obj.processingOptions != null)) { this.setProcessingOptions(new ProcessingOptions(obj.processingOptions)); } + if(('subsequentAuthInformation' in obj) && (obj.subsequentAuthInformation != null)) { this.setSubsequentAuthInformation(new SubsequentAuthInformation(obj.subsequentAuthInformation)); } } else { super(); @@ -6437,6 +6829,8 @@ class ProfileTransOrderType extends ProfileTransAmountType { this.setRecurringBilling(null); this.setCardCode(null); this.setSplitTenderId(null); + this.setProcessingOptions(null); + this.setSubsequentAuthInformation(null); } logger.debug('Exit ProfileTransOrderType constructor'); } @@ -6457,6 +6851,10 @@ class ProfileTransOrderType extends ProfileTransAmountType { getCardCode() { if('cardCode' in this) {return this.cardCode;} } setSplitTenderId(p_splitTenderId) { this.splitTenderId = p_splitTenderId; } getSplitTenderId() { if('splitTenderId' in this) {return this.splitTenderId;} } + setProcessingOptions(p_processingOptions) { this.processingOptions = p_processingOptions; } + getProcessingOptions() { if('processingOptions' in this) {return this.processingOptions;} } + setSubsequentAuthInformation(p_subsequentAuthInformation) { this.subsequentAuthInformation = p_subsequentAuthInformation; } + getSubsequentAuthInformation() { if('subsequentAuthInformation' in this) {return this.subsequentAuthInformation;} } } module.exports.ProfileTransOrderType = ProfileTransOrderType; @@ -7315,6 +7713,14 @@ const FDSFilterActionEnum = { }; module.exports.FDSFilterActionEnum = FDSFilterActionEnum; +const MerchantInitTransReasonEnum = { + RESUBMISSION : 'resubmission', + DELAYEDCHARGE : 'delayedCharge', + REAUTHORIZATION : 'reauthorization', + NOSHOW : 'noShow' +}; +module.exports.MerchantInitTransReasonEnum = MerchantInitTransReasonEnum; + const MessageTypeEnum = { OK : 'Ok', ERROR : 'Error' diff --git a/lib/apicontrollers.js b/lib/apicontrollers.js index ba8d295..9b5afb4 100644 --- a/lib/apicontrollers.js +++ b/lib/apicontrollers.js @@ -486,6 +486,26 @@ class GetCustomerPaymentProfileListController extends APIOperationBase { module.exports.GetCustomerPaymentProfileListController = GetCustomerPaymentProfileListController; +class GetCustomerPaymentProfileNonceController extends APIOperationBase { + constructor(apiRequest) { + logger.debug('Enter GetCustomerPaymentProfileNonceController constructor'); + super(apiRequest); + logger.debug('Exit GetCustomerPaymentProfileNonceController constructor'); + } + + validateRequest(){ + logger.debug('Enter validateRequest'); + + logger.debug('Exit validateRequest'); + return; + } + + getRequestType(){ + return 'GetCustomerPaymentProfileNonceRequest'; + } +} + +module.exports.GetCustomerPaymentProfileNonceController = GetCustomerPaymentProfileNonceController; class GetCustomerProfileController extends APIOperationBase { constructor(apiRequest) { logger.debug('Enter GetCustomerProfileController constructor'); diff --git a/mappings/Schema.js b/mappings/Schema.js index b8d2717..e626c5e 100644 --- a/mappings/Schema.js +++ b/mappings/Schema.js @@ -382,6 +382,14 @@ var Schema_Module_Factory = function () { name: 'emailSettings', typeInfo: '.EmailSettingsType' }] + }, { + localName: 'ArrayOfContactDetail', + propertyInfos: [{ + name: 'contactDetail', + minOccurs: 0, + collection: true, + typeInfo: '.ContactDetailType' + }] }, { localName: 'TransactionDetailsType.EmvDetails', typeName: null, @@ -544,6 +552,12 @@ var Schema_Module_Factory = function () { }, { name: 'tip', typeInfo: '.ExtendedAmountType' + }, { + name: 'otherTax', + typeInfo: '.OtherTaxType' + }, { + name: 'shipFrom', + typeInfo: '.NameAndAddressType' }] }, { localName: 'ARBTransactionList', @@ -656,6 +670,14 @@ var Schema_Module_Factory = function () { typeInfo: '.TokenMaskedType' }] }, { + localName: 'GetCustomerPaymentProfileNonceResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'opaqueData', + typeInfo: '.OpaqueDataType' + }] + },{ localName: 'CustomerProfilePaymentType', typeName: 'customerProfilePaymentType', propertyInfos: [{ @@ -755,6 +777,9 @@ var Schema_Module_Factory = function () { required: true }, { name: 'dataKey' + }, { + name: 'expirationTimeStamp', + typeInfo: 'DateTime' }] }, { localName: 'ProfileTransAuthOnlyType', @@ -821,6 +846,14 @@ var Schema_Module_Factory = function () { typeInfo: '.ArrayOfCurrencyCode' }, { name: 'publicClientKey' + }, { + name: 'businessInformation', + typeInfo: '.CustomerAddressType' + }, { + name: 'merchantTimeZone' + }, { + name: 'contactDetails', + typeInfo: '.ArrayOfContactDetail' }] }, { localName: 'ARBGetSubscriptionStatusResponse', @@ -1230,6 +1263,20 @@ var Schema_Module_Factory = function () { typeInfo: '.SubscriptionDetail' }] }, { + localName: 'GetCustomerPaymentProfileNonceRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'connectedAccessToken', + required: true + }, { + name: 'customerProfileId', + required: true + }, { + name: 'customerPaymentProfileId', + required: true + }] + },{ localName: 'ValidateCustomerPaymentProfileResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', @@ -1303,6 +1350,22 @@ var Schema_Module_Factory = function () { maxOccurs: 1000, collection: true }] + },{ + localName: 'ProcessingOptions', + typeName: 'processingOptions', + propertyInfos: [{ + name: 'isFirstRecurringPayment', + typeInfo: 'Boolean' + }, { + name: 'isFirstSubsequentAuth', + typeInfo: 'Boolean' + }, { + name: 'isSubsequentAuth', + typeInfo: 'Boolean' + }, { + name: 'isStoredCredentials', + typeInfo: 'Boolean' + }] }, { localName: 'LogoutRequest', typeName: null, @@ -1412,6 +1475,58 @@ var Schema_Module_Factory = function () { }, { name: 'taxable', typeInfo: 'Boolean' + },{ + name: 'unitOfMeasure' + }, { + name: 'typeOfSupply' + }, { + name: 'taxRate', + typeInfo: 'Decimal' + }, { + name: 'taxAmount', + typeInfo: 'Decimal' + }, { + name: 'nationalTax', + typeInfo: 'Decimal' + }, { + name: 'localTax', + typeInfo: 'Decimal' + }, { + name: 'vatRate', + typeInfo: 'Decimal' + }, { + name: 'alternateTaxId' + }, { + name: 'alternateTaxType' + }, { + name: 'alternateTaxTypeApplied' + }, { + name: 'alternateTaxRate', + typeInfo: 'Decimal' + }, { + name: 'alternateTaxAmount', + typeInfo: 'Decimal' + }, { + name: 'totalAmount', + typeInfo: 'Decimal' + }, { + name: 'commodityCode' + }, { + name: 'productCode' + }, { + name: 'productSKU' + }, { + name: 'discountRate', + typeInfo: 'Decimal' + }, { + name: 'discountAmount', + typeInfo: 'Decimal' + }, { + name: 'taxIncludedInTotal', + typeInfo: 'Boolean' + }, { + name: 'taxIsAfterDiscount', + typeInfo: 'Boolean' }] }, { localName: 'TransactionResponse.EmvResponse.Tags', @@ -1788,6 +1903,15 @@ var Schema_Module_Factory = function () { collection: true, typeInfo: '.PermissionType' }] + }, { + localName: 'ContactDetailType', + propertyInfos: [{ + name: 'email' + }, { + name: 'firstName' + }, { + name: 'lastName' + }] }, { localName: 'SolutionType', typeName: 'solutionType', @@ -2058,6 +2182,8 @@ var Schema_Module_Factory = function () { }, { name: 'profile', typeInfo: '.CustomerProfileIdType' + }, { + name: 'networkTransId' }] }, { localName: 'CustomerDataType', @@ -2660,8 +2786,20 @@ var Schema_Module_Factory = function () { }, { name: 'tip', typeInfo: '.ExtendedAmountType' + }, { + name: 'processingOptions', + typeInfo: '.ProcessingOptions' + }, { + name: 'subsequentAuthInformation', + typeInfo: '.SubsequentAuthInformation' + }, { + name: 'otherTax', + typeInfo: '.OtherTaxType' + }, { + name: 'shipFrom', + typeInfo: '.NameAndAddressType' }] - }, { + }, { localName: 'KeyValue', propertyInfos: [{ name: 'encoding', @@ -2737,6 +2875,12 @@ var Schema_Module_Factory = function () { name: 'cardCode' }, { name: 'splitTenderId' + }, { + name: 'processingOptions', + typeInfo: '.ProcessingOptions' + }, { + name: 'subsequentAuthInformation', + typeInfo: '.SubsequentAuthInformation' }] }, { localName: 'CustomerPaymentProfileListItemType', @@ -2782,6 +2926,27 @@ var Schema_Module_Factory = function () { }, { name: 'description' }] + }, { + localName: 'OtherTaxType', + typeName: 'otherTaxType', + propertyInfos: [{ + name: 'nationalTaxAmount', + typeInfo: 'Decimal' + }, { + name: 'localTaxAmount', + typeInfo: 'Decimal' + }, { + name: 'alternateTaxAmount', + typeInfo: 'Decimal' + }, { + name: 'alternateTaxId' + }, { + name: 'vatTaxRate', + typeInfo: 'Decimal' + }, { + name: 'vatTaxAmount', + typeInfo: 'Decimal' + }] }, { localName: 'ProfileTransVoidType', typeName: 'profileTransVoidType', @@ -3112,6 +3277,14 @@ var Schema_Module_Factory = function () { name: 'fraudAction', required: true }] + },{ + localName: 'SubsequentAuthInformation', + typeName: 'subsequentAuthInformation', + propertyInfos: [{ + name: 'originalNetworkTransId' + }, { + name: 'reason' + }] }, { localName: 'TransactionResponse.Messages.Message', typeName: null, @@ -3136,6 +3309,41 @@ var Schema_Module_Factory = function () { name: 'invoiceNumber' }, { name: 'description' + }, { + name: 'discountAmount', + typeInfo: 'Decimal' + }, { + name: 'taxIsAfterDiscount', + typeInfo: 'Boolean' + }, { + name: 'totalTaxTypeCode' + }, { + name: 'purchaserVATRegistrationNumber' + }, { + name: 'merchantVATRegistrationNumber' + }, { + name: 'vatInvoiceReferenceNumber' + }, { + name: 'purchaserCode' + }, { + name: 'summaryCommodityCode' + }, { + name: 'purchaseOrderDateUTC', + typeInfo: 'Date' + }, { + name: 'supplierOrderReference' + }, { + name: 'authorizedContactName' + }, { + name: 'cardAcceptorRefNumber' + }, { + name: 'amexDataTAA1' + }, { + name: 'amexDataTAA2' + }, { + name: 'amexDataTAA3' + }, { + name: 'amexDataTAA4' }] }, { localName: 'ReturnedItemType', @@ -3182,6 +3390,10 @@ var Schema_Module_Factory = function () { type: 'enumInfo', localName: 'CustomerProfileTypeEnum', values: ['regular', 'guest'] + }, { + type: 'enumInfo', + localName: 'MerchantInitTransReasonEnum', + values: ['resubmission', 'delayedCharge', 'reauthorization', 'noShow'] }, { type: 'enumInfo', localName: 'AfdsTransactionEnum', From 14d0c74b44b4bf6509a24b7735e009d322ba2140 Mon Sep 17 00:00:00 2001 From: MaSimon Date: Tue, 27 Nov 2018 11:26:47 +0530 Subject: [PATCH 30/58] Fix for issue #56 --- lib/apicontrollersbase.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/apicontrollersbase.js b/lib/apicontrollersbase.js index 46f170d..683a8a8 100644 --- a/lib/apicontrollersbase.js +++ b/lib/apicontrollersbase.js @@ -102,9 +102,10 @@ class APIOperationBase { } else { //TODO: slice added due to BOM character. remove once BOM character is removed. - var responseObj = JSON.parse(body.slice(1)); - logger.debug(JSON.stringify(responseObj, 2, null)); - obj._response = responseObj; + if(typeof body!=='undefined'){ + var responseObj = JSON.parse(body.slice(1)); + logger.debug(JSON.stringify(responseObj, 2, null)); + obj._response = responseObj; /* var jsonResponse = JSON.stringify(body); console.log("escaped body : '" + escape(jsonResponse) + "'"); @@ -114,6 +115,11 @@ class APIOperationBase { */ callback(); } + else + { + logger.error("Undefined Response"); + } + } }); logger.debug('Exit APIOperationBase execute'); From 8dfba5c4931cb35afa2af8f1ec80d4981a8fc2c7 Mon Sep 17 00:00:00 2001 From: MaSimon Date: Tue, 27 Nov 2018 16:51:01 +0530 Subject: [PATCH 31/58] Adding CONTRIBUTING.md --- CONTRIBUTING.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..ba6841a --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,7 @@ ++ Thanks for contributing to the Authorize.Net Node SDK. + ++ Before you submit a pull request, we ask that you consider the following: + + - Submit an issue to state the problem your pull request solves or the funtionality that it adds. We can then advise on the feasability of the pull request, and let you know if there are other possible solutions. + - Part of the SDK is auto-generated based on the XML schema. Due to this auto-generation, we cannot merge contributions for request or response classes. You are welcome to open an issue to report problems or suggest improvements. Auto-generated classes are inside [sdk-node/lib/apicontracts.js](https://github.com/AuthorizeNet/sdk-node/tree/master/lib) and [sdk-node/lib/apicontrollers.js](https://github.com/AuthorizeNet/sdk-node/tree/master/lib) folders, except [sdk-node/lib/apicontrollersbase.js](https://github.com/AuthorizeNet/sdk-node/tree/master/lib). + \ No newline at end of file From da05ae30d86e7a36e1c69b4e10923d0396c5523f Mon Sep 17 00:00:00 2001 From: Gabriel Broadwin Nongsiej Date: Tue, 27 Nov 2018 17:19:33 +0530 Subject: [PATCH 32/58] + Adding Contributing.md section --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c79b16e..cc1bd29 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ * Node.js version 4.8.4 or higher * An Authorize.Net account (see _Registration & Configuration_ section below) +### Contribution + - If you need information or clarification about any Authorize.Net features, please create an issue for it. Also you can search in the [Authorize.Net developer community](https://community.developer.authorize.net/). + - Before creating pull requests, please read [the contributors guide](CONTRIBUTING.md). + ### TLS 1.2 The Authorize.Net APIs only support connections using the TLS 1.2 security protocol. It's important to make sure you have new enough versions of all required components to support TLS 1.2. Additionally, it's very important to keep these components up to date going forward to mitigate the risk of any security flaws that may be discovered in your system or any libraries it uses. From 4bf3b7e43323cc9cef75e07d8299c8fad89de3c5 Mon Sep 17 00:00:00 2001 From: Gabriel Broadwin Nongsiej Date: Wed, 5 Dec 2018 16:37:55 +0530 Subject: [PATCH 33/58] Update for Release 1.0.7 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fc484f9..3768b66 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "authorizenet", - "version": "1.0.6", + "version": "1.0.7", "description": "nodejs sdk for Authorize.Net", "main": "lib/authorizenet.js", "directories": { From a479ad3ddd37ba9df55e96c0fc60e4ea01a14fb6 Mon Sep 17 00:00:00 2001 From: MaSimon Date: Mon, 10 Dec 2018 18:40:52 +0530 Subject: [PATCH 34/58] Updated README.md file for chase pay transactions --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index cc1bd29..dd8f52f 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,23 @@ Additionally, you can find details and examples of how our API is structured in The API Reference Guide provides examples of what information is needed for a particular request and how that information would be formatted. Using those examples, you can easily determine what methods would be necessary to include that information in a request using this SDK. +## Create a Chase Pay Transaction +Use this method to authorize and capture a payment using a tokenized credit card number issued by Chase Pay. Chase Pay transactions are only available to merchants using the Paymentech processor. + +The following information is required in the request: + +- The payment token, +- The expiration date, +- The cryptogram received from the token provider, +- The tokenRequestorName, +- The tokenRequestorId, and +- The tokenRequestorEci. + +When using the SDK to submit Chase Pay transactions, consider the following points: +- TokenRequesterName must be populated with “CHASE_PAY” +- TokenRequestorID must be populated with as provided by Chase Pay services for each transaction during consumer checkout +- TokenRequesterECI must be populated with as provided by Chase Pay services for each transaction during consumer checkout + ## Building & Testing the SDK From 6d3520f9670cb2923a59cdbb2181a57a230ce0d8 Mon Sep 17 00:00:00 2001 From: MaSimon Date: Wed, 12 Dec 2018 14:33:06 +0530 Subject: [PATCH 35/58] README.md updated as per latest comments from Visa --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index dd8f52f..015fe0e 100644 --- a/README.md +++ b/README.md @@ -65,21 +65,21 @@ Additionally, you can find details and examples of how our API is structured in The API Reference Guide provides examples of what information is needed for a particular request and how that information would be formatted. Using those examples, you can easily determine what methods would be necessary to include that information in a request using this SDK. ## Create a Chase Pay Transaction + Use this method to authorize and capture a payment using a tokenized credit card number issued by Chase Pay. Chase Pay transactions are only available to merchants using the Paymentech processor. The following information is required in the request: - -- The payment token, -- The expiration date, -- The cryptogram received from the token provider, -- The tokenRequestorName, -- The tokenRequestorId, and -- The tokenRequestorEci. +- The **payment token**, +- The **expiration date**, +- The **cryptogram** received from the token provider, +- The **tokenRequestorName**, +- The **tokenRequestorId**, and +- The **tokenRequestorEci**. When using the SDK to submit Chase Pay transactions, consider the following points: -- TokenRequesterName must be populated with “CHASE_PAY” -- TokenRequestorID must be populated with as provided by Chase Pay services for each transaction during consumer checkout -- TokenRequesterECI must be populated with as provided by Chase Pay services for each transaction during consumer checkout +- `tokenRequesterName` must be populated with **`”CHASE_PAY”`** +- `tokenRequestorId` must be populated with the **`Token Requestor ID`** provided by Chase Pay services for each transaction during consumer checkout +- `tokenRequesterEci` must be populated with the **`ECI Indicator`** provided by Chase Pay services for each transaction during consumer checkout ## Building & Testing the SDK From cc0b2b0ea2f5e7e461aed3cee87366a08f86d69f Mon Sep 17 00:00:00 2001 From: lilithmm <40802338+lilithmm@users.noreply.github.com> Date: Thu, 7 Mar 2019 14:30:11 -0800 Subject: [PATCH 36/58] Added Transaction Hash Upgrade note + minor edits --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 015fe0e..aea680f 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ API credentials are different for each environment, so be sure to switch to the To get started using this SDK, it's highly recommended to download our sample code repository: * [Authorize.Net Node.js Sample Code Repository (on GitHub)](https://github.com/AuthorizeNet/sample-code-node) -In that respository, we have comprehensive sample code for all common uses of our API: +The respository contains comprehensive sample code for all common uses of our API: Additionally, you can find details and examples of how our API is structured in our API Reference Guide: * [Developer Center API Reference](http://developer.authorize.net/api/reference/index.html) @@ -93,6 +93,8 @@ When using the SDK to submit Chase Pay transactions, consider the following poin ### Testing Guide For additional help in testing your own code, Authorize.Net maintains a [comprehensive testing guide](http://developer.authorize.net/hello_world/testing_guide/) that includes test credit card numbers to use and special triggers to generate certain responses from the sandbox environment. +### Transaction Hash Upgrade +Authorize.Net is phasing out the MD5 based `transHash` element in favor of the SHA-512 based `transHashSHA2`. The setting in the Merchant Interface which controlled the MD5 Hash option is no longer available, and the `transHash` element will stop returning values at a later date to be determined. For information on how to use `transHashSHA2`, see the [Transaction Hash Upgrade Guide] (https://developer.authorize.net/support/hash_upgrade/). ## License -This repository is distributed under a proprietary license. See the provided [`LICENSE.txt`](/LICENSE.txt) file. \ No newline at end of file +This repository is distributed under a proprietary license. See the provided [`LICENSE.txt`](/LICENSE.txt) file. From aab2dac8bb057e5f245a8a52dea017f71e1a36e2 Mon Sep 17 00:00:00 2001 From: Gabriel Broadwin Nongsiej Date: Thu, 14 Mar 2019 11:47:55 +0530 Subject: [PATCH 37/58] + Minor edits --- README.md | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index aea680f..f298085 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,11 @@ * An Authorize.Net account (see _Registration & Configuration_ section below) ### Contribution - - If you need information or clarification about any Authorize.Net features, please create an issue for it. Also you can search in the [Authorize.Net developer community](https://community.developer.authorize.net/). + - If you need information or clarification about Authorize.Net features, create an issue with your question. You can also search the [Authorize.Net developer community](https://community.developer.authorize.net/) for discussions related to your question. - Before creating pull requests, please read [the contributors guide](CONTRIBUTING.md). ### TLS 1.2 -The Authorize.Net APIs only support connections using the TLS 1.2 security protocol. It's important to make sure you have new enough versions of all required components to support TLS 1.2. Additionally, it's very important to keep these components up to date going forward to mitigate the risk of any security flaws that may be discovered in your system or any libraries it uses. +The Authorize.Net APIs only support connections using the TLS 1.2 security protocol. Make sure to upgrade all required components to support TLS 1.2. Keep these components up to date to mitigate the risk of new security flaws. ## Installation @@ -23,11 +23,11 @@ To install AuthorizeNet ## Registration & Configuration -Use of this SDK and the Authorize.Net APIs requires having an account on our system. You can find these details in the Settings section. -If you don't currently have a production Authorize.Net account and need a sandbox account for testing, you can easily sign up for one [here](https://developer.authorize.net/sandbox/). +Use of this SDK and the Authorize.Net APIs requires having an account on the Authorize.Net system. You can find these details in the Settings section. +If you don't currently have a production Authorize.Net account, [sign up for a sandbox account](https://developer.authorize.net/sandbox/). ### Authentication -To authenticate with the Authorize.Net API you will need to use your account's API Login ID and Transaction Key. If you don't have these values, you can obtain them from our Merchant Interface site. Access the Merchant Interface for production accounts at (https://account.authorize.net/) or sandbox accounts at (https://sandbox.authorize.net). +To authenticate with the Authorize.Net API, use your account's API Login ID and Transaction Key. If you don't have these credentials, you can obtain them from our Merchant Interface site. For production accounts, the Merchant Interface is located at (https://account.authorize.net/); and for sandbox accounts, at (https://sandbox.authorize.net). Once you have your keys simply load them into the appropriate variables in your code, as per the below sample code dealing with the authentication part of the API request. @@ -41,10 +41,10 @@ Once you have your keys simply load them into the appropriate variables in your An authentication test sample is provided and can be run with the following command: `node sample/test.js` -You should never include your Login ID and Transaction Key directly in a file that's in a publically accessible portion of your website. A better practice would be to define these in a constants file, and then reference those constants in the appropriate place in your code. +Never include your Login ID and Transaction Key directly in a file that's in a publicly accessible portion of your website. As a best practice, define the API Login ID and Transaction Key in a constants file, and reference those constants in the appropriate place in your code. ### Switching between the sandbox environment and the production environment -Authorize.Net maintains a complete sandbox environment for testing and development purposes. This sandbox environment is an exact duplicate of our production environment with the transaction authorization and settlement process simulated. By default, this SDK is configured to communicate with the sandbox environment. To switch to the production environment, call `setEnvironment` on the controller variable before execute. For example: +Authorize.Net maintains a complete sandbox environment for testing and development purposes. The sandbox environment is an exact replica of our production environment, with simulated transaction authorization and settlement. By default, this SDK is configured to use with the sandbox environment. To switch to the production environment, call `setEnvironment` on the controller variable before execute. For example: ```javascript // For PRODUCTION use ctrl.setEnvironment(SDKConstants.endpoint.production); @@ -54,27 +54,27 @@ API credentials are different for each environment, so be sure to switch to the ## SDK Usage Examples and Sample Code -To get started using this SDK, it's highly recommended to download our sample code repository: +When using this SDK, downloading the Authorize.Net sample code repository is recommended. * [Authorize.Net Node.js Sample Code Repository (on GitHub)](https://github.com/AuthorizeNet/sample-code-node) -The respository contains comprehensive sample code for all common uses of our API: +The repository contains comprehensive sample code for all common uses of the Authorize.Net API: -Additionally, you can find details and examples of how our API is structured in our API Reference Guide: +The API Reference contains details and examples of the structure and formatting of the Authorize.Net API. * [Developer Center API Reference](http://developer.authorize.net/api/reference/index.html) -The API Reference Guide provides examples of what information is needed for a particular request and how that information would be formatted. Using those examples, you can easily determine what methods would be necessary to include that information in a request using this SDK. +Use the examples in the API Reference to determine which methods and information to include in an API request using this SDK. ## Create a Chase Pay Transaction Use this method to authorize and capture a payment using a tokenized credit card number issued by Chase Pay. Chase Pay transactions are only available to merchants using the Paymentech processor. The following information is required in the request: -- The **payment token**, -- The **expiration date**, -- The **cryptogram** received from the token provider, -- The **tokenRequestorName**, -- The **tokenRequestorId**, and -- The **tokenRequestorEci**. +- **payment token** +- **expiration date** +- **cryptogram** received from the token provider +- **tokenRequestorName** +- **tokenRequestorId** +- **tokenRequestorEci** When using the SDK to submit Chase Pay transactions, consider the following points: - `tokenRequesterName` must be populated with **`”CHASE_PAY”`** From cf708565d72afb908e6325a24aac8f7d7a49e724 Mon Sep 17 00:00:00 2001 From: Gabriel Broadwin Nongsiej Date: Wed, 10 Mar 2021 16:25:55 +0530 Subject: [PATCH 38/58] Changes for March 2021 --- lib/apicontracts.js | 83 +- mappings/Schema.js | 4945 +++++++++++++------------- package.json | 6 +- scripts/generateObjectsFromSchema.sh | 15 +- 4 files changed, 2584 insertions(+), 2465 deletions(-) diff --git a/lib/apicontracts.js b/lib/apicontracts.js index 453d6f3..c07f265 100644 --- a/lib/apicontracts.js +++ b/lib/apicontracts.js @@ -9,11 +9,8 @@ class ANetApiRequest { logger.debug('Enter ANetApiRequest constructor'); if(arguments.length == 1) { if(('merchantAuthentication' in obj) && (obj.merchantAuthentication != null)) { this.setMerchantAuthentication(new MerchantAuthenticationType(obj.merchantAuthentication)); } - else { this.setMerchantAuthentication(null); } if(('clientId' in obj) && (obj.clientId != null)) { this.setClientId(obj.clientId); } - else { this.setClientId(null); } if(('refId' in obj) && (obj.refId != null)) { this.setRefId(obj.refId); } - else { this.setRefId(null); } } else { this.setMerchantAuthentication(null); @@ -797,6 +794,24 @@ class AuResponseType { module.exports.AuResponseType = AuResponseType; +class AuthorizationIndicatorType { + constructor(obj) { + logger.debug('Enter AuthorizationIndicatorType constructor'); + if(arguments.length == 1) { + if(('authorizationIndicator' in obj) && (obj.authorizationIndicator != null)) { this.setAuthorizationIndicator(obj.authorizationIndicator); } + } + else { + this.setAuthorizationIndicator(null); + } + logger.debug('Exit AuthorizationIndicatorType constructor'); + } + + setAuthorizationIndicator(p_authorizationIndicator) { this.authorizationIndicator = p_authorizationIndicator; } + getAuthorizationIndicator() { if('authorizationIndicator' in this) {return this.authorizationIndicator;} } +} + +module.exports.AuthorizationIndicatorType = AuthorizationIndicatorType; + class BankAccountMaskedType { constructor(obj) { logger.debug('Enter BankAccountMaskedType constructor'); @@ -1280,6 +1295,8 @@ class CustomerPaymentProfileListItemType { if(('customerProfileId' in obj) && (obj.customerProfileId != null)) { this.setCustomerProfileId(obj.customerProfileId); } if(('billTo' in obj) && (obj.billTo != null)) { this.setBillTo(new CustomerAddressType(obj.billTo)); } if(('payment' in obj) && (obj.payment != null)) { this.setPayment(new PaymentMaskedType(obj.payment)); } + if(('originalNetworkTransId' in obj) && (obj.originalNetworkTransId != null)) { this.setOriginalNetworkTransId(obj.originalNetworkTransId); } + if(('originalAuthAmount' in obj) && (obj.originalAuthAmount != null)) { this.setOriginalAuthAmount(obj.originalAuthAmount); } } else { this.setDefaultPaymentProfile(null); @@ -1287,6 +1304,8 @@ class CustomerPaymentProfileListItemType { this.setCustomerProfileId(null); this.setBillTo(null); this.setPayment(null); + this.setOriginalNetworkTransId(null); + this.setOriginalAuthAmount(null); } logger.debug('Exit CustomerPaymentProfileListItemType constructor'); } @@ -1301,6 +1320,10 @@ class CustomerPaymentProfileListItemType { getBillTo() { if('billTo' in this) {return this.billTo;} } setPayment(p_payment) { this.payment = p_payment; } getPayment() { if('payment' in this) {return this.payment;} } + setOriginalNetworkTransId(p_originalNetworkTransId) { this.originalNetworkTransId = p_originalNetworkTransId; } + getOriginalNetworkTransId() { if('originalNetworkTransId' in this) {return this.originalNetworkTransId;} } + setOriginalAuthAmount(p_originalAuthAmount) { this.originalAuthAmount = p_originalAuthAmount; } + getOriginalAuthAmount() { if('originalAuthAmount' in this) {return this.originalAuthAmount;} } } module.exports.CustomerPaymentProfileListItemType = CustomerPaymentProfileListItemType; @@ -3114,10 +3137,12 @@ class SubsequentAuthInformation { logger.debug('Enter SubsequentAuthInformation constructor'); if(arguments.length == 1) { if(('originalNetworkTransId' in obj) && (obj.originalNetworkTransId != null)) { this.setOriginalNetworkTransId(obj.originalNetworkTransId); } + if(('originalAuthAmount' in obj) && (obj.originalAuthAmount != null)) { this.setOriginalAuthAmount(obj.originalAuthAmount); } if(('reason' in obj) && (obj.reason != null)) { this.setReason(obj.reason); } } else { this.setOriginalNetworkTransId(null); + this.setOriginalAuthAmount(null); this.setReason(null); } logger.debug('Exit SubsequentAuthInformation constructor'); @@ -3125,6 +3150,8 @@ class SubsequentAuthInformation { setOriginalNetworkTransId(p_originalNetworkTransId) { this.originalNetworkTransId = p_originalNetworkTransId; } getOriginalNetworkTransId() { if('originalNetworkTransId' in this) {return this.originalNetworkTransId;} } + setOriginalAuthAmount(p_originalAuthAmount) { this.originalAuthAmount = p_originalAuthAmount; } + getOriginalAuthAmount() { if('originalAuthAmount' in this) {return this.originalAuthAmount;} } setReason(p_reason) { this.reason = p_reason; } getReason() { if('reason' in this) {return this.reason;} } } @@ -3243,6 +3270,10 @@ class TransactionDetailsType { if(('tip' in obj) && (obj.tip != null)) { this.setTip(new ExtendedAmountType(obj.tip)); } if(('otherTax' in obj) && (obj.otherTax != null)) { this.setOtherTax(new OtherTaxType(obj.otherTax)); } if(('shipFrom' in obj) && (obj.shipFrom != null)) { this.setShipFrom(new NameAndAddressType(obj.shipFrom)); } + if(('networkTransId' in obj) && (obj.networkTransId != null)) { this.setNetworkTransId(obj.networkTransId); } + if(('originalNetworkTransId' in obj) && (obj.originalNetworkTransId != null)) { this.setOriginalNetworkTransId(obj.originalNetworkTransId); } + if(('originalAuthAmount' in obj) && (obj.originalAuthAmount != null)) { this.setOriginalAuthAmount(obj.originalAuthAmount); } + if(('authorizationIndicator' in obj) && (obj.authorizationIndicator != null)) { this.setAuthorizationIndicator(obj.authorizationIndicator); } } else { this.setTransId(null); @@ -3293,6 +3324,10 @@ class TransactionDetailsType { this.setTip(null); this.setOtherTax(null); this.setShipFrom(null); + this.setNetworkTransId(null); + this.setOriginalNetworkTransId(null); + this.setOriginalAuthAmount(null); + this.setAuthorizationIndicator(null); } logger.debug('Exit TransactionDetailsType constructor'); } @@ -3393,6 +3428,14 @@ class TransactionDetailsType { getOtherTax() { if('otherTax' in this) {return this.otherTax;} } setShipFrom(p_shipFrom) { this.shipFrom = p_shipFrom; } getShipFrom() { if('shipFrom' in this) {return this.shipFrom;} } + setNetworkTransId(p_networkTransId) { this.networkTransId = p_networkTransId; } + getNetworkTransId() { if('networkTransId' in this) {return this.networkTransId;} } + setOriginalNetworkTransId(p_originalNetworkTransId) { this.originalNetworkTransId = p_originalNetworkTransId; } + getOriginalNetworkTransId() { if('originalNetworkTransId' in this) {return this.originalNetworkTransId;} } + setOriginalAuthAmount(p_originalAuthAmount) { this.originalAuthAmount = p_originalAuthAmount; } + getOriginalAuthAmount() { if('originalAuthAmount' in this) {return this.originalAuthAmount;} } + setAuthorizationIndicator(p_authorizationIndicator) { this.authorizationIndicator = p_authorizationIndicator; } + getAuthorizationIndicator() { if('authorizationIndicator' in this) {return this.authorizationIndicator;} } } module.exports.TransactionDetailsType = TransactionDetailsType; @@ -3458,6 +3501,7 @@ class TransactionRequestType { if(('subsequentAuthInformation' in obj) && (obj.subsequentAuthInformation != null)) { this.setSubsequentAuthInformation(new SubsequentAuthInformation(obj.subsequentAuthInformation)); } if(('otherTax' in obj) && (obj.otherTax != null)) { this.setOtherTax(new OtherTaxType(obj.otherTax)); } if(('shipFrom' in obj) && (obj.shipFrom != null)) { this.setShipFrom(new NameAndAddressType(obj.shipFrom)); } + if(('authorizationIndicatorType' in obj) && (obj.authorizationIndicatorType != null)) { this.setAuthorizationIndicatorType(new AuthorizationIndicatorType(obj.authorizationIndicatorType)); } } else { this.setTransactionType(null); @@ -3495,6 +3539,7 @@ class TransactionRequestType { this.setSubsequentAuthInformation(null); this.setOtherTax(null); this.setShipFrom(null); + this.setAuthorizationIndicatorType(null); } logger.debug('Exit TransactionRequestType constructor'); } @@ -3569,6 +3614,8 @@ class TransactionRequestType { getOtherTax() { if('otherTax' in this) {return this.otherTax;} } setShipFrom(p_shipFrom) { this.shipFrom = p_shipFrom; } getShipFrom() { if('shipFrom' in this) {return this.shipFrom;} } + setAuthorizationIndicatorType(p_authorizationIndicatorType) { this.authorizationIndicatorType = p_authorizationIndicatorType; } + getAuthorizationIndicatorType() { if('authorizationIndicatorType' in this) {return this.authorizationIndicatorType;} } } module.exports.TransactionRequestType = TransactionRequestType; @@ -5216,6 +5263,8 @@ class CustomerPaymentProfileMaskedType extends CustomerPaymentProfileBaseType { if(('driversLicense' in obj) && (obj.driversLicense != null)) { this.setDriversLicense(new DriversLicenseMaskedType(obj.driversLicense)); } if(('taxId' in obj) && (obj.taxId != null)) { this.setTaxId(obj.taxId); } if(('subscriptionIds' in obj) && (obj.subscriptionIds != null)) { this.setSubscriptionIds(new SubscriptionIdList(obj.subscriptionIds)); } + if(('originalNetworkTransId' in obj) && (obj.originalNetworkTransId != null)) { this.setOriginalNetworkTransId(obj.originalNetworkTransId); } + if(('originalAuthAmount' in obj) && (obj.originalAuthAmount != null)) { this.setOriginalAuthAmount(obj.originalAuthAmount); } } else { super(); @@ -5226,6 +5275,8 @@ class CustomerPaymentProfileMaskedType extends CustomerPaymentProfileBaseType { this.setDriversLicense(null); this.setTaxId(null); this.setSubscriptionIds(null); + this.setOriginalNetworkTransId(null); + this.setOriginalAuthAmount(null); } logger.debug('Exit CustomerPaymentProfileMaskedType constructor'); } @@ -5244,6 +5295,10 @@ class CustomerPaymentProfileMaskedType extends CustomerPaymentProfileBaseType { getTaxId() { if('taxId' in this) {return this.taxId;} } setSubscriptionIds(p_subscriptionIds) { this.subscriptionIds = p_subscriptionIds; } getSubscriptionIds() { if('subscriptionIds' in this) {return this.subscriptionIds;} } + setOriginalNetworkTransId(p_originalNetworkTransId) { this.originalNetworkTransId = p_originalNetworkTransId; } + getOriginalNetworkTransId() { if('originalNetworkTransId' in this) {return this.originalNetworkTransId;} } + setOriginalAuthAmount(p_originalAuthAmount) { this.originalAuthAmount = p_originalAuthAmount; } + getOriginalAuthAmount() { if('originalAuthAmount' in this) {return this.originalAuthAmount;} } } module.exports.CustomerPaymentProfileMaskedType = CustomerPaymentProfileMaskedType; @@ -5257,6 +5312,7 @@ class CustomerPaymentProfileType extends CustomerPaymentProfileBaseType { if(('driversLicense' in obj) && (obj.driversLicense != null)) { this.setDriversLicense(new DriversLicenseType(obj.driversLicense)); } if(('taxId' in obj) && (obj.taxId != null)) { this.setTaxId(obj.taxId); } if(('defaultPaymentProfile' in obj) && (obj.defaultPaymentProfile != null)) { this.setDefaultPaymentProfile(obj.defaultPaymentProfile); } + if(('subsequentAuthInformation' in obj) && (obj.subsequentAuthInformation != null)) { this.setSubsequentAuthInformation(new SubsequentAuthInformation(obj.subsequentAuthInformation)); } } else { super(); @@ -5264,6 +5320,7 @@ class CustomerPaymentProfileType extends CustomerPaymentProfileBaseType { this.setDriversLicense(null); this.setTaxId(null); this.setDefaultPaymentProfile(null); + this.setSubsequentAuthInformation(null); } logger.debug('Exit CustomerPaymentProfileType constructor'); } @@ -5276,6 +5333,8 @@ class CustomerPaymentProfileType extends CustomerPaymentProfileBaseType { getTaxId() { if('taxId' in this) {return this.taxId;} } setDefaultPaymentProfile(p_defaultPaymentProfile) { this.defaultPaymentProfile = p_defaultPaymentProfile; } getDefaultPaymentProfile() { if('defaultPaymentProfile' in this) {return this.defaultPaymentProfile;} } + setSubsequentAuthInformation(p_subsequentAuthInformation) { this.subsequentAuthInformation = p_subsequentAuthInformation; } + getSubsequentAuthInformation() { if('subsequentAuthInformation' in this) {return this.subsequentAuthInformation;} } } module.exports.CustomerPaymentProfileType = CustomerPaymentProfileType; @@ -6821,6 +6880,7 @@ class ProfileTransOrderType extends ProfileTransAmountType { if(('splitTenderId' in obj) && (obj.splitTenderId != null)) { this.setSplitTenderId(obj.splitTenderId); } if(('processingOptions' in obj) && (obj.processingOptions != null)) { this.setProcessingOptions(new ProcessingOptions(obj.processingOptions)); } if(('subsequentAuthInformation' in obj) && (obj.subsequentAuthInformation != null)) { this.setSubsequentAuthInformation(new SubsequentAuthInformation(obj.subsequentAuthInformation)); } + if(('authorizationIndicatorType' in obj) && (obj.authorizationIndicatorType != null)) { this.setAuthorizationIndicatorType(new AuthorizationIndicatorType(obj.authorizationIndicatorType)); } } else { super(); @@ -6834,6 +6894,7 @@ class ProfileTransOrderType extends ProfileTransAmountType { this.setSplitTenderId(null); this.setProcessingOptions(null); this.setSubsequentAuthInformation(null); + this.setAuthorizationIndicatorType(null); } logger.debug('Exit ProfileTransOrderType constructor'); } @@ -6858,6 +6919,8 @@ class ProfileTransOrderType extends ProfileTransAmountType { getProcessingOptions() { if('processingOptions' in this) {return this.processingOptions;} } setSubsequentAuthInformation(p_subsequentAuthInformation) { this.subsequentAuthInformation = p_subsequentAuthInformation; } getSubsequentAuthInformation() { if('subsequentAuthInformation' in this) {return this.subsequentAuthInformation;} } + setAuthorizationIndicatorType(p_authorizationIndicatorType) { this.authorizationIndicatorType = p_authorizationIndicatorType; } + getAuthorizationIndicatorType() { if('authorizationIndicatorType' in this) {return this.authorizationIndicatorType;} } } module.exports.ProfileTransOrderType = ProfileTransOrderType; @@ -7126,7 +7189,7 @@ class UpdateCustomerProfileRequest extends ANetApiRequest { logger.debug('Enter UpdateCustomerProfileRequest constructor'); if(arguments.length == 1) { super(obj); - if(('profile' in obj) && (obj.profile != null)) { this.setProfile(new CustomerProfileInfoExType(obj.profile)); } + if(('profile' in obj) && (obj.profile != null)) { this.setProfile(new CustomerProfileExType(obj.profile)); } } else { super(); @@ -7639,6 +7702,12 @@ const AfdsTransactionEnum = { }; module.exports.AfdsTransactionEnum = AfdsTransactionEnum; +const AuthIndicatorEnum = { + PRE : 'pre', + FINAL : 'final' +}; +module.exports.AuthIndicatorEnum = AuthIndicatorEnum; + const BankAccountTypeEnum = { CHECKING : 'checking', SAVINGS : 'savings', @@ -7754,7 +7823,8 @@ const PaymentMethodsTypeEnum = { PAYPAL : 'Paypal', VISACHECKOUT : 'VisaCheckout', APPLEPAY : 'ApplePay', - ANDROIDPAY : 'AndroidPay' + ANDROIDPAY : 'AndroidPay', + GOOGLEPAY : 'GooglePay' }; module.exports.PaymentMethodsTypeEnum = PaymentMethodsTypeEnum; @@ -7798,7 +7868,8 @@ const SettingNameEnum = { HOSTEDPAYMENTSTYLEOPTIONS : 'hostedPaymentStyleOptions', TYPEEMAILRECEIPT : 'typeEmailReceipt', HOSTEDPROFILEPAYMENTOPTIONS : 'hostedProfilePaymentOptions', - HOSTEDPROFILESAVEBUTTONTEXT : 'hostedProfileSaveButtonText' + HOSTEDPROFILESAVEBUTTONTEXT : 'hostedProfileSaveButtonText', + HOSTEDPAYMENTVISACHECKOUTOPTIONS : 'hostedPaymentVisaCheckoutOptions' }; module.exports.SettingNameEnum = SettingNameEnum; diff --git a/mappings/Schema.js b/mappings/Schema.js index e626c5e..302d966 100644 --- a/mappings/Schema.js +++ b/mappings/Schema.js @@ -3,671 +3,562 @@ var Schema_Module_Factory = function () { name: 'Schema', defaultElementNamespaceURI: 'AnetApi\/xml\/v1\/schema\/AnetApiSchema.xsd', typeInfos: [{ - localName: 'KeyBlock', - propertyInfos: [{ - name: 'value', - required: true, - elementName: 'Value', - typeInfo: '.KeyValue' - }] - }, { - localName: 'EmailSettingsType', - typeName: 'emailSettingsType', - baseTypeInfo: '.ArrayOfSetting', + localName: 'ARBUpdateSubscriptionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'version', - typeInfo: 'Integer', - attributeName: { - localPart: 'version' - }, - type: 'attribute' + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'CreditCardMaskedType', - typeName: 'creditCardMaskedType', + localName: 'ProfileTransOrderType', + typeName: 'profileTransOrderType', + baseTypeInfo: '.ProfileTransAmountType', propertyInfos: [{ - name: 'cardNumber', + name: 'customerProfileId', required: true }, { - name: 'expirationDate', + name: 'customerPaymentProfileId', required: true }, { - name: 'cardType' + name: 'customerShippingAddressId' }, { - name: 'cardArt', - typeInfo: '.CardArt' + name: 'order', + typeInfo: '.OrderExType' }, { - name: 'issuerNumber' + name: 'taxExempt', + typeInfo: 'Boolean' }, { - name: 'isPaymentToken', + name: 'recurringBilling', typeInfo: 'Boolean' - }] - }, { - localName: 'GetSettledBatchListResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'batchList', - typeInfo: '.ArrayOfBatchDetailsType' - }] - }, { - localName: 'ArbTransaction', - typeName: 'arbTransaction', - propertyInfos: [{ - name: 'transId' }, { - name: 'response' + name: 'cardCode' }, { - name: 'submitTimeUTC', - typeInfo: 'DateTime' + name: 'splitTenderId' }, { - name: 'payNum', - typeInfo: 'Int' + name: 'processingOptions', + typeInfo: '.ProcessingOptions' }, { - name: 'attemptNum', - typeInfo: 'Int' - }] - }, { - localName: 'CcAuthenticationType', - typeName: 'ccAuthenticationType', - propertyInfos: [{ - name: 'authenticationIndicator', - required: true + name: 'subsequentAuthInformation', + typeInfo: '.SubsequentAuthInformation' }, { - name: 'cardholderAuthenticationValue', - required: true - }] - }, { - localName: 'SubscriptionIdList', - propertyInfos: [{ - name: 'subscriptionId', - minOccurs: 0, - collection: true + name: 'authorizationIndicatorType', + typeInfo: '.AuthorizationIndicatorType' }] }, { - localName: 'CreateCustomerProfileFromTransactionRequest', + localName: 'GetUnsettledTransactionListRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'transId', - required: true - }, { - name: 'customer', - typeInfo: '.CustomerProfileBaseType' - }, { - name: 'customerProfileId' - }, { - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' + name: 'status' }, { - name: 'defaultShippingAddress', - typeInfo: 'Boolean' + name: 'sorting', + typeInfo: '.TransactionListSorting' }, { - name: 'profileType' + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'MobileDeviceType', - typeName: 'mobileDeviceType', + localName: 'KeyValue', propertyInfos: [{ - name: 'mobileDeviceId', - required: true - }, { - name: 'description' - }, { - name: 'phoneNumber' + name: 'encoding', + required: true, + elementName: 'Encoding' }, { - name: 'devicePlatform' + name: 'encryptionAlgorithm', + required: true, + elementName: 'EncryptionAlgorithm' }, { - name: 'deviceActivation' + name: 'scheme', + required: true, + elementName: 'Scheme', + typeInfo: '.KeyManagementScheme' }] }, { - localName: 'GetMerchantDetailsRequest', + localName: 'TransactionResponse.SecureAcceptance', typeName: null, - baseTypeInfo: '.ANetApiRequest' + propertyInfos: [{ + name: 'secureAcceptanceUrl', + elementName: 'SecureAcceptanceUrl' + }, { + name: 'payerID', + elementName: 'PayerID' + }, { + name: 'payerEmail', + elementName: 'PayerEmail' + }] }, { - localName: 'GetAUJobSummaryRequest', + localName: 'CreateTransactionRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'month', - required: true + name: 'transactionRequest', + required: true, + typeInfo: '.TransactionRequestType' }] }, { - localName: 'PermissionType', - typeName: 'permissionType', + localName: 'ArrayOfNumericString', propertyInfos: [{ - name: 'permissionName' + name: 'numericString', + minOccurs: 0, + collection: true }] }, { - localName: 'SubscriptionDetail', + localName: 'BankAccountMaskedType', + typeName: 'bankAccountMaskedType', propertyInfos: [{ - name: 'id', - required: true, - typeInfo: 'Int' - }, { - name: 'name' + name: 'accountType' }, { - name: 'status', + name: 'routingNumber', required: true }, { - name: 'createTimeStampUTC', - required: true, - typeInfo: 'DateTime' - }, { - name: 'firstName' - }, { - name: 'lastName' - }, { - name: 'totalOccurrences', - required: true, - typeInfo: 'Int' - }, { - name: 'pastOccurrences', - required: true, - typeInfo: 'Int' - }, { - name: 'paymentMethod', + name: 'accountNumber', required: true }, { - name: 'accountNumber' - }, { - name: 'invoice' - }, { - name: 'amount', - required: true, - typeInfo: 'Decimal' + name: 'nameOnAccount', + required: true }, { - name: 'currencyCode' + name: 'echeckType' }, { - name: 'customerProfileId', + name: 'bankName' + }] + }, { + localName: 'MobileDeviceLoginResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'merchantContact', required: true, - typeInfo: 'Int' + typeInfo: '.MerchantContactType' }, { - name: 'customerPaymentProfileId', + name: 'userPermissions', required: true, - typeInfo: 'Int' + typeInfo: '.ArrayOfPermissionType' }, { - name: 'customerShippingProfileId', - typeInfo: 'Int' + name: 'merchantAccount', + typeInfo: '.TransRetailInfoType' }] }, { - localName: 'PaymentProfile', - typeName: 'paymentProfile', + localName: 'GetTransactionListRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'paymentProfileId', - required: true + name: 'batchId' }, { - name: 'cardCode' + name: 'sorting', + typeInfo: '.TransactionListSorting' + }, { + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'UpdateSplitTenderGroupResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'DecryptPaymentDataResponse', + localName: 'ARBGetSubscriptionStatusResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'shippingInfo', - typeInfo: '.CustomerAddressType' - }, { - name: 'billingInfo', - typeInfo: '.CustomerAddressType' - }, { - name: 'cardInfo', - typeInfo: '.CreditCardMaskedType' - }, { - name: 'paymentDetails', - typeInfo: '.PaymentDetails' + name: 'status' }] }, { - localName: 'UpdateCustomerShippingAddressRequest', + localName: 'GetSettledBatchListRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'includeStatistics', + typeInfo: 'Boolean' }, { - name: 'address', - required: true, - typeInfo: '.CustomerAddressExType' + name: 'firstSettlementDate', + typeInfo: 'DateTime' }, { - name: 'defaultShippingAddress', - typeInfo: 'Boolean' + name: 'lastSettlementDate', + typeInfo: 'DateTime' }] }, { - localName: 'ArrayOfMarketType', + localName: 'KeyManagementScheme.DUKPT.EncryptedData', + typeName: null, propertyInfos: [{ - name: 'marketType', - minOccurs: 0, - collection: true + name: 'value', + required: true, + elementName: 'Value' }] }, { - localName: 'ArrayOfLong', + localName: 'ARBTransactionList', propertyInfos: [{ - name: '_long', + name: 'arbTransaction', minOccurs: 0, collection: true, - elementName: 'long', - typeInfo: 'Long' + typeInfo: '.ArbTransaction' }] }, { - localName: 'ARBUpdateSubscriptionResponse', + localName: 'GetSettledBatchListResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: 'batchList', + typeInfo: '.ArrayOfBatchDetailsType' }] }, { - localName: 'ArrayOfSetting', + localName: 'ArrayOfProductCode', propertyInfos: [{ - name: 'setting', + name: 'productCode', minOccurs: 0, - collection: true, - typeInfo: '.SettingType' + collection: true }] }, { - localName: 'BankAccountType', - typeName: 'bankAccountType', + localName: 'ARBGetSubscriptionListSorting', propertyInfos: [{ - name: 'accountType' - }, { - name: 'routingNumber', + name: 'orderBy', required: true }, { - name: 'accountNumber', + name: 'orderDescending', + required: true, + typeInfo: 'Boolean' + }] + }, { + localName: 'CcAuthenticationType', + typeName: 'ccAuthenticationType', + propertyInfos: [{ + name: 'authenticationIndicator', required: true }, { - name: 'nameOnAccount', + name: 'cardholderAuthenticationValue', required: true - }, { - name: 'echeckType' - }, { - name: 'bankName' - }, { - name: 'checkNumber' }] }, { - localName: 'DeleteCustomerPaymentProfileResponse', + localName: 'DeleteCustomerProfileResponse', typeName: null, baseTypeInfo: '.ANetApiResponse' }, { - localName: 'CreateCustomerProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'TransactionResponse', + typeName: 'transactionResponse', propertyInfos: [{ - name: 'customerProfileId' + name: 'responseCode' }, { - name: 'customerPaymentProfileIdList', - required: true, - typeInfo: '.ArrayOfNumericString' + name: 'rawResponseCode' }, { - name: 'customerShippingAddressIdList', - required: true, - typeInfo: '.ArrayOfNumericString' + name: 'authCode' }, { - name: 'validationDirectResponseList', - required: true, - typeInfo: '.ArrayOfString' - }] - }, { - localName: 'GetCustomerShippingAddressResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'defaultShippingAddress', - typeInfo: 'Boolean' + name: 'avsResultCode' }, { - name: 'address', - typeInfo: '.CustomerAddressExType' + name: 'cvvResultCode' }, { - name: 'subscriptionIds', - typeInfo: '.SubscriptionIdList' - }] - }, { - localName: 'DriversLicenseMaskedType', - typeName: 'driversLicenseMaskedType', - propertyInfos: [{ - name: 'number', - required: true + name: 'cavvResultCode' }, { - name: 'state', - required: true + name: 'transId' + }, { + name: 'refTransID' + }, { + name: 'transHash' + }, { + name: 'testRequest' + }, { + name: 'accountNumber' + }, { + name: 'entryMode' + }, { + name: 'accountType' + }, { + name: 'splitTenderId' + }, { + name: 'prePaidCard', + typeInfo: '.TransactionResponse.PrePaidCard' }, { - name: 'dateOfBirth', - required: true - }] - }, { - localName: 'CreateProfileResponse', - typeName: 'createProfileResponse', - propertyInfos: [{ name: 'messages', - required: true, - typeInfo: '.MessagesType' + typeInfo: '.TransactionResponse.Messages' }, { - name: 'customerProfileId' + name: 'errors', + typeInfo: '.TransactionResponse.Errors' }, { - name: 'customerPaymentProfileIdList', - typeInfo: '.ArrayOfNumericString' + name: 'splitTenderPayments', + typeInfo: '.TransactionResponse.SplitTenderPayments' }, { - name: 'customerShippingAddressIdList', - typeInfo: '.ArrayOfNumericString' - }] - }, { - localName: 'CardArt', - typeName: 'cardArt', - propertyInfos: [{ - name: 'cardBrand' + name: 'userFields', + typeInfo: '.TransactionResponse.UserFields' }, { - name: 'cardImageHeight' + name: 'shipTo', + typeInfo: '.NameAndAddressType' }, { - name: 'cardImageUrl' + name: 'secureAcceptance', + typeInfo: '.TransactionResponse.SecureAcceptance' }, { - name: 'cardImageWidth' + name: 'emvResponse', + typeInfo: '.TransactionResponse.EmvResponse' }, { - name: 'cardType' - }] - }, { - localName: 'SendCustomerTransactionReceiptRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'transId', - required: true + name: 'transHashSha2' }, { - name: 'customerEmail', - required: true + name: 'profile', + typeInfo: '.CustomerProfileIdType' }, { - name: 'emailSettings', - typeInfo: '.EmailSettingsType' - }] - }, { - localName: 'ArrayOfContactDetail', - propertyInfos: [{ - name: 'contactDetail', - minOccurs: 0, - collection: true, - typeInfo: '.ContactDetailType' + name: 'networkTransId' }] }, { - localName: 'TransactionDetailsType.EmvDetails', - typeName: null, + localName: 'SubscriptionDetail', propertyInfos: [{ - name: 'tag', + name: 'id', required: true, - collection: true, - typeInfo: '.TransactionDetailsType.EmvDetails.Tag' - }] - }, { - localName: 'UpdateMerchantDetailsResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'UpdateSplitTenderGroupRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'splitTenderId', - required: true - }, { - name: 'splitTenderStatus', - required: true - }] - }, { - localName: 'TransactionDetailsType', - typeName: 'transactionDetailsType', - propertyInfos: [{ - name: 'transId', - required: true - }, { - name: 'refTransId' + typeInfo: 'Int' }, { - name: 'splitTenderId' + name: 'name' }, { - name: 'submitTimeUTC', - required: true, - typeInfo: 'DateTime' + name: 'status', + required: true }, { - name: 'submitTimeLocal', + name: 'createTimeStampUTC', required: true, typeInfo: 'DateTime' }, { - name: 'transactionType', - required: true + name: 'firstName' }, { - name: 'transactionStatus', - required: true + name: 'lastName' }, { - name: 'responseCode', + name: 'totalOccurrences', required: true, typeInfo: 'Int' }, { - name: 'responseReasonCode', + name: 'pastOccurrences', required: true, typeInfo: 'Int' }, { - name: 'subscription', - typeInfo: '.SubscriptionPaymentType' - }, { - name: 'responseReasonDescription', + name: 'paymentMethod', required: true }, { - name: 'authCode' + name: 'accountNumber' }, { - name: 'avsResponse', - elementName: 'AVSResponse' + name: 'invoice' }, { - name: 'cardCodeResponse' + name: 'amount', + required: true, + typeInfo: 'Decimal' }, { - name: 'cavvResponse', - elementName: 'CAVVResponse' + name: 'currencyCode' }, { - name: 'fdsFilterAction', - elementName: 'FDSFilterAction' + name: 'customerProfileId', + required: true, + typeInfo: 'Int' }, { - name: 'fdsFilters', - elementName: 'FDSFilters', - typeInfo: '.ArrayOfFDSFilter' - }, { - name: 'batch', - typeInfo: '.BatchDetailsType' - }, { - name: 'order', - typeInfo: '.OrderExType' - }, { - name: 'requestedAmount', - typeInfo: 'Decimal' - }, { - name: 'authAmount', - required: true, - typeInfo: 'Decimal' - }, { - name: 'settleAmount', + name: 'customerPaymentProfileId', required: true, - typeInfo: 'Decimal' + typeInfo: 'Int' }, { - name: 'tax', - typeInfo: '.ExtendedAmountType' + name: 'customerShippingProfileId', + typeInfo: 'Int' + }] + }, { + localName: 'TransactionResponse.EmvResponse', + typeName: null, + propertyInfos: [{ + name: 'tlvData' }, { - name: 'shipping', - typeInfo: '.ExtendedAmountType' + name: 'tags', + typeInfo: '.TransactionResponse.EmvResponse.Tags' + }] + }, { + localName: 'MobileDeviceRegistrationResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'TokenMaskedType', + typeName: 'tokenMaskedType', + propertyInfos: [{ + name: 'tokenSource' }, { - name: 'duty', - typeInfo: '.ExtendedAmountType' + name: 'tokenNumber', + required: true }, { - name: 'lineItems', - typeInfo: '.ArrayOfLineItem' + name: 'expirationDate', + required: true }, { - name: 'prepaidBalanceRemaining', - typeInfo: 'Decimal' + name: 'tokenRequestorId' + }] + }, { + localName: 'GetCustomerPaymentProfileListRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'searchType', + required: true }, { - name: 'taxExempt', - typeInfo: 'Boolean' + name: 'month', + required: true }, { - name: 'payment', - required: true, - typeInfo: '.PaymentMaskedType' + name: 'sorting', + typeInfo: '.CustomerPaymentProfileSorting' }, { - name: 'customer', - typeInfo: '.CustomerDataType' + name: 'paging', + typeInfo: '.Paging' + }] + }, { + localName: 'OrderType', + typeName: 'orderType', + propertyInfos: [{ + name: 'invoiceNumber' }, { - name: 'billTo', - typeInfo: '.CustomerAddressType' + name: 'description' }, { - name: 'shipTo', - typeInfo: '.NameAndAddressType' + name: 'discountAmount', + typeInfo: 'Decimal' }, { - name: 'recurringBilling', + name: 'taxIsAfterDiscount', typeInfo: 'Boolean' }, { - name: 'customerIP' - }, { - name: 'product' + name: 'totalTaxTypeCode' }, { - name: 'entryMode' + name: 'purchaserVATRegistrationNumber' }, { - name: 'marketType' + name: 'merchantVATRegistrationNumber' }, { - name: 'mobileDeviceId' + name: 'vatInvoiceReferenceNumber' }, { - name: 'customerSignature' + name: 'purchaserCode' }, { - name: 'returnedItems', - typeInfo: '.ArrayOfReturnedItem' + name: 'summaryCommodityCode' }, { - name: 'solution', - typeInfo: '.SolutionType' + name: 'purchaseOrderDateUTC', + typeInfo: 'Date' }, { - name: 'emvDetails', - typeInfo: '.TransactionDetailsType.EmvDetails' + name: 'supplierOrderReference' }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: 'authorizedContactName' }, { - name: 'surcharge', - typeInfo: '.ExtendedAmountType' + name: 'cardAcceptorRefNumber' }, { - name: 'employeeId' + name: 'amexDataTAA1' }, { - name: 'tip', - typeInfo: '.ExtendedAmountType' + name: 'amexDataTAA2' }, { - name: 'otherTax', - typeInfo: '.OtherTaxType' + name: 'amexDataTAA3' }, { - name: 'shipFrom', - typeInfo: '.NameAndAddressType' - }] - }, { - localName: 'ARBTransactionList', - propertyInfos: [{ - name: 'arbTransaction', - minOccurs: 0, - collection: true, - typeInfo: '.ArbTransaction' + name: 'amexDataTAA4' }] }, { - localName: 'TokenMaskedType', - typeName: 'tokenMaskedType', + localName: 'ARBGetSubscriptionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'tokenSource' - }, { - name: 'tokenNumber', - required: true - }, { - name: 'expirationDate', + name: 'subscriptionId', required: true }, { - name: 'tokenRequestorId' + name: 'includeTransactions', + typeInfo: 'Boolean' }] }, { - localName: 'UpdateCustomerProfileRequest', + localName: 'DeleteCustomerPaymentProfileResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'ArrayOfProcessorType', propertyInfos: [{ - name: 'profile', - required: true, - typeInfo: '.CustomerProfileInfoExType' + name: 'processor', + minOccurs: 0, + collection: true, + typeInfo: '.ProcessorType' }] }, { - localName: 'MobileDeviceRegistrationRequest', + localName: 'CreateCustomerProfileFromTransactionRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'mobileDevice', - required: true, - typeInfo: '.MobileDeviceType' + name: 'transId', + required: true + }, { + name: 'customer', + typeInfo: '.CustomerProfileBaseType' + }, { + name: 'customerProfileId' + }, { + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' + }, { + name: 'defaultShippingAddress', + typeInfo: 'Boolean' + }, { + name: 'profileType' }] }, { - localName: 'CreateCustomerPaymentProfileResponse', + localName: 'EnumCollection', typeName: null, - baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'customerProfileId' + name: 'customerProfileSummaryType', + required: true, + typeInfo: '.CustomerProfileSummaryType' }, { - name: 'customerPaymentProfileId' + name: 'paymentSimpleType', + required: true, + typeInfo: '.PaymentSimpleType' }, { - name: 'validationDirectResponse' + name: 'accountTypeEnum', + required: true + }, { + name: 'cardTypeEnum', + required: true + }, { + name: 'fdsFilterActionEnum', + required: true, + elementName: 'FDSFilterActionEnum' + }, { + name: 'permissionsEnum', + required: true + }, { + name: 'settingNameEnum', + required: true + }, { + name: 'settlementStateEnum', + required: true + }, { + name: 'transactionStatusEnum', + required: true + }, { + name: 'transactionTypeEnum', + required: true }] }, { - localName: 'GetCustomerProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'CustomerDataType', + typeName: 'customerDataType', propertyInfos: [{ - name: 'customerProfileId' + name: 'type' }, { - name: 'merchantCustomerId' + name: 'id' }, { name: 'email' }, { - name: 'unmaskExpirationDate', - typeInfo: 'Boolean' + name: 'driversLicense', + typeInfo: '.DriversLicenseType' }, { - name: 'includeIssuerInfo', - typeInfo: 'Boolean' + name: 'taxId' }] }, { - localName: 'DeleteCustomerProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' + localName: 'CustomerPaymentProfileExType', + typeName: 'customerPaymentProfileExType', + baseTypeInfo: '.CustomerPaymentProfileType', + propertyInfos: [{ + name: 'customerPaymentProfileId' + }] }, { - localName: 'DeleteCustomerShippingAddressResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' + localName: 'UserField', + typeName: 'userField', + propertyInfos: [{ + name: 'name' + }, { + name: 'value' + }] }, { - localName: 'GetCustomerPaymentProfileResponse', + localName: 'GetUnsettledTransactionListResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'paymentProfile', - typeInfo: '.CustomerPaymentProfileMaskedType' - }] - }, { - localName: 'TransactionRequestType.UserFields', - typeName: null, - propertyInfos: [{ - name: 'userField', - minOccurs: 0, - maxOccurs: 20, - collection: true, - typeInfo: '.UserField' + name: 'transactions', + typeInfo: '.ArrayOfTransactionSummaryType' + }, { + name: 'totalNumInResultSet', + typeInfo: 'Int' }] }, { - localName: 'PaymentMaskedType', - typeName: 'paymentMaskedType', + localName: 'ContactDetailType', propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardMaskedType' + name: 'email' }, { - name: 'bankAccount', - required: true, - typeInfo: '.BankAccountMaskedType' + name: 'firstName' }, { - name: 'tokenInformation', - required: true, - typeInfo: '.TokenMaskedType' + name: 'lastName' }] }, { localName: 'GetCustomerPaymentProfileNonceResponse', @@ -677,612 +568,610 @@ var Schema_Module_Factory = function () { name: 'opaqueData', typeInfo: '.OpaqueDataType' }] - },{ - localName: 'CustomerProfilePaymentType', - typeName: 'customerProfilePaymentType', + }, { + localName: 'ExtendedAmountType', + typeName: 'extendedAmountType', propertyInfos: [{ - name: 'createProfile', - typeInfo: 'Boolean' - }, { - name: 'customerProfileId' + name: 'amount', + required: true, + typeInfo: 'Decimal' }, { - name: 'paymentProfile', - typeInfo: '.PaymentProfile' + name: 'name' }, { - name: 'shippingProfileId' + name: 'description' }] }, { - localName: 'MobileDeviceRegistrationResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'CreateCustomerShippingAddressResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'CustomerProfileBaseType', + typeName: 'customerProfileBaseType', propertyInfos: [{ - name: 'customerProfileId' + name: 'merchantCustomerId' }, { - name: 'customerAddressId' + name: 'description' + }, { + name: 'email' }] }, { - localName: 'ProcessorType', - typeName: 'processorType', + localName: 'NameAndAddressType', + typeName: 'nameAndAddressType', propertyInfos: [{ - name: 'name', - required: true + name: 'firstName' }, { - name: 'id', - required: true, - typeInfo: 'Int' + name: 'lastName' }, { - name: 'cardTypes', - typeInfo: '.ArrayOfCardType' + name: 'company' + }, { + name: 'address' + }, { + name: 'city' + }, { + name: 'state' + }, { + name: 'zip' + }, { + name: 'country' }] }, { - localName: 'GetCustomerShippingAddressRequest', + localName: 'CreateCustomerProfileRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'profile', + required: true, + typeInfo: '.CustomerProfileType' }, { - name: 'customerAddressId' + name: 'validationMode' }] }, { - localName: 'AuthenticateTestRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' + localName: 'ProfileTransCaptureOnlyType', + typeName: 'profileTransCaptureOnlyType', + baseTypeInfo: '.ProfileTransOrderType', + propertyInfos: [{ + name: 'approvalCode', + required: true + }] }, { - localName: 'AuthenticateTestResponse', + localName: 'LogoutResponse', typeName: null, baseTypeInfo: '.ANetApiResponse' }, { - localName: 'AuUpdateType', - typeName: 'auUpdateType', - baseTypeInfo: '.AuDetailsType', + localName: 'CreateCustomerProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'newCreditCard', - required: true, - typeInfo: '.CreditCardMaskedType' + name: 'customerProfileId' }, { - name: 'oldCreditCard', + name: 'customerPaymentProfileIdList', required: true, - typeInfo: '.CreditCardMaskedType' - }] - }, { - localName: 'CustomerProfileType', - typeName: 'customerProfileType', - baseTypeInfo: '.CustomerProfileBaseType', - propertyInfos: [{ - name: 'paymentProfiles', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerPaymentProfileType' + typeInfo: '.ArrayOfNumericString' }, { - name: 'shipToList', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerAddressType' + name: 'customerShippingAddressIdList', + required: true, + typeInfo: '.ArrayOfNumericString' }, { - name: 'profileType' + name: 'validationDirectResponseList', + required: true, + typeInfo: '.ArrayOfString' }] }, { - localName: 'OpaqueDataType', - typeName: 'opaqueDataType', + localName: 'ARBGetSubscriptionListRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'dataDescriptor', - required: true - }, { - name: 'dataValue', + name: 'searchType', required: true }, { - name: 'dataKey' + name: 'sorting', + typeInfo: '.ARBGetSubscriptionListSorting' }, { - name: 'expirationTimeStamp', - typeInfo: 'DateTime' + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'ProfileTransAuthOnlyType', - typeName: 'profileTransAuthOnlyType', - baseTypeInfo: '.ProfileTransOrderType' - }, { - localName: 'CreditCardSimpleType', - typeName: 'creditCardSimpleType', + localName: 'GetTransactionDetailsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'cardNumber', - required: true - }, { - name: 'expirationDate', + name: 'transId', required: true }] }, { - localName: 'GetTransactionListForCustomerRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'TransRetailInfoType', + typeName: 'transRetailInfoType', propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'marketType' }, { - name: 'customerPaymentProfileId' + name: 'deviceType' }, { - name: 'sorting', - typeInfo: '.TransactionListSorting' + name: 'customerSignature' }, { - name: 'paging', - typeInfo: '.Paging' + name: 'terminalNumber' }] }, { - localName: 'GetMerchantDetailsResponse', + localName: 'TransactionResponse.Errors.Error', typeName: null, - baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'isTestMode', - typeInfo: 'Boolean' - }, { - name: 'processors', - required: true, - typeInfo: '.ArrayOfProcessorType' - }, { - name: 'merchantName', - required: true - }, { - name: 'gatewayId', - required: true - }, { - name: 'marketTypes', - required: true, - typeInfo: '.ArrayOfMarketType' - }, { - name: 'productCodes', - required: true, - typeInfo: '.ArrayOfProductCode' - }, { - name: 'paymentMethods', - required: true, - typeInfo: '.ArrayOfPaymentMethod' - }, { - name: 'currencies', - required: true, - typeInfo: '.ArrayOfCurrencyCode' + name: 'errorCode' }, { - name: 'publicClientKey' + name: 'errorText' + }] + }, { + localName: 'CustomerProfilePaymentType', + typeName: 'customerProfilePaymentType', + propertyInfos: [{ + name: 'createProfile', + typeInfo: 'Boolean' }, { - name: 'businessInformation', - typeInfo: '.CustomerAddressType' + name: 'customerProfileId' }, { - name: 'merchantTimeZone' + name: 'paymentProfile', + typeInfo: '.PaymentProfile' }, { - name: 'contactDetails', - typeInfo: '.ArrayOfContactDetail' + name: 'shippingProfileId' }] }, { - localName: 'ARBGetSubscriptionStatusResponse', + localName: 'GetBatchStatisticsResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'status' + name: 'batch', + typeInfo: '.BatchDetailsType' }] }, { - localName: 'CreditCardType', - typeName: 'creditCardType', - baseTypeInfo: '.CreditCardSimpleType', + localName: 'ARBCreateSubscriptionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'cardCode' + name: 'subscriptionId' }, { - name: 'isPaymentToken', - typeInfo: 'Boolean' - }, { - name: 'cryptogram' - }, { - name: 'tokenRequestorName' - }, { - name: 'tokenRequestorId' + name: 'profile', + typeInfo: '.CustomerProfileIdType' + }] + }, { + localName: 'ARBUpdateSubscriptionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'subscriptionId', + required: true }, { - name: 'tokenRequestorEci' + name: 'subscription', + required: true, + typeInfo: '.ARBSubscriptionType' }] }, { - localName: 'ArrayOfTransactionSummaryType', + localName: 'AuthorizationIndicatorType', + typeName: 'authorizationIndicatorType', propertyInfos: [{ - name: 'transaction', - minOccurs: 0, - collection: true, - typeInfo: '.TransactionSummaryType' + name: 'authorizationIndicator' }] }, { - localName: 'DeleteCustomerPaymentProfileRequest', + localName: 'GetAUJobDetailsRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', + name: 'month', required: true }, { - name: 'customerPaymentProfileId', - required: true + name: 'modifiedTypeFilter' + }, { + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'PaymentScheduleType.Interval', + localName: 'GetHostedProfilePageResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'length', - required: true, - typeInfo: 'Short' - }, { - name: 'unit', + name: 'token', required: true }] }, { - localName: 'SettingType', - typeName: 'settingType', + localName: 'GetHostedPaymentPageResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'settingName' - }, { - name: 'settingValue' + name: 'token', + required: true }] }, { - localName: 'TransactionResponse.EmvResponse', + localName: 'GetCustomerProfileIdsResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'tlvData' - }, { - name: 'tags', - typeInfo: '.TransactionResponse.EmvResponse.Tags' + name: 'ids', + required: true, + typeInfo: '.ArrayOfNumericString' }] }, { - localName: 'TransactionSummaryType', - typeName: 'transactionSummaryType', + localName: 'GetAUJobSummaryRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'transId', - required: true - }, { - name: 'submitTimeUTC', - required: true, - typeInfo: 'DateTime' - }, { - name: 'submitTimeLocal', - required: true, - typeInfo: 'DateTime' - }, { - name: 'transactionStatus', - required: true - }, { - name: 'invoiceNumber' - }, { - name: 'firstName' - }, { - name: 'lastName' - }, { - name: 'accountType', - required: true - }, { - name: 'accountNumber', + name: 'month', required: true + }] + }, { + localName: 'TransactionResponse.SplitTenderPayments.SplitTenderPayment', + typeName: null, + propertyInfos: [{ + name: 'transId' }, { - name: 'settleAmount', - required: true, - typeInfo: 'Decimal' + name: 'responseCode' }, { - name: 'marketType' + name: 'responseToCustomer' }, { - name: 'product' + name: 'authCode' }, { - name: 'mobileDeviceId' + name: 'accountNumber' }, { - name: 'subscription', - typeInfo: '.SubscriptionPaymentType' + name: 'accountType' }, { - name: 'hasReturnedItems', - typeInfo: 'Boolean' + name: 'requestedAmount' }, { - name: 'fraudInformation', - typeInfo: '.FraudInformationType' + name: 'approvedAmount' }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: 'balanceOnCard' }] }, { - localName: 'DeleteCustomerProfileRequest', + localName: 'UpdateSplitTenderGroupResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'GetHostedPaymentPageRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'transactionRequest', + required: true, + typeInfo: '.TransactionRequestType' + }, { + name: 'hostedPaymentSettings', + typeInfo: '.ArrayOfSetting' }] }, { - localName: 'AuResponseType', - typeName: 'auResponseType', + localName: 'ProcessorType', + typeName: 'processorType', propertyInfos: [{ - name: 'auReasonCode', + name: 'name', required: true }, { - name: 'profileCount', + name: 'id', required: true, - typeInfo: 'Long' + typeInfo: 'Int' }, { - name: 'reasonDescription', - required: true + name: 'cardTypes', + typeInfo: '.ArrayOfCardType' }] }, { - localName: 'AuDetailsType', - typeName: 'auDetailsType', + localName: 'SubscriptionCustomerProfileType', + typeName: 'subscriptionCustomerProfileType', + baseTypeInfo: '.CustomerProfileExType', propertyInfos: [{ - name: 'customerProfileID', - required: true, - typeInfo: 'Long' - }, { - name: 'customerPaymentProfileID', - required: true, - typeInfo: 'Long' - }, { - name: 'firstName' - }, { - name: 'lastName' - }, { - name: 'updateTimeUTC', - required: true - }, { - name: 'auReasonCode', - required: true + name: 'paymentProfile', + typeInfo: '.CustomerPaymentProfileMaskedType' }, { - name: 'reasonDescription', - required: true + name: 'shippingProfile', + typeInfo: '.CustomerAddressExType' }] }, { - localName: 'CreateCustomerShippingAddressRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ArrayOfCurrencyCode', propertyInfos: [{ - name: 'customerProfileId', - required: true - }, { - name: 'address', - required: true, - typeInfo: '.CustomerAddressType' - }, { - name: 'defaultShippingAddress', - typeInfo: 'Boolean' + name: 'currency', + minOccurs: 0, + collection: true }] }, { - localName: 'ARBGetSubscriptionResponse', + localName: 'ArrayOfLineItem', + propertyInfos: [{ + name: 'lineItem', + minOccurs: 0, + collection: true, + typeInfo: '.LineItemType' + }] + }, { + localName: 'KeyManagementScheme.DUKPT.DeviceInfo', typeName: null, - baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'subscription', + name: 'description', required: true, - typeInfo: '.ARBSubscriptionMaskedType' + elementName: 'Description' }] }, { - localName: 'PayPalType', - typeName: 'payPalType', + localName: 'ARBCancelSubscriptionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'successUrl' - }, { - name: 'cancelUrl' - }, { - name: 'paypalLc' - }, { - name: 'paypalHdrImg' - }, { - name: 'paypalPayflowcolor' - }, { - name: 'payerID' + name: 'subscriptionId', + required: true }] }, { - localName: 'CustomerProfileMaskedType', - typeName: 'customerProfileMaskedType', - baseTypeInfo: '.CustomerProfileExType', + localName: 'ArrayOfSubscription', propertyInfos: [{ - name: 'paymentProfiles', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerPaymentProfileMaskedType' - }, { - name: 'shipToList', + name: 'subscriptionDetail', minOccurs: 0, collection: true, - typeInfo: '.CustomerAddressExType' - }, { - name: 'profileType' + typeInfo: '.SubscriptionDetail' }] }, { - localName: 'KeyManagementScheme.DUKPT', + localName: 'KeyManagementScheme.DUKPT.Mode', typeName: null, propertyInfos: [{ - name: 'operation', - required: true, - elementName: 'Operation' - }, { - name: 'mode', - required: true, - elementName: 'Mode', - typeInfo: '.KeyManagementScheme.DUKPT.Mode' + name: 'pin', + elementName: 'PIN' }, { - name: 'deviceInfo', - required: true, - elementName: 'DeviceInfo', - typeInfo: '.KeyManagementScheme.DUKPT.DeviceInfo' - }, { - name: 'encryptedData', - required: true, - elementName: 'EncryptedData', - typeInfo: '.KeyManagementScheme.DUKPT.EncryptedData' + name: 'data', + elementName: 'Data' }] }, { - localName: 'ProfileTransAmountType', - typeName: 'profileTransAmountType', + localName: 'ProcessingOptions', + typeName: 'processingOptions', propertyInfos: [{ - name: 'amount', - required: true, - typeInfo: 'Decimal' - }, { - name: 'tax', - typeInfo: '.ExtendedAmountType' + name: 'isFirstRecurringPayment', + typeInfo: 'Boolean' }, { - name: 'shipping', - typeInfo: '.ExtendedAmountType' + name: 'isFirstSubsequentAuth', + typeInfo: 'Boolean' }, { - name: 'duty', - typeInfo: '.ExtendedAmountType' + name: 'isSubsequentAuth', + typeInfo: 'Boolean' }, { - name: 'lineItems', - minOccurs: 0, - maxOccurs: 30, - collection: true, - typeInfo: '.LineItemType' + name: 'isStoredCredentials', + typeInfo: 'Boolean' }] }, { - localName: 'MerchantAuthenticationType', - typeName: 'merchantAuthenticationType', + localName: 'MobileDeviceRegistrationRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'name' - }, { - name: 'transactionKey', + name: 'mobileDevice', + required: true, + typeInfo: '.MobileDeviceType' + }] + }, { + localName: 'OrderExType', + typeName: 'orderExType', + baseTypeInfo: '.OrderType', + propertyInfos: [{ + name: 'purchaseOrderNumber' + }] + }, { + localName: 'ValidateCustomerPaymentProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId', required: true }, { - name: 'sessionToken' - }, { - name: 'password', + name: 'customerPaymentProfileId', required: true }, { - name: 'impersonationAuthentication', - typeInfo: '.ImpersonationAuthenticationType' + name: 'customerShippingAddressId' }, { - name: 'fingerPrint', - typeInfo: '.FingerPrintType' + name: 'cardCode' }, { - name: 'clientKey' + name: 'validationMode', + required: true + }] + }, { + localName: 'ANetApiRequest', + propertyInfos: [{ + name: 'merchantAuthentication', + required: true, + typeInfo: '.MerchantAuthenticationType' }, { - name: 'accessToken' + name: 'clientId' }, { - name: 'mobileDeviceId' + name: 'refId' }] }, { - localName: 'DecryptPaymentDataRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'EmailSettingsType', + typeName: 'emailSettingsType', + baseTypeInfo: '.ArrayOfSetting', propertyInfos: [{ - name: 'opaqueData', - required: true, - typeInfo: '.OpaqueDataType' + name: 'version', + typeInfo: 'Integer', + attributeName: { + localPart: 'version' + }, + type: 'attribute' + }] + }, { + localName: 'CustomerPaymentProfileType', + typeName: 'customerPaymentProfileType', + baseTypeInfo: '.CustomerPaymentProfileBaseType', + propertyInfos: [{ + name: 'payment', + typeInfo: '.PaymentType' }, { - name: 'callId' + name: 'driversLicense', + typeInfo: '.DriversLicenseType' + }, { + name: 'taxId' + }, { + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' + }, { + name: 'subsequentAuthInformation', + typeInfo: '.SubsequentAuthInformation' }] }, { - localName: 'ARBGetSubscriptionStatusRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'CustomerPaymentProfileSorting', propertyInfos: [{ - name: 'subscriptionId', + name: 'orderBy', required: true + }, { + name: 'orderDescending', + required: true, + typeInfo: 'Boolean' }] }, { - localName: 'OrderExType', - typeName: 'orderExType', - baseTypeInfo: '.OrderType', + localName: 'PaymentDetails', + typeName: 'paymentDetails', propertyInfos: [{ - name: 'purchaseOrderNumber' + name: 'currency' + }, { + name: 'promoCode' + }, { + name: 'misc' + }, { + name: 'giftWrap' + }, { + name: 'discount' + }, { + name: 'tax' + }, { + name: 'shippingHandling' + }, { + name: 'subTotal' + }, { + name: 'orderID' + }, { + name: 'amount' }] }, { - localName: 'GetBatchStatisticsRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'TransactionListSorting', propertyInfos: [{ - name: 'batchId', + name: 'orderBy', required: true + }, { + name: 'orderDescending', + required: true, + typeInfo: 'Boolean' }] }, { - localName: 'WebCheckOutDataType', - typeName: 'webCheckOutDataType', + localName: 'FingerPrintType', + typeName: 'fingerPrintType', propertyInfos: [{ - name: 'type', + name: 'hashValue', required: true }, { - name: 'id', + name: 'sequence' + }, { + name: 'timestamp', required: true }, { - name: 'token', - typeInfo: '.WebCheckOutDataTypeToken' + name: 'currencyCode' }, { - name: 'bankToken', - typeInfo: '.BankAccountType' - }] - }, { - localName: 'ArrayOfProductCode', - propertyInfos: [{ - name: 'productCode', - minOccurs: 0, - collection: true + name: 'amount' }] }, { - localName: 'CustomerType', - typeName: 'customerType', + localName: 'CreditCardMaskedType', + typeName: 'creditCardMaskedType', propertyInfos: [{ - name: 'type' + name: 'cardNumber', + required: true }, { - name: 'id' + name: 'expirationDate', + required: true }, { - name: 'email' + name: 'cardType' }, { - name: 'phoneNumber' + name: 'cardArt', + typeInfo: '.CardArt' }, { - name: 'faxNumber' + name: 'issuerNumber' }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseType' + name: 'isPaymentToken', + typeInfo: 'Boolean' + }] + }, { + localName: 'PaymentProfile', + typeName: 'paymentProfile', + propertyInfos: [{ + name: 'paymentProfileId', + required: true }, { - name: 'taxId' + name: 'cardCode' }] }, { - localName: 'GetHostedProfilePageResponse', + localName: 'CreateCustomerPaymentProfileRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'token', + name: 'customerProfileId', required: true + }, { + name: 'paymentProfile', + required: true, + typeInfo: '.CustomerPaymentProfileType' + }, { + name: 'validationMode' }] }, { - localName: 'SecurePaymentContainerRequest', + localName: 'ARBCreateSubscriptionRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'data', + name: 'subscription', required: true, - typeInfo: '.WebCheckOutDataType' + typeInfo: '.ARBSubscriptionType' }] }, { - localName: 'IsAliveRequest', + localName: 'UpdateHeldTransactionRequest', typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'refId' + name: 'heldTransactionRequest', + required: true, + typeInfo: '.HeldTransactionRequestType' }] }, { - localName: 'ArrayOfSubscription', + localName: 'TransactionResponse.SplitTenderPayments', + typeName: null, propertyInfos: [{ - name: 'subscriptionDetail', + name: 'splitTenderPayment', minOccurs: 0, collection: true, - typeInfo: '.SubscriptionDetail' + typeInfo: '.TransactionResponse.SplitTenderPayments.SplitTenderPayment' }] }, { - localName: 'GetCustomerPaymentProfileNonceRequest', + localName: 'GetHostedProfilePageRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'connectedAccessToken', - required: true - }, { name: 'customerProfileId', required: true }, { - name: 'customerPaymentProfileId', - required: true + name: 'hostedProfileSettings', + typeInfo: '.ArrayOfSetting' }] - },{ - localName: 'ValidateCustomerPaymentProfileResponse', + }, { + localName: 'GetCustomerPaymentProfileRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'directResponse' + name: 'customerProfileId', + required: true + }, { + name: 'customerPaymentProfileId' + }, { + name: 'unmaskExpirationDate', + typeInfo: 'Boolean' + }, { + name: 'includeIssuerInfo', + typeInfo: 'Boolean' + }] + }, { + localName: 'LogoutRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'SendCustomerTransactionReceiptResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'SecurePaymentContainerRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'data', + required: true, + typeInfo: '.WebCheckOutDataType' }] + }, { + localName: 'ProfileTransAuthOnlyType', + typeName: 'profileTransAuthOnlyType', + baseTypeInfo: '.ProfileTransOrderType' }, { localName: 'MessagesType', typeName: 'messagesType', @@ -1296,565 +1185,485 @@ var Schema_Module_Factory = function () { typeInfo: '.MessagesType.Message' }] }, { - localName: 'DriversLicenseType', - typeName: 'driversLicenseType', + localName: 'SubsequentAuthInformation', + typeName: 'subsequentAuthInformation', propertyInfos: [{ - name: 'number', - required: true + name: 'originalNetworkTransId' }, { - name: 'state', - required: true + name: 'originalAuthAmount', + typeInfo: 'Decimal' }, { - name: 'dateOfBirth', - required: true + name: 'reason' }] }, { - localName: 'SecurePaymentContainerErrorType', - typeName: 'securePaymentContainerErrorType', + localName: 'HeldTransactionRequestType', + typeName: 'heldTransactionRequestType', propertyInfos: [{ - name: 'code', + name: 'action', required: true }, { - name: 'description', + name: 'refTransId', required: true }] }, { - localName: 'MessagesType.Message', - typeName: null, + localName: 'ARBSubscriptionType', propertyInfos: [{ - name: 'code', - required: true + name: 'name' }, { - name: 'text', - required: true + name: 'paymentSchedule', + typeInfo: '.PaymentScheduleType' + }, { + name: 'amount', + typeInfo: 'Decimal' + }, { + name: 'trialAmount', + typeInfo: 'Decimal' + }, { + name: 'payment', + typeInfo: '.PaymentType' + }, { + name: 'order', + typeInfo: '.OrderType' + }, { + name: 'customer', + typeInfo: '.CustomerType' + }, { + name: 'billTo', + typeInfo: '.NameAndAddressType' + }, { + name: 'shipTo', + typeInfo: '.NameAndAddressType' + }, { + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'GetSettledBatchListRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'EmvTag', + typeName: 'emvTag', propertyInfos: [{ - name: 'includeStatistics', - typeInfo: 'Boolean' + name: 'name' }, { - name: 'firstSettlementDate', - typeInfo: 'DateTime' + name: 'value' }, { - name: 'lastSettlementDate', - typeInfo: 'DateTime' + name: 'formatted' }] }, { - localName: 'ArrayOfFraudFilterType', - propertyInfos: [{ - name: 'fraudFilter', - required: true, - maxOccurs: 1000, - collection: true - }] - },{ - localName: 'ProcessingOptions', - typeName: 'processingOptions', + localName: 'ImpersonationAuthenticationType', + typeName: 'impersonationAuthenticationType', propertyInfos: [{ - name: 'isFirstRecurringPayment', - typeInfo: 'Boolean' - }, { - name: 'isFirstSubsequentAuth', - typeInfo: 'Boolean' - }, { - name: 'isSubsequentAuth', - typeInfo: 'Boolean' + name: 'partnerLoginId', + required: true }, { - name: 'isStoredCredentials', - typeInfo: 'Boolean' + name: 'partnerTransactionKey', + required: true }] }, { - localName: 'LogoutRequest', + localName: 'TransactionResponse.PrePaidCard', typeName: null, - baseTypeInfo: '.ANetApiRequest' - }, { - localName: 'ANetApiRequest', propertyInfos: [{ - name: 'merchantAuthentication', - required: true, - typeInfo: '.MerchantAuthenticationType' + name: 'requestedAmount' }, { - name: 'clientId' + name: 'approvedAmount' }, { - name: 'refId' + name: 'balanceOnCard' }] }, { - localName: 'ARBSubscriptionMaskedType', + localName: 'CustomerAddressExType', + typeName: 'customerAddressExType', + baseTypeInfo: '.CustomerAddressType', propertyInfos: [{ - name: 'name' - }, { - name: 'paymentSchedule', - typeInfo: '.PaymentScheduleType' - }, { - name: 'amount', - typeInfo: 'Decimal' - }, { - name: 'trialAmount', - typeInfo: 'Decimal' + name: 'customerAddressId' + }] + }, { + localName: 'ArbTransaction', + typeName: 'arbTransaction', + propertyInfos: [{ + name: 'transId' }, { - name: 'status' + name: 'response' }, { - name: 'profile', - typeInfo: '.SubscriptionCustomerProfileType' + name: 'submitTimeUTC', + typeInfo: 'DateTime' }, { - name: 'order', - typeInfo: '.OrderType' + name: 'payNum', + typeInfo: 'Int' }, { - name: 'arbTransactions', - typeInfo: '.ARBTransactionList' + name: 'attemptNum', + typeInfo: 'Int' }] }, { - localName: 'CreateTransactionRequest', + localName: 'IsAliveRequest', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'transactionRequest', - required: true, - typeInfo: '.TransactionRequestType' + name: 'refId' }] }, { - localName: 'CreateCustomerProfileTransactionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'SettingType', + typeName: 'settingType', propertyInfos: [{ - name: 'transactionResponse', - typeInfo: '.TransactionResponse' + name: 'settingName' }, { - name: 'directResponse' + name: 'settingValue' }] }, { - localName: 'PaymentSimpleType', - typeName: 'paymentSimpleType', + localName: 'ArrayOfSetting', propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardSimpleType' + name: 'setting', + minOccurs: 0, + collection: true, + typeInfo: '.SettingType' + }] + }, { + localName: 'DeleteCustomerPaymentProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId', + required: true }, { - name: 'bankAccount', - required: true, - typeInfo: '.BankAccountType' + name: 'customerPaymentProfileId', + required: true }] }, { - localName: 'CustomerPaymentProfileType', - typeName: 'customerPaymentProfileType', - baseTypeInfo: '.CustomerPaymentProfileBaseType', + localName: 'ProfileTransPriorAuthCaptureType', + typeName: 'profileTransPriorAuthCaptureType', + baseTypeInfo: '.ProfileTransAmountType', propertyInfos: [{ - name: 'payment', - typeInfo: '.PaymentType' + name: 'customerProfileId' }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseType' + name: 'customerPaymentProfileId' }, { - name: 'taxId' + name: 'customerShippingAddressId' }, { - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' + name: 'transId', + required: true }] }, { - localName: 'LineItemType', - typeName: 'lineItemType', + localName: 'ProfileTransVoidType', + typeName: 'profileTransVoidType', propertyInfos: [{ - name: 'itemId', - required: true - }, { - name: 'name', - required: true + name: 'customerProfileId' }, { - name: 'description' + name: 'customerPaymentProfileId' }, { - name: 'quantity', - required: true, - typeInfo: 'Decimal' + name: 'customerShippingAddressId' }, { - name: 'unitPrice', - required: true, - typeInfo: 'Decimal' - }, { - name: 'taxable', - typeInfo: 'Boolean' - },{ - name: 'unitOfMeasure' - }, { - name: 'typeOfSupply' - }, { - name: 'taxRate', - typeInfo: 'Decimal' - }, { - name: 'taxAmount', - typeInfo: 'Decimal' - }, { - name: 'nationalTax', - typeInfo: 'Decimal' - }, { - name: 'localTax', - typeInfo: 'Decimal' - }, { - name: 'vatRate', - typeInfo: 'Decimal' - }, { - name: 'alternateTaxId' - }, { - name: 'alternateTaxType' - }, { - name: 'alternateTaxTypeApplied' - }, { - name: 'alternateTaxRate', - typeInfo: 'Decimal' - }, { - name: 'alternateTaxAmount', - typeInfo: 'Decimal' - }, { - name: 'totalAmount', - typeInfo: 'Decimal' - }, { - name: 'commodityCode' - }, { - name: 'productCode' - }, { - name: 'productSKU' - }, { - name: 'discountRate', - typeInfo: 'Decimal' - }, { - name: 'discountAmount', - typeInfo: 'Decimal' - }, { - name: 'taxIncludedInTotal', - typeInfo: 'Boolean' - }, { - name: 'taxIsAfterDiscount', - typeInfo: 'Boolean' + name: 'transId', + required: true }] }, { - localName: 'TransactionResponse.EmvResponse.Tags', - typeName: null, + localName: 'ArrayOfFDSFilter', propertyInfos: [{ - name: 'tag', - required: true, + name: 'fdsFilter', + minOccurs: 0, collection: true, - typeInfo: '.EmvTag' + elementName: 'FDSFilter', + typeInfo: '.FDSFilterType' }] }, { - localName: 'ProfileTransPriorAuthCaptureType', - typeName: 'profileTransPriorAuthCaptureType', - baseTypeInfo: '.ProfileTransAmountType', + localName: 'WebCheckOutDataType', + typeName: 'webCheckOutDataType', propertyInfos: [{ - name: 'customerProfileId' + name: 'type', + required: true }, { - name: 'customerPaymentProfileId' + name: 'id', + required: true }, { - name: 'customerShippingAddressId' + name: 'token', + typeInfo: '.WebCheckOutDataTypeToken' }, { - name: 'transId', + name: 'bankToken', + typeInfo: '.BankAccountType' + }] + }, { + localName: 'GetBatchStatisticsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'batchId', required: true }] }, { - localName: 'SecurePaymentContainerResponse', + localName: 'UpdateCustomerProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'GetCustomerPaymentProfileListResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'opaqueData', + name: 'totalNumInResultSet', required: true, - typeInfo: '.OpaqueDataType' + typeInfo: 'Int' + }, { + name: 'paymentProfiles', + typeInfo: '.ArrayOfCustomerPaymentProfileListItemType' }] }, { - localName: 'GetUnsettledTransactionListRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'SolutionType', + typeName: 'solutionType', propertyInfos: [{ - name: 'status' + name: 'id', + required: true }, { - name: 'sorting', - typeInfo: '.TransactionListSorting' + name: 'name' }, { - name: 'paging', - typeInfo: '.Paging' + name: 'vendorName' }] }, { - localName: 'AuDeleteType', - typeName: 'auDeleteType', - baseTypeInfo: '.AuDetailsType', + localName: 'UpdateCustomerProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'creditCard', + name: 'profile', required: true, - typeInfo: '.CreditCardMaskedType' + typeInfo: '.CustomerProfileExType' }] }, { - localName: 'CustomerProfileInfoExType', - typeName: 'customerProfileInfoExType', - baseTypeInfo: '.CustomerProfileExType', + localName: 'ARBGetSubscriptionListResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'profileType' + name: 'totalNumInResultSet', + typeInfo: 'Int' + }, { + name: 'subscriptionDetails', + typeInfo: '.ArrayOfSubscription' }] }, { - localName: 'KeyManagementScheme', + localName: 'EncryptedTrackDataType', + typeName: 'encryptedTrackDataType', propertyInfos: [{ - name: 'dukpt', + name: 'formOfPayment', required: true, - elementName: 'DUKPT', - typeInfo: '.KeyManagementScheme.DUKPT' + elementName: 'FormOfPayment', + typeInfo: '.KeyBlock' }] }, { - localName: 'ARBSubscriptionType', + localName: 'TransactionResponse.UserFields', + typeName: null, propertyInfos: [{ - name: 'name' - }, { - name: 'paymentSchedule', - typeInfo: '.PaymentScheduleType' - }, { - name: 'amount', - typeInfo: 'Decimal' - }, { - name: 'trialAmount', - typeInfo: 'Decimal' - }, { - name: 'payment', - typeInfo: '.PaymentType' + name: 'userField', + minOccurs: 0, + maxOccurs: 20, + collection: true, + typeInfo: '.UserField' + }] + }, { + localName: 'ListOfAUDetailsType', + propertyInfos: [{ + name: 'auUpdateOrAuDelete', + minOccurs: 0, + collection: true, + elementTypeInfos: [{ + elementName: 'auUpdate', + typeInfo: '.AuUpdateType' + }, { + elementName: 'auDelete', + typeInfo: '.AuDeleteType' + }], + type: 'elements' + }] + }, { + localName: 'PaymentSimpleType', + typeName: 'paymentSimpleType', + propertyInfos: [{ + name: 'creditCard', + required: true, + typeInfo: '.CreditCardSimpleType' }, { - name: 'order', - typeInfo: '.OrderType' + name: 'bankAccount', + required: true, + typeInfo: '.BankAccountType' + }] + }, { + localName: 'GetMerchantDetailsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'CardArt', + typeName: 'cardArt', + propertyInfos: [{ + name: 'cardBrand' }, { - name: 'customer', - typeInfo: '.CustomerType' + name: 'cardImageHeight' }, { - name: 'billTo', - typeInfo: '.NameAndAddressType' + name: 'cardImageUrl' }, { - name: 'shipTo', - typeInfo: '.NameAndAddressType' + name: 'cardImageWidth' }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: 'cardType' }] }, { - localName: 'KeyManagementScheme.DUKPT.EncryptedData', + localName: 'ARBCancelSubscriptionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'CreateCustomerProfileTransactionResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'value', - required: true, - elementName: 'Value' + name: 'transactionResponse', + typeInfo: '.TransactionResponse' + }, { + name: 'directResponse' }] }, { - localName: 'ProfileTransCaptureOnlyType', - typeName: 'profileTransCaptureOnlyType', - baseTypeInfo: '.ProfileTransOrderType', + localName: 'TransactionDetailsType.EmvDetails.Tag', + typeName: null, propertyInfos: [{ - name: 'approvalCode', + name: 'tagId', + required: true + }, { + name: 'data', required: true }] }, { - localName: 'GetAUJobSummaryResponse', + localName: 'GetTransactionDetailsResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'auSummary', - typeInfo: '.ArrayOfAUResponseType' + name: 'transaction', + required: true, + typeInfo: '.TransactionDetailsType' + }, { + name: 'clientId' + }, { + name: 'transrefId' }] }, { - localName: 'NameAndAddressType', - typeName: 'nameAndAddressType', + localName: 'GetCustomerPaymentProfileNonceRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'firstName' - }, { - name: 'lastName' - }, { - name: 'company' - }, { - name: 'address' - }, { - name: 'city' - }, { - name: 'state' + name: 'connectedAccessToken', + required: true }, { - name: 'zip' + name: 'customerProfileId', + required: true }, { - name: 'country' + name: 'customerPaymentProfileId', + required: true }] }, { - localName: 'ArrayOfPaymentMethod', + localName: 'CustomerProfileExType', + typeName: 'customerProfileExType', + baseTypeInfo: '.CustomerProfileBaseType', propertyInfos: [{ - name: 'paymentMethod', - minOccurs: 0, - collection: true + name: 'customerProfileId' }] }, { - localName: 'ARBGetSubscriptionRequest', + localName: 'DecryptPaymentDataRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'subscriptionId', - required: true + name: 'opaqueData', + required: true, + typeInfo: '.OpaqueDataType' }, { - name: 'includeTransactions', - typeInfo: 'Boolean' + name: 'callId' }] }, { - localName: 'TransactionResponse.SplitTenderPayments.SplitTenderPayment', - typeName: null, + localName: 'PermissionType', + typeName: 'permissionType', propertyInfos: [{ - name: 'transId' - }, { - name: 'responseCode' - }, { - name: 'responseToCustomer' - }, { - name: 'authCode' + name: 'permissionName' + }] + }, { + localName: 'OtherTaxType', + typeName: 'otherTaxType', + propertyInfos: [{ + name: 'nationalTaxAmount', + typeInfo: 'Decimal' }, { - name: 'accountNumber' + name: 'localTaxAmount', + typeInfo: 'Decimal' }, { - name: 'accountType' + name: 'alternateTaxAmount', + typeInfo: 'Decimal' }, { - name: 'requestedAmount' + name: 'alternateTaxId' }, { - name: 'approvedAmount' + name: 'vatTaxRate', + typeInfo: 'Decimal' }, { - name: 'balanceOnCard' + name: 'vatTaxAmount', + typeInfo: 'Decimal' }] }, { - localName: 'GetCustomerPaymentProfileRequest', + localName: 'UpdateCustomerShippingAddressResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'customerProfileId', - required: true - }, { - name: 'customerPaymentProfileId' - }, { - name: 'unmaskExpirationDate', - typeInfo: 'Boolean' - }, { - name: 'includeIssuerInfo', - typeInfo: 'Boolean' - }] + baseTypeInfo: '.ANetApiResponse' }, { - localName: 'HeldTransactionRequestType', - typeName: 'heldTransactionRequestType', + localName: 'GetCustomerProfileIdsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'CreateTransactionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'action', - required: true + name: 'transactionResponse', + required: true, + typeInfo: '.TransactionResponse' }, { - name: 'refTransId', - required: true + name: 'profileResponse', + typeInfo: '.CreateProfileResponse' }] }, { - localName: 'SubMerchantType', - typeName: 'subMerchantType', + localName: 'CustomerType', + typeName: 'customerType', propertyInfos: [{ - name: 'identifier', - required: true - }, { - name: 'doingBusinessAs' - }, { - name: 'paymentServiceProviderName' - }, { - name: 'paymentServiceFacilitator' - }, { - name: 'streetAddress' + name: 'type' }, { - name: 'phone' + name: 'id' }, { name: 'email' }, { - name: 'postalCode' + name: 'phoneNumber' }, { - name: 'city' + name: 'faxNumber' }, { - name: 'regionCode' + name: 'driversLicense', + typeInfo: '.DriversLicenseType' }, { - name: 'countryCode' + name: 'taxId' }] }, { - localName: 'GetTransactionDetailsResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'ANetApiResponse', propertyInfos: [{ - name: 'transaction', - required: true, - typeInfo: '.TransactionDetailsType' + name: 'refId' }, { - name: 'clientId' + name: 'messages', + required: true, + typeInfo: '.MessagesType' }, { - name: 'transrefId' - }] - }, { - localName: 'ArrayOfNumericString', - propertyInfos: [{ - name: 'numericString', - minOccurs: 0, - collection: true - }] - }, { - localName: 'CustomerPaymentProfileExType', - typeName: 'customerPaymentProfileExType', - baseTypeInfo: '.CustomerPaymentProfileType', - propertyInfos: [{ - name: 'customerPaymentProfileId' - }] - }, { - localName: 'ArrayOfCustomerPaymentProfileListItemType', - typeName: 'arrayOfCustomerPaymentProfileListItemType', - propertyInfos: [{ - name: 'paymentProfile', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerPaymentProfileListItemType' - }] - }, { - localName: 'ArrayOfProcessorType', - propertyInfos: [{ - name: 'processor', - minOccurs: 0, - collection: true, - typeInfo: '.ProcessorType' + name: 'sessionToken' }] }, { - localName: 'TransactionResponse.Errors.Error', - typeName: null, + localName: 'ProfileTransAmountType', + typeName: 'profileTransAmountType', propertyInfos: [{ - name: 'errorCode' + name: 'amount', + required: true, + typeInfo: 'Decimal' }, { - name: 'errorText' - }] - }, { - localName: 'GetTransactionListResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'transactions', - typeInfo: '.ArrayOfTransactionSummaryType' + name: 'tax', + typeInfo: '.ExtendedAmountType' }, { - name: 'totalNumInResultSet', - typeInfo: 'Int' - }] - }, { - localName: 'ArrayOfLineItem', - propertyInfos: [{ - name: 'lineItem', + name: 'shipping', + typeInfo: '.ExtendedAmountType' + }, { + name: 'duty', + typeInfo: '.ExtendedAmountType' + }, { + name: 'lineItems', minOccurs: 0, + maxOccurs: 30, collection: true, typeInfo: '.LineItemType' }] - }, { - localName: 'UserField', - typeName: 'userField', - propertyInfos: [{ - name: 'name' - }, { - name: 'value' - }] - }, { - localName: 'ImpersonationAuthenticationType', - typeName: 'impersonationAuthenticationType', - propertyInfos: [{ - name: 'partnerLoginId', - required: true - }, { - name: 'partnerTransactionKey', - required: true - }] }, { localName: 'UpdateCustomerPaymentProfileRequest', typeName: null, @@ -1870,549 +1679,626 @@ var Schema_Module_Factory = function () { name: 'validationMode' }] }, { - localName: 'PaymentScheduleType', - typeName: 'paymentScheduleType', + localName: 'ProfileTransRefundType', + typeName: 'profileTransRefundType', + baseTypeInfo: '.ProfileTransAmountType', propertyInfos: [{ - name: 'interval', - typeInfo: '.PaymentScheduleType.Interval' + name: 'customerProfileId' }, { - name: 'startDate', - typeInfo: 'Date' + name: 'customerPaymentProfileId' }, { - name: 'totalOccurrences', - typeInfo: 'Short' + name: 'customerShippingAddressId' }, { - name: 'trialOccurrences', - typeInfo: 'Short' - }] - }, { - localName: 'EmvTag', - typeName: 'emvTag', - propertyInfos: [{ - name: 'name' + name: 'creditCardNumberMasked' }, { - name: 'value' + name: 'bankRoutingNumberMasked' }, { - name: 'formatted' - }] - }, { - localName: 'ArrayOfPermissionType', - propertyInfos: [{ - name: 'permission', - minOccurs: 0, - collection: true, - typeInfo: '.PermissionType' + name: 'bankAccountNumberMasked' + }, { + name: 'order', + typeInfo: '.OrderExType' + }, { + name: 'transId' }] }, { - localName: 'ContactDetailType', + localName: 'CreateProfileResponse', + typeName: 'createProfileResponse', propertyInfos: [{ - name: 'email' + name: 'messages', + required: true, + typeInfo: '.MessagesType' }, { - name: 'firstName' + name: 'customerProfileId' }, { - name: 'lastName' + name: 'customerPaymentProfileIdList', + typeInfo: '.ArrayOfNumericString' + }, { + name: 'customerShippingAddressIdList', + typeInfo: '.ArrayOfNumericString' }] }, { - localName: 'SolutionType', - typeName: 'solutionType', + localName: 'ProfileTransactionType', + typeName: 'profileTransactionType', propertyInfos: [{ - name: 'id', - required: true + name: 'profileTransAuthCapture', + required: true, + typeInfo: '.ProfileTransAuthCaptureType' }, { - name: 'name' + name: 'profileTransAuthOnly', + required: true, + typeInfo: '.ProfileTransAuthOnlyType' }, { - name: 'vendorName' + name: 'profileTransPriorAuthCapture', + required: true, + typeInfo: '.ProfileTransPriorAuthCaptureType' + }, { + name: 'profileTransCaptureOnly', + required: true, + typeInfo: '.ProfileTransCaptureOnlyType' + }, { + name: 'profileTransRefund', + required: true, + typeInfo: '.ProfileTransRefundType' + }, { + name: 'profileTransVoid', + required: true, + typeInfo: '.ProfileTransVoidType' }] }, { - localName: 'CustomerPaymentProfileBaseType', - typeName: 'customerPaymentProfileBaseType', + localName: 'GetCustomerShippingAddressRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerType' + name: 'customerProfileId', + required: true }, { - name: 'billTo', - typeInfo: '.CustomerAddressType' + name: 'customerAddressId' }] }, { - localName: 'GetUnsettledTransactionListResponse', + localName: 'GetAUJobDetailsResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'transactions', - typeInfo: '.ArrayOfTransactionSummaryType' - }, { name: 'totalNumInResultSet', typeInfo: 'Int' + }, { + name: 'auDetails', + typeInfo: '.ListOfAUDetailsType' }] }, { - localName: 'ARBCreateSubscriptionRequest', + localName: 'TransactionResponse.Errors', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'subscription', - required: true, - typeInfo: '.ARBSubscriptionType' + name: 'error', + minOccurs: 0, + collection: true, + typeInfo: '.TransactionResponse.Errors.Error' }] }, { - localName: 'GetCustomerProfileResponse', + localName: 'AuthenticateTestRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'profile', - typeInfo: '.CustomerProfileMaskedType' - }, { - name: 'subscriptionIds', - typeInfo: '.SubscriptionIdList' - }] + baseTypeInfo: '.ANetApiRequest' }, { - localName: 'BatchStatisticType', - typeName: 'batchStatisticType', + localName: 'LineItemType', + typeName: 'lineItemType', propertyInfos: [{ - name: 'accountType', + name: 'itemId', required: true }, { - name: 'chargeAmount', - required: true, - typeInfo: 'Decimal' + name: 'name', + required: true }, { - name: 'chargeCount', - required: true, - typeInfo: 'Int' + name: 'description' }, { - name: 'refundAmount', + name: 'quantity', required: true, typeInfo: 'Decimal' }, { - name: 'refundCount', + name: 'unitPrice', required: true, - typeInfo: 'Int' + typeInfo: 'Decimal' }, { - name: 'voidCount', - required: true, - typeInfo: 'Int' + name: 'taxable', + typeInfo: 'Boolean' }, { - name: 'declineCount', - required: true, - typeInfo: 'Int' + name: 'unitOfMeasure' }, { - name: 'errorCount', - required: true, - typeInfo: 'Int' + name: 'typeOfSupply' }, { - name: 'returnedItemAmount', + name: 'taxRate', typeInfo: 'Decimal' }, { - name: 'returnedItemCount', - typeInfo: 'Int' - }, { - name: 'chargebackAmount', + name: 'taxAmount', typeInfo: 'Decimal' }, { - name: 'chargebackCount', - typeInfo: 'Int' + name: 'nationalTax', + typeInfo: 'Decimal' }, { - name: 'correctionNoticeCount', - typeInfo: 'Int' + name: 'localTax', + typeInfo: 'Decimal' }, { - name: 'chargeChargeBackAmount', + name: 'vatRate', typeInfo: 'Decimal' }, { - name: 'chargeChargeBackCount', - typeInfo: 'Int' + name: 'alternateTaxId' }, { - name: 'refundChargeBackAmount', + name: 'alternateTaxType' + }, { + name: 'alternateTaxTypeApplied' + }, { + name: 'alternateTaxRate', typeInfo: 'Decimal' }, { - name: 'refundChargeBackCount', - typeInfo: 'Int' + name: 'alternateTaxAmount', + typeInfo: 'Decimal' }, { - name: 'chargeReturnedItemsAmount', + name: 'totalAmount', typeInfo: 'Decimal' }, { - name: 'chargeReturnedItemsCount', - typeInfo: 'Int' + name: 'commodityCode' }, { - name: 'refundReturnedItemsAmount', + name: 'productCode' + }, { + name: 'productSKU' + }, { + name: 'discountRate', typeInfo: 'Decimal' }, { - name: 'refundReturnedItemsCount', - typeInfo: 'Int' + name: 'discountAmount', + typeInfo: 'Decimal' + }, { + name: 'taxIncludedInTotal', + typeInfo: 'Boolean' + }, { + name: 'taxIsAfterDiscount', + typeInfo: 'Boolean' }] }, { - localName: 'ARBGetSubscriptionListRequest', + localName: 'PaymentScheduleType.Interval', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'searchType', - required: true - }, { - name: 'sorting', - typeInfo: '.ARBGetSubscriptionListSorting' + name: 'length', + required: true, + typeInfo: 'Short' }, { - name: 'paging', - typeInfo: '.Paging' + name: 'unit', + required: true }] }, { - localName: 'ListOfAUDetailsType', + localName: 'BatchDetailsType', + typeName: 'batchDetailsType', propertyInfos: [{ - name: 'auUpdateOrAuDelete', - minOccurs: 0, - collection: true, - elementTypeInfos: [{ - elementName: 'auUpdate', - typeInfo: '.AuUpdateType' - }, { - elementName: 'auDelete', - typeInfo: '.AuDeleteType' - }], - type: 'elements' + name: 'batchId', + required: true + }, { + name: 'settlementTimeUTC', + typeInfo: 'DateTime' + }, { + name: 'settlementTimeLocal', + typeInfo: 'DateTime' + }, { + name: 'settlementState', + required: true + }, { + name: 'paymentMethod' + }, { + name: 'marketType' + }, { + name: 'product' + }, { + name: 'statistics', + typeInfo: '.ArrayOfBatchStatisticType' }] }, { - localName: 'ArrayOfBatchDetailsType', + localName: 'CustomerProfileMaskedType', + typeName: 'customerProfileMaskedType', + baseTypeInfo: '.CustomerProfileExType', propertyInfos: [{ - name: 'batch', + name: 'paymentProfiles', minOccurs: 0, collection: true, - typeInfo: '.BatchDetailsType' - }] - }, { - localName: 'SendCustomerTransactionReceiptResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'ArrayOfBatchStatisticType', - propertyInfos: [{ - name: 'statistic', + typeInfo: '.CustomerPaymentProfileMaskedType' + }, { + name: 'shipToList', minOccurs: 0, collection: true, - typeInfo: '.BatchStatisticType' + typeInfo: '.CustomerAddressExType' + }, { + name: 'profileType' }] }, { - localName: 'ValidateCustomerPaymentProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ReturnedItemType', + typeName: 'returnedItemType', propertyInfos: [{ - name: 'customerProfileId', + name: 'id', required: true }, { - name: 'customerPaymentProfileId', - required: true + name: 'dateUTC', + required: true, + typeInfo: 'DateTime' }, { - name: 'customerShippingAddressId' + name: 'dateLocal', + required: true, + typeInfo: 'DateTime' }, { - name: 'cardCode' + name: 'code', + required: true }, { - name: 'validationMode', + name: 'description', required: true }] }, { - localName: 'SubscriptionCustomerProfileType', - typeName: 'subscriptionCustomerProfileType', - baseTypeInfo: '.CustomerProfileExType', + localName: 'GetCustomerPaymentProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ name: 'paymentProfile', typeInfo: '.CustomerPaymentProfileMaskedType' - }, { - name: 'shippingProfile', - typeInfo: '.CustomerAddressExType' - }] - }, { - localName: 'CustomerProfileExType', - typeName: 'customerProfileExType', - baseTypeInfo: '.CustomerProfileBaseType', - propertyInfos: [{ - name: 'customerProfileId' }] }, { - localName: 'TransactionResponse', - typeName: 'transactionResponse', + localName: 'MerchantContactType', + typeName: 'merchantContactType', propertyInfos: [{ - name: 'responseCode' - }, { - name: 'rawResponseCode' - }, { - name: 'authCode' - }, { - name: 'avsResultCode' - }, { - name: 'cvvResultCode' - }, { - name: 'cavvResultCode' - }, { - name: 'transId' - }, { - name: 'refTransID' - }, { - name: 'transHash' - }, { - name: 'testRequest' - }, { - name: 'accountNumber' - }, { - name: 'entryMode' - }, { - name: 'accountType' - }, { - name: 'splitTenderId' - }, { - name: 'prePaidCard', - typeInfo: '.TransactionResponse.PrePaidCard' - }, { - name: 'messages', - typeInfo: '.TransactionResponse.Messages' - }, { - name: 'errors', - typeInfo: '.TransactionResponse.Errors' - }, { - name: 'splitTenderPayments', - typeInfo: '.TransactionResponse.SplitTenderPayments' - }, { - name: 'userFields', - typeInfo: '.TransactionResponse.UserFields' - }, { - name: 'shipTo', - typeInfo: '.NameAndAddressType' + name: 'merchantName' }, { - name: 'secureAcceptance', - typeInfo: '.TransactionResponse.SecureAcceptance' + name: 'merchantAddress' }, { - name: 'emvResponse', - typeInfo: '.TransactionResponse.EmvResponse' + name: 'merchantCity' }, { - name: 'transHashSha2' + name: 'merchantState' }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: 'merchantZip' }, { - name: 'networkTransId' + name: 'merchantPhone' }] }, { - localName: 'CustomerDataType', - typeName: 'customerDataType', + localName: 'CreateCustomerShippingAddressRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'type' + name: 'customerProfileId', + required: true }, { - name: 'id' + name: 'address', + required: true, + typeInfo: '.CustomerAddressType' }, { - name: 'email' + name: 'defaultShippingAddress', + typeInfo: 'Boolean' + }] + }, { + localName: 'GetCustomerShippingAddressResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'defaultShippingAddress', + typeInfo: 'Boolean' }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseType' + name: 'address', + typeInfo: '.CustomerAddressExType' }, { - name: 'taxId' + name: 'subscriptionIds', + typeInfo: '.SubscriptionIdList' }] }, { - localName: 'EncryptedTrackDataType', - typeName: 'encryptedTrackDataType', + localName: 'TransactionResponse.EmvResponse.Tags', + typeName: null, propertyInfos: [{ - name: 'formOfPayment', + name: 'tag', required: true, - elementName: 'FormOfPayment', - typeInfo: '.KeyBlock' + collection: true, + typeInfo: '.EmvTag' }] }, { - localName: 'ARBGetSubscriptionListResponse', + localName: 'GetTransactionListResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ + name: 'transactions', + typeInfo: '.ArrayOfTransactionSummaryType' + }, { name: 'totalNumInResultSet', typeInfo: 'Int' - }, { - name: 'subscriptionDetails', - typeInfo: '.ArrayOfSubscription' }] }, { - localName: 'GetCustomerProfileIdsRequest', + localName: 'SendCustomerTransactionReceiptRequest', typeName: null, - baseTypeInfo: '.ANetApiRequest' + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'transId', + required: true + }, { + name: 'customerEmail', + required: true + }, { + name: 'emailSettings', + typeInfo: '.EmailSettingsType' + }] }, { - localName: 'GetBatchStatisticsResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'CustomerProfileType', + typeName: 'customerProfileType', + baseTypeInfo: '.CustomerProfileBaseType', propertyInfos: [{ - name: 'batch', - typeInfo: '.BatchDetailsType' + name: 'paymentProfiles', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerPaymentProfileType' + }, { + name: 'shipToList', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerAddressType' + }, { + name: 'profileType' }] }, { - localName: 'PaymentDetails', - typeName: 'paymentDetails', + localName: 'CustomerProfileInfoExType', + typeName: 'customerProfileInfoExType', + baseTypeInfo: '.CustomerProfileExType', propertyInfos: [{ - name: 'currency' + name: 'profileType' + }] + }, { + localName: 'CustomerPaymentProfileMaskedType', + typeName: 'customerPaymentProfileMaskedType', + baseTypeInfo: '.CustomerPaymentProfileBaseType', + propertyInfos: [{ + name: 'customerProfileId' }, { - name: 'promoCode' + name: 'customerPaymentProfileId', + required: true }, { - name: 'misc' + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' }, { - name: 'giftWrap' + name: 'payment', + typeInfo: '.PaymentMaskedType' }, { - name: 'discount' + name: 'driversLicense', + typeInfo: '.DriversLicenseMaskedType' }, { - name: 'tax' + name: 'taxId' }, { - name: 'shippingHandling' + name: 'subscriptionIds', + typeInfo: '.SubscriptionIdList' }, { - name: 'subTotal' + name: 'originalNetworkTransId' }, { - name: 'orderID' + name: 'originalAuthAmount', + typeInfo: 'Decimal' + }] + }, { + localName: 'ProfileTransAuthCaptureType', + typeName: 'profileTransAuthCaptureType', + baseTypeInfo: '.ProfileTransOrderType' + }, { + localName: 'CreateCustomerProfileTransactionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'transaction', + required: true, + typeInfo: '.ProfileTransactionType' }, { - name: 'amount' + name: 'extraOptions' }] }, { - localName: 'BankAccountMaskedType', - typeName: 'bankAccountMaskedType', + localName: 'GetMerchantDetailsResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'accountType' + name: 'isTestMode', + typeInfo: 'Boolean' }, { - name: 'routingNumber', - required: true + name: 'processors', + required: true, + typeInfo: '.ArrayOfProcessorType' }, { - name: 'accountNumber', + name: 'merchantName', required: true }, { - name: 'nameOnAccount', + name: 'gatewayId', required: true }, { - name: 'echeckType' + name: 'marketTypes', + required: true, + typeInfo: '.ArrayOfMarketType' }, { - name: 'bankName' - }] - }, { - localName: 'CustomerAddressExType', - typeName: 'customerAddressExType', - baseTypeInfo: '.CustomerAddressType', - propertyInfos: [{ - name: 'customerAddressId' - }] - }, { - localName: 'SubscriptionPaymentType', - typeName: 'subscriptionPaymentType', - propertyInfos: [{ - name: 'id', + name: 'productCodes', required: true, - typeInfo: 'Int' + typeInfo: '.ArrayOfProductCode' }, { - name: 'payNum', - required: true, - typeInfo: 'Int' - }] - }, { - localName: 'ArrayOfCurrencyCode', - propertyInfos: [{ - name: 'currency', - minOccurs: 0, - collection: true - }] - }, { - localName: 'PaymentEmvType', - typeName: 'paymentEmvType', - propertyInfos: [{ - name: 'emvData', + name: 'paymentMethods', required: true, - typeInfo: 'AnyType' + typeInfo: '.ArrayOfPaymentMethod' }, { - name: 'emvDescriptor', + name: 'currencies', required: true, - typeInfo: 'AnyType' + typeInfo: '.ArrayOfCurrencyCode' }, { - name: 'emvVersion', - required: true, - typeInfo: 'AnyType' + name: 'publicClientKey' + }, { + name: 'businessInformation', + typeInfo: '.CustomerAddressType' + }, { + name: 'merchantTimeZone' + }, { + name: 'contactDetails', + typeInfo: '.ArrayOfContactDetail' }] }, { - localName: 'UpdateCustomerShippingAddressResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'ARBCancelSubscriptionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'ARBUpdateSubscriptionRequest', + localName: 'GetCustomerProfileRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'subscriptionId', - required: true + name: 'customerProfileId' }, { - name: 'subscription', - required: true, - typeInfo: '.ARBSubscriptionType' + name: 'merchantCustomerId' + }, { + name: 'email' + }, { + name: 'unmaskExpirationDate', + typeInfo: 'Boolean' + }, { + name: 'includeIssuerInfo', + typeInfo: 'Boolean' }] }, { - localName: 'LogoutResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'CreateCustomerProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'TransactionRequestType', + typeName: 'transactionRequestType', propertyInfos: [{ + name: 'transactionType', + required: true + }, { + name: 'amount', + typeInfo: 'Decimal' + }, { + name: 'currencyCode' + }, { + name: 'payment', + typeInfo: '.PaymentType' + }, { name: 'profile', - required: true, - typeInfo: '.CustomerProfileType' + typeInfo: '.CustomerProfilePaymentType' }, { - name: 'validationMode' + name: 'solution', + typeInfo: '.SolutionType' + }, { + name: 'callId' + }, { + name: 'terminalNumber' + }, { + name: 'authCode' + }, { + name: 'refTransId' + }, { + name: 'splitTenderId' + }, { + name: 'order', + typeInfo: '.OrderType' + }, { + name: 'lineItems', + typeInfo: '.ArrayOfLineItem' + }, { + name: 'tax', + typeInfo: '.ExtendedAmountType' + }, { + name: 'duty', + typeInfo: '.ExtendedAmountType' + }, { + name: 'shipping', + typeInfo: '.ExtendedAmountType' + }, { + name: 'taxExempt', + typeInfo: 'Boolean' + }, { + name: 'poNumber' + }, { + name: 'customer', + typeInfo: '.CustomerDataType' + }, { + name: 'billTo', + typeInfo: '.CustomerAddressType' + }, { + name: 'shipTo', + typeInfo: '.NameAndAddressType' + }, { + name: 'customerIP' + }, { + name: 'cardholderAuthentication', + typeInfo: '.CcAuthenticationType' + }, { + name: 'retail', + typeInfo: '.TransRetailInfoType' + }, { + name: 'employeeId' + }, { + name: 'transactionSettings', + typeInfo: '.ArrayOfSetting' + }, { + name: 'userFields', + typeInfo: '.TransactionRequestType.UserFields' + }, { + name: 'surcharge', + typeInfo: '.ExtendedAmountType' + }, { + name: 'merchantDescriptor' + }, { + name: 'subMerchant', + typeInfo: '.SubMerchantType' + }, { + name: 'tip', + typeInfo: '.ExtendedAmountType' + }, { + name: 'processingOptions', + typeInfo: '.ProcessingOptions' + }, { + name: 'subsequentAuthInformation', + typeInfo: '.SubsequentAuthInformation' + }, { + name: 'otherTax', + typeInfo: '.OtherTaxType' + }, { + name: 'shipFrom', + typeInfo: '.NameAndAddressType' + }, { + name: 'authorizationIndicatorType', + typeInfo: '.AuthorizationIndicatorType' }] }, { - localName: 'GetTransactionListRequest', + localName: 'ARBGetSubscriptionStatusRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'batchId' - }, { - name: 'sorting', - typeInfo: '.TransactionListSorting' - }, { - name: 'paging', - typeInfo: '.Paging' + name: 'subscriptionId', + required: true }] }, { - localName: 'CustomerAddressType', - typeName: 'customerAddressType', - baseTypeInfo: '.NameAndAddressType', + localName: 'KeyManagementScheme.DUKPT', + typeName: null, propertyInfos: [{ - name: 'phoneNumber' + name: 'operation', + required: true, + elementName: 'Operation' }, { - name: 'faxNumber' + name: 'mode', + required: true, + elementName: 'Mode', + typeInfo: '.KeyManagementScheme.DUKPT.Mode' }, { - name: 'email' + name: 'deviceInfo', + required: true, + elementName: 'DeviceInfo', + typeInfo: '.KeyManagementScheme.DUKPT.DeviceInfo' + }, { + name: 'encryptedData', + required: true, + elementName: 'EncryptedData', + typeInfo: '.KeyManagementScheme.DUKPT.EncryptedData' }] }, { - localName: 'TransactionResponse.SecureAcceptance', - typeName: null, + localName: 'ArrayOfBatchDetailsType', propertyInfos: [{ - name: 'secureAcceptanceUrl', - elementName: 'SecureAcceptanceUrl' - }, { - name: 'payerID', - elementName: 'PayerID' - }, { - name: 'payerEmail', - elementName: 'PayerEmail' + name: 'batch', + minOccurs: 0, + collection: true, + typeInfo: '.BatchDetailsType' }] }, { - localName: 'FDSFilterType', + localName: 'WebCheckOutDataTypeToken', + typeName: 'webCheckOutDataTypeToken', propertyInfos: [{ - name: 'name', + name: 'cardNumber', required: true }, { - name: 'action', + name: 'expirationDate', required: true - }] - }, { - localName: 'MerchantContactType', - typeName: 'merchantContactType', - propertyInfos: [{ - name: 'merchantName' - }, { - name: 'merchantAddress' - }, { - name: 'merchantCity' }, { - name: 'merchantState' + name: 'cardCode' }, { - name: 'merchantZip' + name: 'zip' }, { - name: 'merchantPhone' + name: 'fullName' }] }, { localName: 'CustomerProfileSummaryType', @@ -2432,64 +2318,51 @@ var Schema_Module_Factory = function () { typeInfo: 'DateTime' }] }, { - localName: 'GetAUJobDetailsRequest', + localName: 'MessagesType.Message', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'month', + name: 'code', required: true }, { - name: 'modifiedTypeFilter' - }, { - name: 'paging', - typeInfo: '.Paging' + name: 'text', + required: true }] }, { - localName: 'ArrayOfAUResponseType', + localName: 'ArrayOfBatchStatisticType', propertyInfos: [{ - name: 'auResponse', + name: 'statistic', minOccurs: 0, collection: true, - typeInfo: '.AuResponseType' - }] - }, { - localName: 'UpdateHeldTransactionRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'heldTransactionRequest', - required: true, - typeInfo: '.HeldTransactionRequestType' + typeInfo: '.BatchStatisticType' }] }, { - localName: 'CustomerPaymentProfileSorting', + localName: 'DriversLicenseMaskedType', + typeName: 'driversLicenseMaskedType', propertyInfos: [{ - name: 'orderBy', + name: 'number', required: true }, { - name: 'orderDescending', - required: true, - typeInfo: 'Boolean' - }] - }, { - localName: 'TransactionDetailsType.EmvDetails.Tag', - typeName: null, - propertyInfos: [{ - name: 'tagId', + name: 'state', required: true }, { - name: 'data', + name: 'dateOfBirth', required: true }] }, { - localName: 'KeyManagementScheme.DUKPT.Mode', + localName: 'GetTransactionListForCustomerRequest', typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'pin', - elementName: 'PIN' + name: 'customerProfileId', + required: true }, { - name: 'data', - elementName: 'Data' + name: 'customerPaymentProfileId' + }, { + name: 'sorting', + typeInfo: '.TransactionListSorting' + }, { + name: 'paging', + typeInfo: '.Paging' }] }, { localName: 'CustomerProfileIdType', @@ -2503,384 +2376,430 @@ var Schema_Module_Factory = function () { name: 'customerAddressId' }] }, { - localName: 'TransactionResponse.SplitTenderPayments', - typeName: null, - propertyInfos: [{ - name: 'splitTenderPayment', - minOccurs: 0, - collection: true, - typeInfo: '.TransactionResponse.SplitTenderPayments.SplitTenderPayment' - }] - }, { - localName: 'ArrayOfFDSFilter', + localName: 'ArrayOfCardType', propertyInfos: [{ - name: 'fdsFilter', + name: 'cardType', minOccurs: 0, - collection: true, - elementName: 'FDSFilter', - typeInfo: '.FDSFilterType' + maxOccurs: 30, + collection: true }] }, { - localName: 'Paging', + localName: 'BatchStatisticType', + typeName: 'batchStatisticType', propertyInfos: [{ - name: 'limit', + name: 'accountType', + required: true + }, { + name: 'chargeAmount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'chargeCount', required: true, typeInfo: 'Int' }, { - name: 'offset', + name: 'refundAmount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'refundCount', required: true, typeInfo: 'Int' - }] - }, { - localName: 'FingerPrintType', - typeName: 'fingerPrintType', - propertyInfos: [{ - name: 'hashValue', - required: true }, { - name: 'sequence' + name: 'voidCount', + required: true, + typeInfo: 'Int' }, { - name: 'timestamp', - required: true + name: 'declineCount', + required: true, + typeInfo: 'Int' }, { - name: 'currencyCode' + name: 'errorCount', + required: true, + typeInfo: 'Int' }, { - name: 'amount' - }] - }, { - localName: 'ProfileTransRefundType', - typeName: 'profileTransRefundType', - baseTypeInfo: '.ProfileTransAmountType', - propertyInfos: [{ - name: 'customerProfileId' + name: 'returnedItemAmount', + typeInfo: 'Decimal' }, { - name: 'customerPaymentProfileId' + name: 'returnedItemCount', + typeInfo: 'Int' }, { - name: 'customerShippingAddressId' + name: 'chargebackAmount', + typeInfo: 'Decimal' }, { - name: 'creditCardNumberMasked' + name: 'chargebackCount', + typeInfo: 'Int' }, { - name: 'bankRoutingNumberMasked' + name: 'correctionNoticeCount', + typeInfo: 'Int' }, { - name: 'bankAccountNumberMasked' + name: 'chargeChargeBackAmount', + typeInfo: 'Decimal' }, { - name: 'order', - typeInfo: '.OrderExType' + name: 'chargeChargeBackCount', + typeInfo: 'Int' }, { - name: 'transId' + name: 'refundChargeBackAmount', + typeInfo: 'Decimal' + }, { + name: 'refundChargeBackCount', + typeInfo: 'Int' + }, { + name: 'chargeReturnedItemsAmount', + typeInfo: 'Decimal' + }, { + name: 'chargeReturnedItemsCount', + typeInfo: 'Int' + }, { + name: 'refundReturnedItemsAmount', + typeInfo: 'Decimal' + }, { + name: 'refundReturnedItemsCount', + typeInfo: 'Int' }] }, { - localName: 'CreateCustomerProfileTransactionRequest', + localName: 'DeleteCustomerShippingAddressResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'TransactionDetailsType.EmvDetails', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'transaction', + name: 'tag', required: true, - typeInfo: '.ProfileTransactionType' - }, { - name: 'extraOptions' + collection: true, + typeInfo: '.TransactionDetailsType.EmvDetails.Tag' }] }, { - localName: 'ArrayOfReturnedItem', + localName: 'SubscriptionPaymentType', + typeName: 'subscriptionPaymentType', propertyInfos: [{ - name: 'returnedItem', - minOccurs: 0, - collection: true, - typeInfo: '.ReturnedItemType' + name: 'id', + required: true, + typeInfo: 'Int' + }, { + name: 'payNum', + required: true, + typeInfo: 'Int' }] }, { - localName: 'ArrayOfCardType', + localName: 'TransactionRequestType.UserFields', + typeName: null, propertyInfos: [{ - name: 'cardType', + name: 'userField', minOccurs: 0, - maxOccurs: 30, - collection: true + maxOccurs: 20, + collection: true, + typeInfo: '.UserField' }] }, { - localName: 'CustomerPaymentProfileMaskedType', - typeName: 'customerPaymentProfileMaskedType', - baseTypeInfo: '.CustomerPaymentProfileBaseType', + localName: 'UpdateSplitTenderGroupRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileId', + name: 'splitTenderId', required: true }, { - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' - }, { - name: 'payment', - typeInfo: '.PaymentMaskedType' - }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseMaskedType' - }, { - name: 'taxId' - }, { - name: 'subscriptionIds', - typeInfo: '.SubscriptionIdList' + name: 'splitTenderStatus', + required: true }] }, { - localName: 'WebCheckOutDataTypeToken', - typeName: 'webCheckOutDataTypeToken', + localName: 'CreditCardType', + typeName: 'creditCardType', + baseTypeInfo: '.CreditCardSimpleType', propertyInfos: [{ - name: 'cardNumber', - required: true + name: 'cardCode' }, { - name: 'expirationDate', - required: true + name: 'isPaymentToken', + typeInfo: 'Boolean' }, { - name: 'cardCode' + name: 'cryptogram' }, { - name: 'zip' + name: 'tokenRequestorName' }, { - name: 'fullName' + name: 'tokenRequestorId' + }, { + name: 'tokenRequestorEci' }] }, { - localName: 'TransactionListSorting', + localName: 'AuthenticateTestResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'ArrayOfPermissionType', propertyInfos: [{ - name: 'orderBy', - required: true - }, { - name: 'orderDescending', - required: true, - typeInfo: 'Boolean' + name: 'permission', + minOccurs: 0, + collection: true, + typeInfo: '.PermissionType' }] }, { - localName: 'ANetApiResponse', + localName: 'GetAUJobSummaryResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'refId' - }, { - name: 'messages', - required: true, - typeInfo: '.MessagesType' - }, { - name: 'sessionToken' + name: 'auSummary', + typeInfo: '.ArrayOfAUResponseType' }] }, { - localName: 'TransRetailInfoType', - typeName: 'transRetailInfoType', + localName: 'SecurePaymentContainerResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'marketType' - }, { - name: 'deviceType' - }, { - name: 'customerSignature' - }, { - name: 'terminalNumber' + name: 'opaqueData', + required: true, + typeInfo: '.OpaqueDataType' }] }, { - localName: 'ArrayOfString', + localName: 'CreditCardTrackType', + typeName: 'creditCardTrackType', propertyInfos: [{ - name: 'string', - minOccurs: 0, - collection: true + name: 'track1', + required: true + }, { + name: 'track2', + required: true }] }, { - localName: 'TransactionResponse.Errors', + localName: 'TransactionResponse.Messages', typeName: null, propertyInfos: [{ - name: 'error', + name: 'message', minOccurs: 0, collection: true, - typeInfo: '.TransactionResponse.Errors.Error' + typeInfo: '.TransactionResponse.Messages.Message' }] }, { - localName: 'GetHostedProfilePageRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'OpaqueDataType', + typeName: 'opaqueDataType', propertyInfos: [{ - name: 'customerProfileId', + name: 'dataDescriptor', required: true }, { - name: 'hostedProfileSettings', - typeInfo: '.ArrayOfSetting' - }] - }, { - localName: 'IsAliveResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'TransactionRequestType', - typeName: 'transactionRequestType', - propertyInfos: [{ - name: 'transactionType', + name: 'dataValue', required: true }, { - name: 'amount', - typeInfo: 'Decimal' - }, { - name: 'currencyCode' - }, { - name: 'payment', - typeInfo: '.PaymentType' - }, { - name: 'profile', - typeInfo: '.CustomerProfilePaymentType' - }, { - name: 'solution', - typeInfo: '.SolutionType' - }, { - name: 'callId' - }, { - name: 'terminalNumber' - }, { - name: 'authCode' - }, { - name: 'refTransId' - }, { - name: 'splitTenderId' - }, { - name: 'order', - typeInfo: '.OrderType' - }, { - name: 'lineItems', - typeInfo: '.ArrayOfLineItem' - }, { - name: 'tax', - typeInfo: '.ExtendedAmountType' - }, { - name: 'duty', - typeInfo: '.ExtendedAmountType' - }, { - name: 'shipping', - typeInfo: '.ExtendedAmountType' - }, { - name: 'taxExempt', - typeInfo: 'Boolean' - }, { - name: 'poNumber' + name: 'dataKey' }, { - name: 'customer', - typeInfo: '.CustomerDataType' + name: 'expirationTimeStamp', + typeInfo: 'DateTime' + }] + }, { + localName: 'CustomerPaymentProfileBaseType', + typeName: 'customerPaymentProfileBaseType', + propertyInfos: [{ + name: 'customerType' }, { name: 'billTo', typeInfo: '.CustomerAddressType' + }] + }, { + localName: 'BankAccountType', + typeName: 'bankAccountType', + propertyInfos: [{ + name: 'accountType' }, { - name: 'shipTo', - typeInfo: '.NameAndAddressType' + name: 'routingNumber', + required: true }, { - name: 'customerIP' + name: 'accountNumber', + required: true }, { - name: 'cardholderAuthentication', - typeInfo: '.CcAuthenticationType' + name: 'nameOnAccount', + required: true }, { - name: 'retail', - typeInfo: '.TransRetailInfoType' + name: 'echeckType' }, { - name: 'employeeId' + name: 'bankName' }, { - name: 'transactionSettings', - typeInfo: '.ArrayOfSetting' + name: 'checkNumber' + }] + }, { + localName: 'UpdateMerchantDetailsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'isTestMode', + required: true, + typeInfo: 'Boolean' + }] + }, { + localName: 'PaymentScheduleType', + typeName: 'paymentScheduleType', + propertyInfos: [{ + name: 'interval', + typeInfo: '.PaymentScheduleType.Interval' }, { - name: 'userFields', - typeInfo: '.TransactionRequestType.UserFields' + name: 'startDate', + typeInfo: 'Date' }, { - name: 'surcharge', - typeInfo: '.ExtendedAmountType' + name: 'totalOccurrences', + typeInfo: 'Short' }, { - name: 'merchantDescriptor' + name: 'trialOccurrences', + typeInfo: 'Short' + }] + }, { + localName: 'AuDetailsType', + typeName: 'auDetailsType', + propertyInfos: [{ + name: 'customerProfileID', + required: true, + typeInfo: 'Long' }, { - name: 'subMerchant', - typeInfo: '.SubMerchantType' + name: 'customerPaymentProfileID', + required: true, + typeInfo: 'Long' }, { - name: 'tip', - typeInfo: '.ExtendedAmountType' + name: 'firstName' }, { - name: 'processingOptions', - typeInfo: '.ProcessingOptions' + name: 'lastName' }, { - name: 'subsequentAuthInformation', - typeInfo: '.SubsequentAuthInformation' + name: 'updateTimeUTC', + required: true }, { - name: 'otherTax', - typeInfo: '.OtherTaxType' + name: 'auReasonCode', + required: true }, { - name: 'shipFrom', - typeInfo: '.NameAndAddressType' + name: 'reasonDescription', + required: true }] - }, { - localName: 'KeyValue', + }, { + localName: 'UpdateCustomerPaymentProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'encoding', - required: true, - elementName: 'Encoding' - }, { - name: 'encryptionAlgorithm', - required: true, - elementName: 'EncryptionAlgorithm' - }, { - name: 'scheme', - required: true, - elementName: 'Scheme', - typeInfo: '.KeyManagementScheme' + name: 'validationDirectResponse' }] }, { - localName: 'DeleteCustomerShippingAddressRequest', + localName: 'IsAliveResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'SecurePaymentContainerErrorType', + typeName: 'securePaymentContainerErrorType', propertyInfos: [{ - name: 'customerProfileId', + name: 'code', required: true }, { - name: 'customerAddressId', + name: 'description', required: true }] }, { - localName: 'TransactionResponse.PrePaidCard', + localName: 'CreateCustomerShippingAddressResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'requestedAmount' - }, { - name: 'approvedAmount' + name: 'customerProfileId' }, { - name: 'balanceOnCard' + name: 'customerAddressId' }] }, { - localName: 'CreateCustomerPaymentProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'FDSFilterType', propertyInfos: [{ - name: 'customerProfileId', + name: 'name', required: true }, { - name: 'paymentProfile', - required: true, - typeInfo: '.CustomerPaymentProfileType' - }, { - name: 'validationMode' + name: 'action', + required: true }] }, { - localName: 'ProfileTransOrderType', - typeName: 'profileTransOrderType', - baseTypeInfo: '.ProfileTransAmountType', + localName: 'CreateCustomerPaymentProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'customerProfileId' }, { - name: 'customerPaymentProfileId', + name: 'customerPaymentProfileId' + }, { + name: 'validationDirectResponse' + }] + }, { + localName: 'AuUpdateType', + typeName: 'auUpdateType', + baseTypeInfo: '.AuDetailsType', + propertyInfos: [{ + name: 'newCreditCard', + required: true, + typeInfo: '.CreditCardMaskedType' + }, { + name: 'oldCreditCard', + required: true, + typeInfo: '.CreditCardMaskedType' + }] + }, { + localName: 'CustomerAddressType', + typeName: 'customerAddressType', + baseTypeInfo: '.NameAndAddressType', + propertyInfos: [{ + name: 'phoneNumber' + }, { + name: 'faxNumber' + }, { + name: 'email' + }] + }, { + localName: 'UpdateHeldTransactionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'transactionResponse', + typeInfo: '.TransactionResponse' + }] + }, { + localName: 'MobileDeviceLoginRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'ARBGetSubscriptionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'subscription', + required: true, + typeInfo: '.ARBSubscriptionMaskedType' + }] + }, { + localName: 'MerchantAuthenticationType', + typeName: 'merchantAuthenticationType', + propertyInfos: [{ + name: 'name' + }, { + name: 'transactionKey', required: true }, { - name: 'customerShippingAddressId' + name: 'sessionToken' }, { - name: 'order', - typeInfo: '.OrderExType' + name: 'password', + required: true }, { - name: 'taxExempt', - typeInfo: 'Boolean' + name: 'impersonationAuthentication', + typeInfo: '.ImpersonationAuthenticationType' }, { - name: 'recurringBilling', - typeInfo: 'Boolean' + name: 'fingerPrint', + typeInfo: '.FingerPrintType' }, { - name: 'cardCode' + name: 'clientKey' }, { - name: 'splitTenderId' + name: 'accessToken' }, { - name: 'processingOptions', - typeInfo: '.ProcessingOptions' + name: 'mobileDeviceId' + }] + }, { + localName: 'PaymentMaskedType', + typeName: 'paymentMaskedType', + propertyInfos: [{ + name: 'creditCard', + required: true, + typeInfo: '.CreditCardMaskedType' }, { - name: 'subsequentAuthInformation', - typeInfo: '.SubsequentAuthInformation' + name: 'bankAccount', + required: true, + typeInfo: '.BankAccountMaskedType' + }, { + name: 'tokenInformation', + required: true, + typeInfo: '.TokenMaskedType' }] }, { localName: 'CustomerPaymentProfileListItemType', @@ -2904,893 +2823,1021 @@ var Schema_Module_Factory = function () { name: 'payment', required: true, typeInfo: '.PaymentMaskedType' + }, { + name: 'originalNetworkTransId' + }, { + name: 'originalAuthAmount', + typeInfo: 'Decimal' }] }, { - localName: 'TransactionResponse.Messages', - typeName: null, + localName: 'PaymentType', + typeName: 'paymentType', propertyInfos: [{ - name: 'message', + name: 'creditCard', + required: true, + typeInfo: '.CreditCardType' + }, { + name: 'bankAccount', + required: true, + typeInfo: '.BankAccountType' + }, { + name: 'trackData', + required: true, + typeInfo: '.CreditCardTrackType' + }, { + name: 'encryptedTrackData', + required: true, + typeInfo: '.EncryptedTrackDataType' + }, { + name: 'payPal', + required: true, + typeInfo: '.PayPalType' + }, { + name: 'opaqueData', + required: true, + typeInfo: '.OpaqueDataType' + }, { + name: 'emv', + required: true, + typeInfo: '.PaymentEmvType' + }, { + name: 'dataSource' + }] + }, { + localName: 'ArrayOfAUResponseType', + propertyInfos: [{ + name: 'auResponse', minOccurs: 0, collection: true, - typeInfo: '.TransactionResponse.Messages.Message' + typeInfo: '.AuResponseType' }] }, { - localName: 'ExtendedAmountType', - typeName: 'extendedAmountType', + localName: 'TransactionSummaryType', + typeName: 'transactionSummaryType', propertyInfos: [{ - name: 'amount', + name: 'transId', + required: true + }, { + name: 'submitTimeUTC', + required: true, + typeInfo: 'DateTime' + }, { + name: 'submitTimeLocal', required: true, + typeInfo: 'DateTime' + }, { + name: 'transactionStatus', + required: true + }, { + name: 'invoiceNumber' + }, { + name: 'firstName' + }, { + name: 'lastName' + }, { + name: 'accountType', + required: true + }, { + name: 'accountNumber', + required: true + }, { + name: 'settleAmount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'marketType' + }, { + name: 'product' + }, { + name: 'mobileDeviceId' + }, { + name: 'subscription', + typeInfo: '.SubscriptionPaymentType' + }, { + name: 'hasReturnedItems', + typeInfo: 'Boolean' + }, { + name: 'fraudInformation', + typeInfo: '.FraudInformationType' + }, { + name: 'profile', + typeInfo: '.CustomerProfileIdType' + }] + }, { + localName: 'KeyManagementScheme', + propertyInfos: [{ + name: 'dukpt', + required: true, + elementName: 'DUKPT', + typeInfo: '.KeyManagementScheme.DUKPT' + }] + }, { + localName: 'ArrayOfMarketType', + propertyInfos: [{ + name: 'marketType', + minOccurs: 0, + collection: true + }] + }, { + localName: 'AuDeleteType', + typeName: 'auDeleteType', + baseTypeInfo: '.AuDetailsType', + propertyInfos: [{ + name: 'creditCard', + required: true, + typeInfo: '.CreditCardMaskedType' + }] + }, { + localName: 'TransactionDetailsType', + typeName: 'transactionDetailsType', + propertyInfos: [{ + name: 'transId', + required: true + }, { + name: 'refTransId' + }, { + name: 'splitTenderId' + }, { + name: 'submitTimeUTC', + required: true, + typeInfo: 'DateTime' + }, { + name: 'submitTimeLocal', + required: true, + typeInfo: 'DateTime' + }, { + name: 'transactionType', + required: true + }, { + name: 'transactionStatus', + required: true + }, { + name: 'responseCode', + required: true, + typeInfo: 'Int' + }, { + name: 'responseReasonCode', + required: true, + typeInfo: 'Int' + }, { + name: 'subscription', + typeInfo: '.SubscriptionPaymentType' + }, { + name: 'responseReasonDescription', + required: true + }, { + name: 'authCode' + }, { + name: 'avsResponse', + elementName: 'AVSResponse' + }, { + name: 'cardCodeResponse' + }, { + name: 'cavvResponse', + elementName: 'CAVVResponse' + }, { + name: 'fdsFilterAction', + elementName: 'FDSFilterAction' + }, { + name: 'fdsFilters', + elementName: 'FDSFilters', + typeInfo: '.ArrayOfFDSFilter' + }, { + name: 'batch', + typeInfo: '.BatchDetailsType' + }, { + name: 'order', + typeInfo: '.OrderExType' + }, { + name: 'requestedAmount', + typeInfo: 'Decimal' + }, { + name: 'authAmount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'settleAmount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'tax', + typeInfo: '.ExtendedAmountType' + }, { + name: 'shipping', + typeInfo: '.ExtendedAmountType' + }, { + name: 'duty', + typeInfo: '.ExtendedAmountType' + }, { + name: 'lineItems', + typeInfo: '.ArrayOfLineItem' + }, { + name: 'prepaidBalanceRemaining', typeInfo: 'Decimal' }, { - name: 'name' + name: 'taxExempt', + typeInfo: 'Boolean' }, { - name: 'description' - }] - }, { - localName: 'OtherTaxType', - typeName: 'otherTaxType', - propertyInfos: [{ - name: 'nationalTaxAmount', - typeInfo: 'Decimal' + name: 'payment', + required: true, + typeInfo: '.PaymentMaskedType' }, { - name: 'localTaxAmount', - typeInfo: 'Decimal' + name: 'customer', + typeInfo: '.CustomerDataType' }, { - name: 'alternateTaxAmount', - typeInfo: 'Decimal' + name: 'billTo', + typeInfo: '.CustomerAddressType' }, { - name: 'alternateTaxId' + name: 'shipTo', + typeInfo: '.NameAndAddressType' }, { - name: 'vatTaxRate', - typeInfo: 'Decimal' + name: 'recurringBilling', + typeInfo: 'Boolean' }, { - name: 'vatTaxAmount', - typeInfo: 'Decimal' - }] - }, { - localName: 'ProfileTransVoidType', - typeName: 'profileTransVoidType', - propertyInfos: [{ - name: 'customerProfileId' + name: 'customerIP' }, { - name: 'customerPaymentProfileId' + name: 'product' }, { - name: 'customerShippingAddressId' + name: 'entryMode' }, { - name: 'transId', - required: true - }] - }, { - localName: 'ProfileTransactionType', - typeName: 'profileTransactionType', - propertyInfos: [{ - name: 'profileTransAuthCapture', - required: true, - typeInfo: '.ProfileTransAuthCaptureType' + name: 'marketType' }, { - name: 'profileTransAuthOnly', - required: true, - typeInfo: '.ProfileTransAuthOnlyType' + name: 'mobileDeviceId' }, { - name: 'profileTransPriorAuthCapture', - required: true, - typeInfo: '.ProfileTransPriorAuthCaptureType' + name: 'customerSignature' }, { - name: 'profileTransCaptureOnly', - required: true, - typeInfo: '.ProfileTransCaptureOnlyType' + name: 'returnedItems', + typeInfo: '.ArrayOfReturnedItem' }, { - name: 'profileTransRefund', - required: true, - typeInfo: '.ProfileTransRefundType' + name: 'solution', + typeInfo: '.SolutionType' }, { - name: 'profileTransVoid', - required: true, - typeInfo: '.ProfileTransVoidType' - }] - }, { - localName: 'UpdateHeldTransactionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'transactionResponse', - typeInfo: '.TransactionResponse' - }] - }, { - localName: 'EnumCollection', - typeName: null, - propertyInfos: [{ - name: 'customerProfileSummaryType', - required: true, - typeInfo: '.CustomerProfileSummaryType' + name: 'emvDetails', + typeInfo: '.TransactionDetailsType.EmvDetails' }, { - name: 'paymentSimpleType', - required: true, - typeInfo: '.PaymentSimpleType' + name: 'profile', + typeInfo: '.CustomerProfileIdType' }, { - name: 'accountTypeEnum', - required: true + name: 'surcharge', + typeInfo: '.ExtendedAmountType' }, { - name: 'cardTypeEnum', - required: true + name: 'employeeId' }, { - name: 'fdsFilterActionEnum', - required: true, - elementName: 'FDSFilterActionEnum' + name: 'tip', + typeInfo: '.ExtendedAmountType' }, { - name: 'permissionsEnum', - required: true + name: 'otherTax', + typeInfo: '.OtherTaxType' }, { - name: 'settingNameEnum', - required: true + name: 'shipFrom', + typeInfo: '.NameAndAddressType' }, { - name: 'settlementStateEnum', - required: true + name: 'networkTransId' }, { - name: 'transactionStatusEnum', - required: true + name: 'originalNetworkTransId' }, { - name: 'transactionTypeEnum', - required: true + name: 'originalAuthAmount', + typeInfo: 'Decimal' + }, { + name: 'authorizationIndicator' }] }, { - localName: 'GetHostedPaymentPageRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ArrayOfPaymentMethod', propertyInfos: [{ - name: 'transactionRequest', - required: true, - typeInfo: '.TransactionRequestType' - }, { - name: 'hostedPaymentSettings', - typeInfo: '.ArrayOfSetting' + name: 'paymentMethod', + minOccurs: 0, + collection: true }] }, { - localName: 'GetCustomerPaymentProfileListRequest', + localName: 'UpdateMerchantDetailsResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'PaymentEmvType', + typeName: 'paymentEmvType', propertyInfos: [{ - name: 'searchType', - required: true - }, { - name: 'month', - required: true + name: 'emvData', + required: true, + typeInfo: 'AnyType' }, { - name: 'sorting', - typeInfo: '.CustomerPaymentProfileSorting' + name: 'emvDescriptor', + required: true, + typeInfo: 'AnyType' }, { - name: 'paging', - typeInfo: '.Paging' + name: 'emvVersion', + required: true, + typeInfo: 'AnyType' }] }, { - localName: 'GetTransactionDetailsRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ArrayOfContactDetail', propertyInfos: [{ - name: 'transId', - required: true + name: 'contactDetail', + minOccurs: 0, + collection: true, + typeInfo: '.ContactDetailType' }] }, { - localName: 'KeyManagementScheme.DUKPT.DeviceInfo', - typeName: null, + localName: 'ArrayOfFraudFilterType', propertyInfos: [{ - name: 'description', + name: 'fraudFilter', required: true, - elementName: 'Description' + maxOccurs: 1000, + collection: true }] }, { - localName: 'GetHostedPaymentPageResponse', + localName: 'UpdateCustomerShippingAddressRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'token', + name: 'customerProfileId', required: true - }] - }, { - localName: 'ARBCreateSubscriptionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'subscriptionId' }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: 'address', + required: true, + typeInfo: '.CustomerAddressExType' + }, { + name: 'defaultShippingAddress', + typeInfo: 'Boolean' }] }, { - localName: 'UpdateCustomerProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'MobileDeviceLoginRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' - }, { - localName: 'ProfileTransAuthCaptureType', - typeName: 'profileTransAuthCaptureType', - baseTypeInfo: '.ProfileTransOrderType' - }, { - localName: 'TransactionResponse.UserFields', - typeName: null, + localName: 'DriversLicenseType', + typeName: 'driversLicenseType', propertyInfos: [{ - name: 'userField', - minOccurs: 0, - maxOccurs: 20, - collection: true, - typeInfo: '.UserField' + name: 'number', + required: true + }, { + name: 'state', + required: true + }, { + name: 'dateOfBirth', + required: true }] }, { - localName: 'GetAUJobDetailsResponse', + localName: 'ValidateCustomerPaymentProfileResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'totalNumInResultSet', - typeInfo: 'Int' - }, { - name: 'auDetails', - typeInfo: '.ListOfAUDetailsType' - }] - }, { - localName: 'ARBGetSubscriptionListSorting', - propertyInfos: [{ - name: 'orderBy', - required: true - }, { - name: 'orderDescending', - required: true, - typeInfo: 'Boolean' + name: 'directResponse' }] }, { - localName: 'UpdateMerchantDetailsRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ArrayOfTransactionSummaryType', propertyInfos: [{ - name: 'isTestMode', - required: true, - typeInfo: 'Boolean' + name: 'transaction', + minOccurs: 0, + collection: true, + typeInfo: '.TransactionSummaryType' }] }, { - localName: 'CustomerProfileBaseType', - typeName: 'customerProfileBaseType', + localName: 'DecryptPaymentDataResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'merchantCustomerId' + name: 'shippingInfo', + typeInfo: '.CustomerAddressType' }, { - name: 'description' + name: 'billingInfo', + typeInfo: '.CustomerAddressType' }, { - name: 'email' + name: 'cardInfo', + typeInfo: '.CreditCardMaskedType' + }, { + name: 'paymentDetails', + typeInfo: '.PaymentDetails' }] }, { - localName: 'ARBCancelSubscriptionRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'SubscriptionIdList', propertyInfos: [{ name: 'subscriptionId', - required: true + minOccurs: 0, + collection: true }] }, { - localName: 'UpdateCustomerPaymentProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'ArrayOfString', propertyInfos: [{ - name: 'validationDirectResponse' + name: 'string', + minOccurs: 0, + collection: true }] }, { - localName: 'CreateTransactionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'Paging', propertyInfos: [{ - name: 'transactionResponse', + name: 'limit', required: true, - typeInfo: '.TransactionResponse' + typeInfo: 'Int' }, { - name: 'profileResponse', - typeInfo: '.CreateProfileResponse' - }] - }, { - localName: 'GetCustomerPaymentProfileListResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'totalNumInResultSet', + name: 'offset', required: true, typeInfo: 'Int' - }, { - name: 'paymentProfiles', - typeInfo: '.ArrayOfCustomerPaymentProfileListItemType' }] }, { - localName: 'PaymentType', - typeName: 'paymentType', + localName: 'MobileDeviceType', + typeName: 'mobileDeviceType', propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardType' - }, { - name: 'bankAccount', - required: true, - typeInfo: '.BankAccountType' - }, { - name: 'trackData', - required: true, - typeInfo: '.CreditCardTrackType' - }, { - name: 'encryptedTrackData', - required: true, - typeInfo: '.EncryptedTrackDataType' + name: 'mobileDeviceId', + required: true }, { - name: 'payPal', - required: true, - typeInfo: '.PayPalType' + name: 'description' }, { - name: 'opaqueData', - required: true, - typeInfo: '.OpaqueDataType' + name: 'phoneNumber' }, { - name: 'emv', - required: true, - typeInfo: '.PaymentEmvType' + name: 'devicePlatform' }, { - name: 'dataSource' + name: 'deviceActivation' }] }, { - localName: 'CreditCardTrackType', - typeName: 'creditCardTrackType', + localName: 'ArrayOfCustomerPaymentProfileListItemType', + typeName: 'arrayOfCustomerPaymentProfileListItemType', propertyInfos: [{ - name: 'track1', - required: true - }, { - name: 'track2', - required: true + name: 'paymentProfile', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerPaymentProfileListItemType' }] }, { - localName: 'BatchDetailsType', - typeName: 'batchDetailsType', + localName: 'ARBSubscriptionMaskedType', propertyInfos: [{ - name: 'batchId', - required: true + name: 'name' }, { - name: 'settlementTimeUTC', - typeInfo: 'DateTime' + name: 'paymentSchedule', + typeInfo: '.PaymentScheduleType' }, { - name: 'settlementTimeLocal', - typeInfo: 'DateTime' + name: 'amount', + typeInfo: 'Decimal' }, { - name: 'settlementState', - required: true + name: 'trialAmount', + typeInfo: 'Decimal' }, { - name: 'paymentMethod' + name: 'status' }, { - name: 'marketType' + name: 'profile', + typeInfo: '.SubscriptionCustomerProfileType' }, { - name: 'product' + name: 'order', + typeInfo: '.OrderType' }, { - name: 'statistics', - typeInfo: '.ArrayOfBatchStatisticType' + name: 'arbTransactions', + typeInfo: '.ARBTransactionList' }] }, { - localName: 'FraudInformationType', - typeName: 'fraudInformationType', + localName: 'ArrayOfLong', propertyInfos: [{ - name: 'fraudFilterList', - required: true, - typeInfo: '.ArrayOfFraudFilterType' - }, { - name: 'fraudAction', + name: '_long', + minOccurs: 0, + collection: true, + elementName: 'long', + typeInfo: 'Long' + }] + }, { + localName: 'DeleteCustomerProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId', required: true }] - },{ - localName: 'SubsequentAuthInformation', - typeName: 'subsequentAuthInformation', + }, { + localName: 'ArrayOfReturnedItem', propertyInfos: [{ - name: 'originalNetworkTransId' - }, { - name: 'reason' + name: 'returnedItem', + minOccurs: 0, + collection: true, + typeInfo: '.ReturnedItemType' }] }, { - localName: 'TransactionResponse.Messages.Message', - typeName: null, + localName: 'CreditCardSimpleType', + typeName: 'creditCardSimpleType', propertyInfos: [{ - name: 'code' + name: 'cardNumber', + required: true }, { - name: 'description' + name: 'expirationDate', + required: true }] }, { - localName: 'GetCustomerProfileIdsResponse', + localName: 'GetCustomerProfileResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'ids', - required: true, - typeInfo: '.ArrayOfNumericString' + name: 'profile', + typeInfo: '.CustomerProfileMaskedType' + }, { + name: 'subscriptionIds', + typeInfo: '.SubscriptionIdList' }] }, { - localName: 'OrderType', - typeName: 'orderType', + localName: 'PayPalType', + typeName: 'payPalType', propertyInfos: [{ - name: 'invoiceNumber' - }, { - name: 'description' + name: 'successUrl' }, { - name: 'discountAmount', - typeInfo: 'Decimal' + name: 'cancelUrl' }, { - name: 'taxIsAfterDiscount', - typeInfo: 'Boolean' + name: 'paypalLc' }, { - name: 'totalTaxTypeCode' + name: 'paypalHdrImg' }, { - name: 'purchaserVATRegistrationNumber' + name: 'paypalPayflowcolor' }, { - name: 'merchantVATRegistrationNumber' + name: 'payerID' + }] + }, { + localName: 'KeyBlock', + propertyInfos: [{ + name: 'value', + required: true, + elementName: 'Value', + typeInfo: '.KeyValue' + }] + }, { + localName: 'SubMerchantType', + typeName: 'subMerchantType', + propertyInfos: [{ + name: 'identifier', + required: true }, { - name: 'vatInvoiceReferenceNumber' + name: 'doingBusinessAs' }, { - name: 'purchaserCode' + name: 'paymentServiceProviderName' }, { - name: 'summaryCommodityCode' + name: 'paymentServiceFacilitator' }, { - name: 'purchaseOrderDateUTC', - typeInfo: 'Date' + name: 'streetAddress' }, { - name: 'supplierOrderReference' + name: 'phone' }, { - name: 'authorizedContactName' + name: 'email' }, { - name: 'cardAcceptorRefNumber' + name: 'postalCode' }, { - name: 'amexDataTAA1' + name: 'city' }, { - name: 'amexDataTAA2' + name: 'regionCode' }, { - name: 'amexDataTAA3' + name: 'countryCode' + }] + }, { + localName: 'DeleteCustomerShippingAddressRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId', + required: true }, { - name: 'amexDataTAA4' + name: 'customerAddressId', + required: true }] }, { - localName: 'ReturnedItemType', - typeName: 'returnedItemType', + localName: 'AuResponseType', + typeName: 'auResponseType', propertyInfos: [{ - name: 'id', + name: 'auReasonCode', required: true }, { - name: 'dateUTC', - required: true, - typeInfo: 'DateTime' - }, { - name: 'dateLocal', + name: 'profileCount', required: true, - typeInfo: 'DateTime' - }, { - name: 'code', - required: true + typeInfo: 'Long' }, { - name: 'description', + name: 'reasonDescription', required: true }] }, { - localName: 'MobileDeviceLoginResponse', + localName: 'TransactionResponse.Messages.Message', typeName: null, - baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'merchantContact', - required: true, - typeInfo: '.MerchantContactType' + name: 'code' }, { - name: 'userPermissions', + name: 'description' + }] + }, { + localName: 'FraudInformationType', + typeName: 'fraudInformationType', + propertyInfos: [{ + name: 'fraudFilterList', required: true, - typeInfo: '.ArrayOfPermissionType' + typeInfo: '.ArrayOfFraudFilterType' }, { - name: 'merchantAccount', - typeInfo: '.TransRetailInfoType' + name: 'fraudAction', + required: true }] }, { type: 'enumInfo', - localName: 'BankAccountTypeEnum', - values: ['checking', 'savings', 'businessChecking'] + localName: 'ValidationModeEnum', + values: ['none', 'testMode', 'liveMode', 'oldLiveMode'] }, { type: 'enumInfo', - localName: 'CustomerProfileTypeEnum', - values: ['regular', 'guest'] + localName: 'SplitTenderStatusEnum', + values: ['completed', 'held', 'voided'] }, { type: 'enumInfo', - localName: 'MerchantInitTransReasonEnum', - values: ['resubmission', 'delayedCharge', 'reauthorization', 'noShow'] + localName: 'CustomerPaymentProfileSearchTypeEnum', + values: ['cardsExpiringInMonth'] }, { type: 'enumInfo', - localName: 'AfdsTransactionEnum', - values: ['approve', 'decline'] + localName: 'CustomerTypeEnum', + values: ['individual', 'business'] }, { type: 'enumInfo', - localName: 'WebCheckOutTypeEnum', - values: ['PAN', 'TOKEN'] + localName: 'TransactionListOrderFieldEnum', + values: ['id', 'submitTimeUTC'] }, { type: 'enumInfo', - localName: 'EcheckTypeEnum', - values: ['PPD', 'WEB', 'CCD', 'TEL', 'ARC', 'BOC'] + localName: 'MessageTypeEnum', + values: ['Ok', 'Error'] }, { type: 'enumInfo', - localName: 'PaymentMethodsTypeEnum', - values: ['Visa', 'MasterCard', 'Discover', 'AmericanExpress', 'DinersClub', 'JCB', 'EnRoute', 'Echeck', 'Paypal', 'VisaCheckout', 'ApplePay', 'AndroidPay'] + localName: 'WebCheckOutTypeEnum', + values: ['PAN', 'TOKEN'] }, { type: 'enumInfo', localName: 'ARBSubscriptionStatusEnum', values: ['active', 'expired', 'suspended', 'canceled', 'terminated'] }, { type: 'enumInfo', - localName: 'ValidationModeEnum', - values: ['none', 'testMode', 'liveMode', 'oldLiveMode'] + localName: 'CustomerPaymentProfileOrderFieldEnum', + values: ['id'] }, { type: 'enumInfo', - localName: 'CustomerPaymentProfileSearchTypeEnum', - values: ['cardsExpiringInMonth'] + localName: 'TransactionStatusEnum', + values: ['authorizedPendingCapture', 'capturedPendingSettlement', 'communicationError', 'refundSettledSuccessfully', 'refundPendingSettlement', 'approvedReview', 'declined', 'couldNotVoid', 'expired', 'generalError', 'pendingFinalSettlement', 'pendingSettlement', 'failedReview', 'settledSuccessfully', 'settlementError', 'underReview', 'updatingSettlement', 'voided', 'FDSPendingReview', 'FDSAuthorizedPendingReview', 'returnedItem', 'chargeback', 'chargebackReversal', 'authorizedPendingRelease'] + }, { + type: 'enumInfo', + localName: 'EcheckTypeEnum', + values: ['PPD', 'WEB', 'CCD', 'TEL', 'ARC', 'BOC'] + }, { + type: 'enumInfo', + localName: 'AfdsTransactionEnum', + values: ['approve', 'decline'] }, { type: 'enumInfo', localName: 'CardTypeEnum', values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub'] }, { type: 'enumInfo', - localName: 'SplitTenderStatusEnum', - values: ['completed', 'held', 'voided'] + localName: 'BankAccountTypeEnum', + values: ['checking', 'savings', 'businessChecking'] + }, { + type: 'enumInfo', + localName: 'DeviceActivationEnum', + values: ['Activate', 'Disable'] }, { type: 'enumInfo', localName: 'SettingNameEnum', - values: ['emailCustomer', 'merchantEmail', 'allowPartialAuth', 'headerEmailReceipt', 'footerEmailReceipt', 'recurringBilling', 'duplicateWindow', 'testRequest', 'hostedProfileReturnUrl', 'hostedProfileReturnUrlText', 'hostedProfilePageBorderVisible', 'hostedProfileIFrameCommunicatorUrl', 'hostedProfileHeadingBgColor', 'hostedProfileValidationMode', 'hostedProfileBillingAddressRequired', 'hostedProfileCardCodeRequired', 'hostedProfileBillingAddressOptions', 'hostedProfileManageOptions', 'hostedPaymentIFrameCommunicatorUrl', 'hostedPaymentButtonOptions', 'hostedPaymentReturnOptions', 'hostedPaymentOrderOptions', 'hostedPaymentPaymentOptions', 'hostedPaymentBillingAddressOptions', 'hostedPaymentShippingAddressOptions', 'hostedPaymentSecurityOptions', 'hostedPaymentCustomerOptions', 'hostedPaymentStyleOptions', 'typeEmailReceipt', 'hostedProfilePaymentOptions', 'hostedProfileSaveButtonText'] + values: ['emailCustomer', 'merchantEmail', 'allowPartialAuth', 'headerEmailReceipt', 'footerEmailReceipt', 'recurringBilling', 'duplicateWindow', 'testRequest', 'hostedProfileReturnUrl', 'hostedProfileReturnUrlText', 'hostedProfilePageBorderVisible', 'hostedProfileIFrameCommunicatorUrl', 'hostedProfileHeadingBgColor', 'hostedProfileValidationMode', 'hostedProfileBillingAddressRequired', 'hostedProfileCardCodeRequired', 'hostedProfileBillingAddressOptions', 'hostedProfileManageOptions', 'hostedPaymentIFrameCommunicatorUrl', 'hostedPaymentButtonOptions', 'hostedPaymentReturnOptions', 'hostedPaymentOrderOptions', 'hostedPaymentPaymentOptions', 'hostedPaymentBillingAddressOptions', 'hostedPaymentShippingAddressOptions', 'hostedPaymentSecurityOptions', 'hostedPaymentCustomerOptions', 'hostedPaymentStyleOptions', 'typeEmailReceipt', 'hostedProfilePaymentOptions', 'hostedProfileSaveButtonText', 'hostedPaymentVisaCheckoutOptions'] }, { type: 'enumInfo', - localName: 'EncryptionAlgorithmType', - values: ['TDES', 'AES', 'RSA'] + localName: 'CustomerProfileTypeEnum', + values: ['regular', 'guest'] }, { type: 'enumInfo', - localName: 'FDSFilterActionEnum', - values: ['reject', 'decline', 'hold', 'authAndHold', 'report'] + localName: 'MerchantInitTransReasonEnum', + values: ['resubmission', 'delayedCharge', 'reauthorization', 'noShow'] }, { type: 'enumInfo', localName: 'AccountTypeEnum', values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub', 'eCheck'] }, { type: 'enumInfo', - localName: 'PermissionsEnum', - values: ['API_Merchant_BasicReporting', 'Submit_Charge', 'Submit_Refund', 'Submit_Update', 'Mobile_Admin'] - }, { - type: 'enumInfo', - localName: 'OperationType', - values: ['DECRYPT'] - }, { - type: 'enumInfo', - localName: 'TransactionStatusEnum', - values: ['authorizedPendingCapture', 'capturedPendingSettlement', 'communicationError', 'refundSettledSuccessfully', 'refundPendingSettlement', 'approvedReview', 'declined', 'couldNotVoid', 'expired', 'generalError', 'pendingFinalSettlement', 'pendingSettlement', 'failedReview', 'settledSuccessfully', 'settlementError', 'underReview', 'updatingSettlement', 'voided', 'FDSPendingReview', 'FDSAuthorizedPendingReview', 'returnedItem', 'chargeback', 'chargebackReversal', 'authorizedPendingRelease'] + localName: 'PaymentMethodsTypeEnum', + values: ['Visa', 'MasterCard', 'Discover', 'AmericanExpress', 'DinersClub', 'JCB', 'EnRoute', 'Echeck', 'Paypal', 'VisaCheckout', 'ApplePay', 'AndroidPay', 'GooglePay'] }, { type: 'enumInfo', - localName: 'ARBGetSubscriptionListOrderFieldEnum', - values: ['id', 'name', 'status', 'createTimeStampUTC', 'lastName', 'firstName', 'accountNumber', 'amount', 'pastOccurrences'] + localName: 'TransactionGroupStatusEnum', + values: ['any', 'pendingApproval'] }, { type: 'enumInfo', - localName: 'CustomerPaymentProfileOrderFieldEnum', - values: ['id'] + localName: 'FDSFilterActionEnum', + values: ['reject', 'decline', 'hold', 'authAndHold', 'report'] }, { type: 'enumInfo', - localName: 'CustomerTypeEnum', - values: ['individual', 'business'] + localName: 'SettlementStateEnum', + values: ['settledSuccessfully', 'settlementError', 'pendingSettlement'] }, { type: 'enumInfo', localName: 'ARBSubscriptionUnitEnum', values: ['days', 'months'] - }, { - type: 'enumInfo', - localName: 'TransactionGroupStatusEnum', - values: ['any', 'pendingApproval'] }, { type: 'enumInfo', localName: 'ARBGetSubscriptionListSearchTypeEnum', values: ['cardExpiringThisMonth', 'subscriptionActive', 'subscriptionExpiringThisMonth', 'subscriptionInactive'] }, { type: 'enumInfo', - localName: 'TransactionListOrderFieldEnum', - values: ['id', 'submitTimeUTC'] + localName: 'EncodingType', + values: ['Base64', 'Hex'] + }, { + type: 'enumInfo', + localName: 'PaymentMethodEnum', + values: ['creditCard', 'eCheck', 'payPal'] }, { type: 'enumInfo', localName: 'TransactionTypeEnum', values: ['authOnlyTransaction', 'authCaptureTransaction', 'captureOnlyTransaction', 'refundTransaction', 'priorAuthCaptureTransaction', 'voidTransaction', 'getDetailsTransaction', 'authOnlyContinueTransaction', 'authCaptureContinueTransaction'] }, { type: 'enumInfo', - localName: 'DeviceActivationEnum', - values: ['Activate', 'Disable'] + localName: 'ARBGetSubscriptionListOrderFieldEnum', + values: ['id', 'name', 'status', 'createTimeStampUTC', 'lastName', 'firstName', 'accountNumber', 'amount', 'pastOccurrences'] }, { type: 'enumInfo', - localName: 'PaymentMethodEnum', - values: ['creditCard', 'eCheck', 'payPal'] + localName: 'EncryptionAlgorithmType', + values: ['TDES', 'AES', 'RSA'] }, { type: 'enumInfo', - localName: 'SettlementStateEnum', - values: ['settledSuccessfully', 'settlementError', 'pendingSettlement'] + localName: 'PermissionsEnum', + values: ['API_Merchant_BasicReporting', 'Submit_Charge', 'Submit_Refund', 'Submit_Update', 'Mobile_Admin'] }, { type: 'enumInfo', - localName: 'MessageTypeEnum', - values: ['Ok', 'Error'] + localName: 'AUJobTypeEnum', + values: ['all', 'updates', 'deletes'] }, { type: 'enumInfo', - localName: 'EncodingType', - values: ['Base64', 'Hex'] + localName: 'AuthIndicatorEnum', + values: ['pre', 'final'] }, { type: 'enumInfo', - localName: 'AUJobTypeEnum', - values: ['all', 'updates', 'deletes'] + localName: 'OperationType', + values: ['DECRYPT'] }], elementInfos: [{ - elementName: 'getMerchantDetailsResponse', - typeInfo: '.GetMerchantDetailsResponse' - }, { - elementName: 'EnumCollection', - typeInfo: '.EnumCollection' + elementName: 'deleteCustomerProfileRequest', + typeInfo: '.DeleteCustomerProfileRequest' }, { - elementName: 'mobileDeviceRegistrationResponse', - typeInfo: '.MobileDeviceRegistrationResponse' + elementName: 'createCustomerShippingAddressResponse', + typeInfo: '.CreateCustomerShippingAddressResponse' }, { - elementName: 'ARBGetSubscriptionRequest', - typeInfo: '.ARBGetSubscriptionRequest' + elementName: 'createTransactionRequest', + typeInfo: '.CreateTransactionRequest' }, { - elementName: 'mobileDeviceLoginResponse', - typeInfo: '.MobileDeviceLoginResponse' + elementName: 'getCustomerProfileIdsRequest', + typeInfo: '.GetCustomerProfileIdsRequest' }, { elementName: 'ARBGetSubscriptionListResponse', typeInfo: '.ARBGetSubscriptionListResponse' }, { - elementName: 'getCustomerPaymentProfileRequest', - typeInfo: '.GetCustomerPaymentProfileRequest' - }, { - elementName: 'deleteCustomerPaymentProfileRequest', - typeInfo: '.DeleteCustomerPaymentProfileRequest' - }, { - elementName: 'createTransactionRequest', - typeInfo: '.CreateTransactionRequest' - }, { - elementName: 'getSettledBatchListResponse', - typeInfo: '.GetSettledBatchListResponse' - }, { - elementName: 'updateCustomerShippingAddressResponse', - typeInfo: '.UpdateCustomerShippingAddressResponse' + elementName: 'updateSplitTenderGroupResponse', + typeInfo: '.UpdateSplitTenderGroupResponse' }, { - elementName: 'updateCustomerProfileResponse', - typeInfo: '.UpdateCustomerProfileResponse' + elementName: 'deleteCustomerProfileResponse', + typeInfo: '.DeleteCustomerProfileResponse' }, { - elementName: 'createCustomerShippingAddressRequest', - typeInfo: '.CreateCustomerShippingAddressRequest' + elementName: 'getHostedProfilePageResponse', + typeInfo: '.GetHostedProfilePageResponse' }, { - elementName: 'sendCustomerTransactionReceiptResponse', - typeInfo: '.SendCustomerTransactionReceiptResponse' + elementName: 'ARBGetSubscriptionResponse', + typeInfo: '.ARBGetSubscriptionResponse' }, { elementName: 'decryptPaymentDataRequest', typeInfo: '.DecryptPaymentDataRequest' }, { - elementName: 'ARBCreateSubscriptionResponse', - typeInfo: '.ARBCreateSubscriptionResponse' - }, { - elementName: 'createCustomerPaymentProfileRequest', - typeInfo: '.CreateCustomerPaymentProfileRequest' - }, { - elementName: 'getTransactionDetailsResponse', - typeInfo: '.GetTransactionDetailsResponse' - }, { - elementName: 'createTransactionResponse', - typeInfo: '.CreateTransactionResponse' + elementName: 'getBatchStatisticsRequest', + typeInfo: '.GetBatchStatisticsRequest' }, { - elementName: 'ARBCancelSubscriptionResponse', - typeInfo: '.ARBCancelSubscriptionResponse' + elementName: 'createCustomerProfileRequest', + typeInfo: '.CreateCustomerProfileRequest' }, { - elementName: 'updateHeldTransactionResponse', - typeInfo: '.UpdateHeldTransactionResponse' + elementName: 'deleteCustomerPaymentProfileResponse', + typeInfo: '.DeleteCustomerPaymentProfileResponse' }, { - elementName: 'isAliveResponse', - typeInfo: '.IsAliveResponse' + elementName: 'ARBGetSubscriptionRequest', + typeInfo: '.ARBGetSubscriptionRequest' }, { - elementName: 'createCustomerProfileFromTransactionRequest', - typeInfo: '.CreateCustomerProfileFromTransactionRequest' + elementName: 'updateCustomerShippingAddressResponse', + typeInfo: '.UpdateCustomerShippingAddressResponse' }, { - elementName: 'updateSplitTenderGroupResponse', - typeInfo: '.UpdateSplitTenderGroupResponse' + elementName: 'mobileDeviceLoginResponse', + typeInfo: '.MobileDeviceLoginResponse' }, { - elementName: 'getTransactionListForCustomerRequest', - typeInfo: '.GetTransactionListForCustomerRequest' + elementName: 'getCustomerProfileResponse', + typeInfo: '.GetCustomerProfileResponse' }, { - elementName: 'getCustomerProfileIdsRequest', - typeInfo: '.GetCustomerProfileIdsRequest' + elementName: 'updateHeldTransactionRequest', + typeInfo: '.UpdateHeldTransactionRequest' }, { - elementName: 'ARBGetSubscriptionStatusResponse', - typeInfo: '.ARBGetSubscriptionStatusResponse' + elementName: 'mobileDeviceRegistrationResponse', + typeInfo: '.MobileDeviceRegistrationResponse' }, { - elementName: 'createCustomerShippingAddressResponse', - typeInfo: '.CreateCustomerShippingAddressResponse' + elementName: 'createCustomerProfileResponse', + typeInfo: '.CreateCustomerProfileResponse' }, { - elementName: 'getUnsettledTransactionListRequest', - typeInfo: '.GetUnsettledTransactionListRequest' + elementName: 'getCustomerPaymentProfileListResponse', + typeInfo: '.GetCustomerPaymentProfileListResponse' }, { - elementName: 'ARBCancelSubscriptionRequest', - typeInfo: '.ARBCancelSubscriptionRequest' + elementName: 'getAUJobDetailsResponse', + typeInfo: '.GetAUJobDetailsResponse' }, { - elementName: 'getBatchStatisticsRequest', - typeInfo: '.GetBatchStatisticsRequest' + elementName: 'createTransactionResponse', + typeInfo: '.CreateTransactionResponse' }, { - elementName: 'getSettledBatchListRequest', - typeInfo: '.GetSettledBatchListRequest' + elementName: 'getTransactionListRequest', + typeInfo: '.GetTransactionListRequest' }, { - elementName: 'getHostedProfilePageRequest', - typeInfo: '.GetHostedProfilePageRequest' + elementName: 'logoutRequest', + typeInfo: '.LogoutRequest' }, { - elementName: 'getCustomerPaymentProfileListRequest', - typeInfo: '.GetCustomerPaymentProfileListRequest' + elementName: 'createCustomerProfileFromTransactionRequest', + typeInfo: '.CreateCustomerProfileFromTransactionRequest' }, { - elementName: 'ARBCreateSubscriptionRequest', - typeInfo: '.ARBCreateSubscriptionRequest' + elementName: 'ARBCreateSubscriptionResponse', + typeInfo: '.ARBCreateSubscriptionResponse' + }, { + elementName: 'getSettledBatchListResponse', + typeInfo: '.GetSettledBatchListResponse' }, { elementName: 'getHostedPaymentPageRequest', typeInfo: '.GetHostedPaymentPageRequest' }, { - elementName: 'getTransactionListRequest', - typeInfo: '.GetTransactionListRequest' + elementName: 'mobileDeviceRegistrationRequest', + typeInfo: '.MobileDeviceRegistrationRequest' }, { elementName: 'getAUJobSummaryRequest', typeInfo: '.GetAUJobSummaryRequest' - }, { - elementName: 'getCustomerProfileIdsResponse', - typeInfo: '.GetCustomerProfileIdsResponse' - }, { - elementName: 'getBatchStatisticsResponse', - typeInfo: '.GetBatchStatisticsResponse' }, { elementName: 'ARBUpdateSubscriptionRequest', typeInfo: '.ARBUpdateSubscriptionRequest' }, { - elementName: 'getCustomerProfileResponse', - typeInfo: '.GetCustomerProfileResponse' - }, { - elementName: 'deleteCustomerShippingAddressResponse', - typeInfo: '.DeleteCustomerShippingAddressResponse' + elementName: 'updateCustomerProfileResponse', + typeInfo: '.UpdateCustomerProfileResponse' }, { - elementName: 'logoutRequest', - typeInfo: '.LogoutRequest' + elementName: 'sendCustomerTransactionReceiptRequest', + typeInfo: '.SendCustomerTransactionReceiptRequest' }, { - elementName: 'getCustomerPaymentProfileResponse', - typeInfo: '.GetCustomerPaymentProfileResponse' + elementName: 'mobileDeviceLoginRequest', + typeInfo: '.MobileDeviceLoginRequest' }, { - elementName: 'updateCustomerPaymentProfileResponse', - typeInfo: '.UpdateCustomerPaymentProfileResponse' + elementName: 'ARBGetSubscriptionStatusResponse', + typeInfo: '.ARBGetSubscriptionStatusResponse' }, { - elementName: 'getTransactionDetailsRequest', - typeInfo: '.GetTransactionDetailsRequest' + elementName: 'validateCustomerPaymentProfileRequest', + typeInfo: '.ValidateCustomerPaymentProfileRequest' }, { - elementName: 'securePaymentContainerRequest', - typeInfo: '.SecurePaymentContainerRequest' + elementName: 'ARBUpdateSubscriptionResponse', + typeInfo: '.ARBUpdateSubscriptionResponse' }, { - elementName: 'deleteCustomerProfileRequest', - typeInfo: '.DeleteCustomerProfileRequest' + elementName: 'createCustomerProfileTransactionRequest', + typeInfo: '.CreateCustomerProfileTransactionRequest' }, { - elementName: 'getUnsettledTransactionListResponse', - typeInfo: '.GetUnsettledTransactionListResponse' + elementName: 'getCustomerShippingAddressResponse', + typeInfo: '.GetCustomerShippingAddressResponse' }, { - elementName: 'ARBGetSubscriptionResponse', - typeInfo: '.ARBGetSubscriptionResponse' + elementName: 'getCustomerProfileIdsResponse', + typeInfo: '.GetCustomerProfileIdsResponse' }, { - elementName: 'getHostedProfilePageResponse', - typeInfo: '.GetHostedProfilePageResponse' + elementName: 'deleteCustomerPaymentProfileRequest', + typeInfo: '.DeleteCustomerPaymentProfileRequest' }, { - elementName: 'getCustomerShippingAddressResponse', - typeInfo: '.GetCustomerShippingAddressResponse' + elementName: 'getCustomerPaymentProfileNonceResponse', + typeInfo: '.GetCustomerPaymentProfileNonceResponse' }, { - elementName: 'createCustomerProfileResponse', - typeInfo: '.CreateCustomerProfileResponse' + elementName: 'createCustomerPaymentProfileRequest', + typeInfo: '.CreateCustomerPaymentProfileRequest' }, { - elementName: 'updateHeldTransactionRequest', - typeInfo: '.UpdateHeldTransactionRequest' + elementName: 'getCustomerPaymentProfileResponse', + typeInfo: '.GetCustomerPaymentProfileResponse' }, { - elementName: 'authenticateTestRequest', - typeInfo: '.AuthenticateTestRequest' + elementName: 'getSettledBatchListRequest', + typeInfo: '.GetSettledBatchListRequest' }, { - elementName: 'deleteCustomerPaymentProfileResponse', - typeInfo: '.DeleteCustomerPaymentProfileResponse' + elementName: 'getAUJobDetailsRequest', + typeInfo: '.GetAUJobDetailsRequest' }, { - elementName: 'updateCustomerShippingAddressRequest', - typeInfo: '.UpdateCustomerShippingAddressRequest' + elementName: 'ARBCancelSubscriptionRequest', + typeInfo: '.ARBCancelSubscriptionRequest' }, { - elementName: 'deleteCustomerProfileResponse', - typeInfo: '.DeleteCustomerProfileResponse' + elementName: 'updateMerchantDetailsRequest', + typeInfo: '.UpdateMerchantDetailsRequest' }, { - elementName: 'createCustomerProfileTransactionRequest', - typeInfo: '.CreateCustomerProfileTransactionRequest' + elementName: 'securePaymentContainerRequest', + typeInfo: '.SecurePaymentContainerRequest' }, { - elementName: 'securePaymentContainerResponse', - typeInfo: '.SecurePaymentContainerResponse' + elementName: 'getTransactionListForCustomerRequest', + typeInfo: '.GetTransactionListForCustomerRequest' }, { - elementName: 'updateCustomerPaymentProfileRequest', - typeInfo: '.UpdateCustomerPaymentProfileRequest' + elementName: 'updateCustomerPaymentProfileResponse', + typeInfo: '.UpdateCustomerPaymentProfileResponse' }, { - elementName: 'deleteCustomerShippingAddressRequest', - typeInfo: '.DeleteCustomerShippingAddressRequest' + elementName: 'isAliveRequest', + typeInfo: '.IsAliveRequest' }, { - elementName: 'ARBGetSubscriptionStatusRequest', - typeInfo: '.ARBGetSubscriptionStatusRequest' + elementName: 'ARBCancelSubscriptionResponse', + typeInfo: '.ARBCancelSubscriptionResponse' }, { - elementName: 'updateCustomerProfileRequest', - typeInfo: '.UpdateCustomerProfileRequest' + elementName: 'getTransactionDetailsRequest', + typeInfo: '.GetTransactionDetailsRequest' }, { - elementName: 'authenticateTestResponse', - typeInfo: '.AuthenticateTestResponse' + elementName: 'getUnsettledTransactionListRequest', + typeInfo: '.GetUnsettledTransactionListRequest' }, { - elementName: 'ARBUpdateSubscriptionResponse', - typeInfo: '.ARBUpdateSubscriptionResponse' + elementName: 'createCustomerShippingAddressRequest', + typeInfo: '.CreateCustomerShippingAddressRequest' }, { - elementName: 'sendCustomerTransactionReceiptRequest', - typeInfo: '.SendCustomerTransactionReceiptRequest' + elementName: 'deleteCustomerShippingAddressResponse', + typeInfo: '.DeleteCustomerShippingAddressResponse' }, { - elementName: 'getTransactionListResponse', - typeInfo: '.GetTransactionListResponse' + elementName: 'getMerchantDetailsRequest', + typeInfo: '.GetMerchantDetailsRequest' }, { - elementName: 'createCustomerPaymentProfileResponse', - typeInfo: '.CreateCustomerPaymentProfileResponse' + elementName: 'getMerchantDetailsResponse', + typeInfo: '.GetMerchantDetailsResponse' }, { - elementName: 'getCustomerPaymentProfileListResponse', - typeInfo: '.GetCustomerPaymentProfileListResponse' + elementName: 'updateCustomerPaymentProfileRequest', + typeInfo: '.UpdateCustomerPaymentProfileRequest' }, { - elementName: 'mobileDeviceRegistrationRequest', - typeInfo: '.MobileDeviceRegistrationRequest' + elementName: 'createCustomerProfileTransactionResponse', + typeInfo: '.CreateCustomerProfileTransactionResponse' }, { - elementName: 'getHostedPaymentPageResponse', - typeInfo: '.GetHostedPaymentPageResponse' + elementName: 'validateCustomerPaymentProfileResponse', + typeInfo: '.ValidateCustomerPaymentProfileResponse' }, { elementName: 'logoutResponse', typeInfo: '.LogoutResponse' }, { - elementName: 'getAUJobDetailsResponse', - typeInfo: '.GetAUJobDetailsResponse' + elementName: 'getAUJobSummaryResponse', + typeInfo: '.GetAUJobSummaryResponse' }, { - elementName: 'isAliveRequest', - typeInfo: '.IsAliveRequest' + elementName: 'ARBCreateSubscriptionRequest', + typeInfo: '.ARBCreateSubscriptionRequest' }, { - elementName: 'validateCustomerPaymentProfileRequest', - typeInfo: '.ValidateCustomerPaymentProfileRequest' + elementName: 'updateCustomerProfileRequest', + typeInfo: '.UpdateCustomerProfileRequest' }, { - elementName: 'getMerchantDetailsRequest', - typeInfo: '.GetMerchantDetailsRequest' + elementName: 'createCustomerPaymentProfileResponse', + typeInfo: '.CreateCustomerPaymentProfileResponse' }, { - elementName: 'getAUJobSummaryResponse', - typeInfo: '.GetAUJobSummaryResponse' + elementName: 'getTransactionDetailsResponse', + typeInfo: '.GetTransactionDetailsResponse' }, { - elementName: 'createCustomerProfileRequest', - typeInfo: '.CreateCustomerProfileRequest' + elementName: 'decryptPaymentDataResponse', + typeInfo: '.DecryptPaymentDataResponse' }, { - elementName: 'validateCustomerPaymentProfileResponse', - typeInfo: '.ValidateCustomerPaymentProfileResponse' + elementName: 'sendCustomerTransactionReceiptResponse', + typeInfo: '.SendCustomerTransactionReceiptResponse' }, { elementName: 'ErrorResponse', typeInfo: '.ANetApiResponse' }, { - elementName: 'updateSplitTenderGroupRequest', - typeInfo: '.UpdateSplitTenderGroupRequest' + elementName: 'getCustomerProfileRequest', + typeInfo: '.GetCustomerProfileRequest' }, { - elementName: 'mobileDeviceLoginRequest', - typeInfo: '.MobileDeviceLoginRequest' + elementName: 'getTransactionListResponse', + typeInfo: '.GetTransactionListResponse' }, { - elementName: 'getAUJobDetailsRequest', - typeInfo: '.GetAUJobDetailsRequest' + elementName: 'updateHeldTransactionResponse', + typeInfo: '.UpdateHeldTransactionResponse' }, { - elementName: 'decryptPaymentDataResponse', - typeInfo: '.DecryptPaymentDataResponse' + elementName: 'getUnsettledTransactionListResponse', + typeInfo: '.GetUnsettledTransactionListResponse' }, { - elementName: 'getCustomerProfileRequest', - typeInfo: '.GetCustomerProfileRequest' + elementName: 'ARBGetSubscriptionStatusRequest', + typeInfo: '.ARBGetSubscriptionStatusRequest' }, { - elementName: 'updateMerchantDetailsRequest', - typeInfo: '.UpdateMerchantDetailsRequest' + elementName: 'EnumCollection', + typeInfo: '.EnumCollection' + }, { + elementName: 'deleteCustomerShippingAddressRequest', + typeInfo: '.DeleteCustomerShippingAddressRequest' + }, { + elementName: 'getHostedProfilePageRequest', + typeInfo: '.GetHostedProfilePageRequest' + }, { + elementName: 'updateCustomerShippingAddressRequest', + typeInfo: '.UpdateCustomerShippingAddressRequest' }, { elementName: 'updateMerchantDetailsResponse', typeInfo: '.UpdateMerchantDetailsResponse' }, { - elementName: 'getCustomerShippingAddressRequest', - typeInfo: '.GetCustomerShippingAddressRequest' + elementName: 'updateSplitTenderGroupRequest', + typeInfo: '.UpdateSplitTenderGroupRequest' }, { - elementName: 'createCustomerProfileTransactionResponse', - typeInfo: '.CreateCustomerProfileTransactionResponse' + elementName: 'getBatchStatisticsResponse', + typeInfo: '.GetBatchStatisticsResponse' }, { elementName: 'ARBGetSubscriptionListRequest', typeInfo: '.ARBGetSubscriptionListRequest' + }, { + elementName: 'getCustomerShippingAddressRequest', + typeInfo: '.GetCustomerShippingAddressRequest' + }, { + elementName: 'getCustomerPaymentProfileListRequest', + typeInfo: '.GetCustomerPaymentProfileListRequest' + }, { + elementName: 'getCustomerPaymentProfileRequest', + typeInfo: '.GetCustomerPaymentProfileRequest' + }, { + elementName: 'isAliveResponse', + typeInfo: '.IsAliveResponse' + }, { + elementName: 'authenticateTestRequest', + typeInfo: '.AuthenticateTestRequest' + }, { + elementName: 'authenticateTestResponse', + typeInfo: '.AuthenticateTestResponse' + }, { + elementName: 'getHostedPaymentPageResponse', + typeInfo: '.GetHostedPaymentPageResponse' + }, { + elementName: 'securePaymentContainerResponse', + typeInfo: '.SecurePaymentContainerResponse' + }, { + elementName: 'getCustomerPaymentProfileNonceRequest', + typeInfo: '.GetCustomerPaymentProfileNonceRequest' }] }; return { diff --git a/package.json b/package.json index 3768b66..7bab0cb 100644 --- a/package.json +++ b/package.json @@ -11,10 +11,10 @@ "winston": "^2.2.0" }, "devDependencies": { - "eslint": "^2.12.0", - "jsonix": "^2.3.2", "chai": "^3.5.0", - "mocha": "^3.0.2" + "eslint": "^6.6.0", + "jsonix": "^2.3.2", + "mocha": "^8.2.1" }, "scripts": { "test": "mocha" diff --git a/scripts/generateObjectsFromSchema.sh b/scripts/generateObjectsFromSchema.sh index b1bcb4f..77af146 100644 --- a/scripts/generateObjectsFromSchema.sh +++ b/scripts/generateObjectsFromSchema.sh @@ -11,17 +11,18 @@ echo Starting ${dt} CDIR=`pwd` SRCDIR=${CDIR} -HOST=apitest.authorize.net -PROTOCOL=https -LOCALXSD=mappings/AnetApiSchema.xsd +# HOST=apitest.authorize.net +# PROTOCOL=https +# LOCALXSD=mappings/AnetApiSchema.xsd -XSD=${PROTOCOL}://${HOST}/xml/v1/schema/AnetApiSchema.xsd +# XSD=${PROTOCOL}://${HOST}/xml/v1/schema/AnetApiSchema.xsd -echo Get Latest XSD from path - ${XSD} +# echo Get Latest XSD from path - ${XSD} -wget -O ${LOCALXSD} ${XSD} +# wget -O ${LOCALXSD} ${XSD} -ERRORCODE=$? +# ERRORCODE=$? +ERRORCODE=0 if [ $ERRORCODE -eq 0 ]; then echo Generating Schema.js from XSD From 8dd78d6a1c886d90ed2b281fac03f261f1f34e89 Mon Sep 17 00:00:00 2001 From: Gabriel Broadwin Nongsiej Date: Wed, 10 Mar 2021 16:40:41 +0530 Subject: [PATCH 39/58] Upgraded node version --- .travis.yml | 8 ++++++++ README.md | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bd71313..1c046fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,14 @@ node_js: - "4" - "6" - "8" + - "10" + - "12" + +matrix: + allow_failures: + - node_js: "4" + - node_js: "6" + - node_js: "8" before_install: # execute all of the commands which need to be executed diff --git a/README.md b/README.md index f298085..8aeb278 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ## Requirements -* Node.js version 4.8.4 or higher +* Node.js version 10.0.0 or higher * An Authorize.Net account (see _Registration & Configuration_ section below) ### Contribution From cdb007cadb7b0cbf70890a9b29d0b54c39c28593 Mon Sep 17 00:00:00 2001 From: Gabriel Broadwin Nongsiej Date: Wed, 10 Mar 2021 17:04:52 +0530 Subject: [PATCH 40/58] Updated data --- test/test-transactionreporting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-transactionreporting.js b/test/test-transactionreporting.js index 13ea667..a482486 100644 --- a/test/test-transactionreporting.js +++ b/test/test-transactionreporting.js @@ -135,7 +135,7 @@ describe('Transaction Reporting', function() { var getRequest = new ApiContracts.GetTransactionListForCustomerRequest(); getRequest.setMerchantAuthentication(testData.merchantAuthenticationType); - getRequest.setCustomerProfileId('1811474252'); + getRequest.setCustomerProfileId('1930354059'); //console.log(JSON.stringify(getRequest.getJSON(), null, 2)); From d02bf095c15577f4fb3d54d497a4e2235a57ca89 Mon Sep 17 00:00:00 2001 From: Gabriel Broadwin Nongsiej Date: Wed, 31 Mar 2021 19:43:28 +0530 Subject: [PATCH 41/58] Upgrade to new version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7bab0cb..853f166 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "authorizenet", - "version": "1.0.7", + "version": "1.0.8", "description": "nodejs sdk for Authorize.Net", "main": "lib/authorizenet.js", "directories": { From b04dfc5c06bf69d7d3906d2fb8bc46c63ff81d46 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Tue, 23 Jul 2024 15:55:45 +0530 Subject: [PATCH 42/58] Improved logging framework and Switched out the `request` package for `axios` --- lib/apicontracts.js | 332 +- lib/apicontrollers.js | 243 +- lib/apicontrollersbase.js | 78 +- lib/logger.js | 125 +- mappings/Schema.js | 4783 +++++++++++----------- package.json | 8 +- scripts/ControllerTemplate.jst | 5 +- scripts/generateControllersFromSchema.js | 12 +- scripts/generateObjectsFromSchema.js | 91 +- scripts/headertemplate.jst | 2 +- 10 files changed, 3044 insertions(+), 2635 deletions(-) diff --git a/lib/apicontracts.js b/lib/apicontracts.js index c07f265..e7778e2 100644 --- a/lib/apicontracts.js +++ b/lib/apicontracts.js @@ -2,10 +2,11 @@ var utils = require('./utils.js'); -var logger = require('./logger.js').logger; +const Logger = require('./logger.js'); class ANetApiRequest { constructor(obj) { + var logger = Logger.getLogger('ANetApiRequest'); logger.debug('Enter ANetApiRequest constructor'); if(arguments.length == 1) { if(('merchantAuthentication' in obj) && (obj.merchantAuthentication != null)) { this.setMerchantAuthentication(new MerchantAuthenticationType(obj.merchantAuthentication)); } @@ -32,6 +33,7 @@ module.exports.ANetApiRequest = ANetApiRequest; class ANetApiResponse { getJSON() { + var logger = Logger.getLogger('ANetApiResponse'); logger.debug('Enter ANetApiResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'ErrorResponse' : this }; @@ -40,6 +42,7 @@ class ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('ANetApiResponse'); logger.debug('Enter ANetApiResponse constructor'); if(arguments.length == 1) { if(('refId' in obj) && (obj.refId != null)) { this.setRefId(obj.refId); } @@ -66,6 +69,7 @@ module.exports.ANetApiResponse = ANetApiResponse; class ARBGetSubscriptionListSorting { constructor(obj) { + var logger = Logger.getLogger('ARBGetSubscriptionListSorting'); logger.debug('Enter ARBGetSubscriptionListSorting constructor'); if(arguments.length == 1) { if(('orderBy' in obj) && (obj.orderBy != null)) { this.setOrderBy(obj.orderBy); } @@ -88,6 +92,7 @@ module.exports.ARBGetSubscriptionListSorting = ARBGetSubscriptionListSorting; class ARBSubscriptionMaskedType { constructor(obj) { + var logger = Logger.getLogger('ARBSubscriptionMaskedType'); logger.debug('Enter ARBSubscriptionMaskedType constructor'); if(arguments.length == 1) { if(('name' in obj) && (obj.name != null)) { this.setName(obj.name); } @@ -134,6 +139,7 @@ module.exports.ARBSubscriptionMaskedType = ARBSubscriptionMaskedType; class ARBSubscriptionType { constructor(obj) { + var logger = Logger.getLogger('ARBSubscriptionType'); logger.debug('Enter ARBSubscriptionType constructor'); if(arguments.length == 1) { if(('name' in obj) && (obj.name != null)) { this.setName(obj.name); } @@ -188,6 +194,7 @@ module.exports.ARBSubscriptionType = ARBSubscriptionType; class ARBTransactionList { constructor(obj) { + var logger = Logger.getLogger('ARBTransactionList'); logger.debug('Enter ARBTransactionList constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -210,6 +217,7 @@ module.exports.ARBTransactionList = ARBTransactionList; class ArbTransaction { constructor(obj) { + var logger = Logger.getLogger('ArbTransaction'); logger.debug('Enter ArbTransaction constructor'); if(arguments.length == 1) { if(('transId' in obj) && (obj.transId != null)) { this.setTransId(obj.transId); } @@ -244,6 +252,7 @@ module.exports.ArbTransaction = ArbTransaction; class ArrayOfAUResponseType { constructor(obj) { + var logger = Logger.getLogger('ArrayOfAUResponseType'); logger.debug('Enter ArrayOfAUResponseType constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -266,6 +275,7 @@ module.exports.ArrayOfAUResponseType = ArrayOfAUResponseType; class ArrayOfBatchDetailsType { constructor(obj) { + var logger = Logger.getLogger('ArrayOfBatchDetailsType'); logger.debug('Enter ArrayOfBatchDetailsType constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -288,6 +298,7 @@ module.exports.ArrayOfBatchDetailsType = ArrayOfBatchDetailsType; class ArrayOfBatchStatisticType { constructor(obj) { + var logger = Logger.getLogger('ArrayOfBatchStatisticType'); logger.debug('Enter ArrayOfBatchStatisticType constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -310,6 +321,7 @@ module.exports.ArrayOfBatchStatisticType = ArrayOfBatchStatisticType; class ArrayOfCardType { constructor(obj) { + var logger = Logger.getLogger('ArrayOfCardType'); logger.debug('Enter ArrayOfCardType constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -332,6 +344,7 @@ module.exports.ArrayOfCardType = ArrayOfCardType; class ArrayOfContactDetail { constructor(obj) { + var logger = Logger.getLogger('ArrayOfContactDetail'); logger.debug('Enter ArrayOfContactDetail constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -354,6 +367,7 @@ module.exports.ArrayOfContactDetail = ArrayOfContactDetail; class ArrayOfCurrencyCode { constructor(obj) { + var logger = Logger.getLogger('ArrayOfCurrencyCode'); logger.debug('Enter ArrayOfCurrencyCode constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -376,6 +390,7 @@ module.exports.ArrayOfCurrencyCode = ArrayOfCurrencyCode; class ArrayOfCustomerPaymentProfileListItemType { constructor(obj) { + var logger = Logger.getLogger('ArrayOfCustomerPaymentProfileListItemType'); logger.debug('Enter ArrayOfCustomerPaymentProfileListItemType constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -398,6 +413,7 @@ module.exports.ArrayOfCustomerPaymentProfileListItemType = ArrayOfCustomerPaymen class ArrayOfFDSFilter { constructor(obj) { + var logger = Logger.getLogger('ArrayOfFDSFilter'); logger.debug('Enter ArrayOfFDSFilter constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -420,6 +436,7 @@ module.exports.ArrayOfFDSFilter = ArrayOfFDSFilter; class ArrayOfFraudFilterType { constructor(obj) { + var logger = Logger.getLogger('ArrayOfFraudFilterType'); logger.debug('Enter ArrayOfFraudFilterType constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -442,6 +459,7 @@ module.exports.ArrayOfFraudFilterType = ArrayOfFraudFilterType; class ArrayOfLineItem { constructor(obj) { + var logger = Logger.getLogger('ArrayOfLineItem'); logger.debug('Enter ArrayOfLineItem constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -464,6 +482,7 @@ module.exports.ArrayOfLineItem = ArrayOfLineItem; class ArrayOfLong { constructor(obj) { + var logger = Logger.getLogger('ArrayOfLong'); logger.debug('Enter ArrayOfLong constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -486,6 +505,7 @@ module.exports.ArrayOfLong = ArrayOfLong; class ArrayOfMarketType { constructor(obj) { + var logger = Logger.getLogger('ArrayOfMarketType'); logger.debug('Enter ArrayOfMarketType constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -508,6 +528,7 @@ module.exports.ArrayOfMarketType = ArrayOfMarketType; class ArrayOfNumericString { constructor(obj) { + var logger = Logger.getLogger('ArrayOfNumericString'); logger.debug('Enter ArrayOfNumericString constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -530,6 +551,7 @@ module.exports.ArrayOfNumericString = ArrayOfNumericString; class ArrayOfPaymentMethod { constructor(obj) { + var logger = Logger.getLogger('ArrayOfPaymentMethod'); logger.debug('Enter ArrayOfPaymentMethod constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -552,6 +574,7 @@ module.exports.ArrayOfPaymentMethod = ArrayOfPaymentMethod; class ArrayOfPermissionType { constructor(obj) { + var logger = Logger.getLogger('ArrayOfPermissionType'); logger.debug('Enter ArrayOfPermissionType constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -574,6 +597,7 @@ module.exports.ArrayOfPermissionType = ArrayOfPermissionType; class ArrayOfProcessorType { constructor(obj) { + var logger = Logger.getLogger('ArrayOfProcessorType'); logger.debug('Enter ArrayOfProcessorType constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -596,6 +620,7 @@ module.exports.ArrayOfProcessorType = ArrayOfProcessorType; class ArrayOfProductCode { constructor(obj) { + var logger = Logger.getLogger('ArrayOfProductCode'); logger.debug('Enter ArrayOfProductCode constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -618,6 +643,7 @@ module.exports.ArrayOfProductCode = ArrayOfProductCode; class ArrayOfReturnedItem { constructor(obj) { + var logger = Logger.getLogger('ArrayOfReturnedItem'); logger.debug('Enter ArrayOfReturnedItem constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -640,6 +666,7 @@ module.exports.ArrayOfReturnedItem = ArrayOfReturnedItem; class ArrayOfSetting { constructor(obj) { + var logger = Logger.getLogger('ArrayOfSetting'); logger.debug('Enter ArrayOfSetting constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -662,6 +689,7 @@ module.exports.ArrayOfSetting = ArrayOfSetting; class ArrayOfString { constructor(obj) { + var logger = Logger.getLogger('ArrayOfString'); logger.debug('Enter ArrayOfString constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -684,6 +712,7 @@ module.exports.ArrayOfString = ArrayOfString; class ArrayOfSubscription { constructor(obj) { + var logger = Logger.getLogger('ArrayOfSubscription'); logger.debug('Enter ArrayOfSubscription constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -706,6 +735,7 @@ module.exports.ArrayOfSubscription = ArrayOfSubscription; class ArrayOfTransactionSummaryType { constructor(obj) { + var logger = Logger.getLogger('ArrayOfTransactionSummaryType'); logger.debug('Enter ArrayOfTransactionSummaryType constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -728,6 +758,7 @@ module.exports.ArrayOfTransactionSummaryType = ArrayOfTransactionSummaryType; class AuDetailsType { constructor(obj) { + var logger = Logger.getLogger('AuDetailsType'); logger.debug('Enter AuDetailsType constructor'); if(arguments.length == 1) { if(('customerProfileID' in obj) && (obj.customerProfileID != null)) { this.setCustomerProfileID(obj.customerProfileID); } @@ -770,6 +801,7 @@ module.exports.AuDetailsType = AuDetailsType; class AuResponseType { constructor(obj) { + var logger = Logger.getLogger('AuResponseType'); logger.debug('Enter AuResponseType constructor'); if(arguments.length == 1) { if(('auReasonCode' in obj) && (obj.auReasonCode != null)) { this.setAuReasonCode(obj.auReasonCode); } @@ -796,6 +828,7 @@ module.exports.AuResponseType = AuResponseType; class AuthorizationIndicatorType { constructor(obj) { + var logger = Logger.getLogger('AuthorizationIndicatorType'); logger.debug('Enter AuthorizationIndicatorType constructor'); if(arguments.length == 1) { if(('authorizationIndicator' in obj) && (obj.authorizationIndicator != null)) { this.setAuthorizationIndicator(obj.authorizationIndicator); } @@ -814,6 +847,7 @@ module.exports.AuthorizationIndicatorType = AuthorizationIndicatorType; class BankAccountMaskedType { constructor(obj) { + var logger = Logger.getLogger('BankAccountMaskedType'); logger.debug('Enter BankAccountMaskedType constructor'); if(arguments.length == 1) { if(('accountType' in obj) && (obj.accountType != null)) { this.setAccountType(obj.accountType); } @@ -852,6 +886,7 @@ module.exports.BankAccountMaskedType = BankAccountMaskedType; class BankAccountType { constructor(obj) { + var logger = Logger.getLogger('BankAccountType'); logger.debug('Enter BankAccountType constructor'); if(arguments.length == 1) { if(('accountType' in obj) && (obj.accountType != null)) { this.setAccountType(obj.accountType); } @@ -894,6 +929,7 @@ module.exports.BankAccountType = BankAccountType; class BatchDetailsType { constructor(obj) { + var logger = Logger.getLogger('BatchDetailsType'); logger.debug('Enter BatchDetailsType constructor'); if(arguments.length == 1) { if(('batchId' in obj) && (obj.batchId != null)) { this.setBatchId(obj.batchId); } @@ -940,6 +976,7 @@ module.exports.BatchDetailsType = BatchDetailsType; class BatchStatisticType { constructor(obj) { + var logger = Logger.getLogger('BatchStatisticType'); logger.debug('Enter BatchStatisticType constructor'); if(arguments.length == 1) { if(('accountType' in obj) && (obj.accountType != null)) { this.setAccountType(obj.accountType); } @@ -1038,6 +1075,7 @@ module.exports.BatchStatisticType = BatchStatisticType; class CardArt { constructor(obj) { + var logger = Logger.getLogger('CardArt'); logger.debug('Enter CardArt constructor'); if(arguments.length == 1) { if(('cardBrand' in obj) && (obj.cardBrand != null)) { this.setCardBrand(obj.cardBrand); } @@ -1072,6 +1110,7 @@ module.exports.CardArt = CardArt; class CcAuthenticationType { constructor(obj) { + var logger = Logger.getLogger('CcAuthenticationType'); logger.debug('Enter CcAuthenticationType constructor'); if(arguments.length == 1) { if(('authenticationIndicator' in obj) && (obj.authenticationIndicator != null)) { this.setAuthenticationIndicator(obj.authenticationIndicator); } @@ -1094,6 +1133,7 @@ module.exports.CcAuthenticationType = CcAuthenticationType; class ContactDetailType { constructor(obj) { + var logger = Logger.getLogger('ContactDetailType'); logger.debug('Enter ContactDetailType constructor'); if(arguments.length == 1) { if(('email' in obj) && (obj.email != null)) { this.setEmail(obj.email); } @@ -1120,6 +1160,7 @@ module.exports.ContactDetailType = ContactDetailType; class CreateProfileResponse { constructor(obj) { + var logger = Logger.getLogger('CreateProfileResponse'); logger.debug('Enter CreateProfileResponse constructor'); if(arguments.length == 1) { if(('messages' in obj) && (obj.messages != null)) { this.setMessages(new MessagesType(obj.messages)); } @@ -1150,6 +1191,7 @@ module.exports.CreateProfileResponse = CreateProfileResponse; class CreditCardMaskedType { constructor(obj) { + var logger = Logger.getLogger('CreditCardMaskedType'); logger.debug('Enter CreditCardMaskedType constructor'); if(arguments.length == 1) { if(('cardNumber' in obj) && (obj.cardNumber != null)) { this.setCardNumber(obj.cardNumber); } @@ -1188,6 +1230,7 @@ module.exports.CreditCardMaskedType = CreditCardMaskedType; class CreditCardSimpleType { constructor(obj) { + var logger = Logger.getLogger('CreditCardSimpleType'); logger.debug('Enter CreditCardSimpleType constructor'); if(arguments.length == 1) { if(('cardNumber' in obj) && (obj.cardNumber != null)) { this.setCardNumber(obj.cardNumber); } @@ -1210,6 +1253,7 @@ module.exports.CreditCardSimpleType = CreditCardSimpleType; class CreditCardTrackType { constructor(obj) { + var logger = Logger.getLogger('CreditCardTrackType'); logger.debug('Enter CreditCardTrackType constructor'); if(arguments.length == 1) { if(('track1' in obj) && (obj.track1 != null)) { this.setTrack1(obj.track1); } @@ -1232,6 +1276,7 @@ module.exports.CreditCardTrackType = CreditCardTrackType; class CustomerDataType { constructor(obj) { + var logger = Logger.getLogger('CustomerDataType'); logger.debug('Enter CustomerDataType constructor'); if(arguments.length == 1) { if(('type' in obj) && (obj.type != null)) { this.setType(obj.type); } @@ -1266,6 +1311,7 @@ module.exports.CustomerDataType = CustomerDataType; class CustomerPaymentProfileBaseType { constructor(obj) { + var logger = Logger.getLogger('CustomerPaymentProfileBaseType'); logger.debug('Enter CustomerPaymentProfileBaseType constructor'); if(arguments.length == 1) { if(('customerType' in obj) && (obj.customerType != null)) { this.setCustomerType(obj.customerType); } @@ -1288,6 +1334,7 @@ module.exports.CustomerPaymentProfileBaseType = CustomerPaymentProfileBaseType; class CustomerPaymentProfileListItemType { constructor(obj) { + var logger = Logger.getLogger('CustomerPaymentProfileListItemType'); logger.debug('Enter CustomerPaymentProfileListItemType constructor'); if(arguments.length == 1) { if(('defaultPaymentProfile' in obj) && (obj.defaultPaymentProfile != null)) { this.setDefaultPaymentProfile(obj.defaultPaymentProfile); } @@ -1297,6 +1344,7 @@ class CustomerPaymentProfileListItemType { if(('payment' in obj) && (obj.payment != null)) { this.setPayment(new PaymentMaskedType(obj.payment)); } if(('originalNetworkTransId' in obj) && (obj.originalNetworkTransId != null)) { this.setOriginalNetworkTransId(obj.originalNetworkTransId); } if(('originalAuthAmount' in obj) && (obj.originalAuthAmount != null)) { this.setOriginalAuthAmount(obj.originalAuthAmount); } + if(('excludeFromAccountUpdater' in obj) && (obj.excludeFromAccountUpdater != null)) { this.setExcludeFromAccountUpdater(obj.excludeFromAccountUpdater); } } else { this.setDefaultPaymentProfile(null); @@ -1306,6 +1354,7 @@ class CustomerPaymentProfileListItemType { this.setPayment(null); this.setOriginalNetworkTransId(null); this.setOriginalAuthAmount(null); + this.setExcludeFromAccountUpdater(null); } logger.debug('Exit CustomerPaymentProfileListItemType constructor'); } @@ -1324,12 +1373,15 @@ class CustomerPaymentProfileListItemType { getOriginalNetworkTransId() { if('originalNetworkTransId' in this) {return this.originalNetworkTransId;} } setOriginalAuthAmount(p_originalAuthAmount) { this.originalAuthAmount = p_originalAuthAmount; } getOriginalAuthAmount() { if('originalAuthAmount' in this) {return this.originalAuthAmount;} } + setExcludeFromAccountUpdater(p_excludeFromAccountUpdater) { this.excludeFromAccountUpdater = p_excludeFromAccountUpdater; } + getExcludeFromAccountUpdater() { if('excludeFromAccountUpdater' in this) {return this.excludeFromAccountUpdater;} } } module.exports.CustomerPaymentProfileListItemType = CustomerPaymentProfileListItemType; class CustomerPaymentProfileSorting { constructor(obj) { + var logger = Logger.getLogger('CustomerPaymentProfileSorting'); logger.debug('Enter CustomerPaymentProfileSorting constructor'); if(arguments.length == 1) { if(('orderBy' in obj) && (obj.orderBy != null)) { this.setOrderBy(obj.orderBy); } @@ -1352,6 +1404,7 @@ module.exports.CustomerPaymentProfileSorting = CustomerPaymentProfileSorting; class CustomerProfileBaseType { constructor(obj) { + var logger = Logger.getLogger('CustomerProfileBaseType'); logger.debug('Enter CustomerProfileBaseType constructor'); if(arguments.length == 1) { if(('merchantCustomerId' in obj) && (obj.merchantCustomerId != null)) { this.setMerchantCustomerId(obj.merchantCustomerId); } @@ -1378,6 +1431,7 @@ module.exports.CustomerProfileBaseType = CustomerProfileBaseType; class CustomerProfileIdType { constructor(obj) { + var logger = Logger.getLogger('CustomerProfileIdType'); logger.debug('Enter CustomerProfileIdType constructor'); if(arguments.length == 1) { if(('customerProfileId' in obj) && (obj.customerProfileId != null)) { this.setCustomerProfileId(obj.customerProfileId); } @@ -1404,6 +1458,7 @@ module.exports.CustomerProfileIdType = CustomerProfileIdType; class CustomerProfilePaymentType { constructor(obj) { + var logger = Logger.getLogger('CustomerProfilePaymentType'); logger.debug('Enter CustomerProfilePaymentType constructor'); if(arguments.length == 1) { if(('createProfile' in obj) && (obj.createProfile != null)) { this.setCreateProfile(obj.createProfile); } @@ -1434,6 +1489,7 @@ module.exports.CustomerProfilePaymentType = CustomerProfilePaymentType; class CustomerProfileSummaryType { constructor(obj) { + var logger = Logger.getLogger('CustomerProfileSummaryType'); logger.debug('Enter CustomerProfileSummaryType constructor'); if(arguments.length == 1) { if(('customerProfileId' in obj) && (obj.customerProfileId != null)) { this.setCustomerProfileId(obj.customerProfileId); } @@ -1468,6 +1524,7 @@ module.exports.CustomerProfileSummaryType = CustomerProfileSummaryType; class CustomerType { constructor(obj) { + var logger = Logger.getLogger('CustomerType'); logger.debug('Enter CustomerType constructor'); if(arguments.length == 1) { if(('type' in obj) && (obj.type != null)) { this.setType(obj.type); } @@ -1510,6 +1567,7 @@ module.exports.CustomerType = CustomerType; class DriversLicenseMaskedType { constructor(obj) { + var logger = Logger.getLogger('DriversLicenseMaskedType'); logger.debug('Enter DriversLicenseMaskedType constructor'); if(arguments.length == 1) { if(('number' in obj) && (obj.number != null)) { this.setNumber(obj.number); } @@ -1536,6 +1594,7 @@ module.exports.DriversLicenseMaskedType = DriversLicenseMaskedType; class DriversLicenseType { constructor(obj) { + var logger = Logger.getLogger('DriversLicenseType'); logger.debug('Enter DriversLicenseType constructor'); if(arguments.length == 1) { if(('number' in obj) && (obj.number != null)) { this.setNumber(obj.number); } @@ -1562,6 +1621,7 @@ module.exports.DriversLicenseType = DriversLicenseType; class EmvTag { constructor(obj) { + var logger = Logger.getLogger('EmvTag'); logger.debug('Enter EmvTag constructor'); if(arguments.length == 1) { if(('name' in obj) && (obj.name != null)) { this.setName(obj.name); } @@ -1588,6 +1648,7 @@ module.exports.EmvTag = EmvTag; class EncryptedTrackDataType { constructor(obj) { + var logger = Logger.getLogger('EncryptedTrackDataType'); logger.debug('Enter EncryptedTrackDataType constructor'); if(arguments.length == 1) { if(('FormOfPayment' in obj) && (obj.FormOfPayment != null)) { this.setFormOfPayment(new KeyBlock(obj.FormOfPayment)); } @@ -1606,6 +1667,7 @@ module.exports.EncryptedTrackDataType = EncryptedTrackDataType; class EnumCollection { constructor(obj) { + var logger = Logger.getLogger('EnumCollection'); logger.debug('Enter EnumCollection constructor'); if(arguments.length == 1) { if(('customerProfileSummaryType' in obj) && (obj.customerProfileSummaryType != null)) { this.setCustomerProfileSummaryType(new CustomerProfileSummaryType(obj.customerProfileSummaryType)); } @@ -1660,6 +1722,7 @@ module.exports.EnumCollection = EnumCollection; class ExtendedAmountType { constructor(obj) { + var logger = Logger.getLogger('ExtendedAmountType'); logger.debug('Enter ExtendedAmountType constructor'); if(arguments.length == 1) { if(('amount' in obj) && (obj.amount != null)) { this.setAmount(obj.amount); } @@ -1686,6 +1749,7 @@ module.exports.ExtendedAmountType = ExtendedAmountType; class FDSFilterType { constructor(obj) { + var logger = Logger.getLogger('FDSFilterType'); logger.debug('Enter FDSFilterType constructor'); if(arguments.length == 1) { if(('name' in obj) && (obj.name != null)) { this.setName(obj.name); } @@ -1708,6 +1772,7 @@ module.exports.FDSFilterType = FDSFilterType; class FingerPrintType { constructor(obj) { + var logger = Logger.getLogger('FingerPrintType'); logger.debug('Enter FingerPrintType constructor'); if(arguments.length == 1) { if(('hashValue' in obj) && (obj.hashValue != null)) { this.setHashValue(obj.hashValue); } @@ -1742,6 +1807,7 @@ module.exports.FingerPrintType = FingerPrintType; class FraudInformationType { constructor(obj) { + var logger = Logger.getLogger('FraudInformationType'); logger.debug('Enter FraudInformationType constructor'); if(arguments.length == 1) { if(('fraudFilterList' in obj) && (obj.fraudFilterList != null)) { this.setFraudFilterList(new ArrayOfFraudFilterType(obj.fraudFilterList)); } @@ -1764,6 +1830,7 @@ module.exports.FraudInformationType = FraudInformationType; class HeldTransactionRequestType { constructor(obj) { + var logger = Logger.getLogger('HeldTransactionRequestType'); logger.debug('Enter HeldTransactionRequestType constructor'); if(arguments.length == 1) { if(('action' in obj) && (obj.action != null)) { this.setAction(obj.action); } @@ -1786,6 +1853,7 @@ module.exports.HeldTransactionRequestType = HeldTransactionRequestType; class ImpersonationAuthenticationType { constructor(obj) { + var logger = Logger.getLogger('ImpersonationAuthenticationType'); logger.debug('Enter ImpersonationAuthenticationType constructor'); if(arguments.length == 1) { if(('partnerLoginId' in obj) && (obj.partnerLoginId != null)) { this.setPartnerLoginId(obj.partnerLoginId); } @@ -1808,6 +1876,7 @@ module.exports.ImpersonationAuthenticationType = ImpersonationAuthenticationType class IsAliveRequest { getJSON() { + var logger = Logger.getLogger('IsAliveRequest'); logger.debug('Enter IsAliveRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'isAliveRequest' : this }; @@ -1816,6 +1885,7 @@ class IsAliveRequest { } constructor(obj) { + var logger = Logger.getLogger('IsAliveRequest'); logger.debug('Enter IsAliveRequest constructor'); if(arguments.length == 1) { if(('refId' in obj) && (obj.refId != null)) { this.setRefId(obj.refId); } @@ -1834,6 +1904,7 @@ module.exports.IsAliveRequest = IsAliveRequest; class KeyBlock { constructor(obj) { + var logger = Logger.getLogger('KeyBlock'); logger.debug('Enter KeyBlock constructor'); if(arguments.length == 1) { if(('Value' in obj) && (obj.Value != null)) { this.setValue(new KeyValue(obj.Value)); } @@ -1852,6 +1923,7 @@ module.exports.KeyBlock = KeyBlock; class KeyManagementScheme { constructor(obj) { + var logger = Logger.getLogger('KeyManagementScheme'); logger.debug('Enter KeyManagementScheme constructor'); if(arguments.length == 1) { if(('DUKPT' in obj) && (obj.DUKPT != null)) { this.setDUKPT(new KeyManagementScheme.DUKPT(obj.DUKPT)); } @@ -1870,6 +1942,7 @@ module.exports.KeyManagementScheme = KeyManagementScheme; class KeyValue { constructor(obj) { + var logger = Logger.getLogger('KeyValue'); logger.debug('Enter KeyValue constructor'); if(arguments.length == 1) { if(('Encoding' in obj) && (obj.Encoding != null)) { this.setEncoding(obj.Encoding); } @@ -1896,6 +1969,7 @@ module.exports.KeyValue = KeyValue; class LineItemType { constructor(obj) { + var logger = Logger.getLogger('LineItemType'); logger.debug('Enter LineItemType constructor'); if(arguments.length == 1) { if(('itemId' in obj) && (obj.itemId != null)) { this.setItemId(obj.itemId); } @@ -2014,6 +2088,7 @@ module.exports.LineItemType = LineItemType; class ListOfAUDetailsType { constructor(obj) { + var logger = Logger.getLogger('ListOfAUDetailsType'); logger.debug('Enter ListOfAUDetailsType constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -2036,6 +2111,7 @@ module.exports.ListOfAUDetailsType = ListOfAUDetailsType; class MerchantAuthenticationType { constructor(obj) { + var logger = Logger.getLogger('MerchantAuthenticationType'); logger.debug('Enter MerchantAuthenticationType constructor'); if(arguments.length == 1) { if(('name' in obj) && (obj.name != null)) { this.setName(obj.name); } @@ -2086,6 +2162,7 @@ module.exports.MerchantAuthenticationType = MerchantAuthenticationType; class MerchantContactType { constructor(obj) { + var logger = Logger.getLogger('MerchantContactType'); logger.debug('Enter MerchantContactType constructor'); if(arguments.length == 1) { if(('merchantName' in obj) && (obj.merchantName != null)) { this.setMerchantName(obj.merchantName); } @@ -2124,6 +2201,7 @@ module.exports.MerchantContactType = MerchantContactType; class MessagesType { constructor(obj) { + var logger = Logger.getLogger('MessagesType'); logger.debug('Enter MessagesType constructor'); if(arguments.length == 1) { if(('resultCode' in obj) && (obj.resultCode != null)) { this.setResultCode(obj.resultCode); } @@ -2150,6 +2228,7 @@ module.exports.MessagesType = MessagesType; class MobileDeviceType { constructor(obj) { + var logger = Logger.getLogger('MobileDeviceType'); logger.debug('Enter MobileDeviceType constructor'); if(arguments.length == 1) { if(('mobileDeviceId' in obj) && (obj.mobileDeviceId != null)) { this.setMobileDeviceId(obj.mobileDeviceId); } @@ -2184,6 +2263,7 @@ module.exports.MobileDeviceType = MobileDeviceType; class NameAndAddressType { constructor(obj) { + var logger = Logger.getLogger('NameAndAddressType'); logger.debug('Enter NameAndAddressType constructor'); if(arguments.length == 1) { if(('firstName' in obj) && (obj.firstName != null)) { this.setFirstName(obj.firstName); } @@ -2230,6 +2310,7 @@ module.exports.NameAndAddressType = NameAndAddressType; class OpaqueDataType { constructor(obj) { + var logger = Logger.getLogger('OpaqueDataType'); logger.debug('Enter OpaqueDataType constructor'); if(arguments.length == 1) { if(('dataDescriptor' in obj) && (obj.dataDescriptor != null)) { this.setDataDescriptor(obj.dataDescriptor); } @@ -2260,6 +2341,7 @@ module.exports.OpaqueDataType = OpaqueDataType; class OrderType { constructor(obj) { + var logger = Logger.getLogger('OrderType'); logger.debug('Enter OrderType constructor'); if(arguments.length == 1) { if(('invoiceNumber' in obj) && (obj.invoiceNumber != null)) { this.setInvoiceNumber(obj.invoiceNumber); } @@ -2346,6 +2428,7 @@ module.exports.OrderType = OrderType; class OtherTaxType { constructor(obj) { + var logger = Logger.getLogger('OtherTaxType'); logger.debug('Enter OtherTaxType constructor'); if(arguments.length == 1) { if(('nationalTaxAmount' in obj) && (obj.nationalTaxAmount != null)) { this.setNationalTaxAmount(obj.nationalTaxAmount); } @@ -2384,6 +2467,7 @@ module.exports.OtherTaxType = OtherTaxType; class Paging { constructor(obj) { + var logger = Logger.getLogger('Paging'); logger.debug('Enter Paging constructor'); if(arguments.length == 1) { if(('limit' in obj) && (obj.limit != null)) { this.setLimit(obj.limit); } @@ -2406,6 +2490,7 @@ module.exports.Paging = Paging; class PayPalType { constructor(obj) { + var logger = Logger.getLogger('PayPalType'); logger.debug('Enter PayPalType constructor'); if(arguments.length == 1) { if(('successUrl' in obj) && (obj.successUrl != null)) { this.setSuccessUrl(obj.successUrl); } @@ -2444,6 +2529,7 @@ module.exports.PayPalType = PayPalType; class PaymentDetails { constructor(obj) { + var logger = Logger.getLogger('PaymentDetails'); logger.debug('Enter PaymentDetails constructor'); if(arguments.length == 1) { if(('currency' in obj) && (obj.currency != null)) { this.setCurrency(obj.currency); } @@ -2498,6 +2584,7 @@ module.exports.PaymentDetails = PaymentDetails; class PaymentEmvType { constructor(obj) { + var logger = Logger.getLogger('PaymentEmvType'); logger.debug('Enter PaymentEmvType constructor'); if(arguments.length == 1) { if(('emvData' in obj) && (obj.emvData != null)) { this.setEmvData(obj.emvData); } @@ -2524,6 +2611,7 @@ module.exports.PaymentEmvType = PaymentEmvType; class PaymentMaskedType { constructor(obj) { + var logger = Logger.getLogger('PaymentMaskedType'); logger.debug('Enter PaymentMaskedType constructor'); if(arguments.length == 1) { if(('creditCard' in obj) && (obj.creditCard != null)) { this.setCreditCard(new CreditCardMaskedType(obj.creditCard)); } @@ -2550,6 +2638,7 @@ module.exports.PaymentMaskedType = PaymentMaskedType; class PaymentProfile { constructor(obj) { + var logger = Logger.getLogger('PaymentProfile'); logger.debug('Enter PaymentProfile constructor'); if(arguments.length == 1) { if(('paymentProfileId' in obj) && (obj.paymentProfileId != null)) { this.setPaymentProfileId(obj.paymentProfileId); } @@ -2572,6 +2661,7 @@ module.exports.PaymentProfile = PaymentProfile; class PaymentScheduleType { constructor(obj) { + var logger = Logger.getLogger('PaymentScheduleType'); logger.debug('Enter PaymentScheduleType constructor'); if(arguments.length == 1) { if(('interval' in obj) && (obj.interval != null)) { this.setInterval(new PaymentScheduleType.Interval(obj.interval)); } @@ -2602,6 +2692,7 @@ module.exports.PaymentScheduleType = PaymentScheduleType; class PaymentSimpleType { constructor(obj) { + var logger = Logger.getLogger('PaymentSimpleType'); logger.debug('Enter PaymentSimpleType constructor'); if(arguments.length == 1) { if(('creditCard' in obj) && (obj.creditCard != null)) { this.setCreditCard(new CreditCardSimpleType(obj.creditCard)); } @@ -2624,6 +2715,7 @@ module.exports.PaymentSimpleType = PaymentSimpleType; class PaymentType { constructor(obj) { + var logger = Logger.getLogger('PaymentType'); logger.debug('Enter PaymentType constructor'); if(arguments.length == 1) { if(('creditCard' in obj) && (obj.creditCard != null)) { this.setCreditCard(new CreditCardType(obj.creditCard)); } @@ -2670,6 +2762,7 @@ module.exports.PaymentType = PaymentType; class PermissionType { constructor(obj) { + var logger = Logger.getLogger('PermissionType'); logger.debug('Enter PermissionType constructor'); if(arguments.length == 1) { if(('permissionName' in obj) && (obj.permissionName != null)) { this.setPermissionName(obj.permissionName); } @@ -2688,6 +2781,7 @@ module.exports.PermissionType = PermissionType; class ProcessingOptions { constructor(obj) { + var logger = Logger.getLogger('ProcessingOptions'); logger.debug('Enter ProcessingOptions constructor'); if(arguments.length == 1) { if(('isFirstRecurringPayment' in obj) && (obj.isFirstRecurringPayment != null)) { this.setIsFirstRecurringPayment(obj.isFirstRecurringPayment); } @@ -2718,6 +2812,7 @@ module.exports.ProcessingOptions = ProcessingOptions; class ProcessorType { constructor(obj) { + var logger = Logger.getLogger('ProcessorType'); logger.debug('Enter ProcessorType constructor'); if(arguments.length == 1) { if(('name' in obj) && (obj.name != null)) { this.setName(obj.name); } @@ -2744,6 +2839,7 @@ module.exports.ProcessorType = ProcessorType; class ProfileTransAmountType { constructor(obj) { + var logger = Logger.getLogger('ProfileTransAmountType'); logger.debug('Enter ProfileTransAmountType constructor'); if(arguments.length == 1) { if(('amount' in obj) && (obj.amount != null)) { this.setAmount(obj.amount); } @@ -2782,6 +2878,7 @@ module.exports.ProfileTransAmountType = ProfileTransAmountType; class ProfileTransVoidType { constructor(obj) { + var logger = Logger.getLogger('ProfileTransVoidType'); logger.debug('Enter ProfileTransVoidType constructor'); if(arguments.length == 1) { if(('customerProfileId' in obj) && (obj.customerProfileId != null)) { this.setCustomerProfileId(obj.customerProfileId); } @@ -2812,6 +2909,7 @@ module.exports.ProfileTransVoidType = ProfileTransVoidType; class ProfileTransactionType { constructor(obj) { + var logger = Logger.getLogger('ProfileTransactionType'); logger.debug('Enter ProfileTransactionType constructor'); if(arguments.length == 1) { if(('profileTransAuthCapture' in obj) && (obj.profileTransAuthCapture != null)) { this.setProfileTransAuthCapture(new ProfileTransAuthCaptureType(obj.profileTransAuthCapture)); } @@ -2850,6 +2948,7 @@ module.exports.ProfileTransactionType = ProfileTransactionType; class ReturnedItemType { constructor(obj) { + var logger = Logger.getLogger('ReturnedItemType'); logger.debug('Enter ReturnedItemType constructor'); if(arguments.length == 1) { if(('id' in obj) && (obj.id != null)) { this.setId(obj.id); } @@ -2884,6 +2983,7 @@ module.exports.ReturnedItemType = ReturnedItemType; class SecurePaymentContainerErrorType { constructor(obj) { + var logger = Logger.getLogger('SecurePaymentContainerErrorType'); logger.debug('Enter SecurePaymentContainerErrorType constructor'); if(arguments.length == 1) { if(('code' in obj) && (obj.code != null)) { this.setCode(obj.code); } @@ -2906,6 +3006,7 @@ module.exports.SecurePaymentContainerErrorType = SecurePaymentContainerErrorType class SettingType { constructor(obj) { + var logger = Logger.getLogger('SettingType'); logger.debug('Enter SettingType constructor'); if(arguments.length == 1) { if(('settingName' in obj) && (obj.settingName != null)) { this.setSettingName(obj.settingName); } @@ -2928,6 +3029,7 @@ module.exports.SettingType = SettingType; class SolutionType { constructor(obj) { + var logger = Logger.getLogger('SolutionType'); logger.debug('Enter SolutionType constructor'); if(arguments.length == 1) { if(('id' in obj) && (obj.id != null)) { this.setId(obj.id); } @@ -2954,6 +3056,7 @@ module.exports.SolutionType = SolutionType; class SubMerchantType { constructor(obj) { + var logger = Logger.getLogger('SubMerchantType'); logger.debug('Enter SubMerchantType constructor'); if(arguments.length == 1) { if(('identifier' in obj) && (obj.identifier != null)) { this.setIdentifier(obj.identifier); } @@ -3012,6 +3115,7 @@ module.exports.SubMerchantType = SubMerchantType; class SubscriptionDetail { constructor(obj) { + var logger = Logger.getLogger('SubscriptionDetail'); logger.debug('Enter SubscriptionDetail constructor'); if(arguments.length == 1) { if(('id' in obj) && (obj.id != null)) { this.setId(obj.id); } @@ -3090,6 +3194,7 @@ module.exports.SubscriptionDetail = SubscriptionDetail; class SubscriptionIdList { constructor(obj) { + var logger = Logger.getLogger('SubscriptionIdList'); logger.debug('Enter SubscriptionIdList constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -3112,6 +3217,7 @@ module.exports.SubscriptionIdList = SubscriptionIdList; class SubscriptionPaymentType { constructor(obj) { + var logger = Logger.getLogger('SubscriptionPaymentType'); logger.debug('Enter SubscriptionPaymentType constructor'); if(arguments.length == 1) { if(('id' in obj) && (obj.id != null)) { this.setId(obj.id); } @@ -3134,6 +3240,7 @@ module.exports.SubscriptionPaymentType = SubscriptionPaymentType; class SubsequentAuthInformation { constructor(obj) { + var logger = Logger.getLogger('SubsequentAuthInformation'); logger.debug('Enter SubsequentAuthInformation constructor'); if(arguments.length == 1) { if(('originalNetworkTransId' in obj) && (obj.originalNetworkTransId != null)) { this.setOriginalNetworkTransId(obj.originalNetworkTransId); } @@ -3160,6 +3267,7 @@ module.exports.SubsequentAuthInformation = SubsequentAuthInformation; class TokenMaskedType { constructor(obj) { + var logger = Logger.getLogger('TokenMaskedType'); logger.debug('Enter TokenMaskedType constructor'); if(arguments.length == 1) { if(('tokenSource' in obj) && (obj.tokenSource != null)) { this.setTokenSource(obj.tokenSource); } @@ -3190,6 +3298,7 @@ module.exports.TokenMaskedType = TokenMaskedType; class TransRetailInfoType { constructor(obj) { + var logger = Logger.getLogger('TransRetailInfoType'); logger.debug('Enter TransRetailInfoType constructor'); if(arguments.length == 1) { if(('marketType' in obj) && (obj.marketType != null)) { this.setMarketType(obj.marketType); } @@ -3220,6 +3329,7 @@ module.exports.TransRetailInfoType = TransRetailInfoType; class TransactionDetailsType { constructor(obj) { + var logger = Logger.getLogger('TransactionDetailsType'); logger.debug('Enter TransactionDetailsType constructor'); if(arguments.length == 1) { if(('transId' in obj) && (obj.transId != null)) { this.setTransId(obj.transId); } @@ -3442,6 +3552,7 @@ module.exports.TransactionDetailsType = TransactionDetailsType; class TransactionListSorting { constructor(obj) { + var logger = Logger.getLogger('TransactionListSorting'); logger.debug('Enter TransactionListSorting constructor'); if(arguments.length == 1) { if(('orderBy' in obj) && (obj.orderBy != null)) { this.setOrderBy(obj.orderBy); } @@ -3464,6 +3575,7 @@ module.exports.TransactionListSorting = TransactionListSorting; class TransactionRequestType { constructor(obj) { + var logger = Logger.getLogger('TransactionRequestType'); logger.debug('Enter TransactionRequestType constructor'); if(arguments.length == 1) { if(('transactionType' in obj) && (obj.transactionType != null)) { this.setTransactionType(obj.transactionType); } @@ -3622,6 +3734,7 @@ module.exports.TransactionRequestType = TransactionRequestType; class TransactionResponse { constructor(obj) { + var logger = Logger.getLogger('TransactionResponse'); logger.debug('Enter TransactionResponse constructor'); if(arguments.length == 1) { if(('responseCode' in obj) && (obj.responseCode != null)) { this.setResponseCode(obj.responseCode); } @@ -3736,6 +3849,7 @@ module.exports.TransactionResponse = TransactionResponse; class TransactionSummaryType { constructor(obj) { + var logger = Logger.getLogger('TransactionSummaryType'); logger.debug('Enter TransactionSummaryType constructor'); if(arguments.length == 1) { if(('transId' in obj) && (obj.transId != null)) { this.setTransId(obj.transId); } @@ -3818,6 +3932,7 @@ module.exports.TransactionSummaryType = TransactionSummaryType; class UserField { constructor(obj) { + var logger = Logger.getLogger('UserField'); logger.debug('Enter UserField constructor'); if(arguments.length == 1) { if(('name' in obj) && (obj.name != null)) { this.setName(obj.name); } @@ -3840,6 +3955,7 @@ module.exports.UserField = UserField; class WebCheckOutDataType { constructor(obj) { + var logger = Logger.getLogger('WebCheckOutDataType'); logger.debug('Enter WebCheckOutDataType constructor'); if(arguments.length == 1) { if(('type' in obj) && (obj.type != null)) { this.setType(obj.type); } @@ -3870,6 +3986,7 @@ module.exports.WebCheckOutDataType = WebCheckOutDataType; class WebCheckOutDataTypeToken { constructor(obj) { + var logger = Logger.getLogger('WebCheckOutDataTypeToken'); logger.debug('Enter WebCheckOutDataTypeToken constructor'); if(arguments.length == 1) { if(('cardNumber' in obj) && (obj.cardNumber != null)) { this.setCardNumber(obj.cardNumber); } @@ -3904,6 +4021,7 @@ module.exports.WebCheckOutDataTypeToken = WebCheckOutDataTypeToken; KeyManagementScheme.DUKPT = class { constructor(obj) { + var logger = Logger.getLogger('KeyManagementScheme.DUKPT'); logger.debug('Enter KeyManagementScheme.DUKPT constructor'); if(arguments.length == 1) { if(('Operation' in obj) && (obj.Operation != null)) { this.setOperation(obj.Operation); } @@ -3934,6 +4052,7 @@ module.exports.KeyManagementScheme.DUKPT = KeyManagementScheme.DUKPT; MessagesType.Message = class { constructor(obj) { + var logger = Logger.getLogger('MessagesType.Message'); logger.debug('Enter MessagesType.Message constructor'); if(arguments.length == 1) { if(('code' in obj) && (obj.code != null)) { this.setCode(obj.code); } @@ -3956,6 +4075,7 @@ module.exports.MessagesType.Message = MessagesType.Message; PaymentScheduleType.Interval = class { constructor(obj) { + var logger = Logger.getLogger('PaymentScheduleType.Interval'); logger.debug('Enter PaymentScheduleType.Interval constructor'); if(arguments.length == 1) { if(('length' in obj) && (obj.length != null)) { this.setLength(obj.length); } @@ -3978,6 +4098,7 @@ module.exports.PaymentScheduleType.Interval = PaymentScheduleType.Interval; TransactionDetailsType.EmvDetails = class { constructor(obj) { + var logger = Logger.getLogger('TransactionDetailsType.EmvDetails'); logger.debug('Enter TransactionDetailsType.EmvDetails constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -4000,6 +4121,7 @@ module.exports.TransactionDetailsType.EmvDetails = TransactionDetailsType.EmvDet TransactionRequestType.UserFields = class { constructor(obj) { + var logger = Logger.getLogger('TransactionRequestType.UserFields'); logger.debug('Enter TransactionRequestType.UserFields constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -4022,6 +4144,7 @@ module.exports.TransactionRequestType.UserFields = TransactionRequestType.UserFi TransactionResponse.EmvResponse = class { constructor(obj) { + var logger = Logger.getLogger('TransactionResponse.EmvResponse'); logger.debug('Enter TransactionResponse.EmvResponse constructor'); if(arguments.length == 1) { if(('tlvData' in obj) && (obj.tlvData != null)) { this.setTlvData(obj.tlvData); } @@ -4044,6 +4167,7 @@ module.exports.TransactionResponse.EmvResponse = TransactionResponse.EmvResponse TransactionResponse.Errors = class { constructor(obj) { + var logger = Logger.getLogger('TransactionResponse.Errors'); logger.debug('Enter TransactionResponse.Errors constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -4066,6 +4190,7 @@ module.exports.TransactionResponse.Errors = TransactionResponse.Errors; TransactionResponse.Messages = class { constructor(obj) { + var logger = Logger.getLogger('TransactionResponse.Messages'); logger.debug('Enter TransactionResponse.Messages constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -4088,6 +4213,7 @@ module.exports.TransactionResponse.Messages = TransactionResponse.Messages; TransactionResponse.PrePaidCard = class { constructor(obj) { + var logger = Logger.getLogger('TransactionResponse.PrePaidCard'); logger.debug('Enter TransactionResponse.PrePaidCard constructor'); if(arguments.length == 1) { if(('requestedAmount' in obj) && (obj.requestedAmount != null)) { this.setRequestedAmount(obj.requestedAmount); } @@ -4114,6 +4240,7 @@ module.exports.TransactionResponse.PrePaidCard = TransactionResponse.PrePaidCard TransactionResponse.SecureAcceptance = class { constructor(obj) { + var logger = Logger.getLogger('TransactionResponse.SecureAcceptance'); logger.debug('Enter TransactionResponse.SecureAcceptance constructor'); if(arguments.length == 1) { if(('SecureAcceptanceUrl' in obj) && (obj.SecureAcceptanceUrl != null)) { this.setSecureAcceptanceUrl(obj.SecureAcceptanceUrl); } @@ -4140,6 +4267,7 @@ module.exports.TransactionResponse.SecureAcceptance = TransactionResponse.Secure TransactionResponse.SplitTenderPayments = class { constructor(obj) { + var logger = Logger.getLogger('TransactionResponse.SplitTenderPayments'); logger.debug('Enter TransactionResponse.SplitTenderPayments constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -4162,6 +4290,7 @@ module.exports.TransactionResponse.SplitTenderPayments = TransactionResponse.Spl TransactionResponse.UserFields = class { constructor(obj) { + var logger = Logger.getLogger('TransactionResponse.UserFields'); logger.debug('Enter TransactionResponse.UserFields constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -4184,6 +4313,7 @@ module.exports.TransactionResponse.UserFields = TransactionResponse.UserFields; KeyManagementScheme.DUKPT.DeviceInfo = class { constructor(obj) { + var logger = Logger.getLogger('KeyManagementScheme.DUKPT.DeviceInfo'); logger.debug('Enter KeyManagementScheme.DUKPT.DeviceInfo constructor'); if(arguments.length == 1) { if(('Description' in obj) && (obj.Description != null)) { this.setDescription(obj.Description); } @@ -4202,6 +4332,7 @@ module.exports.KeyManagementScheme.DUKPT.DeviceInfo = KeyManagementScheme.DUKPT. KeyManagementScheme.DUKPT.EncryptedData = class { constructor(obj) { + var logger = Logger.getLogger('KeyManagementScheme.DUKPT.EncryptedData'); logger.debug('Enter KeyManagementScheme.DUKPT.EncryptedData constructor'); if(arguments.length == 1) { if(('Value' in obj) && (obj.Value != null)) { this.setValue(obj.Value); } @@ -4220,6 +4351,7 @@ module.exports.KeyManagementScheme.DUKPT.EncryptedData = KeyManagementScheme.DUK KeyManagementScheme.DUKPT.Mode = class { constructor(obj) { + var logger = Logger.getLogger('KeyManagementScheme.DUKPT.Mode'); logger.debug('Enter KeyManagementScheme.DUKPT.Mode constructor'); if(arguments.length == 1) { if(('PIN' in obj) && (obj.PIN != null)) { this.setPIN(obj.PIN); } @@ -4242,6 +4374,7 @@ module.exports.KeyManagementScheme.DUKPT.Mode = KeyManagementScheme.DUKPT.Mode; TransactionDetailsType.EmvDetails.Tag = class { constructor(obj) { + var logger = Logger.getLogger('TransactionDetailsType.EmvDetails.Tag'); logger.debug('Enter TransactionDetailsType.EmvDetails.Tag constructor'); if(arguments.length == 1) { if(('tagId' in obj) && (obj.tagId != null)) { this.setTagId(obj.tagId); } @@ -4264,6 +4397,7 @@ module.exports.TransactionDetailsType.EmvDetails.Tag = TransactionDetailsType.Em TransactionResponse.EmvResponse.Tags = class { constructor(obj) { + var logger = Logger.getLogger('TransactionResponse.EmvResponse.Tags'); logger.debug('Enter TransactionResponse.EmvResponse.Tags constructor'); if(arguments.length == 1) { if((obj != undefined) && (obj != null)) { @@ -4286,6 +4420,7 @@ module.exports.TransactionResponse.EmvResponse.Tags = TransactionResponse.EmvRes TransactionResponse.Errors.Error = class { constructor(obj) { + var logger = Logger.getLogger('TransactionResponse.Errors.Error'); logger.debug('Enter TransactionResponse.Errors.Error constructor'); if(arguments.length == 1) { if(('errorCode' in obj) && (obj.errorCode != null)) { this.setErrorCode(obj.errorCode); } @@ -4308,6 +4443,7 @@ module.exports.TransactionResponse.Errors.Error = TransactionResponse.Errors.Err TransactionResponse.Messages.Message = class { constructor(obj) { + var logger = Logger.getLogger('TransactionResponse.Messages.Message'); logger.debug('Enter TransactionResponse.Messages.Message constructor'); if(arguments.length == 1) { if(('code' in obj) && (obj.code != null)) { this.setCode(obj.code); } @@ -4330,6 +4466,7 @@ module.exports.TransactionResponse.Messages.Message = TransactionResponse.Messag TransactionResponse.SplitTenderPayments.SplitTenderPayment = class { constructor(obj) { + var logger = Logger.getLogger('TransactionResponse.SplitTenderPayments.SplitTenderPayment'); logger.debug('Enter TransactionResponse.SplitTenderPayments.SplitTenderPayment constructor'); if(arguments.length == 1) { if(('transId' in obj) && (obj.transId != null)) { this.setTransId(obj.transId); } @@ -4380,6 +4517,7 @@ module.exports.TransactionResponse.SplitTenderPayments.SplitTenderPayment = Tran class ARBCancelSubscriptionRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('ARBCancelSubscriptionRequest'); logger.debug('Enter ARBCancelSubscriptionRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'ARBCancelSubscriptionRequest' : this }; @@ -4388,6 +4526,7 @@ class ARBCancelSubscriptionRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('ARBCancelSubscriptionRequest'); logger.debug('Enter ARBCancelSubscriptionRequest constructor'); if(arguments.length == 1) { super(obj); @@ -4408,6 +4547,7 @@ module.exports.ARBCancelSubscriptionRequest = ARBCancelSubscriptionRequest; class ARBCancelSubscriptionResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('ARBCancelSubscriptionResponse'); logger.debug('Enter ARBCancelSubscriptionResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'ARBCancelSubscriptionResponse' : this }; @@ -4423,6 +4563,7 @@ module.exports.ARBCancelSubscriptionResponse = ARBCancelSubscriptionResponse; class ARBCreateSubscriptionRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('ARBCreateSubscriptionRequest'); logger.debug('Enter ARBCreateSubscriptionRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'ARBCreateSubscriptionRequest' : this }; @@ -4431,6 +4572,7 @@ class ARBCreateSubscriptionRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('ARBCreateSubscriptionRequest'); logger.debug('Enter ARBCreateSubscriptionRequest constructor'); if(arguments.length == 1) { super(obj); @@ -4451,6 +4593,7 @@ module.exports.ARBCreateSubscriptionRequest = ARBCreateSubscriptionRequest; class ARBCreateSubscriptionResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('ARBCreateSubscriptionResponse'); logger.debug('Enter ARBCreateSubscriptionResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'ARBCreateSubscriptionResponse' : this }; @@ -4459,6 +4602,7 @@ class ARBCreateSubscriptionResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('ARBCreateSubscriptionResponse'); logger.debug('Enter ARBCreateSubscriptionResponse constructor'); if(arguments.length == 1) { super(obj); @@ -4483,6 +4627,7 @@ module.exports.ARBCreateSubscriptionResponse = ARBCreateSubscriptionResponse; class ARBGetSubscriptionListRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('ARBGetSubscriptionListRequest'); logger.debug('Enter ARBGetSubscriptionListRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'ARBGetSubscriptionListRequest' : this }; @@ -4491,6 +4636,7 @@ class ARBGetSubscriptionListRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('ARBGetSubscriptionListRequest'); logger.debug('Enter ARBGetSubscriptionListRequest constructor'); if(arguments.length == 1) { super(obj); @@ -4519,6 +4665,7 @@ module.exports.ARBGetSubscriptionListRequest = ARBGetSubscriptionListRequest; class ARBGetSubscriptionListResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('ARBGetSubscriptionListResponse'); logger.debug('Enter ARBGetSubscriptionListResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'ARBGetSubscriptionListResponse' : this }; @@ -4527,6 +4674,7 @@ class ARBGetSubscriptionListResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('ARBGetSubscriptionListResponse'); logger.debug('Enter ARBGetSubscriptionListResponse constructor'); if(arguments.length == 1) { super(obj); @@ -4551,6 +4699,7 @@ module.exports.ARBGetSubscriptionListResponse = ARBGetSubscriptionListResponse; class ARBGetSubscriptionRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('ARBGetSubscriptionRequest'); logger.debug('Enter ARBGetSubscriptionRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'ARBGetSubscriptionRequest' : this }; @@ -4559,6 +4708,7 @@ class ARBGetSubscriptionRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('ARBGetSubscriptionRequest'); logger.debug('Enter ARBGetSubscriptionRequest constructor'); if(arguments.length == 1) { super(obj); @@ -4583,6 +4733,7 @@ module.exports.ARBGetSubscriptionRequest = ARBGetSubscriptionRequest; class ARBGetSubscriptionResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('ARBGetSubscriptionResponse'); logger.debug('Enter ARBGetSubscriptionResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'ARBGetSubscriptionResponse' : this }; @@ -4591,6 +4742,7 @@ class ARBGetSubscriptionResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('ARBGetSubscriptionResponse'); logger.debug('Enter ARBGetSubscriptionResponse constructor'); if(arguments.length == 1) { super(obj); @@ -4611,6 +4763,7 @@ module.exports.ARBGetSubscriptionResponse = ARBGetSubscriptionResponse; class ARBGetSubscriptionStatusRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('ARBGetSubscriptionStatusRequest'); logger.debug('Enter ARBGetSubscriptionStatusRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'ARBGetSubscriptionStatusRequest' : this }; @@ -4619,6 +4772,7 @@ class ARBGetSubscriptionStatusRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('ARBGetSubscriptionStatusRequest'); logger.debug('Enter ARBGetSubscriptionStatusRequest constructor'); if(arguments.length == 1) { super(obj); @@ -4639,6 +4793,7 @@ module.exports.ARBGetSubscriptionStatusRequest = ARBGetSubscriptionStatusRequest class ARBGetSubscriptionStatusResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('ARBGetSubscriptionStatusResponse'); logger.debug('Enter ARBGetSubscriptionStatusResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'ARBGetSubscriptionStatusResponse' : this }; @@ -4647,6 +4802,7 @@ class ARBGetSubscriptionStatusResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('ARBGetSubscriptionStatusResponse'); logger.debug('Enter ARBGetSubscriptionStatusResponse constructor'); if(arguments.length == 1) { super(obj); @@ -4667,6 +4823,7 @@ module.exports.ARBGetSubscriptionStatusResponse = ARBGetSubscriptionStatusRespon class ARBUpdateSubscriptionRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('ARBUpdateSubscriptionRequest'); logger.debug('Enter ARBUpdateSubscriptionRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'ARBUpdateSubscriptionRequest' : this }; @@ -4675,6 +4832,7 @@ class ARBUpdateSubscriptionRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('ARBUpdateSubscriptionRequest'); logger.debug('Enter ARBUpdateSubscriptionRequest constructor'); if(arguments.length == 1) { super(obj); @@ -4699,6 +4857,7 @@ module.exports.ARBUpdateSubscriptionRequest = ARBUpdateSubscriptionRequest; class ARBUpdateSubscriptionResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('ARBUpdateSubscriptionResponse'); logger.debug('Enter ARBUpdateSubscriptionResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'ARBUpdateSubscriptionResponse' : this }; @@ -4707,6 +4866,7 @@ class ARBUpdateSubscriptionResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('ARBUpdateSubscriptionResponse'); logger.debug('Enter ARBUpdateSubscriptionResponse constructor'); if(arguments.length == 1) { super(obj); @@ -4727,6 +4887,7 @@ module.exports.ARBUpdateSubscriptionResponse = ARBUpdateSubscriptionResponse; class AuDeleteType extends AuDetailsType { constructor(obj) { + var logger = Logger.getLogger('AuDeleteType'); logger.debug('Enter AuDeleteType constructor'); if(arguments.length == 1) { super(obj); @@ -4747,6 +4908,7 @@ module.exports.AuDeleteType = AuDeleteType; class AuUpdateType extends AuDetailsType { constructor(obj) { + var logger = Logger.getLogger('AuUpdateType'); logger.debug('Enter AuUpdateType constructor'); if(arguments.length == 1) { super(obj); @@ -4771,6 +4933,7 @@ module.exports.AuUpdateType = AuUpdateType; class AuthenticateTestRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('AuthenticateTestRequest'); logger.debug('Enter AuthenticateTestRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'authenticateTestRequest' : this }; @@ -4786,6 +4949,7 @@ module.exports.AuthenticateTestRequest = AuthenticateTestRequest; class AuthenticateTestResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('AuthenticateTestResponse'); logger.debug('Enter AuthenticateTestResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'authenticateTestResponse' : this }; @@ -4801,6 +4965,7 @@ module.exports.AuthenticateTestResponse = AuthenticateTestResponse; class CreateCustomerPaymentProfileRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('CreateCustomerPaymentProfileRequest'); logger.debug('Enter CreateCustomerPaymentProfileRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'createCustomerPaymentProfileRequest' : this }; @@ -4809,6 +4974,7 @@ class CreateCustomerPaymentProfileRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('CreateCustomerPaymentProfileRequest'); logger.debug('Enter CreateCustomerPaymentProfileRequest constructor'); if(arguments.length == 1) { super(obj); @@ -4837,6 +5003,7 @@ module.exports.CreateCustomerPaymentProfileRequest = CreateCustomerPaymentProfil class CreateCustomerPaymentProfileResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('CreateCustomerPaymentProfileResponse'); logger.debug('Enter CreateCustomerPaymentProfileResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'createCustomerPaymentProfileResponse' : this }; @@ -4845,6 +5012,7 @@ class CreateCustomerPaymentProfileResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('CreateCustomerPaymentProfileResponse'); logger.debug('Enter CreateCustomerPaymentProfileResponse constructor'); if(arguments.length == 1) { super(obj); @@ -4873,6 +5041,7 @@ module.exports.CreateCustomerPaymentProfileResponse = CreateCustomerPaymentProfi class CreateCustomerProfileFromTransactionRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('CreateCustomerProfileFromTransactionRequest'); logger.debug('Enter CreateCustomerProfileFromTransactionRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'createCustomerProfileFromTransactionRequest' : this }; @@ -4881,6 +5050,7 @@ class CreateCustomerProfileFromTransactionRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('CreateCustomerProfileFromTransactionRequest'); logger.debug('Enter CreateCustomerProfileFromTransactionRequest constructor'); if(arguments.length == 1) { super(obj); @@ -4921,6 +5091,7 @@ module.exports.CreateCustomerProfileFromTransactionRequest = CreateCustomerProfi class CreateCustomerProfileRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('CreateCustomerProfileRequest'); logger.debug('Enter CreateCustomerProfileRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'createCustomerProfileRequest' : this }; @@ -4929,6 +5100,7 @@ class CreateCustomerProfileRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('CreateCustomerProfileRequest'); logger.debug('Enter CreateCustomerProfileRequest constructor'); if(arguments.length == 1) { super(obj); @@ -4953,6 +5125,7 @@ module.exports.CreateCustomerProfileRequest = CreateCustomerProfileRequest; class CreateCustomerProfileResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('CreateCustomerProfileResponse'); logger.debug('Enter CreateCustomerProfileResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'createCustomerProfileResponse' : this }; @@ -4961,6 +5134,7 @@ class CreateCustomerProfileResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('CreateCustomerProfileResponse'); logger.debug('Enter CreateCustomerProfileResponse constructor'); if(arguments.length == 1) { super(obj); @@ -4993,6 +5167,7 @@ module.exports.CreateCustomerProfileResponse = CreateCustomerProfileResponse; class CreateCustomerProfileTransactionRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('CreateCustomerProfileTransactionRequest'); logger.debug('Enter CreateCustomerProfileTransactionRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'createCustomerProfileTransactionRequest' : this }; @@ -5001,6 +5176,7 @@ class CreateCustomerProfileTransactionRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('CreateCustomerProfileTransactionRequest'); logger.debug('Enter CreateCustomerProfileTransactionRequest constructor'); if(arguments.length == 1) { super(obj); @@ -5025,6 +5201,7 @@ module.exports.CreateCustomerProfileTransactionRequest = CreateCustomerProfileTr class CreateCustomerProfileTransactionResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('CreateCustomerProfileTransactionResponse'); logger.debug('Enter CreateCustomerProfileTransactionResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'createCustomerProfileTransactionResponse' : this }; @@ -5033,6 +5210,7 @@ class CreateCustomerProfileTransactionResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('CreateCustomerProfileTransactionResponse'); logger.debug('Enter CreateCustomerProfileTransactionResponse constructor'); if(arguments.length == 1) { super(obj); @@ -5057,6 +5235,7 @@ module.exports.CreateCustomerProfileTransactionResponse = CreateCustomerProfileT class CreateCustomerShippingAddressRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('CreateCustomerShippingAddressRequest'); logger.debug('Enter CreateCustomerShippingAddressRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'createCustomerShippingAddressRequest' : this }; @@ -5065,6 +5244,7 @@ class CreateCustomerShippingAddressRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('CreateCustomerShippingAddressRequest'); logger.debug('Enter CreateCustomerShippingAddressRequest constructor'); if(arguments.length == 1) { super(obj); @@ -5093,6 +5273,7 @@ module.exports.CreateCustomerShippingAddressRequest = CreateCustomerShippingAddr class CreateCustomerShippingAddressResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('CreateCustomerShippingAddressResponse'); logger.debug('Enter CreateCustomerShippingAddressResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'createCustomerShippingAddressResponse' : this }; @@ -5101,6 +5282,7 @@ class CreateCustomerShippingAddressResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('CreateCustomerShippingAddressResponse'); logger.debug('Enter CreateCustomerShippingAddressResponse constructor'); if(arguments.length == 1) { super(obj); @@ -5125,6 +5307,7 @@ module.exports.CreateCustomerShippingAddressResponse = CreateCustomerShippingAdd class CreateTransactionRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('CreateTransactionRequest'); logger.debug('Enter CreateTransactionRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'createTransactionRequest' : this }; @@ -5133,6 +5316,7 @@ class CreateTransactionRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('CreateTransactionRequest'); logger.debug('Enter CreateTransactionRequest constructor'); if(arguments.length == 1) { super(obj); @@ -5153,6 +5337,7 @@ module.exports.CreateTransactionRequest = CreateTransactionRequest; class CreateTransactionResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('CreateTransactionResponse'); logger.debug('Enter CreateTransactionResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'createTransactionResponse' : this }; @@ -5161,6 +5346,7 @@ class CreateTransactionResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('CreateTransactionResponse'); logger.debug('Enter CreateTransactionResponse constructor'); if(arguments.length == 1) { super(obj); @@ -5185,6 +5371,7 @@ module.exports.CreateTransactionResponse = CreateTransactionResponse; class CreditCardType extends CreditCardSimpleType { constructor(obj) { + var logger = Logger.getLogger('CreditCardType'); logger.debug('Enter CreditCardType constructor'); if(arguments.length == 1) { super(obj); @@ -5225,6 +5412,7 @@ module.exports.CreditCardType = CreditCardType; class CustomerAddressType extends NameAndAddressType { constructor(obj) { + var logger = Logger.getLogger('CustomerAddressType'); logger.debug('Enter CustomerAddressType constructor'); if(arguments.length == 1) { super(obj); @@ -5253,6 +5441,7 @@ module.exports.CustomerAddressType = CustomerAddressType; class CustomerPaymentProfileMaskedType extends CustomerPaymentProfileBaseType { constructor(obj) { + var logger = Logger.getLogger('CustomerPaymentProfileMaskedType'); logger.debug('Enter CustomerPaymentProfileMaskedType constructor'); if(arguments.length == 1) { super(obj); @@ -5265,6 +5454,7 @@ class CustomerPaymentProfileMaskedType extends CustomerPaymentProfileBaseType { if(('subscriptionIds' in obj) && (obj.subscriptionIds != null)) { this.setSubscriptionIds(new SubscriptionIdList(obj.subscriptionIds)); } if(('originalNetworkTransId' in obj) && (obj.originalNetworkTransId != null)) { this.setOriginalNetworkTransId(obj.originalNetworkTransId); } if(('originalAuthAmount' in obj) && (obj.originalAuthAmount != null)) { this.setOriginalAuthAmount(obj.originalAuthAmount); } + if(('excludeFromAccountUpdater' in obj) && (obj.excludeFromAccountUpdater != null)) { this.setExcludeFromAccountUpdater(obj.excludeFromAccountUpdater); } } else { super(); @@ -5277,6 +5467,7 @@ class CustomerPaymentProfileMaskedType extends CustomerPaymentProfileBaseType { this.setSubscriptionIds(null); this.setOriginalNetworkTransId(null); this.setOriginalAuthAmount(null); + this.setExcludeFromAccountUpdater(null); } logger.debug('Exit CustomerPaymentProfileMaskedType constructor'); } @@ -5299,12 +5490,15 @@ class CustomerPaymentProfileMaskedType extends CustomerPaymentProfileBaseType { getOriginalNetworkTransId() { if('originalNetworkTransId' in this) {return this.originalNetworkTransId;} } setOriginalAuthAmount(p_originalAuthAmount) { this.originalAuthAmount = p_originalAuthAmount; } getOriginalAuthAmount() { if('originalAuthAmount' in this) {return this.originalAuthAmount;} } + setExcludeFromAccountUpdater(p_excludeFromAccountUpdater) { this.excludeFromAccountUpdater = p_excludeFromAccountUpdater; } + getExcludeFromAccountUpdater() { if('excludeFromAccountUpdater' in this) {return this.excludeFromAccountUpdater;} } } module.exports.CustomerPaymentProfileMaskedType = CustomerPaymentProfileMaskedType; class CustomerPaymentProfileType extends CustomerPaymentProfileBaseType { constructor(obj) { + var logger = Logger.getLogger('CustomerPaymentProfileType'); logger.debug('Enter CustomerPaymentProfileType constructor'); if(arguments.length == 1) { super(obj); @@ -5313,6 +5507,7 @@ class CustomerPaymentProfileType extends CustomerPaymentProfileBaseType { if(('taxId' in obj) && (obj.taxId != null)) { this.setTaxId(obj.taxId); } if(('defaultPaymentProfile' in obj) && (obj.defaultPaymentProfile != null)) { this.setDefaultPaymentProfile(obj.defaultPaymentProfile); } if(('subsequentAuthInformation' in obj) && (obj.subsequentAuthInformation != null)) { this.setSubsequentAuthInformation(new SubsequentAuthInformation(obj.subsequentAuthInformation)); } + if(('excludeFromAccountUpdater' in obj) && (obj.excludeFromAccountUpdater != null)) { this.setExcludeFromAccountUpdater(obj.excludeFromAccountUpdater); } } else { super(); @@ -5321,6 +5516,7 @@ class CustomerPaymentProfileType extends CustomerPaymentProfileBaseType { this.setTaxId(null); this.setDefaultPaymentProfile(null); this.setSubsequentAuthInformation(null); + this.setExcludeFromAccountUpdater(null); } logger.debug('Exit CustomerPaymentProfileType constructor'); } @@ -5335,12 +5531,15 @@ class CustomerPaymentProfileType extends CustomerPaymentProfileBaseType { getDefaultPaymentProfile() { if('defaultPaymentProfile' in this) {return this.defaultPaymentProfile;} } setSubsequentAuthInformation(p_subsequentAuthInformation) { this.subsequentAuthInformation = p_subsequentAuthInformation; } getSubsequentAuthInformation() { if('subsequentAuthInformation' in this) {return this.subsequentAuthInformation;} } + setExcludeFromAccountUpdater(p_excludeFromAccountUpdater) { this.excludeFromAccountUpdater = p_excludeFromAccountUpdater; } + getExcludeFromAccountUpdater() { if('excludeFromAccountUpdater' in this) {return this.excludeFromAccountUpdater;} } } module.exports.CustomerPaymentProfileType = CustomerPaymentProfileType; class CustomerProfileExType extends CustomerProfileBaseType { constructor(obj) { + var logger = Logger.getLogger('CustomerProfileExType'); logger.debug('Enter CustomerProfileExType constructor'); if(arguments.length == 1) { super(obj); @@ -5361,6 +5560,7 @@ module.exports.CustomerProfileExType = CustomerProfileExType; class CustomerProfileType extends CustomerProfileBaseType { constructor(obj) { + var logger = Logger.getLogger('CustomerProfileType'); logger.debug('Enter CustomerProfileType constructor'); if(arguments.length == 1) { super(obj); @@ -5397,6 +5597,7 @@ module.exports.CustomerProfileType = CustomerProfileType; class DecryptPaymentDataRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('DecryptPaymentDataRequest'); logger.debug('Enter DecryptPaymentDataRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'decryptPaymentDataRequest' : this }; @@ -5405,6 +5606,7 @@ class DecryptPaymentDataRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('DecryptPaymentDataRequest'); logger.debug('Enter DecryptPaymentDataRequest constructor'); if(arguments.length == 1) { super(obj); @@ -5429,6 +5631,7 @@ module.exports.DecryptPaymentDataRequest = DecryptPaymentDataRequest; class DecryptPaymentDataResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('DecryptPaymentDataResponse'); logger.debug('Enter DecryptPaymentDataResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'decryptPaymentDataResponse' : this }; @@ -5437,6 +5640,7 @@ class DecryptPaymentDataResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('DecryptPaymentDataResponse'); logger.debug('Enter DecryptPaymentDataResponse constructor'); if(arguments.length == 1) { super(obj); @@ -5469,6 +5673,7 @@ module.exports.DecryptPaymentDataResponse = DecryptPaymentDataResponse; class DeleteCustomerPaymentProfileRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('DeleteCustomerPaymentProfileRequest'); logger.debug('Enter DeleteCustomerPaymentProfileRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'deleteCustomerPaymentProfileRequest' : this }; @@ -5477,6 +5682,7 @@ class DeleteCustomerPaymentProfileRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('DeleteCustomerPaymentProfileRequest'); logger.debug('Enter DeleteCustomerPaymentProfileRequest constructor'); if(arguments.length == 1) { super(obj); @@ -5501,6 +5707,7 @@ module.exports.DeleteCustomerPaymentProfileRequest = DeleteCustomerPaymentProfil class DeleteCustomerPaymentProfileResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('DeleteCustomerPaymentProfileResponse'); logger.debug('Enter DeleteCustomerPaymentProfileResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'deleteCustomerPaymentProfileResponse' : this }; @@ -5516,6 +5723,7 @@ module.exports.DeleteCustomerPaymentProfileResponse = DeleteCustomerPaymentProfi class DeleteCustomerProfileRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('DeleteCustomerProfileRequest'); logger.debug('Enter DeleteCustomerProfileRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'deleteCustomerProfileRequest' : this }; @@ -5524,6 +5732,7 @@ class DeleteCustomerProfileRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('DeleteCustomerProfileRequest'); logger.debug('Enter DeleteCustomerProfileRequest constructor'); if(arguments.length == 1) { super(obj); @@ -5544,6 +5753,7 @@ module.exports.DeleteCustomerProfileRequest = DeleteCustomerProfileRequest; class DeleteCustomerProfileResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('DeleteCustomerProfileResponse'); logger.debug('Enter DeleteCustomerProfileResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'deleteCustomerProfileResponse' : this }; @@ -5559,6 +5769,7 @@ module.exports.DeleteCustomerProfileResponse = DeleteCustomerProfileResponse; class DeleteCustomerShippingAddressRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('DeleteCustomerShippingAddressRequest'); logger.debug('Enter DeleteCustomerShippingAddressRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'deleteCustomerShippingAddressRequest' : this }; @@ -5567,6 +5778,7 @@ class DeleteCustomerShippingAddressRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('DeleteCustomerShippingAddressRequest'); logger.debug('Enter DeleteCustomerShippingAddressRequest constructor'); if(arguments.length == 1) { super(obj); @@ -5591,6 +5803,7 @@ module.exports.DeleteCustomerShippingAddressRequest = DeleteCustomerShippingAddr class DeleteCustomerShippingAddressResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('DeleteCustomerShippingAddressResponse'); logger.debug('Enter DeleteCustomerShippingAddressResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'deleteCustomerShippingAddressResponse' : this }; @@ -5606,6 +5819,7 @@ module.exports.DeleteCustomerShippingAddressResponse = DeleteCustomerShippingAdd class EmailSettingsType extends ArrayOfSetting { constructor(obj) { + var logger = Logger.getLogger('EmailSettingsType'); logger.debug('Enter EmailSettingsType constructor'); if(arguments.length == 1) { super(obj); @@ -5626,6 +5840,7 @@ module.exports.EmailSettingsType = EmailSettingsType; class GetAUJobDetailsRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetAUJobDetailsRequest'); logger.debug('Enter GetAUJobDetailsRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getAUJobDetailsRequest' : this }; @@ -5634,6 +5849,7 @@ class GetAUJobDetailsRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('GetAUJobDetailsRequest'); logger.debug('Enter GetAUJobDetailsRequest constructor'); if(arguments.length == 1) { super(obj); @@ -5662,6 +5878,7 @@ module.exports.GetAUJobDetailsRequest = GetAUJobDetailsRequest; class GetAUJobDetailsResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetAUJobDetailsResponse'); logger.debug('Enter GetAUJobDetailsResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getAUJobDetailsResponse' : this }; @@ -5670,6 +5887,7 @@ class GetAUJobDetailsResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetAUJobDetailsResponse'); logger.debug('Enter GetAUJobDetailsResponse constructor'); if(arguments.length == 1) { super(obj); @@ -5694,6 +5912,7 @@ module.exports.GetAUJobDetailsResponse = GetAUJobDetailsResponse; class GetAUJobSummaryRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetAUJobSummaryRequest'); logger.debug('Enter GetAUJobSummaryRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getAUJobSummaryRequest' : this }; @@ -5702,6 +5921,7 @@ class GetAUJobSummaryRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('GetAUJobSummaryRequest'); logger.debug('Enter GetAUJobSummaryRequest constructor'); if(arguments.length == 1) { super(obj); @@ -5722,6 +5942,7 @@ module.exports.GetAUJobSummaryRequest = GetAUJobSummaryRequest; class GetAUJobSummaryResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetAUJobSummaryResponse'); logger.debug('Enter GetAUJobSummaryResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getAUJobSummaryResponse' : this }; @@ -5730,6 +5951,7 @@ class GetAUJobSummaryResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetAUJobSummaryResponse'); logger.debug('Enter GetAUJobSummaryResponse constructor'); if(arguments.length == 1) { super(obj); @@ -5750,6 +5972,7 @@ module.exports.GetAUJobSummaryResponse = GetAUJobSummaryResponse; class GetBatchStatisticsRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetBatchStatisticsRequest'); logger.debug('Enter GetBatchStatisticsRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getBatchStatisticsRequest' : this }; @@ -5758,6 +5981,7 @@ class GetBatchStatisticsRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('GetBatchStatisticsRequest'); logger.debug('Enter GetBatchStatisticsRequest constructor'); if(arguments.length == 1) { super(obj); @@ -5778,6 +6002,7 @@ module.exports.GetBatchStatisticsRequest = GetBatchStatisticsRequest; class GetBatchStatisticsResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetBatchStatisticsResponse'); logger.debug('Enter GetBatchStatisticsResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getBatchStatisticsResponse' : this }; @@ -5786,6 +6011,7 @@ class GetBatchStatisticsResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetBatchStatisticsResponse'); logger.debug('Enter GetBatchStatisticsResponse constructor'); if(arguments.length == 1) { super(obj); @@ -5806,6 +6032,7 @@ module.exports.GetBatchStatisticsResponse = GetBatchStatisticsResponse; class GetCustomerPaymentProfileListRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetCustomerPaymentProfileListRequest'); logger.debug('Enter GetCustomerPaymentProfileListRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getCustomerPaymentProfileListRequest' : this }; @@ -5814,6 +6041,7 @@ class GetCustomerPaymentProfileListRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('GetCustomerPaymentProfileListRequest'); logger.debug('Enter GetCustomerPaymentProfileListRequest constructor'); if(arguments.length == 1) { super(obj); @@ -5846,6 +6074,7 @@ module.exports.GetCustomerPaymentProfileListRequest = GetCustomerPaymentProfileL class GetCustomerPaymentProfileListResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetCustomerPaymentProfileListResponse'); logger.debug('Enter GetCustomerPaymentProfileListResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getCustomerPaymentProfileListResponse' : this }; @@ -5854,6 +6083,7 @@ class GetCustomerPaymentProfileListResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetCustomerPaymentProfileListResponse'); logger.debug('Enter GetCustomerPaymentProfileListResponse constructor'); if(arguments.length == 1) { super(obj); @@ -5878,6 +6108,7 @@ module.exports.GetCustomerPaymentProfileListResponse = GetCustomerPaymentProfile class GetCustomerPaymentProfileNonceRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetCustomerPaymentProfileNonceRequest'); logger.debug('Enter GetCustomerPaymentProfileNonceRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getCustomerPaymentProfileNonceRequest' : this }; @@ -5886,6 +6117,7 @@ class GetCustomerPaymentProfileNonceRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('GetCustomerPaymentProfileNonceRequest'); logger.debug('Enter GetCustomerPaymentProfileNonceRequest constructor'); if(arguments.length == 1) { super(obj); @@ -5914,6 +6146,7 @@ module.exports.GetCustomerPaymentProfileNonceRequest = GetCustomerPaymentProfile class GetCustomerPaymentProfileNonceResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetCustomerPaymentProfileNonceResponse'); logger.debug('Enter GetCustomerPaymentProfileNonceResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getCustomerPaymentProfileNonceResponse' : this }; @@ -5922,6 +6155,7 @@ class GetCustomerPaymentProfileNonceResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetCustomerPaymentProfileNonceResponse'); logger.debug('Enter GetCustomerPaymentProfileNonceResponse constructor'); if(arguments.length == 1) { super(obj); @@ -5942,6 +6176,7 @@ module.exports.GetCustomerPaymentProfileNonceResponse = GetCustomerPaymentProfil class GetCustomerPaymentProfileRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetCustomerPaymentProfileRequest'); logger.debug('Enter GetCustomerPaymentProfileRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getCustomerPaymentProfileRequest' : this }; @@ -5950,6 +6185,7 @@ class GetCustomerPaymentProfileRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('GetCustomerPaymentProfileRequest'); logger.debug('Enter GetCustomerPaymentProfileRequest constructor'); if(arguments.length == 1) { super(obj); @@ -5982,6 +6218,7 @@ module.exports.GetCustomerPaymentProfileRequest = GetCustomerPaymentProfileReque class GetCustomerPaymentProfileResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetCustomerPaymentProfileResponse'); logger.debug('Enter GetCustomerPaymentProfileResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getCustomerPaymentProfileResponse' : this }; @@ -5990,6 +6227,7 @@ class GetCustomerPaymentProfileResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetCustomerPaymentProfileResponse'); logger.debug('Enter GetCustomerPaymentProfileResponse constructor'); if(arguments.length == 1) { super(obj); @@ -6010,6 +6248,7 @@ module.exports.GetCustomerPaymentProfileResponse = GetCustomerPaymentProfileResp class GetCustomerProfileIdsRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetCustomerProfileIdsRequest'); logger.debug('Enter GetCustomerProfileIdsRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getCustomerProfileIdsRequest' : this }; @@ -6025,6 +6264,7 @@ module.exports.GetCustomerProfileIdsRequest = GetCustomerProfileIdsRequest; class GetCustomerProfileIdsResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetCustomerProfileIdsResponse'); logger.debug('Enter GetCustomerProfileIdsResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getCustomerProfileIdsResponse' : this }; @@ -6033,6 +6273,7 @@ class GetCustomerProfileIdsResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetCustomerProfileIdsResponse'); logger.debug('Enter GetCustomerProfileIdsResponse constructor'); if(arguments.length == 1) { super(obj); @@ -6053,6 +6294,7 @@ module.exports.GetCustomerProfileIdsResponse = GetCustomerProfileIdsResponse; class GetCustomerProfileRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetCustomerProfileRequest'); logger.debug('Enter GetCustomerProfileRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getCustomerProfileRequest' : this }; @@ -6061,6 +6303,7 @@ class GetCustomerProfileRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('GetCustomerProfileRequest'); logger.debug('Enter GetCustomerProfileRequest constructor'); if(arguments.length == 1) { super(obj); @@ -6097,6 +6340,7 @@ module.exports.GetCustomerProfileRequest = GetCustomerProfileRequest; class GetCustomerProfileResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetCustomerProfileResponse'); logger.debug('Enter GetCustomerProfileResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getCustomerProfileResponse' : this }; @@ -6105,6 +6349,7 @@ class GetCustomerProfileResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetCustomerProfileResponse'); logger.debug('Enter GetCustomerProfileResponse constructor'); if(arguments.length == 1) { super(obj); @@ -6129,6 +6374,7 @@ module.exports.GetCustomerProfileResponse = GetCustomerProfileResponse; class GetCustomerShippingAddressRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetCustomerShippingAddressRequest'); logger.debug('Enter GetCustomerShippingAddressRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getCustomerShippingAddressRequest' : this }; @@ -6137,6 +6383,7 @@ class GetCustomerShippingAddressRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('GetCustomerShippingAddressRequest'); logger.debug('Enter GetCustomerShippingAddressRequest constructor'); if(arguments.length == 1) { super(obj); @@ -6161,6 +6408,7 @@ module.exports.GetCustomerShippingAddressRequest = GetCustomerShippingAddressReq class GetCustomerShippingAddressResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetCustomerShippingAddressResponse'); logger.debug('Enter GetCustomerShippingAddressResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getCustomerShippingAddressResponse' : this }; @@ -6169,6 +6417,7 @@ class GetCustomerShippingAddressResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetCustomerShippingAddressResponse'); logger.debug('Enter GetCustomerShippingAddressResponse constructor'); if(arguments.length == 1) { super(obj); @@ -6197,6 +6446,7 @@ module.exports.GetCustomerShippingAddressResponse = GetCustomerShippingAddressRe class GetHostedPaymentPageRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetHostedPaymentPageRequest'); logger.debug('Enter GetHostedPaymentPageRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getHostedPaymentPageRequest' : this }; @@ -6205,6 +6455,7 @@ class GetHostedPaymentPageRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('GetHostedPaymentPageRequest'); logger.debug('Enter GetHostedPaymentPageRequest constructor'); if(arguments.length == 1) { super(obj); @@ -6229,6 +6480,7 @@ module.exports.GetHostedPaymentPageRequest = GetHostedPaymentPageRequest; class GetHostedPaymentPageResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetHostedPaymentPageResponse'); logger.debug('Enter GetHostedPaymentPageResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getHostedPaymentPageResponse' : this }; @@ -6237,6 +6489,7 @@ class GetHostedPaymentPageResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetHostedPaymentPageResponse'); logger.debug('Enter GetHostedPaymentPageResponse constructor'); if(arguments.length == 1) { super(obj); @@ -6257,6 +6510,7 @@ module.exports.GetHostedPaymentPageResponse = GetHostedPaymentPageResponse; class GetHostedProfilePageRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetHostedProfilePageRequest'); logger.debug('Enter GetHostedProfilePageRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getHostedProfilePageRequest' : this }; @@ -6265,6 +6519,7 @@ class GetHostedProfilePageRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('GetHostedProfilePageRequest'); logger.debug('Enter GetHostedProfilePageRequest constructor'); if(arguments.length == 1) { super(obj); @@ -6289,6 +6544,7 @@ module.exports.GetHostedProfilePageRequest = GetHostedProfilePageRequest; class GetHostedProfilePageResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetHostedProfilePageResponse'); logger.debug('Enter GetHostedProfilePageResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getHostedProfilePageResponse' : this }; @@ -6297,6 +6553,7 @@ class GetHostedProfilePageResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetHostedProfilePageResponse'); logger.debug('Enter GetHostedProfilePageResponse constructor'); if(arguments.length == 1) { super(obj); @@ -6317,6 +6574,7 @@ module.exports.GetHostedProfilePageResponse = GetHostedProfilePageResponse; class GetMerchantDetailsRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetMerchantDetailsRequest'); logger.debug('Enter GetMerchantDetailsRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getMerchantDetailsRequest' : this }; @@ -6332,6 +6590,7 @@ module.exports.GetMerchantDetailsRequest = GetMerchantDetailsRequest; class GetMerchantDetailsResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetMerchantDetailsResponse'); logger.debug('Enter GetMerchantDetailsResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getMerchantDetailsResponse' : this }; @@ -6340,6 +6599,7 @@ class GetMerchantDetailsResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetMerchantDetailsResponse'); logger.debug('Enter GetMerchantDetailsResponse constructor'); if(arguments.length == 1) { super(obj); @@ -6404,6 +6664,7 @@ module.exports.GetMerchantDetailsResponse = GetMerchantDetailsResponse; class GetSettledBatchListRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetSettledBatchListRequest'); logger.debug('Enter GetSettledBatchListRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getSettledBatchListRequest' : this }; @@ -6412,6 +6673,7 @@ class GetSettledBatchListRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('GetSettledBatchListRequest'); logger.debug('Enter GetSettledBatchListRequest constructor'); if(arguments.length == 1) { super(obj); @@ -6440,6 +6702,7 @@ module.exports.GetSettledBatchListRequest = GetSettledBatchListRequest; class GetSettledBatchListResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetSettledBatchListResponse'); logger.debug('Enter GetSettledBatchListResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getSettledBatchListResponse' : this }; @@ -6448,6 +6711,7 @@ class GetSettledBatchListResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetSettledBatchListResponse'); logger.debug('Enter GetSettledBatchListResponse constructor'); if(arguments.length == 1) { super(obj); @@ -6468,6 +6732,7 @@ module.exports.GetSettledBatchListResponse = GetSettledBatchListResponse; class GetTransactionDetailsRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetTransactionDetailsRequest'); logger.debug('Enter GetTransactionDetailsRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getTransactionDetailsRequest' : this }; @@ -6476,6 +6741,7 @@ class GetTransactionDetailsRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('GetTransactionDetailsRequest'); logger.debug('Enter GetTransactionDetailsRequest constructor'); if(arguments.length == 1) { super(obj); @@ -6496,6 +6762,7 @@ module.exports.GetTransactionDetailsRequest = GetTransactionDetailsRequest; class GetTransactionDetailsResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetTransactionDetailsResponse'); logger.debug('Enter GetTransactionDetailsResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getTransactionDetailsResponse' : this }; @@ -6504,6 +6771,7 @@ class GetTransactionDetailsResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetTransactionDetailsResponse'); logger.debug('Enter GetTransactionDetailsResponse constructor'); if(arguments.length == 1) { super(obj); @@ -6532,6 +6800,7 @@ module.exports.GetTransactionDetailsResponse = GetTransactionDetailsResponse; class GetTransactionListForCustomerRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetTransactionListForCustomerRequest'); logger.debug('Enter GetTransactionListForCustomerRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getTransactionListForCustomerRequest' : this }; @@ -6540,6 +6809,7 @@ class GetTransactionListForCustomerRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('GetTransactionListForCustomerRequest'); logger.debug('Enter GetTransactionListForCustomerRequest constructor'); if(arguments.length == 1) { super(obj); @@ -6572,6 +6842,7 @@ module.exports.GetTransactionListForCustomerRequest = GetTransactionListForCusto class GetTransactionListRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetTransactionListRequest'); logger.debug('Enter GetTransactionListRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getTransactionListRequest' : this }; @@ -6580,6 +6851,7 @@ class GetTransactionListRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('GetTransactionListRequest'); logger.debug('Enter GetTransactionListRequest constructor'); if(arguments.length == 1) { super(obj); @@ -6608,6 +6880,7 @@ module.exports.GetTransactionListRequest = GetTransactionListRequest; class GetTransactionListResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetTransactionListResponse'); logger.debug('Enter GetTransactionListResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getTransactionListResponse' : this }; @@ -6616,6 +6889,7 @@ class GetTransactionListResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetTransactionListResponse'); logger.debug('Enter GetTransactionListResponse constructor'); if(arguments.length == 1) { super(obj); @@ -6640,6 +6914,7 @@ module.exports.GetTransactionListResponse = GetTransactionListResponse; class GetUnsettledTransactionListRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('GetUnsettledTransactionListRequest'); logger.debug('Enter GetUnsettledTransactionListRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'getUnsettledTransactionListRequest' : this }; @@ -6648,6 +6923,7 @@ class GetUnsettledTransactionListRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('GetUnsettledTransactionListRequest'); logger.debug('Enter GetUnsettledTransactionListRequest constructor'); if(arguments.length == 1) { super(obj); @@ -6676,6 +6952,7 @@ module.exports.GetUnsettledTransactionListRequest = GetUnsettledTransactionListR class GetUnsettledTransactionListResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('GetUnsettledTransactionListResponse'); logger.debug('Enter GetUnsettledTransactionListResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'getUnsettledTransactionListResponse' : this }; @@ -6684,6 +6961,7 @@ class GetUnsettledTransactionListResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('GetUnsettledTransactionListResponse'); logger.debug('Enter GetUnsettledTransactionListResponse constructor'); if(arguments.length == 1) { super(obj); @@ -6708,6 +6986,7 @@ module.exports.GetUnsettledTransactionListResponse = GetUnsettledTransactionList class IsAliveResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('IsAliveResponse'); logger.debug('Enter IsAliveResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'isAliveResponse' : this }; @@ -6723,6 +7002,7 @@ module.exports.IsAliveResponse = IsAliveResponse; class LogoutRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('LogoutRequest'); logger.debug('Enter LogoutRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'logoutRequest' : this }; @@ -6738,6 +7018,7 @@ module.exports.LogoutRequest = LogoutRequest; class LogoutResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('LogoutResponse'); logger.debug('Enter LogoutResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'logoutResponse' : this }; @@ -6753,6 +7034,7 @@ module.exports.LogoutResponse = LogoutResponse; class MobileDeviceLoginRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('MobileDeviceLoginRequest'); logger.debug('Enter MobileDeviceLoginRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'mobileDeviceLoginRequest' : this }; @@ -6768,6 +7050,7 @@ module.exports.MobileDeviceLoginRequest = MobileDeviceLoginRequest; class MobileDeviceLoginResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('MobileDeviceLoginResponse'); logger.debug('Enter MobileDeviceLoginResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'mobileDeviceLoginResponse' : this }; @@ -6776,6 +7059,7 @@ class MobileDeviceLoginResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('MobileDeviceLoginResponse'); logger.debug('Enter MobileDeviceLoginResponse constructor'); if(arguments.length == 1) { super(obj); @@ -6804,6 +7088,7 @@ module.exports.MobileDeviceLoginResponse = MobileDeviceLoginResponse; class MobileDeviceRegistrationRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('MobileDeviceRegistrationRequest'); logger.debug('Enter MobileDeviceRegistrationRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'mobileDeviceRegistrationRequest' : this }; @@ -6812,6 +7097,7 @@ class MobileDeviceRegistrationRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('MobileDeviceRegistrationRequest'); logger.debug('Enter MobileDeviceRegistrationRequest constructor'); if(arguments.length == 1) { super(obj); @@ -6832,6 +7118,7 @@ module.exports.MobileDeviceRegistrationRequest = MobileDeviceRegistrationRequest class MobileDeviceRegistrationResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('MobileDeviceRegistrationResponse'); logger.debug('Enter MobileDeviceRegistrationResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'mobileDeviceRegistrationResponse' : this }; @@ -6847,6 +7134,7 @@ module.exports.MobileDeviceRegistrationResponse = MobileDeviceRegistrationRespon class OrderExType extends OrderType { constructor(obj) { + var logger = Logger.getLogger('OrderExType'); logger.debug('Enter OrderExType constructor'); if(arguments.length == 1) { super(obj); @@ -6867,6 +7155,7 @@ module.exports.OrderExType = OrderExType; class ProfileTransOrderType extends ProfileTransAmountType { constructor(obj) { + var logger = Logger.getLogger('ProfileTransOrderType'); logger.debug('Enter ProfileTransOrderType constructor'); if(arguments.length == 1) { super(obj); @@ -6927,6 +7216,7 @@ module.exports.ProfileTransOrderType = ProfileTransOrderType; class ProfileTransPriorAuthCaptureType extends ProfileTransAmountType { constructor(obj) { + var logger = Logger.getLogger('ProfileTransPriorAuthCaptureType'); logger.debug('Enter ProfileTransPriorAuthCaptureType constructor'); if(arguments.length == 1) { super(obj); @@ -6959,6 +7249,7 @@ module.exports.ProfileTransPriorAuthCaptureType = ProfileTransPriorAuthCaptureTy class ProfileTransRefundType extends ProfileTransAmountType { constructor(obj) { + var logger = Logger.getLogger('ProfileTransRefundType'); logger.debug('Enter ProfileTransRefundType constructor'); if(arguments.length == 1) { super(obj); @@ -7007,6 +7298,7 @@ module.exports.ProfileTransRefundType = ProfileTransRefundType; class SecurePaymentContainerRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('SecurePaymentContainerRequest'); logger.debug('Enter SecurePaymentContainerRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'securePaymentContainerRequest' : this }; @@ -7015,6 +7307,7 @@ class SecurePaymentContainerRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('SecurePaymentContainerRequest'); logger.debug('Enter SecurePaymentContainerRequest constructor'); if(arguments.length == 1) { super(obj); @@ -7035,6 +7328,7 @@ module.exports.SecurePaymentContainerRequest = SecurePaymentContainerRequest; class SecurePaymentContainerResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('SecurePaymentContainerResponse'); logger.debug('Enter SecurePaymentContainerResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'securePaymentContainerResponse' : this }; @@ -7043,6 +7337,7 @@ class SecurePaymentContainerResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('SecurePaymentContainerResponse'); logger.debug('Enter SecurePaymentContainerResponse constructor'); if(arguments.length == 1) { super(obj); @@ -7063,6 +7358,7 @@ module.exports.SecurePaymentContainerResponse = SecurePaymentContainerResponse; class SendCustomerTransactionReceiptRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('SendCustomerTransactionReceiptRequest'); logger.debug('Enter SendCustomerTransactionReceiptRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'sendCustomerTransactionReceiptRequest' : this }; @@ -7071,6 +7367,7 @@ class SendCustomerTransactionReceiptRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('SendCustomerTransactionReceiptRequest'); logger.debug('Enter SendCustomerTransactionReceiptRequest constructor'); if(arguments.length == 1) { super(obj); @@ -7099,6 +7396,7 @@ module.exports.SendCustomerTransactionReceiptRequest = SendCustomerTransactionRe class SendCustomerTransactionReceiptResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('SendCustomerTransactionReceiptResponse'); logger.debug('Enter SendCustomerTransactionReceiptResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'sendCustomerTransactionReceiptResponse' : this }; @@ -7114,6 +7412,7 @@ module.exports.SendCustomerTransactionReceiptResponse = SendCustomerTransactionR class UpdateCustomerPaymentProfileRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('UpdateCustomerPaymentProfileRequest'); logger.debug('Enter UpdateCustomerPaymentProfileRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'updateCustomerPaymentProfileRequest' : this }; @@ -7122,6 +7421,7 @@ class UpdateCustomerPaymentProfileRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('UpdateCustomerPaymentProfileRequest'); logger.debug('Enter UpdateCustomerPaymentProfileRequest constructor'); if(arguments.length == 1) { super(obj); @@ -7150,6 +7450,7 @@ module.exports.UpdateCustomerPaymentProfileRequest = UpdateCustomerPaymentProfil class UpdateCustomerPaymentProfileResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('UpdateCustomerPaymentProfileResponse'); logger.debug('Enter UpdateCustomerPaymentProfileResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'updateCustomerPaymentProfileResponse' : this }; @@ -7158,6 +7459,7 @@ class UpdateCustomerPaymentProfileResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('UpdateCustomerPaymentProfileResponse'); logger.debug('Enter UpdateCustomerPaymentProfileResponse constructor'); if(arguments.length == 1) { super(obj); @@ -7178,6 +7480,7 @@ module.exports.UpdateCustomerPaymentProfileResponse = UpdateCustomerPaymentProfi class UpdateCustomerProfileRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('UpdateCustomerProfileRequest'); logger.debug('Enter UpdateCustomerProfileRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'updateCustomerProfileRequest' : this }; @@ -7186,10 +7489,11 @@ class UpdateCustomerProfileRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('UpdateCustomerProfileRequest'); logger.debug('Enter UpdateCustomerProfileRequest constructor'); if(arguments.length == 1) { super(obj); - if(('profile' in obj) && (obj.profile != null)) { this.setProfile(new CustomerProfileExType(obj.profile)); } + if(('profile' in obj) && (obj.profile != null)) { this.setProfile(new CustomerProfileInfoExType(obj.profile)); } } else { super(); @@ -7206,6 +7510,7 @@ module.exports.UpdateCustomerProfileRequest = UpdateCustomerProfileRequest; class UpdateCustomerProfileResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('UpdateCustomerProfileResponse'); logger.debug('Enter UpdateCustomerProfileResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'updateCustomerProfileResponse' : this }; @@ -7221,6 +7526,7 @@ module.exports.UpdateCustomerProfileResponse = UpdateCustomerProfileResponse; class UpdateCustomerShippingAddressRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('UpdateCustomerShippingAddressRequest'); logger.debug('Enter UpdateCustomerShippingAddressRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'updateCustomerShippingAddressRequest' : this }; @@ -7229,6 +7535,7 @@ class UpdateCustomerShippingAddressRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('UpdateCustomerShippingAddressRequest'); logger.debug('Enter UpdateCustomerShippingAddressRequest constructor'); if(arguments.length == 1) { super(obj); @@ -7257,6 +7564,7 @@ module.exports.UpdateCustomerShippingAddressRequest = UpdateCustomerShippingAddr class UpdateCustomerShippingAddressResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('UpdateCustomerShippingAddressResponse'); logger.debug('Enter UpdateCustomerShippingAddressResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'updateCustomerShippingAddressResponse' : this }; @@ -7272,6 +7580,7 @@ module.exports.UpdateCustomerShippingAddressResponse = UpdateCustomerShippingAdd class UpdateHeldTransactionRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('UpdateHeldTransactionRequest'); logger.debug('Enter UpdateHeldTransactionRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'updateHeldTransactionRequest' : this }; @@ -7280,6 +7589,7 @@ class UpdateHeldTransactionRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('UpdateHeldTransactionRequest'); logger.debug('Enter UpdateHeldTransactionRequest constructor'); if(arguments.length == 1) { super(obj); @@ -7300,6 +7610,7 @@ module.exports.UpdateHeldTransactionRequest = UpdateHeldTransactionRequest; class UpdateHeldTransactionResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('UpdateHeldTransactionResponse'); logger.debug('Enter UpdateHeldTransactionResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'updateHeldTransactionResponse' : this }; @@ -7308,6 +7619,7 @@ class UpdateHeldTransactionResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('UpdateHeldTransactionResponse'); logger.debug('Enter UpdateHeldTransactionResponse constructor'); if(arguments.length == 1) { super(obj); @@ -7328,6 +7640,7 @@ module.exports.UpdateHeldTransactionResponse = UpdateHeldTransactionResponse; class UpdateMerchantDetailsRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('UpdateMerchantDetailsRequest'); logger.debug('Enter UpdateMerchantDetailsRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'updateMerchantDetailsRequest' : this }; @@ -7336,6 +7649,7 @@ class UpdateMerchantDetailsRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('UpdateMerchantDetailsRequest'); logger.debug('Enter UpdateMerchantDetailsRequest constructor'); if(arguments.length == 1) { super(obj); @@ -7356,6 +7670,7 @@ module.exports.UpdateMerchantDetailsRequest = UpdateMerchantDetailsRequest; class UpdateMerchantDetailsResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('UpdateMerchantDetailsResponse'); logger.debug('Enter UpdateMerchantDetailsResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'updateMerchantDetailsResponse' : this }; @@ -7371,6 +7686,7 @@ module.exports.UpdateMerchantDetailsResponse = UpdateMerchantDetailsResponse; class UpdateSplitTenderGroupRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('UpdateSplitTenderGroupRequest'); logger.debug('Enter UpdateSplitTenderGroupRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'updateSplitTenderGroupRequest' : this }; @@ -7379,6 +7695,7 @@ class UpdateSplitTenderGroupRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('UpdateSplitTenderGroupRequest'); logger.debug('Enter UpdateSplitTenderGroupRequest constructor'); if(arguments.length == 1) { super(obj); @@ -7403,6 +7720,7 @@ module.exports.UpdateSplitTenderGroupRequest = UpdateSplitTenderGroupRequest; class UpdateSplitTenderGroupResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('UpdateSplitTenderGroupResponse'); logger.debug('Enter UpdateSplitTenderGroupResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'updateSplitTenderGroupResponse' : this }; @@ -7418,6 +7736,7 @@ module.exports.UpdateSplitTenderGroupResponse = UpdateSplitTenderGroupResponse; class ValidateCustomerPaymentProfileRequest extends ANetApiRequest { getJSON() { + var logger = Logger.getLogger('ValidateCustomerPaymentProfileRequest'); logger.debug('Enter ValidateCustomerPaymentProfileRequest getJSON'); utils.delete_null_properties(this, true); var obj = { 'validateCustomerPaymentProfileRequest' : this }; @@ -7426,6 +7745,7 @@ class ValidateCustomerPaymentProfileRequest extends ANetApiRequest { } constructor(obj) { + var logger = Logger.getLogger('ValidateCustomerPaymentProfileRequest'); logger.debug('Enter ValidateCustomerPaymentProfileRequest constructor'); if(arguments.length == 1) { super(obj); @@ -7462,6 +7782,7 @@ module.exports.ValidateCustomerPaymentProfileRequest = ValidateCustomerPaymentPr class ValidateCustomerPaymentProfileResponse extends ANetApiResponse { getJSON() { + var logger = Logger.getLogger('ValidateCustomerPaymentProfileResponse'); logger.debug('Enter ValidateCustomerPaymentProfileResponse getJSON'); utils.delete_null_properties(this, true); var obj = { 'validateCustomerPaymentProfileResponse' : this }; @@ -7470,6 +7791,7 @@ class ValidateCustomerPaymentProfileResponse extends ANetApiResponse { } constructor(obj) { + var logger = Logger.getLogger('ValidateCustomerPaymentProfileResponse'); logger.debug('Enter ValidateCustomerPaymentProfileResponse constructor'); if(arguments.length == 1) { super(obj); @@ -7490,6 +7812,7 @@ module.exports.ValidateCustomerPaymentProfileResponse = ValidateCustomerPaymentP class CustomerAddressExType extends CustomerAddressType { constructor(obj) { + var logger = Logger.getLogger('CustomerAddressExType'); logger.debug('Enter CustomerAddressExType constructor'); if(arguments.length == 1) { super(obj); @@ -7510,6 +7833,7 @@ module.exports.CustomerAddressExType = CustomerAddressExType; class CustomerPaymentProfileExType extends CustomerPaymentProfileType { constructor(obj) { + var logger = Logger.getLogger('CustomerPaymentProfileExType'); logger.debug('Enter CustomerPaymentProfileExType constructor'); if(arguments.length == 1) { super(obj); @@ -7530,6 +7854,7 @@ module.exports.CustomerPaymentProfileExType = CustomerPaymentProfileExType; class CustomerProfileInfoExType extends CustomerProfileExType { constructor(obj) { + var logger = Logger.getLogger('CustomerProfileInfoExType'); logger.debug('Enter CustomerProfileInfoExType constructor'); if(arguments.length == 1) { super(obj); @@ -7550,6 +7875,7 @@ module.exports.CustomerProfileInfoExType = CustomerProfileInfoExType; class CustomerProfileMaskedType extends CustomerProfileExType { constructor(obj) { + var logger = Logger.getLogger('CustomerProfileMaskedType'); logger.debug('Enter CustomerProfileMaskedType constructor'); if(arguments.length == 1) { super(obj); @@ -7600,6 +7926,7 @@ module.exports.ProfileTransAuthOnlyType = ProfileTransAuthOnlyType; class ProfileTransCaptureOnlyType extends ProfileTransOrderType { constructor(obj) { + var logger = Logger.getLogger('ProfileTransCaptureOnlyType'); logger.debug('Enter ProfileTransCaptureOnlyType constructor'); if(arguments.length == 1) { super(obj); @@ -7620,6 +7947,7 @@ module.exports.ProfileTransCaptureOnlyType = ProfileTransCaptureOnlyType; class SubscriptionCustomerProfileType extends CustomerProfileExType { constructor(obj) { + var logger = Logger.getLogger('SubscriptionCustomerProfileType'); logger.debug('Enter SubscriptionCustomerProfileType constructor'); if(arguments.length == 1) { super(obj); diff --git a/lib/apicontrollers.js b/lib/apicontrollers.js index 9b5afb4..0d92dcf 100644 --- a/lib/apicontrollers.js +++ b/lib/apicontrollers.js @@ -1,12 +1,13 @@ 'use strict'; var APIOperationBase = require('./apicontrollersbase.js').APIOperationBase; -var logger = require('./logger.js').logger; +const Logger = require('./logger.js'); class ANetApiController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('ANetApiController', externalConfig) logger.debug('Enter ANetApiController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit ANetApiController constructor'); } @@ -25,9 +26,10 @@ class ANetApiController extends APIOperationBase { module.exports.ANetApiController = ANetApiController; class ARBCancelSubscriptionController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('ARBCancelSubscriptionController', externalConfig) logger.debug('Enter ARBCancelSubscriptionController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit ARBCancelSubscriptionController constructor'); } @@ -46,9 +48,10 @@ class ARBCancelSubscriptionController extends APIOperationBase { module.exports.ARBCancelSubscriptionController = ARBCancelSubscriptionController; class ARBCreateSubscriptionController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('ARBCreateSubscriptionController', externalConfig) logger.debug('Enter ARBCreateSubscriptionController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit ARBCreateSubscriptionController constructor'); } @@ -67,9 +70,10 @@ class ARBCreateSubscriptionController extends APIOperationBase { module.exports.ARBCreateSubscriptionController = ARBCreateSubscriptionController; class ARBGetSubscriptionController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('ARBGetSubscriptionController', externalConfig) logger.debug('Enter ARBGetSubscriptionController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit ARBGetSubscriptionController constructor'); } @@ -88,9 +92,10 @@ class ARBGetSubscriptionController extends APIOperationBase { module.exports.ARBGetSubscriptionController = ARBGetSubscriptionController; class ARBGetSubscriptionListController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('ARBGetSubscriptionListController', externalConfig) logger.debug('Enter ARBGetSubscriptionListController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit ARBGetSubscriptionListController constructor'); } @@ -109,9 +114,10 @@ class ARBGetSubscriptionListController extends APIOperationBase { module.exports.ARBGetSubscriptionListController = ARBGetSubscriptionListController; class ARBGetSubscriptionStatusController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('ARBGetSubscriptionStatusController', externalConfig) logger.debug('Enter ARBGetSubscriptionStatusController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit ARBGetSubscriptionStatusController constructor'); } @@ -130,9 +136,10 @@ class ARBGetSubscriptionStatusController extends APIOperationBase { module.exports.ARBGetSubscriptionStatusController = ARBGetSubscriptionStatusController; class ARBUpdateSubscriptionController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('ARBUpdateSubscriptionController', externalConfig) logger.debug('Enter ARBUpdateSubscriptionController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit ARBUpdateSubscriptionController constructor'); } @@ -151,9 +158,10 @@ class ARBUpdateSubscriptionController extends APIOperationBase { module.exports.ARBUpdateSubscriptionController = ARBUpdateSubscriptionController; class AuthenticateTestController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('AuthenticateTestController', externalConfig) logger.debug('Enter AuthenticateTestController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit AuthenticateTestController constructor'); } @@ -172,9 +180,10 @@ class AuthenticateTestController extends APIOperationBase { module.exports.AuthenticateTestController = AuthenticateTestController; class CreateCustomerPaymentProfileController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('CreateCustomerPaymentProfileController', externalConfig) logger.debug('Enter CreateCustomerPaymentProfileController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit CreateCustomerPaymentProfileController constructor'); } @@ -193,9 +202,10 @@ class CreateCustomerPaymentProfileController extends APIOperationBase { module.exports.CreateCustomerPaymentProfileController = CreateCustomerPaymentProfileController; class CreateCustomerProfileController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('CreateCustomerProfileController', externalConfig) logger.debug('Enter CreateCustomerProfileController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit CreateCustomerProfileController constructor'); } @@ -214,9 +224,10 @@ class CreateCustomerProfileController extends APIOperationBase { module.exports.CreateCustomerProfileController = CreateCustomerProfileController; class CreateCustomerProfileFromTransactionController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('CreateCustomerProfileFromTransactionController', externalConfig) logger.debug('Enter CreateCustomerProfileFromTransactionController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit CreateCustomerProfileFromTransactionController constructor'); } @@ -235,9 +246,10 @@ class CreateCustomerProfileFromTransactionController extends APIOperationBase { module.exports.CreateCustomerProfileFromTransactionController = CreateCustomerProfileFromTransactionController; class CreateCustomerProfileTransactionController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('CreateCustomerProfileTransactionController', externalConfig) logger.debug('Enter CreateCustomerProfileTransactionController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit CreateCustomerProfileTransactionController constructor'); } @@ -256,9 +268,10 @@ class CreateCustomerProfileTransactionController extends APIOperationBase { module.exports.CreateCustomerProfileTransactionController = CreateCustomerProfileTransactionController; class CreateCustomerShippingAddressController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('CreateCustomerShippingAddressController', externalConfig) logger.debug('Enter CreateCustomerShippingAddressController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit CreateCustomerShippingAddressController constructor'); } @@ -277,9 +290,10 @@ class CreateCustomerShippingAddressController extends APIOperationBase { module.exports.CreateCustomerShippingAddressController = CreateCustomerShippingAddressController; class CreateTransactionController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('CreateTransactionController', externalConfig) logger.debug('Enter CreateTransactionController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit CreateTransactionController constructor'); } @@ -298,9 +312,10 @@ class CreateTransactionController extends APIOperationBase { module.exports.CreateTransactionController = CreateTransactionController; class DecryptPaymentDataController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('DecryptPaymentDataController', externalConfig) logger.debug('Enter DecryptPaymentDataController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit DecryptPaymentDataController constructor'); } @@ -319,9 +334,10 @@ class DecryptPaymentDataController extends APIOperationBase { module.exports.DecryptPaymentDataController = DecryptPaymentDataController; class DeleteCustomerPaymentProfileController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('DeleteCustomerPaymentProfileController', externalConfig) logger.debug('Enter DeleteCustomerPaymentProfileController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit DeleteCustomerPaymentProfileController constructor'); } @@ -340,9 +356,10 @@ class DeleteCustomerPaymentProfileController extends APIOperationBase { module.exports.DeleteCustomerPaymentProfileController = DeleteCustomerPaymentProfileController; class DeleteCustomerProfileController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('DeleteCustomerProfileController', externalConfig) logger.debug('Enter DeleteCustomerProfileController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit DeleteCustomerProfileController constructor'); } @@ -361,9 +378,10 @@ class DeleteCustomerProfileController extends APIOperationBase { module.exports.DeleteCustomerProfileController = DeleteCustomerProfileController; class DeleteCustomerShippingAddressController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('DeleteCustomerShippingAddressController', externalConfig) logger.debug('Enter DeleteCustomerShippingAddressController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit DeleteCustomerShippingAddressController constructor'); } @@ -382,9 +400,10 @@ class DeleteCustomerShippingAddressController extends APIOperationBase { module.exports.DeleteCustomerShippingAddressController = DeleteCustomerShippingAddressController; class GetAUJobDetailsController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetAUJobDetailsController', externalConfig) logger.debug('Enter GetAUJobDetailsController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetAUJobDetailsController constructor'); } @@ -403,9 +422,10 @@ class GetAUJobDetailsController extends APIOperationBase { module.exports.GetAUJobDetailsController = GetAUJobDetailsController; class GetAUJobSummaryController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetAUJobSummaryController', externalConfig) logger.debug('Enter GetAUJobSummaryController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetAUJobSummaryController constructor'); } @@ -424,9 +444,10 @@ class GetAUJobSummaryController extends APIOperationBase { module.exports.GetAUJobSummaryController = GetAUJobSummaryController; class GetBatchStatisticsController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetBatchStatisticsController', externalConfig) logger.debug('Enter GetBatchStatisticsController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetBatchStatisticsController constructor'); } @@ -445,9 +466,10 @@ class GetBatchStatisticsController extends APIOperationBase { module.exports.GetBatchStatisticsController = GetBatchStatisticsController; class GetCustomerPaymentProfileController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetCustomerPaymentProfileController', externalConfig) logger.debug('Enter GetCustomerPaymentProfileController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetCustomerPaymentProfileController constructor'); } @@ -466,9 +488,10 @@ class GetCustomerPaymentProfileController extends APIOperationBase { module.exports.GetCustomerPaymentProfileController = GetCustomerPaymentProfileController; class GetCustomerPaymentProfileListController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetCustomerPaymentProfileListController', externalConfig) logger.debug('Enter GetCustomerPaymentProfileListController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetCustomerPaymentProfileListController constructor'); } @@ -487,9 +510,10 @@ class GetCustomerPaymentProfileListController extends APIOperationBase { module.exports.GetCustomerPaymentProfileListController = GetCustomerPaymentProfileListController; class GetCustomerPaymentProfileNonceController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetCustomerPaymentProfileNonceController', externalConfig) logger.debug('Enter GetCustomerPaymentProfileNonceController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetCustomerPaymentProfileNonceController constructor'); } @@ -506,10 +530,12 @@ class GetCustomerPaymentProfileNonceController extends APIOperationBase { } module.exports.GetCustomerPaymentProfileNonceController = GetCustomerPaymentProfileNonceController; + class GetCustomerProfileController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetCustomerProfileController', externalConfig) logger.debug('Enter GetCustomerProfileController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetCustomerProfileController constructor'); } @@ -528,9 +554,10 @@ class GetCustomerProfileController extends APIOperationBase { module.exports.GetCustomerProfileController = GetCustomerProfileController; class GetCustomerProfileIdsController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetCustomerProfileIdsController', externalConfig) logger.debug('Enter GetCustomerProfileIdsController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetCustomerProfileIdsController constructor'); } @@ -549,9 +576,10 @@ class GetCustomerProfileIdsController extends APIOperationBase { module.exports.GetCustomerProfileIdsController = GetCustomerProfileIdsController; class GetCustomerShippingAddressController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetCustomerShippingAddressController', externalConfig) logger.debug('Enter GetCustomerShippingAddressController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetCustomerShippingAddressController constructor'); } @@ -570,9 +598,10 @@ class GetCustomerShippingAddressController extends APIOperationBase { module.exports.GetCustomerShippingAddressController = GetCustomerShippingAddressController; class GetHostedPaymentPageController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetHostedPaymentPageController', externalConfig) logger.debug('Enter GetHostedPaymentPageController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetHostedPaymentPageController constructor'); } @@ -591,9 +620,10 @@ class GetHostedPaymentPageController extends APIOperationBase { module.exports.GetHostedPaymentPageController = GetHostedPaymentPageController; class GetHostedProfilePageController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetHostedProfilePageController', externalConfig) logger.debug('Enter GetHostedProfilePageController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetHostedProfilePageController constructor'); } @@ -612,9 +642,10 @@ class GetHostedProfilePageController extends APIOperationBase { module.exports.GetHostedProfilePageController = GetHostedProfilePageController; class GetMerchantDetailsController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetMerchantDetailsController', externalConfig) logger.debug('Enter GetMerchantDetailsController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetMerchantDetailsController constructor'); } @@ -633,9 +664,10 @@ class GetMerchantDetailsController extends APIOperationBase { module.exports.GetMerchantDetailsController = GetMerchantDetailsController; class GetSettledBatchListController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetSettledBatchListController', externalConfig) logger.debug('Enter GetSettledBatchListController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetSettledBatchListController constructor'); } @@ -654,9 +686,10 @@ class GetSettledBatchListController extends APIOperationBase { module.exports.GetSettledBatchListController = GetSettledBatchListController; class GetTransactionDetailsController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetTransactionDetailsController', externalConfig) logger.debug('Enter GetTransactionDetailsController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetTransactionDetailsController constructor'); } @@ -675,9 +708,10 @@ class GetTransactionDetailsController extends APIOperationBase { module.exports.GetTransactionDetailsController = GetTransactionDetailsController; class GetTransactionListController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetTransactionListController', externalConfig) logger.debug('Enter GetTransactionListController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetTransactionListController constructor'); } @@ -696,9 +730,10 @@ class GetTransactionListController extends APIOperationBase { module.exports.GetTransactionListController = GetTransactionListController; class GetTransactionListForCustomerController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetTransactionListForCustomerController', externalConfig) logger.debug('Enter GetTransactionListForCustomerController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetTransactionListForCustomerController constructor'); } @@ -717,9 +752,10 @@ class GetTransactionListForCustomerController extends APIOperationBase { module.exports.GetTransactionListForCustomerController = GetTransactionListForCustomerController; class GetUnsettledTransactionListController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('GetUnsettledTransactionListController', externalConfig) logger.debug('Enter GetUnsettledTransactionListController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit GetUnsettledTransactionListController constructor'); } @@ -738,9 +774,10 @@ class GetUnsettledTransactionListController extends APIOperationBase { module.exports.GetUnsettledTransactionListController = GetUnsettledTransactionListController; class IsAliveController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('IsAliveController', externalConfig) logger.debug('Enter IsAliveController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit IsAliveController constructor'); } @@ -759,9 +796,10 @@ class IsAliveController extends APIOperationBase { module.exports.IsAliveController = IsAliveController; class LogoutController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('LogoutController', externalConfig) logger.debug('Enter LogoutController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit LogoutController constructor'); } @@ -780,9 +818,10 @@ class LogoutController extends APIOperationBase { module.exports.LogoutController = LogoutController; class MobileDeviceLoginController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('MobileDeviceLoginController', externalConfig) logger.debug('Enter MobileDeviceLoginController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit MobileDeviceLoginController constructor'); } @@ -801,9 +840,10 @@ class MobileDeviceLoginController extends APIOperationBase { module.exports.MobileDeviceLoginController = MobileDeviceLoginController; class MobileDeviceRegistrationController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('MobileDeviceRegistrationController', externalConfig) logger.debug('Enter MobileDeviceRegistrationController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit MobileDeviceRegistrationController constructor'); } @@ -822,9 +862,10 @@ class MobileDeviceRegistrationController extends APIOperationBase { module.exports.MobileDeviceRegistrationController = MobileDeviceRegistrationController; class SecurePaymentContainerController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('SecurePaymentContainerController', externalConfig) logger.debug('Enter SecurePaymentContainerController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit SecurePaymentContainerController constructor'); } @@ -843,9 +884,10 @@ class SecurePaymentContainerController extends APIOperationBase { module.exports.SecurePaymentContainerController = SecurePaymentContainerController; class SendCustomerTransactionReceiptController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('SendCustomerTransactionReceiptController', externalConfig) logger.debug('Enter SendCustomerTransactionReceiptController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit SendCustomerTransactionReceiptController constructor'); } @@ -864,9 +906,10 @@ class SendCustomerTransactionReceiptController extends APIOperationBase { module.exports.SendCustomerTransactionReceiptController = SendCustomerTransactionReceiptController; class UpdateCustomerPaymentProfileController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('UpdateCustomerPaymentProfileController', externalConfig) logger.debug('Enter UpdateCustomerPaymentProfileController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit UpdateCustomerPaymentProfileController constructor'); } @@ -885,9 +928,10 @@ class UpdateCustomerPaymentProfileController extends APIOperationBase { module.exports.UpdateCustomerPaymentProfileController = UpdateCustomerPaymentProfileController; class UpdateCustomerProfileController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('UpdateCustomerProfileController', externalConfig) logger.debug('Enter UpdateCustomerProfileController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit UpdateCustomerProfileController constructor'); } @@ -906,9 +950,10 @@ class UpdateCustomerProfileController extends APIOperationBase { module.exports.UpdateCustomerProfileController = UpdateCustomerProfileController; class UpdateCustomerShippingAddressController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('UpdateCustomerShippingAddressController', externalConfig) logger.debug('Enter UpdateCustomerShippingAddressController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit UpdateCustomerShippingAddressController constructor'); } @@ -927,9 +972,10 @@ class UpdateCustomerShippingAddressController extends APIOperationBase { module.exports.UpdateCustomerShippingAddressController = UpdateCustomerShippingAddressController; class UpdateHeldTransactionController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('UpdateHeldTransactionController', externalConfig) logger.debug('Enter UpdateHeldTransactionController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit UpdateHeldTransactionController constructor'); } @@ -948,9 +994,10 @@ class UpdateHeldTransactionController extends APIOperationBase { module.exports.UpdateHeldTransactionController = UpdateHeldTransactionController; class UpdateMerchantDetailsController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('UpdateMerchantDetailsController', externalConfig) logger.debug('Enter UpdateMerchantDetailsController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit UpdateMerchantDetailsController constructor'); } @@ -969,9 +1016,10 @@ class UpdateMerchantDetailsController extends APIOperationBase { module.exports.UpdateMerchantDetailsController = UpdateMerchantDetailsController; class UpdateSplitTenderGroupController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('UpdateSplitTenderGroupController', externalConfig) logger.debug('Enter UpdateSplitTenderGroupController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit UpdateSplitTenderGroupController constructor'); } @@ -990,9 +1038,10 @@ class UpdateSplitTenderGroupController extends APIOperationBase { module.exports.UpdateSplitTenderGroupController = UpdateSplitTenderGroupController; class ValidateCustomerPaymentProfileController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('ValidateCustomerPaymentProfileController', externalConfig) logger.debug('Enter ValidateCustomerPaymentProfileController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit ValidateCustomerPaymentProfileController constructor'); } diff --git a/lib/apicontrollersbase.js b/lib/apicontrollersbase.js index 877c91b..817738d 100644 --- a/lib/apicontrollersbase.js +++ b/lib/apicontrollersbase.js @@ -1,19 +1,23 @@ 'use strict'; -var request = require('request'); -var logger = require('./logger.js').logger; +var axios = require('axios'); +var HttpsProxyAgent = require('https-proxy-agent').HttpsProxyAgent; +const Logger = require('./logger.js'); var config = require('./config').config; var constants = require('./constants').constants; +var logger; + class APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + logger = Logger.getLogger('ApiOperationBase', externalConfig); logger.debug('Enter APIOperationBase constructor'); this._request = null; this._response = null; this._endpoint = constants.endpoint.sandbox; - if(null == apiRequest) + if (null == apiRequest) logger.error('Input request cannot be null'); this._request = apiRequest; @@ -22,34 +26,34 @@ class APIOperationBase { } //abstract - validateRequest(){ + validateRequest() { return; } - validate(){ + validate() { return; } - getResponse(){ + getResponse() { return this._response; } - getResultcode(){ + getResultcode() { var resultcode = null; - if(this._response) + if (this._response) resultcode = this._response.resultCode; return resultcode; } - getMessagetype(){ + getMessagetype() { var message = null; - if(this._response){ + if (this._response) { message = this._response.message; } - + return message; } @@ -57,13 +61,13 @@ class APIOperationBase { } setClientId() { - for(var obj in this._request){ - this._request[obj]['clientId'] = config.clientId; + for (var obj in this._request) { + this._request[obj]['clientId'] = config.clientId; break; } } - setEnvironment(env){ + setEnvironment(env) { this._endpoint = env; } @@ -80,42 +84,30 @@ class APIOperationBase { logger.debug(JSON.stringify(this._request, 2, null)); - var reqOpts = { - url: this._endpoint, + var axiosConfig = { + baseURL: this._endpoint, method: 'POST', - json: true, + proxy: false, timeout: config.timeout, - body: this._request + data: JSON.parse(JSON.stringify(this._request)) }; - if(config.proxy.setProxy){ - reqOpts['proxy'] = config.proxy.proxyUrl; + if (config.proxy.setProxy) { + const agent = new HttpsProxyAgent(config.proxy.proxyUrl); + axiosConfig.httpsAgent = agent; } - request(reqOpts, function(error, response, body){ - if(error) { - logger.error(error); - } else - { - //TODO: slice added due to BOM character. remove once BOM character is removed. - if(typeof body!=='undefined'){ - var responseObj = JSON.parse(body.slice(1)); - logger.debug(JSON.stringify(responseObj, 2, null)); - obj._response = responseObj; - /* - var jsonResponse = JSON.stringify(body); - console.log("escaped body : '" + escape(jsonResponse) + "'"); - console.log("body : '" + jsonResponse + "'"); - logger.debug("Response: " + JSON.stringify(body, 2, null)); - obj._response = body; - */ + axios.request(axiosConfig).then((response) => { + if (typeof response.data !== 'undefined') { + var responseObj = JSON.parse(JSON.stringify(response.data)); + logger.debug(JSON.stringify(responseObj, 2, null)); + obj._response = responseObj; callback(); + } else { + logger.error("Undefined Response"); } - else - { - logger.error("Undefined Response"); - } - } + }).catch(error => { + logger.error(error); }); logger.debug('Exit APIOperationBase execute'); diff --git a/lib/logger.js b/lib/logger.js index 2e51f2a..b8583bb 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -1,68 +1,103 @@ var winston = require('winston'); +const { format } = require('winston'); +const { combine, timestamp, label, printf } = format; +require('winston-daily-rotate-file'); var config = require('./config').config; -var logger; - var sensitiveFields = ['cardCode', 'cardNumber', 'expirationDate', 'accountNumber', 'nameOnAccount', 'transactionKey', 'email', 'phoneNumber', 'faxNumber', 'dateOfBirth']; +const maskedLoggingFormat = printf(({ level, message, label, timestamp }) => { + if (isJson(message)) { + return `[${timestamp}] [${level.toUpperCase()}] [${label}] : ${maskSensitiveFields(JSON.parse(message))}`; + } else { + return `[${timestamp}] [${level.toUpperCase()}] [${label}] : ${message}`; + } +}); + function isJson(str) { - try { - JSON.parse(str); - } catch (e) { - return false; - } - return true; + try { + JSON.parse(str); + } catch (e) { + return false; + } + return true; } -if(config.logger.enabled === true) { - logger = new (winston.Logger)({ - transports: [ - new (winston.transports.File)({filename: config.logger.location + '/sdk-node.log', level: config.logger.level}) - ] - }); - - //Adding filter for sensitive fields that should not be logged. - logger.filters.push(function(level, msg, timestamp){ - if(isJson(msg)) - { - try{ - return maskSensitiveFields(JSON.parse(msg)); - } - catch (e) - { - return 'Error while logging the message.'; - } - } - else - return msg; - }); -} -else { - logger = new (winston.Logger)({ - transports: [] - }); +function createTransportFromConfig(tempConfig) { + var transports = []; + + var enableLog = tempConfig.logger.enabled; + var loggingLevel = tempConfig.logger.level; + var logDirectory = tempConfig.logger.location; + + transports.push(new winston.transports.DailyRotateFile({ + level: loggingLevel, + filename: 'sdk-node-%DATE%.log', + datePattern: 'YYYY-MM-DD', + zippedArchive: true, + dirname: logDirectory, + silent: !enableLog + })); + + return transports; } -function maskSensitiveFields(jsonMsg){ +exports.getLogger = function (loggerCategory = 'LoggerInstance', mconfig = null) { + var loggerConfig = mconfig ? mconfig : config; - if (jsonMsg instanceof Object) { + var enableLog = loggerConfig.logger.enabled; + var loggingLevel = loggerConfig.logger.level; + + var loggerCategoryRandomiser = Math.floor(Math.random() * (1000000000 - 100 + 1)) + 100; + loggerCategory = loggerCategory + loggerCategoryRandomiser; + + var newLogger; + + if (enableLog) { + var appTransports = createTransportFromConfig(loggerConfig); + + newLogger = winston.loggers.get(loggerCategory, { + level: loggingLevel, + format: combine( + label({ label: loggerCategory }), + timestamp(), + maskedLoggingFormat + ), + transports: appTransports + }); + } else { + newLogger = winston.loggers.get(loggerCategory, { + level: loggingLevel, + format: combine( + label({ label: loggerCategory }), + timestamp(), + maskedLoggingFormat + ), + transports: [new winston.transports.Console({ + silent: !enableLog + })] + }); + } + + return newLogger; +} +function maskSensitiveFields(jsonMsg) { + if (jsonMsg instanceof Object) { var prop; - for (prop in jsonMsg){ + for (prop in jsonMsg) { var isFieldSensitive = (sensitiveFields.indexOf(prop) > -1); - if(isFieldSensitive === true) - { + if (isFieldSensitive === true) { jsonMsg[prop] = new Array(jsonMsg[prop].length + 1).join('X'); } - else if (jsonMsg.hasOwnProperty(prop)){ - maskSensitiveFields(jsonMsg[prop]); + else if (jsonMsg.hasOwnProperty(prop)) { + maskSensitiveFields(jsonMsg[prop]); } } } - - return JSON.stringify(jsonMsg); + + return JSON.stringify(jsonMsg); } -module.exports.logger = logger; diff --git a/mappings/Schema.js b/mappings/Schema.js index 302d966..303a99e 100644 --- a/mappings/Schema.js +++ b/mappings/Schema.js @@ -3,12 +3,152 @@ var Schema_Module_Factory = function () { name: 'Schema', defaultElementNamespaceURI: 'AnetApi\/xml\/v1\/schema\/AnetApiSchema.xsd', typeInfos: [{ - localName: 'ARBUpdateSubscriptionResponse', + localName: 'DeleteCustomerPaymentProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'GetTransactionListResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'transactions', + typeInfo: '.ArrayOfTransactionSummaryType' + }, { + name: 'totalNumInResultSet', + typeInfo: 'Int' + }] + }, { + localName: 'ArrayOfProductCode', + propertyInfos: [{ + name: 'productCode', + minOccurs: 0, + collection: true + }] + }, { + localName: 'CreateCustomerProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ name: 'profile', - typeInfo: '.CustomerProfileIdType' + required: true, + typeInfo: '.CustomerProfileType' + }, { + name: 'validationMode' + }] + }, { + localName: 'TransactionResponse.Messages', + typeName: null, + propertyInfos: [{ + name: 'message', + minOccurs: 0, + collection: true, + typeInfo: '.TransactionResponse.Messages.Message' + }] + }, { + localName: 'CustomerType', + typeName: 'customerType', + propertyInfos: [{ + name: 'type' + }, { + name: 'id' + }, { + name: 'email' + }, { + name: 'phoneNumber' + }, { + name: 'faxNumber' + }, { + name: 'driversLicense', + typeInfo: '.DriversLicenseType' + }, { + name: 'taxId' + }] + }, { + localName: 'CustomerAddressExType', + typeName: 'customerAddressExType', + baseTypeInfo: '.CustomerAddressType', + propertyInfos: [{ + name: 'customerAddressId' + }] + }, { + localName: 'DeleteCustomerShippingAddressRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId', + required: true + }, { + name: 'customerAddressId', + required: true + }] + }, { + localName: 'CustomerPaymentProfileSorting', + propertyInfos: [{ + name: 'orderBy', + required: true + }, { + name: 'orderDescending', + required: true, + typeInfo: 'Boolean' + }] + }, { + localName: 'ProfileTransCaptureOnlyType', + typeName: 'profileTransCaptureOnlyType', + baseTypeInfo: '.ProfileTransOrderType', + propertyInfos: [{ + name: 'approvalCode', + required: true + }] + }, { + localName: 'ARBCancelSubscriptionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'UpdateSplitTenderGroupRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'splitTenderId', + required: true + }, { + name: 'splitTenderStatus', + required: true + }] + }, { + localName: 'KeyManagementScheme.DUKPT.DeviceInfo', + typeName: null, + propertyInfos: [{ + name: 'description', + required: true, + elementName: 'Description' + }] + }, { + localName: 'CreditCardMaskedType', + typeName: 'creditCardMaskedType', + propertyInfos: [{ + name: 'cardNumber', + required: true + }, { + name: 'expirationDate', + required: true + }, { + name: 'cardType' + }, { + name: 'cardArt', + typeInfo: '.CardArt' + }, { + name: 'issuerNumber' + }, { + name: 'isPaymentToken', + typeInfo: 'Boolean' + }] + }, { + localName: 'ArrayOfLineItem', + propertyInfos: [{ + name: 'lineItem', + minOccurs: 0, + collection: true, + typeInfo: '.LineItemType' }] }, { localName: 'ProfileTransOrderType', @@ -46,272 +186,379 @@ var Schema_Module_Factory = function () { typeInfo: '.AuthorizationIndicatorType' }] }, { - localName: 'GetUnsettledTransactionListRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'EmailSettingsType', + typeName: 'emailSettingsType', + baseTypeInfo: '.ArrayOfSetting', propertyInfos: [{ - name: 'status' - }, { - name: 'sorting', - typeInfo: '.TransactionListSorting' - }, { - name: 'paging', - typeInfo: '.Paging' + name: 'version', + typeInfo: 'Integer', + attributeName: { + localPart: 'version' + }, + type: 'attribute' }] }, { - localName: 'KeyValue', + localName: 'TokenMaskedType', + typeName: 'tokenMaskedType', propertyInfos: [{ - name: 'encoding', - required: true, - elementName: 'Encoding' + name: 'tokenSource' }, { - name: 'encryptionAlgorithm', - required: true, - elementName: 'EncryptionAlgorithm' + name: 'tokenNumber', + required: true }, { - name: 'scheme', - required: true, - elementName: 'Scheme', - typeInfo: '.KeyManagementScheme' + name: 'expirationDate', + required: true + }, { + name: 'tokenRequestorId' }] }, { - localName: 'TransactionResponse.SecureAcceptance', + localName: 'KeyManagementScheme.DUKPT.EncryptedData', typeName: null, propertyInfos: [{ - name: 'secureAcceptanceUrl', - elementName: 'SecureAcceptanceUrl' + name: 'value', + required: true, + elementName: 'Value' + }] + }, { + localName: 'PaymentScheduleType', + typeName: 'paymentScheduleType', + propertyInfos: [{ + name: 'interval', + typeInfo: '.PaymentScheduleType.Interval' }, { - name: 'payerID', - elementName: 'PayerID' + name: 'startDate', + typeInfo: 'Date' }, { - name: 'payerEmail', - elementName: 'PayerEmail' + name: 'totalOccurrences', + typeInfo: 'Short' + }, { + name: 'trialOccurrences', + typeInfo: 'Short' }] }, { - localName: 'CreateTransactionRequest', + localName: 'UpdateCustomerShippingAddressRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'transactionRequest', + name: 'customerProfileId', + required: true + }, { + name: 'address', required: true, - typeInfo: '.TransactionRequestType' + typeInfo: '.CustomerAddressExType' + }, { + name: 'defaultShippingAddress', + typeInfo: 'Boolean' }] }, { - localName: 'ArrayOfNumericString', + localName: 'ContactDetailType', propertyInfos: [{ - name: 'numericString', - minOccurs: 0, - collection: true + name: 'email' + }, { + name: 'firstName' + }, { + name: 'lastName' }] }, { - localName: 'BankAccountMaskedType', - typeName: 'bankAccountMaskedType', + localName: 'MerchantContactType', + typeName: 'merchantContactType', propertyInfos: [{ - name: 'accountType' + name: 'merchantName' }, { - name: 'routingNumber', - required: true + name: 'merchantAddress' }, { - name: 'accountNumber', - required: true + name: 'merchantCity' }, { - name: 'nameOnAccount', - required: true + name: 'merchantState' }, { - name: 'echeckType' + name: 'merchantZip' }, { - name: 'bankName' + name: 'merchantPhone' }] }, { - localName: 'MobileDeviceLoginResponse', + localName: 'SecurePaymentContainerResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'merchantContact', + name: 'opaqueData', required: true, - typeInfo: '.MerchantContactType' - }, { - name: 'userPermissions', - required: true, - typeInfo: '.ArrayOfPermissionType' - }, { - name: 'merchantAccount', - typeInfo: '.TransRetailInfoType' + typeInfo: '.OpaqueDataType' }] }, { - localName: 'GetTransactionListRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'CcAuthenticationType', + typeName: 'ccAuthenticationType', propertyInfos: [{ - name: 'batchId' - }, { - name: 'sorting', - typeInfo: '.TransactionListSorting' + name: 'authenticationIndicator', + required: true }, { - name: 'paging', - typeInfo: '.Paging' - }] - }, { - localName: 'ARBGetSubscriptionStatusResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'status' + name: 'cardholderAuthenticationValue', + required: true }] }, { - localName: 'GetSettledBatchListRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'CustomerProfileType', + typeName: 'customerProfileType', + baseTypeInfo: '.CustomerProfileBaseType', propertyInfos: [{ - name: 'includeStatistics', - typeInfo: 'Boolean' + name: 'paymentProfiles', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerPaymentProfileType' }, { - name: 'firstSettlementDate', - typeInfo: 'DateTime' + name: 'shipToList', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerAddressType' }, { - name: 'lastSettlementDate', - typeInfo: 'DateTime' + name: 'profileType' }] }, { - localName: 'KeyManagementScheme.DUKPT.EncryptedData', - typeName: null, + localName: 'AuDetailsType', + typeName: 'auDetailsType', propertyInfos: [{ - name: 'value', + name: 'customerProfileID', required: true, - elementName: 'Value' + typeInfo: 'Long' + }, { + name: 'customerPaymentProfileID', + required: true, + typeInfo: 'Long' + }, { + name: 'firstName' + }, { + name: 'lastName' + }, { + name: 'updateTimeUTC', + required: true + }, { + name: 'auReasonCode', + required: true + }, { + name: 'reasonDescription', + required: true }] }, { - localName: 'ARBTransactionList', + localName: 'DecryptPaymentDataResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'arbTransaction', - minOccurs: 0, - collection: true, - typeInfo: '.ArbTransaction' + name: 'shippingInfo', + typeInfo: '.CustomerAddressType' + }, { + name: 'billingInfo', + typeInfo: '.CustomerAddressType' + }, { + name: 'cardInfo', + typeInfo: '.CreditCardMaskedType' + }, { + name: 'paymentDetails', + typeInfo: '.PaymentDetails' }] }, { - localName: 'GetSettledBatchListResponse', + localName: 'GetBatchStatisticsResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'batchList', - typeInfo: '.ArrayOfBatchDetailsType' + name: 'batch', + typeInfo: '.BatchDetailsType' }] }, { - localName: 'ArrayOfProductCode', + localName: 'SubscriptionPaymentType', + typeName: 'subscriptionPaymentType', propertyInfos: [{ - name: 'productCode', - minOccurs: 0, - collection: true + name: 'id', + required: true, + typeInfo: 'Int' + }, { + name: 'payNum', + required: true, + typeInfo: 'Int' }] }, { - localName: 'ARBGetSubscriptionListSorting', + localName: 'CustomerProfileMaskedType', + typeName: 'customerProfileMaskedType', + baseTypeInfo: '.CustomerProfileExType', propertyInfos: [{ - name: 'orderBy', - required: true + name: 'paymentProfiles', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerPaymentProfileMaskedType' }, { - name: 'orderDescending', - required: true, - typeInfo: 'Boolean' + name: 'shipToList', + minOccurs: 0, + collection: true, + typeInfo: '.CustomerAddressExType' + }, { + name: 'profileType' }] }, { - localName: 'CcAuthenticationType', - typeName: 'ccAuthenticationType', + localName: 'LineItemType', + typeName: 'lineItemType', propertyInfos: [{ - name: 'authenticationIndicator', + name: 'itemId', required: true }, { - name: 'cardholderAuthenticationValue', + name: 'name', required: true - }] - }, { - localName: 'DeleteCustomerProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'TransactionResponse', - typeName: 'transactionResponse', - propertyInfos: [{ - name: 'responseCode' }, { - name: 'rawResponseCode' + name: 'description' }, { - name: 'authCode' + name: 'quantity', + required: true, + typeInfo: 'Decimal' }, { - name: 'avsResultCode' + name: 'unitPrice', + required: true, + typeInfo: 'Decimal' }, { - name: 'cvvResultCode' + name: 'taxable', + typeInfo: 'Boolean' }, { - name: 'cavvResultCode' + name: 'unitOfMeasure' }, { - name: 'transId' + name: 'typeOfSupply' }, { - name: 'refTransID' + name: 'taxRate', + typeInfo: 'Decimal' }, { - name: 'transHash' + name: 'taxAmount', + typeInfo: 'Decimal' }, { - name: 'testRequest' + name: 'nationalTax', + typeInfo: 'Decimal' }, { - name: 'accountNumber' + name: 'localTax', + typeInfo: 'Decimal' }, { - name: 'entryMode' + name: 'vatRate', + typeInfo: 'Decimal' }, { - name: 'accountType' + name: 'alternateTaxId' }, { - name: 'splitTenderId' + name: 'alternateTaxType' }, { - name: 'prePaidCard', - typeInfo: '.TransactionResponse.PrePaidCard' + name: 'alternateTaxTypeApplied' }, { - name: 'messages', - typeInfo: '.TransactionResponse.Messages' + name: 'alternateTaxRate', + typeInfo: 'Decimal' }, { - name: 'errors', - typeInfo: '.TransactionResponse.Errors' + name: 'alternateTaxAmount', + typeInfo: 'Decimal' }, { - name: 'splitTenderPayments', - typeInfo: '.TransactionResponse.SplitTenderPayments' + name: 'totalAmount', + typeInfo: 'Decimal' }, { - name: 'userFields', - typeInfo: '.TransactionResponse.UserFields' + name: 'commodityCode' }, { - name: 'shipTo', - typeInfo: '.NameAndAddressType' + name: 'productCode' }, { - name: 'secureAcceptance', - typeInfo: '.TransactionResponse.SecureAcceptance' + name: 'productSKU' }, { - name: 'emvResponse', - typeInfo: '.TransactionResponse.EmvResponse' + name: 'discountRate', + typeInfo: 'Decimal' }, { - name: 'transHashSha2' + name: 'discountAmount', + typeInfo: 'Decimal' }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: 'taxIncludedInTotal', + typeInfo: 'Boolean' }, { - name: 'networkTransId' + name: 'taxIsAfterDiscount', + typeInfo: 'Boolean' }] }, { - localName: 'SubscriptionDetail', + localName: 'IsAliveResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'UpdateCustomerProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'id', + name: 'profile', required: true, - typeInfo: 'Int' - }, { - name: 'name' - }, { - name: 'status', - required: true - }, { - name: 'createTimeStampUTC', + typeInfo: '.CustomerProfileInfoExType' + }] + }, { + localName: 'DecryptPaymentDataRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'opaqueData', required: true, - typeInfo: 'DateTime' - }, { - name: 'firstName' - }, { - name: 'lastName' + typeInfo: '.OpaqueDataType' }, { - name: 'totalOccurrences', - required: true, + name: 'callId' + }] + }, { + localName: 'KeyBlock', + propertyInfos: [{ + name: 'value', + required: true, + elementName: 'Value', + typeInfo: '.KeyValue' + }] + }, { + localName: 'WebCheckOutDataTypeToken', + typeName: 'webCheckOutDataTypeToken', + propertyInfos: [{ + name: 'cardNumber', + required: true + }, { + name: 'expirationDate', + required: true + }, { + name: 'cardCode' + }, { + name: 'zip' + }, { + name: 'fullName' + }] + }, { + localName: 'PaymentMaskedType', + typeName: 'paymentMaskedType', + propertyInfos: [{ + name: 'creditCard', + required: true, + typeInfo: '.CreditCardMaskedType' + }, { + name: 'bankAccount', + required: true, + typeInfo: '.BankAccountMaskedType' + }, { + name: 'tokenInformation', + required: true, + typeInfo: '.TokenMaskedType' + }] + }, { + localName: 'ArrayOfContactDetail', + propertyInfos: [{ + name: 'contactDetail', + minOccurs: 0, + collection: true, + typeInfo: '.ContactDetailType' + }] + }, { + localName: 'SubscriptionDetail', + propertyInfos: [{ + name: 'id', + required: true, + typeInfo: 'Int' + }, { + name: 'name' + }, { + name: 'status', + required: true + }, { + name: 'createTimeStampUTC', + required: true, + typeInfo: 'DateTime' + }, { + name: 'firstName' + }, { + name: 'lastName' + }, { + name: 'totalOccurrences', + required: true, typeInfo: 'Int' }, { name: 'pastOccurrences', @@ -343,187 +590,225 @@ var Schema_Module_Factory = function () { typeInfo: 'Int' }] }, { - localName: 'TransactionResponse.EmvResponse', - typeName: null, + localName: 'ArrayOfFraudFilterType', propertyInfos: [{ - name: 'tlvData' - }, { - name: 'tags', - typeInfo: '.TransactionResponse.EmvResponse.Tags' + name: 'fraudFilter', + required: true, + maxOccurs: 1000, + collection: true }] }, { - localName: 'MobileDeviceRegistrationResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'TokenMaskedType', - typeName: 'tokenMaskedType', + localName: 'SecurePaymentContainerErrorType', + typeName: 'securePaymentContainerErrorType', propertyInfos: [{ - name: 'tokenSource' - }, { - name: 'tokenNumber', + name: 'code', required: true }, { - name: 'expirationDate', + name: 'description', required: true - }, { - name: 'tokenRequestorId' }] }, { - localName: 'GetCustomerPaymentProfileListRequest', + localName: 'ARBGetSubscriptionStatusResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'searchType', - required: true - }, { - name: 'month', - required: true - }, { - name: 'sorting', - typeInfo: '.CustomerPaymentProfileSorting' - }, { - name: 'paging', - typeInfo: '.Paging' + name: 'status' }] }, { - localName: 'OrderType', - typeName: 'orderType', + localName: 'TransactionResponse.SplitTenderPayments.SplitTenderPayment', + typeName: null, propertyInfos: [{ - name: 'invoiceNumber' + name: 'transId' }, { - name: 'description' + name: 'responseCode' }, { - name: 'discountAmount', - typeInfo: 'Decimal' + name: 'responseToCustomer' }, { - name: 'taxIsAfterDiscount', - typeInfo: 'Boolean' + name: 'authCode' }, { - name: 'totalTaxTypeCode' + name: 'accountNumber' }, { - name: 'purchaserVATRegistrationNumber' + name: 'accountType' }, { - name: 'merchantVATRegistrationNumber' + name: 'requestedAmount' }, { - name: 'vatInvoiceReferenceNumber' + name: 'approvedAmount' }, { - name: 'purchaserCode' + name: 'balanceOnCard' + }] + }, { + localName: 'DeleteCustomerShippingAddressResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'EmvTag', + typeName: 'emvTag', + propertyInfos: [{ + name: 'name' }, { - name: 'summaryCommodityCode' + name: 'value' }, { - name: 'purchaseOrderDateUTC', - typeInfo: 'Date' + name: 'formatted' + }] + }, { + localName: 'ARBGetSubscriptionListResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'totalNumInResultSet', + typeInfo: 'Int' }, { - name: 'supplierOrderReference' + name: 'subscriptionDetails', + typeInfo: '.ArrayOfSubscription' + }] + }, { + localName: 'CustomerPaymentProfileListItemType', + typeName: 'customerPaymentProfileListItemType', + propertyInfos: [{ + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' }, { - name: 'authorizedContactName' + name: 'customerPaymentProfileId', + required: true, + typeInfo: 'Int' }, { - name: 'cardAcceptorRefNumber' + name: 'customerProfileId', + required: true, + typeInfo: 'Int' }, { - name: 'amexDataTAA1' + name: 'billTo', + required: true, + typeInfo: '.CustomerAddressType' }, { - name: 'amexDataTAA2' + name: 'payment', + required: true, + typeInfo: '.PaymentMaskedType' }, { - name: 'amexDataTAA3' + name: 'originalNetworkTransId' }, { - name: 'amexDataTAA4' + name: 'originalAuthAmount', + typeInfo: 'Decimal' + }, { + name: 'excludeFromAccountUpdater', + typeInfo: 'Boolean' }] }, { - localName: 'ARBGetSubscriptionRequest', + localName: 'GetCustomerShippingAddressResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'subscriptionId', - required: true - }, { - name: 'includeTransactions', + name: 'defaultShippingAddress', typeInfo: 'Boolean' + }, { + name: 'address', + typeInfo: '.CustomerAddressExType' + }, { + name: 'subscriptionIds', + typeInfo: '.SubscriptionIdList' }] }, { - localName: 'DeleteCustomerPaymentProfileResponse', + localName: 'ArrayOfTransactionSummaryType', + propertyInfos: [{ + name: 'transaction', + minOccurs: 0, + collection: true, + typeInfo: '.TransactionSummaryType' + }] + }, { + localName: 'SendCustomerTransactionReceiptResponse', typeName: null, baseTypeInfo: '.ANetApiResponse' }, { - localName: 'ArrayOfProcessorType', + localName: 'ARBCreateSubscriptionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'processor', + name: 'subscriptionId' + }, { + name: 'profile', + typeInfo: '.CustomerProfileIdType' + }] + }, { + localName: 'ArrayOfReturnedItem', + propertyInfos: [{ + name: 'returnedItem', minOccurs: 0, collection: true, - typeInfo: '.ProcessorType' + typeInfo: '.ReturnedItemType' }] }, { - localName: 'CreateCustomerProfileFromTransactionRequest', + localName: 'CustomerProfileExType', + typeName: 'customerProfileExType', + baseTypeInfo: '.CustomerProfileBaseType', + propertyInfos: [{ + name: 'customerProfileId' + }] + }, { + localName: 'GetUnsettledTransactionListRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'transId', - required: true - }, { - name: 'customer', - typeInfo: '.CustomerProfileBaseType' + name: 'status' }, { - name: 'customerProfileId' + name: 'sorting', + typeInfo: '.TransactionListSorting' }, { - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' - }, { - name: 'defaultShippingAddress', - typeInfo: 'Boolean' - }, { - name: 'profileType' + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'EnumCollection', + localName: 'CreateCustomerShippingAddressRequest', typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileSummaryType', - required: true, - typeInfo: '.CustomerProfileSummaryType' - }, { - name: 'paymentSimpleType', - required: true, - typeInfo: '.PaymentSimpleType' - }, { - name: 'accountTypeEnum', - required: true - }, { - name: 'cardTypeEnum', + name: 'customerProfileId', required: true }, { - name: 'fdsFilterActionEnum', + name: 'address', required: true, - elementName: 'FDSFilterActionEnum' - }, { - name: 'permissionsEnum', - required: true + typeInfo: '.CustomerAddressType' }, { - name: 'settingNameEnum', - required: true + name: 'defaultShippingAddress', + typeInfo: 'Boolean' + }] + }, { + localName: 'GetTransactionDetailsResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'transaction', + required: true, + typeInfo: '.TransactionDetailsType' }, { - name: 'settlementStateEnum', - required: true + name: 'clientId' }, { - name: 'transactionStatusEnum', - required: true + name: 'transrefId' + }] + }, { + localName: 'TransactionResponse.EmvResponse', + typeName: null, + propertyInfos: [{ + name: 'tlvData' }, { - name: 'transactionTypeEnum', - required: true + name: 'tags', + typeInfo: '.TransactionResponse.EmvResponse.Tags' }] }, { - localName: 'CustomerDataType', - typeName: 'customerDataType', + localName: 'GetCustomerProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'type' + name: 'customerProfileId' }, { - name: 'id' + name: 'merchantCustomerId' }, { name: 'email' }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseType' + name: 'unmaskExpirationDate', + typeInfo: 'Boolean' }, { - name: 'taxId' + name: 'includeIssuerInfo', + typeInfo: 'Boolean' }] }, { localName: 'CustomerPaymentProfileExType', @@ -533,32 +818,48 @@ var Schema_Module_Factory = function () { name: 'customerPaymentProfileId' }] }, { - localName: 'UserField', - typeName: 'userField', + localName: 'TransactionDetailsType.EmvDetails.Tag', + typeName: null, propertyInfos: [{ - name: 'name' + name: 'tagId', + required: true }, { - name: 'value' + name: 'data', + required: true }] }, { - localName: 'GetUnsettledTransactionListResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'ListOfAUDetailsType', propertyInfos: [{ - name: 'transactions', - typeInfo: '.ArrayOfTransactionSummaryType' - }, { - name: 'totalNumInResultSet', - typeInfo: 'Int' + name: 'auUpdateOrAuDelete', + minOccurs: 0, + collection: true, + elementTypeInfos: [{ + elementName: 'auUpdate', + typeInfo: '.AuUpdateType' + }, { + elementName: 'auDelete', + typeInfo: '.AuDeleteType' + }], + type: 'elements' }] }, { - localName: 'ContactDetailType', + localName: 'CreateCustomerProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'email' + name: 'customerProfileId' }, { - name: 'firstName' + name: 'customerPaymentProfileIdList', + required: true, + typeInfo: '.ArrayOfNumericString' }, { - name: 'lastName' + name: 'customerShippingAddressIdList', + required: true, + typeInfo: '.ArrayOfNumericString' + }, { + name: 'validationDirectResponseList', + required: true, + typeInfo: '.ArrayOfString' }] }, { localName: 'GetCustomerPaymentProfileNonceResponse', @@ -569,109 +870,82 @@ var Schema_Module_Factory = function () { typeInfo: '.OpaqueDataType' }] }, { - localName: 'ExtendedAmountType', - typeName: 'extendedAmountType', + localName: 'DeleteCustomerProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'amount', - required: true, - typeInfo: 'Decimal' - }, { - name: 'name' - }, { - name: 'description' + name: 'customerProfileId', + required: true }] }, { - localName: 'CustomerProfileBaseType', - typeName: 'customerProfileBaseType', + localName: 'UserField', + typeName: 'userField', propertyInfos: [{ - name: 'merchantCustomerId' - }, { - name: 'description' + name: 'name' }, { - name: 'email' + name: 'value' }] }, { - localName: 'NameAndAddressType', - typeName: 'nameAndAddressType', + localName: 'TransactionRequestType.UserFields', + typeName: null, propertyInfos: [{ - name: 'firstName' - }, { - name: 'lastName' - }, { - name: 'company' - }, { - name: 'address' - }, { - name: 'city' - }, { - name: 'state' - }, { - name: 'zip' - }, { - name: 'country' + name: 'userField', + minOccurs: 0, + maxOccurs: 20, + collection: true, + typeInfo: '.UserField' }] }, { - localName: 'CreateCustomerProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ArrayOfSubscription', propertyInfos: [{ - name: 'profile', - required: true, - typeInfo: '.CustomerProfileType' - }, { - name: 'validationMode' + name: 'subscriptionDetail', + minOccurs: 0, + collection: true, + typeInfo: '.SubscriptionDetail' }] }, { - localName: 'ProfileTransCaptureOnlyType', - typeName: 'profileTransCaptureOnlyType', - baseTypeInfo: '.ProfileTransOrderType', + localName: 'ArrayOfBatchDetailsType', propertyInfos: [{ - name: 'approvalCode', - required: true + name: 'batch', + minOccurs: 0, + collection: true, + typeInfo: '.BatchDetailsType' }] }, { - localName: 'LogoutResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'CreateCustomerProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'AuUpdateType', + typeName: 'auUpdateType', + baseTypeInfo: '.AuDetailsType', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileIdList', - required: true, - typeInfo: '.ArrayOfNumericString' - }, { - name: 'customerShippingAddressIdList', + name: 'newCreditCard', required: true, - typeInfo: '.ArrayOfNumericString' + typeInfo: '.CreditCardMaskedType' }, { - name: 'validationDirectResponseList', + name: 'oldCreditCard', required: true, - typeInfo: '.ArrayOfString' + typeInfo: '.CreditCardMaskedType' }] }, { - localName: 'ARBGetSubscriptionListRequest', + localName: 'GetHostedProfilePageResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'searchType', + name: 'token', required: true - }, { - name: 'sorting', - typeInfo: '.ARBGetSubscriptionListSorting' - }, { - name: 'paging', - typeInfo: '.Paging' }] }, { - localName: 'GetTransactionDetailsRequest', + localName: 'GetHostedPaymentPageResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'token', + required: true + }] + }, { + localName: 'GetAUJobSummaryRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'transId', + name: 'month', required: true }] }, { @@ -687,315 +961,499 @@ var Schema_Module_Factory = function () { name: 'terminalNumber' }] }, { - localName: 'TransactionResponse.Errors.Error', - typeName: null, + localName: 'CustomerPaymentProfileType', + typeName: 'customerPaymentProfileType', + baseTypeInfo: '.CustomerPaymentProfileBaseType', propertyInfos: [{ - name: 'errorCode' + name: 'payment', + typeInfo: '.PaymentType' }, { - name: 'errorText' - }] - }, { - localName: 'CustomerProfilePaymentType', - typeName: 'customerProfilePaymentType', - propertyInfos: [{ - name: 'createProfile', - typeInfo: 'Boolean' + name: 'driversLicense', + typeInfo: '.DriversLicenseType' }, { - name: 'customerProfileId' + name: 'taxId' }, { - name: 'paymentProfile', - typeInfo: '.PaymentProfile' + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' }, { - name: 'shippingProfileId' + name: 'subsequentAuthInformation', + typeInfo: '.SubsequentAuthInformation' + }, { + name: 'excludeFromAccountUpdater', + typeInfo: 'Boolean' }] }, { - localName: 'GetBatchStatisticsResponse', + localName: 'PaymentScheduleType.Interval', typeName: null, - baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'batch', - typeInfo: '.BatchDetailsType' + name: 'length', + required: true, + typeInfo: 'Short' + }, { + name: 'unit', + required: true }] }, { - localName: 'ARBCreateSubscriptionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'FraudInformationType', + typeName: 'fraudInformationType', propertyInfos: [{ - name: 'subscriptionId' + name: 'fraudFilterList', + required: true, + typeInfo: '.ArrayOfFraudFilterType' }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: 'fraudAction', + required: true }] }, { - localName: 'ARBUpdateSubscriptionRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'MobileDeviceType', + typeName: 'mobileDeviceType', propertyInfos: [{ - name: 'subscriptionId', + name: 'mobileDeviceId', required: true }, { - name: 'subscription', - required: true, - typeInfo: '.ARBSubscriptionType' - }] - }, { - localName: 'AuthorizationIndicatorType', - typeName: 'authorizationIndicatorType', - propertyInfos: [{ - name: 'authorizationIndicator' + name: 'description' + }, { + name: 'phoneNumber' + }, { + name: 'devicePlatform' + }, { + name: 'deviceActivation' }] }, { - localName: 'GetAUJobDetailsRequest', + localName: 'KeyManagementScheme.DUKPT', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'month', - required: true + name: 'operation', + required: true, + elementName: 'Operation' }, { - name: 'modifiedTypeFilter' + name: 'mode', + required: true, + elementName: 'Mode', + typeInfo: '.KeyManagementScheme.DUKPT.Mode' }, { - name: 'paging', - typeInfo: '.Paging' + name: 'deviceInfo', + required: true, + elementName: 'DeviceInfo', + typeInfo: '.KeyManagementScheme.DUKPT.DeviceInfo' + }, { + name: 'encryptedData', + required: true, + elementName: 'EncryptedData', + typeInfo: '.KeyManagementScheme.DUKPT.EncryptedData' }] }, { - localName: 'GetHostedProfilePageResponse', + localName: 'MobileDeviceLoginRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'CreditCardTrackType', + typeName: 'creditCardTrackType', propertyInfos: [{ - name: 'token', + name: 'track1', + required: true + }, { + name: 'track2', required: true }] }, { - localName: 'GetHostedPaymentPageResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'ProfileTransRefundType', + typeName: 'profileTransRefundType', + baseTypeInfo: '.ProfileTransAmountType', propertyInfos: [{ - name: 'token', - required: true + name: 'customerProfileId' + }, { + name: 'customerPaymentProfileId' + }, { + name: 'customerShippingAddressId' + }, { + name: 'creditCardNumberMasked' + }, { + name: 'bankRoutingNumberMasked' + }, { + name: 'bankAccountNumberMasked' + }, { + name: 'order', + typeInfo: '.OrderExType' + }, { + name: 'transId' }] }, { - localName: 'GetCustomerProfileIdsResponse', + localName: 'LogoutRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'ids', - required: true, - typeInfo: '.ArrayOfNumericString' - }] + baseTypeInfo: '.ANetApiRequest' }, { - localName: 'GetAUJobSummaryRequest', + localName: 'CreateCustomerProfileTransactionResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'month', - required: true + name: 'transactionResponse', + typeInfo: '.TransactionResponse' + }, { + name: 'directResponse' }] }, { - localName: 'TransactionResponse.SplitTenderPayments.SplitTenderPayment', - typeName: null, + localName: 'TransactionResponse', + typeName: 'transactionResponse', propertyInfos: [{ - name: 'transId' - }, { name: 'responseCode' }, { - name: 'responseToCustomer' + name: 'rawResponseCode' }, { name: 'authCode' + }, { + name: 'avsResultCode' + }, { + name: 'cvvResultCode' + }, { + name: 'cavvResultCode' + }, { + name: 'transId' + }, { + name: 'refTransID' + }, { + name: 'transHash' + }, { + name: 'testRequest' }, { name: 'accountNumber' + }, { + name: 'entryMode' }, { name: 'accountType' }, { - name: 'requestedAmount' + name: 'splitTenderId' }, { - name: 'approvedAmount' + name: 'prePaidCard', + typeInfo: '.TransactionResponse.PrePaidCard' }, { - name: 'balanceOnCard' + name: 'messages', + typeInfo: '.TransactionResponse.Messages' + }, { + name: 'errors', + typeInfo: '.TransactionResponse.Errors' + }, { + name: 'splitTenderPayments', + typeInfo: '.TransactionResponse.SplitTenderPayments' + }, { + name: 'userFields', + typeInfo: '.TransactionResponse.UserFields' + }, { + name: 'shipTo', + typeInfo: '.NameAndAddressType' + }, { + name: 'secureAcceptance', + typeInfo: '.TransactionResponse.SecureAcceptance' + }, { + name: 'emvResponse', + typeInfo: '.TransactionResponse.EmvResponse' + }, { + name: 'transHashSha2' + }, { + name: 'profile', + typeInfo: '.CustomerProfileIdType' + }, { + name: 'networkTransId' }] }, { - localName: 'UpdateSplitTenderGroupResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'GetHostedPaymentPageRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ProfileTransAmountType', + typeName: 'profileTransAmountType', propertyInfos: [{ - name: 'transactionRequest', + name: 'amount', required: true, - typeInfo: '.TransactionRequestType' + typeInfo: 'Decimal' }, { - name: 'hostedPaymentSettings', - typeInfo: '.ArrayOfSetting' + name: 'tax', + typeInfo: '.ExtendedAmountType' + }, { + name: 'shipping', + typeInfo: '.ExtendedAmountType' + }, { + name: 'duty', + typeInfo: '.ExtendedAmountType' + }, { + name: 'lineItems', + minOccurs: 0, + maxOccurs: 30, + collection: true, + typeInfo: '.LineItemType' }] }, { - localName: 'ProcessorType', - typeName: 'processorType', + localName: 'PayPalType', + typeName: 'payPalType', propertyInfos: [{ - name: 'name', - required: true + name: 'successUrl' }, { - name: 'id', - required: true, - typeInfo: 'Int' + name: 'cancelUrl' }, { - name: 'cardTypes', - typeInfo: '.ArrayOfCardType' + name: 'paypalLc' + }, { + name: 'paypalHdrImg' + }, { + name: 'paypalPayflowcolor' + }, { + name: 'payerID' }] }, { - localName: 'SubscriptionCustomerProfileType', - typeName: 'subscriptionCustomerProfileType', - baseTypeInfo: '.CustomerProfileExType', + localName: 'CreateCustomerPaymentProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'paymentProfile', - typeInfo: '.CustomerPaymentProfileMaskedType' + name: 'customerProfileId' }, { - name: 'shippingProfile', - typeInfo: '.CustomerAddressExType' + name: 'customerPaymentProfileId' + }, { + name: 'validationDirectResponse' }] }, { - localName: 'ArrayOfCurrencyCode', + localName: 'ArrayOfCustomerPaymentProfileListItemType', + typeName: 'arrayOfCustomerPaymentProfileListItemType', propertyInfos: [{ - name: 'currency', + name: 'paymentProfile', minOccurs: 0, - collection: true + collection: true, + typeInfo: '.CustomerPaymentProfileListItemType' }] }, { - localName: 'ArrayOfLineItem', + localName: 'BatchStatisticType', + typeName: 'batchStatisticType', propertyInfos: [{ - name: 'lineItem', - minOccurs: 0, - collection: true, - typeInfo: '.LineItemType' + name: 'accountType', + required: true + }, { + name: 'chargeAmount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'chargeCount', + required: true, + typeInfo: 'Int' + }, { + name: 'refundAmount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'refundCount', + required: true, + typeInfo: 'Int' + }, { + name: 'voidCount', + required: true, + typeInfo: 'Int' + }, { + name: 'declineCount', + required: true, + typeInfo: 'Int' + }, { + name: 'errorCount', + required: true, + typeInfo: 'Int' + }, { + name: 'returnedItemAmount', + typeInfo: 'Decimal' + }, { + name: 'returnedItemCount', + typeInfo: 'Int' + }, { + name: 'chargebackAmount', + typeInfo: 'Decimal' + }, { + name: 'chargebackCount', + typeInfo: 'Int' + }, { + name: 'correctionNoticeCount', + typeInfo: 'Int' + }, { + name: 'chargeChargeBackAmount', + typeInfo: 'Decimal' + }, { + name: 'chargeChargeBackCount', + typeInfo: 'Int' + }, { + name: 'refundChargeBackAmount', + typeInfo: 'Decimal' + }, { + name: 'refundChargeBackCount', + typeInfo: 'Int' + }, { + name: 'chargeReturnedItemsAmount', + typeInfo: 'Decimal' + }, { + name: 'chargeReturnedItemsCount', + typeInfo: 'Int' + }, { + name: 'refundReturnedItemsAmount', + typeInfo: 'Decimal' + }, { + name: 'refundReturnedItemsCount', + typeInfo: 'Int' }] }, { - localName: 'KeyManagementScheme.DUKPT.DeviceInfo', - typeName: null, + localName: 'ExtendedAmountType', + typeName: 'extendedAmountType', propertyInfos: [{ - name: 'description', + name: 'amount', required: true, - elementName: 'Description' + typeInfo: 'Decimal' + }, { + name: 'name' + }, { + name: 'description' }] }, { - localName: 'ARBCancelSubscriptionRequest', + localName: 'GetBatchStatisticsRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'subscriptionId', + name: 'batchId', required: true }] }, { - localName: 'ArrayOfSubscription', - propertyInfos: [{ - name: 'subscriptionDetail', - minOccurs: 0, - collection: true, - typeInfo: '.SubscriptionDetail' - }] - }, { - localName: 'KeyManagementScheme.DUKPT.Mode', - typeName: null, + localName: 'HeldTransactionRequestType', + typeName: 'heldTransactionRequestType', propertyInfos: [{ - name: 'pin', - elementName: 'PIN' + name: 'action', + required: true }, { - name: 'data', - elementName: 'Data' + name: 'refTransId', + required: true }] }, { - localName: 'ProcessingOptions', - typeName: 'processingOptions', + localName: 'TransactionSummaryType', + typeName: 'transactionSummaryType', propertyInfos: [{ - name: 'isFirstRecurringPayment', - typeInfo: 'Boolean' + name: 'transId', + required: true }, { - name: 'isFirstSubsequentAuth', - typeInfo: 'Boolean' + name: 'submitTimeUTC', + required: true, + typeInfo: 'DateTime' }, { - name: 'isSubsequentAuth', - typeInfo: 'Boolean' + name: 'submitTimeLocal', + required: true, + typeInfo: 'DateTime' }, { - name: 'isStoredCredentials', + name: 'transactionStatus', + required: true + }, { + name: 'invoiceNumber' + }, { + name: 'firstName' + }, { + name: 'lastName' + }, { + name: 'accountType', + required: true + }, { + name: 'accountNumber', + required: true + }, { + name: 'settleAmount', + required: true, + typeInfo: 'Decimal' + }, { + name: 'marketType' + }, { + name: 'product' + }, { + name: 'mobileDeviceId' + }, { + name: 'subscription', + typeInfo: '.SubscriptionPaymentType' + }, { + name: 'hasReturnedItems', typeInfo: 'Boolean' + }, { + name: 'fraudInformation', + typeInfo: '.FraudInformationType' + }, { + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'MobileDeviceRegistrationRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'ArrayOfPaymentMethod', propertyInfos: [{ - name: 'mobileDevice', - required: true, - typeInfo: '.MobileDeviceType' + name: 'paymentMethod', + minOccurs: 0, + collection: true }] }, { - localName: 'OrderExType', - typeName: 'orderExType', - baseTypeInfo: '.OrderType', + localName: 'ArbTransaction', + typeName: 'arbTransaction', propertyInfos: [{ - name: 'purchaseOrderNumber' + name: 'transId' + }, { + name: 'response' + }, { + name: 'submitTimeUTC', + typeInfo: 'DateTime' + }, { + name: 'payNum', + typeInfo: 'Int' + }, { + name: 'attemptNum', + typeInfo: 'Int' }] }, { - localName: 'ValidateCustomerPaymentProfileRequest', + localName: 'SendCustomerTransactionReceiptRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', + name: 'transId', required: true }, { - name: 'customerPaymentProfileId', + name: 'customerEmail', required: true }, { - name: 'customerShippingAddressId' - }, { - name: 'cardCode' - }, { - name: 'validationMode', - required: true + name: 'emailSettings', + typeInfo: '.EmailSettingsType' }] }, { - localName: 'ANetApiRequest', + localName: 'ProfileTransAuthCaptureType', + typeName: 'profileTransAuthCaptureType', + baseTypeInfo: '.ProfileTransOrderType' + }, { + localName: 'CreateProfileResponse', + typeName: 'createProfileResponse', propertyInfos: [{ - name: 'merchantAuthentication', + name: 'messages', required: true, - typeInfo: '.MerchantAuthenticationType' + typeInfo: '.MessagesType' }, { - name: 'clientId' + name: 'customerProfileId' }, { - name: 'refId' + name: 'customerPaymentProfileIdList', + typeInfo: '.ArrayOfNumericString' + }, { + name: 'customerShippingAddressIdList', + typeInfo: '.ArrayOfNumericString' }] }, { - localName: 'EmailSettingsType', - typeName: 'emailSettingsType', - baseTypeInfo: '.ArrayOfSetting', + localName: 'SecurePaymentContainerRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'version', - typeInfo: 'Integer', - attributeName: { - localPart: 'version' - }, - type: 'attribute' + name: 'data', + required: true, + typeInfo: '.WebCheckOutDataType' }] }, { - localName: 'CustomerPaymentProfileType', - typeName: 'customerPaymentProfileType', - baseTypeInfo: '.CustomerPaymentProfileBaseType', + localName: 'AuthenticateTestRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'SolutionType', + typeName: 'solutionType', propertyInfos: [{ - name: 'payment', - typeInfo: '.PaymentType' - }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseType' - }, { - name: 'taxId' + name: 'id', + required: true }, { - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' + name: 'name' }, { - name: 'subsequentAuthInformation', - typeInfo: '.SubsequentAuthInformation' + name: 'vendorName' }] }, { - localName: 'CustomerPaymentProfileSorting', + localName: 'ARBGetSubscriptionListSorting', propertyInfos: [{ name: 'orderBy', required: true @@ -1004,6 +1462,21 @@ var Schema_Module_Factory = function () { required: true, typeInfo: 'Boolean' }] + }, { + localName: 'GetMerchantDetailsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest' + }, { + localName: 'CustomerProfileIdType', + typeName: 'customerProfileIdType', + propertyInfos: [{ + name: 'customerProfileId', + required: true + }, { + name: 'customerPaymentProfileId' + }, { + name: 'customerAddressId' + }] }, { localName: 'PaymentDetails', typeName: 'paymentDetails', @@ -1029,49 +1502,59 @@ var Schema_Module_Factory = function () { name: 'amount' }] }, { - localName: 'TransactionListSorting', + localName: 'TransactionResponse.SplitTenderPayments', + typeName: null, propertyInfos: [{ - name: 'orderBy', - required: true + name: 'splitTenderPayment', + minOccurs: 0, + collection: true, + typeInfo: '.TransactionResponse.SplitTenderPayments.SplitTenderPayment' + }] + }, { + localName: 'GetCustomerPaymentProfileListResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'totalNumInResultSet', + required: true, + typeInfo: 'Int' }, { - name: 'orderDescending', + name: 'paymentProfiles', + typeInfo: '.ArrayOfCustomerPaymentProfileListItemType' + }] + }, { + localName: 'TransactionResponse.EmvResponse.Tags', + typeName: null, + propertyInfos: [{ + name: 'tag', required: true, - typeInfo: 'Boolean' + collection: true, + typeInfo: '.EmvTag' }] }, { - localName: 'FingerPrintType', - typeName: 'fingerPrintType', + localName: 'MessagesType.Message', + typeName: null, propertyInfos: [{ - name: 'hashValue', + name: 'code', required: true }, { - name: 'sequence' - }, { - name: 'timestamp', + name: 'text', required: true - }, { - name: 'currencyCode' - }, { - name: 'amount' }] }, { - localName: 'CreditCardMaskedType', - typeName: 'creditCardMaskedType', + localName: 'AuthorizationIndicatorType', + typeName: 'authorizationIndicatorType', propertyInfos: [{ - name: 'cardNumber', - required: true - }, { - name: 'expirationDate', + name: 'authorizationIndicator' + }] + }, { + localName: 'TransactionListSorting', + propertyInfos: [{ + name: 'orderBy', required: true }, { - name: 'cardType' - }, { - name: 'cardArt', - typeInfo: '.CardArt' - }, { - name: 'issuerNumber' - }, { - name: 'isPaymentToken', + name: 'orderDescending', + required: true, typeInfo: 'Boolean' }] }, { @@ -1084,56 +1567,131 @@ var Schema_Module_Factory = function () { name: 'cardCode' }] }, { - localName: 'CreateCustomerPaymentProfileRequest', + localName: 'ArrayOfCurrencyCode', + propertyInfos: [{ + name: 'currency', + minOccurs: 0, + collection: true + }] + }, { + localName: 'Paging', + propertyInfos: [{ + name: 'limit', + required: true, + typeInfo: 'Int' + }, { + name: 'offset', + required: true, + typeInfo: 'Int' + }] + }, { + localName: 'GetCustomerShippingAddressRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ name: 'customerProfileId', required: true }, { - name: 'paymentProfile', - required: true, - typeInfo: '.CustomerPaymentProfileType' - }, { - name: 'validationMode' + name: 'customerAddressId' }] }, { - localName: 'ARBCreateSubscriptionRequest', + localName: 'ARBGetSubscriptionStatusRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'subscription', + name: 'subscriptionId', + required: true + }] + }, { + localName: 'UpdateSplitTenderGroupResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'CreateTransactionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'transactionResponse', required: true, - typeInfo: '.ARBSubscriptionType' + typeInfo: '.TransactionResponse' + }, { + name: 'profileResponse', + typeInfo: '.CreateProfileResponse' }] }, { - localName: 'UpdateHeldTransactionRequest', + localName: 'TransactionDetailsType.EmvDetails', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'heldTransactionRequest', + name: 'tag', required: true, - typeInfo: '.HeldTransactionRequestType' + collection: true, + typeInfo: '.TransactionDetailsType.EmvDetails.Tag' }] }, { - localName: 'TransactionResponse.SplitTenderPayments', + localName: 'SubscriptionCustomerProfileType', + typeName: 'subscriptionCustomerProfileType', + baseTypeInfo: '.CustomerProfileExType', + propertyInfos: [{ + name: 'paymentProfile', + typeInfo: '.CustomerPaymentProfileMaskedType' + }, { + name: 'shippingProfile', + typeInfo: '.CustomerAddressExType' + }] + }, { + localName: 'ValidateCustomerPaymentProfileResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'splitTenderPayment', + name: 'directResponse' + }] + }, { + localName: 'ARBGetSubscriptionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'subscriptionId', + required: true + }, { + name: 'includeTransactions', + typeInfo: 'Boolean' + }] + }, { + localName: 'ARBTransactionList', + propertyInfos: [{ + name: 'arbTransaction', minOccurs: 0, collection: true, - typeInfo: '.TransactionResponse.SplitTenderPayments.SplitTenderPayment' + typeInfo: '.ArbTransaction' }] }, { - localName: 'GetHostedProfilePageRequest', + localName: 'ProfileTransVoidType', + typeName: 'profileTransVoidType', + propertyInfos: [{ + name: 'customerProfileId' + }, { + name: 'customerPaymentProfileId' + }, { + name: 'customerShippingAddressId' + }, { + name: 'transId', + required: true + }] + }, { + localName: 'GetTransactionListForCustomerRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ name: 'customerProfileId', required: true }, { - name: 'hostedProfileSettings', - typeInfo: '.ArrayOfSetting' + name: 'customerPaymentProfileId' + }, { + name: 'sorting', + typeInfo: '.TransactionListSorting' + }, { + name: 'paging', + typeInfo: '.Paging' }] }, { localName: 'GetCustomerPaymentProfileRequest', @@ -1152,58 +1710,172 @@ var Schema_Module_Factory = function () { typeInfo: 'Boolean' }] }, { - localName: 'LogoutRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' + localName: 'ArrayOfMarketType', + propertyInfos: [{ + name: 'marketType', + minOccurs: 0, + collection: true + }] }, { - localName: 'SendCustomerTransactionReceiptResponse', + localName: 'DeleteCustomerProfileResponse', typeName: null, baseTypeInfo: '.ANetApiResponse' }, { - localName: 'SecurePaymentContainerRequest', + localName: 'ARBGetSubscriptionResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'data', + name: 'subscription', required: true, - typeInfo: '.WebCheckOutDataType' + typeInfo: '.ARBSubscriptionMaskedType' }] }, { - localName: 'ProfileTransAuthOnlyType', - typeName: 'profileTransAuthOnlyType', - baseTypeInfo: '.ProfileTransOrderType' - }, { - localName: 'MessagesType', - typeName: 'messagesType', + localName: 'PaymentEmvType', + typeName: 'paymentEmvType', propertyInfos: [{ - name: 'resultCode', - required: true + name: 'emvData', + required: true, + typeInfo: 'AnyType' }, { - name: 'message', + name: 'emvDescriptor', required: true, - collection: true, - typeInfo: '.MessagesType.Message' + typeInfo: 'AnyType' + }, { + name: 'emvVersion', + required: true, + typeInfo: 'AnyType' }] }, { - localName: 'SubsequentAuthInformation', - typeName: 'subsequentAuthInformation', + localName: 'ProcessingOptions', + typeName: 'processingOptions', propertyInfos: [{ - name: 'originalNetworkTransId' + name: 'isFirstRecurringPayment', + typeInfo: 'Boolean' }, { - name: 'originalAuthAmount', - typeInfo: 'Decimal' + name: 'isFirstSubsequentAuth', + typeInfo: 'Boolean' }, { - name: 'reason' + name: 'isSubsequentAuth', + typeInfo: 'Boolean' + }, { + name: 'isStoredCredentials', + typeInfo: 'Boolean' }] }, { - localName: 'HeldTransactionRequestType', - typeName: 'heldTransactionRequestType', + localName: 'IsAliveRequest', + typeName: null, propertyInfos: [{ - name: 'action', + name: 'refId' + }] + }, { + localName: 'ArrayOfCardType', + propertyInfos: [{ + name: 'cardType', + minOccurs: 0, + maxOccurs: 30, + collection: true + }] + }, { + localName: 'CustomerProfileInfoExType', + typeName: 'customerProfileInfoExType', + baseTypeInfo: '.CustomerProfileExType', + propertyInfos: [{ + name: 'profileType' + }] + }, { + localName: 'EncryptedTrackDataType', + typeName: 'encryptedTrackDataType', + propertyInfos: [{ + name: 'formOfPayment', + required: true, + elementName: 'FormOfPayment', + typeInfo: '.KeyBlock' + }] + }, { + localName: 'LogoutResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'CustomerProfilePaymentType', + typeName: 'customerProfilePaymentType', + propertyInfos: [{ + name: 'createProfile', + typeInfo: 'Boolean' + }, { + name: 'customerProfileId' + }, { + name: 'paymentProfile', + typeInfo: '.PaymentProfile' + }, { + name: 'shippingProfileId' + }] + }, { + localName: 'SubMerchantType', + typeName: 'subMerchantType', + propertyInfos: [{ + name: 'identifier', required: true }, { - name: 'refTransId', + name: 'doingBusinessAs' + }, { + name: 'paymentServiceProviderName' + }, { + name: 'paymentServiceFacilitator' + }, { + name: 'streetAddress' + }, { + name: 'phone' + }, { + name: 'email' + }, { + name: 'postalCode' + }, { + name: 'city' + }, { + name: 'regionCode' + }, { + name: 'countryCode' + }] + }, { + localName: 'OpaqueDataType', + typeName: 'opaqueDataType', + propertyInfos: [{ + name: 'dataDescriptor', + required: true + }, { + name: 'dataValue', + required: true + }, { + name: 'dataKey' + }, { + name: 'expirationTimeStamp', + typeInfo: 'DateTime' + }] + }, { + localName: 'PaymentSimpleType', + typeName: 'paymentSimpleType', + propertyInfos: [{ + name: 'creditCard', + required: true, + typeInfo: '.CreditCardSimpleType' + }, { + name: 'bankAccount', + required: true, + typeInfo: '.BankAccountType' + }] + }, { + localName: 'UpdateCustomerPaymentProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId', required: true + }, { + name: 'paymentProfile', + required: true, + typeInfo: '.CustomerPaymentProfileExType' + }, { + name: 'validationMode' }] }, { localName: 'ARBSubscriptionType', @@ -1237,16 +1909,6 @@ var Schema_Module_Factory = function () { name: 'profile', typeInfo: '.CustomerProfileIdType' }] - }, { - localName: 'EmvTag', - typeName: 'emvTag', - propertyInfos: [{ - name: 'name' - }, { - name: 'value' - }, { - name: 'formatted' - }] }, { localName: 'ImpersonationAuthenticationType', typeName: 'impersonationAuthenticationType', @@ -1258,52 +1920,38 @@ var Schema_Module_Factory = function () { required: true }] }, { - localName: 'TransactionResponse.PrePaidCard', + localName: 'GetAUJobSummaryResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'requestedAmount' - }, { - name: 'approvedAmount' - }, { - name: 'balanceOnCard' - }] - }, { - localName: 'CustomerAddressExType', - typeName: 'customerAddressExType', - baseTypeInfo: '.CustomerAddressType', - propertyInfos: [{ - name: 'customerAddressId' + name: 'auSummary', + typeInfo: '.ArrayOfAUResponseType' }] }, { - localName: 'ArbTransaction', - typeName: 'arbTransaction', + localName: 'MerchantAuthenticationType', + typeName: 'merchantAuthenticationType', propertyInfos: [{ - name: 'transId' + name: 'name' }, { - name: 'response' + name: 'transactionKey', + required: true }, { - name: 'submitTimeUTC', - typeInfo: 'DateTime' + name: 'sessionToken' }, { - name: 'payNum', - typeInfo: 'Int' + name: 'password', + required: true }, { - name: 'attemptNum', - typeInfo: 'Int' - }] - }, { - localName: 'IsAliveRequest', - typeName: null, - propertyInfos: [{ - name: 'refId' - }] - }, { - localName: 'SettingType', - typeName: 'settingType', - propertyInfos: [{ - name: 'settingName' + name: 'impersonationAuthentication', + typeInfo: '.ImpersonationAuthenticationType' }, { - name: 'settingValue' + name: 'fingerPrint', + typeInfo: '.FingerPrintType' + }, { + name: 'clientKey' + }, { + name: 'accessToken' + }, { + name: 'mobileDeviceId' }] }, { localName: 'ArrayOfSetting', @@ -1314,173 +1962,155 @@ var Schema_Module_Factory = function () { typeInfo: '.SettingType' }] }, { - localName: 'DeleteCustomerPaymentProfileRequest', + localName: 'GetAUJobDetailsResponse', typeName: null, - baseTypeInfo: '.ANetApiRequest', + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'totalNumInResultSet', + typeInfo: 'Int' }, { - name: 'customerPaymentProfileId', - required: true + name: 'auDetails', + typeInfo: '.ListOfAUDetailsType' }] }, { - localName: 'ProfileTransPriorAuthCaptureType', - typeName: 'profileTransPriorAuthCaptureType', - baseTypeInfo: '.ProfileTransAmountType', + localName: 'MobileDeviceLoginResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileId' + name: 'merchantContact', + required: true, + typeInfo: '.MerchantContactType' }, { - name: 'customerShippingAddressId' + name: 'userPermissions', + required: true, + typeInfo: '.ArrayOfPermissionType' }, { - name: 'transId', - required: true + name: 'merchantAccount', + typeInfo: '.TransRetailInfoType' }] }, { - localName: 'ProfileTransVoidType', - typeName: 'profileTransVoidType', + localName: 'ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileId' + name: 'merchantAuthentication', + required: true, + typeInfo: '.MerchantAuthenticationType' }, { - name: 'customerShippingAddressId' + name: 'clientId' }, { - name: 'transId', - required: true + name: 'refId' }] }, { - localName: 'ArrayOfFDSFilter', + localName: 'CreateCustomerProfileTransactionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'fdsFilter', - minOccurs: 0, - collection: true, - elementName: 'FDSFilter', - typeInfo: '.FDSFilterType' + name: 'transaction', + required: true, + typeInfo: '.ProfileTransactionType' + }, { + name: 'extraOptions' }] }, { - localName: 'WebCheckOutDataType', - typeName: 'webCheckOutDataType', + localName: 'GetMerchantDetailsResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'type', + name: 'isTestMode', + typeInfo: 'Boolean' + }, { + name: 'processors', + required: true, + typeInfo: '.ArrayOfProcessorType' + }, { + name: 'merchantName', required: true }, { - name: 'id', + name: 'gatewayId', required: true }, { - name: 'token', - typeInfo: '.WebCheckOutDataTypeToken' + name: 'marketTypes', + required: true, + typeInfo: '.ArrayOfMarketType' }, { - name: 'bankToken', - typeInfo: '.BankAccountType' - }] - }, { - localName: 'GetBatchStatisticsRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'batchId', - required: true - }] - }, { - localName: 'UpdateCustomerProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'GetCustomerPaymentProfileListResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'totalNumInResultSet', + name: 'productCodes', required: true, - typeInfo: 'Int' + typeInfo: '.ArrayOfProductCode' }, { - name: 'paymentProfiles', - typeInfo: '.ArrayOfCustomerPaymentProfileListItemType' - }] - }, { - localName: 'SolutionType', - typeName: 'solutionType', - propertyInfos: [{ - name: 'id', - required: true + name: 'paymentMethods', + required: true, + typeInfo: '.ArrayOfPaymentMethod' }, { - name: 'name' + name: 'currencies', + required: true, + typeInfo: '.ArrayOfCurrencyCode' }, { - name: 'vendorName' + name: 'publicClientKey' + }, { + name: 'businessInformation', + typeInfo: '.CustomerAddressType' + }, { + name: 'merchantTimeZone' + }, { + name: 'contactDetails', + typeInfo: '.ArrayOfContactDetail' }] }, { - localName: 'UpdateCustomerProfileRequest', + localName: 'UpdateHeldTransactionRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'profile', + name: 'heldTransactionRequest', required: true, - typeInfo: '.CustomerProfileExType' + typeInfo: '.HeldTransactionRequestType' }] }, { - localName: 'ARBGetSubscriptionListResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'ArrayOfLong', propertyInfos: [{ - name: 'totalNumInResultSet', - typeInfo: 'Int' - }, { - name: 'subscriptionDetails', - typeInfo: '.ArrayOfSubscription' + name: '_long', + minOccurs: 0, + collection: true, + elementName: 'long', + typeInfo: 'Long' }] }, { - localName: 'EncryptedTrackDataType', - typeName: 'encryptedTrackDataType', + localName: 'CreateTransactionRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'formOfPayment', + name: 'transactionRequest', required: true, - elementName: 'FormOfPayment', - typeInfo: '.KeyBlock' + typeInfo: '.TransactionRequestType' }] }, { - localName: 'TransactionResponse.UserFields', + localName: 'GetCustomerPaymentProfileResponse', typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'userField', - minOccurs: 0, - maxOccurs: 20, - collection: true, - typeInfo: '.UserField' + name: 'paymentProfile', + typeInfo: '.CustomerPaymentProfileMaskedType' }] }, { - localName: 'ListOfAUDetailsType', + localName: 'TransactionResponse.SecureAcceptance', + typeName: null, propertyInfos: [{ - name: 'auUpdateOrAuDelete', - minOccurs: 0, - collection: true, - elementTypeInfos: [{ - elementName: 'auUpdate', - typeInfo: '.AuUpdateType' - }, { - elementName: 'auDelete', - typeInfo: '.AuDeleteType' - }], - type: 'elements' + name: 'secureAcceptanceUrl', + elementName: 'SecureAcceptanceUrl' + }, { + name: 'payerID', + elementName: 'PayerID' + }, { + name: 'payerEmail', + elementName: 'PayerEmail' }] }, { - localName: 'PaymentSimpleType', - typeName: 'paymentSimpleType', + localName: 'GetCustomerProfileIdsResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardSimpleType' - }, { - name: 'bankAccount', + name: 'ids', required: true, - typeInfo: '.BankAccountType' + typeInfo: '.ArrayOfNumericString' }] - }, { - localName: 'GetMerchantDetailsRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' }, { localName: 'CardArt', typeName: 'cardArt', @@ -1496,41 +2126,27 @@ var Schema_Module_Factory = function () { name: 'cardType' }] }, { - localName: 'ARBCancelSubscriptionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'CreateCustomerProfileTransactionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'CustomerDataType', + typeName: 'customerDataType', propertyInfos: [{ - name: 'transactionResponse', - typeInfo: '.TransactionResponse' + name: 'type' }, { - name: 'directResponse' - }] - }, { - localName: 'TransactionDetailsType.EmvDetails.Tag', - typeName: null, - propertyInfos: [{ - name: 'tagId', - required: true + name: 'id' }, { - name: 'data', - required: true + name: 'email' + }, { + name: 'driversLicense', + typeInfo: '.DriversLicenseType' + }, { + name: 'taxId' }] }, { - localName: 'GetTransactionDetailsResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'ArrayOfPermissionType', propertyInfos: [{ - name: 'transaction', - required: true, - typeInfo: '.TransactionDetailsType' - }, { - name: 'clientId' - }, { - name: 'transrefId' + name: 'permission', + minOccurs: 0, + collection: true, + typeInfo: '.PermissionType' }] }, { localName: 'GetCustomerPaymentProfileNonceRequest', @@ -1547,224 +2163,56 @@ var Schema_Module_Factory = function () { required: true }] }, { - localName: 'CustomerProfileExType', - typeName: 'customerProfileExType', - baseTypeInfo: '.CustomerProfileBaseType', + localName: 'AuDeleteType', + typeName: 'auDeleteType', + baseTypeInfo: '.AuDetailsType', propertyInfos: [{ - name: 'customerProfileId' + name: 'creditCard', + required: true, + typeInfo: '.CreditCardMaskedType' }] }, { - localName: 'DecryptPaymentDataRequest', + localName: 'ARBCreateSubscriptionRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'opaqueData', + name: 'subscription', required: true, - typeInfo: '.OpaqueDataType' - }, { - name: 'callId' - }] - }, { - localName: 'PermissionType', - typeName: 'permissionType', - propertyInfos: [{ - name: 'permissionName' + typeInfo: '.ARBSubscriptionType' }] }, { - localName: 'OtherTaxType', - typeName: 'otherTaxType', + localName: 'CustomerProfileSummaryType', + typeName: 'customerProfileSummaryType', propertyInfos: [{ - name: 'nationalTaxAmount', - typeInfo: 'Decimal' - }, { - name: 'localTaxAmount', - typeInfo: 'Decimal' + name: 'customerProfileId' }, { - name: 'alternateTaxAmount', - typeInfo: 'Decimal' + name: 'description' }, { - name: 'alternateTaxId' + name: 'merchantCustomerId', + required: true }, { - name: 'vatTaxRate', - typeInfo: 'Decimal' + name: 'email' }, { - name: 'vatTaxAmount', - typeInfo: 'Decimal' + name: 'createdDate', + required: true, + typeInfo: 'DateTime' }] }, { - localName: 'UpdateCustomerShippingAddressResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'GetCustomerProfileIdsRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' - }, { - localName: 'CreateTransactionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'transactionResponse', - required: true, - typeInfo: '.TransactionResponse' - }, { - name: 'profileResponse', - typeInfo: '.CreateProfileResponse' - }] - }, { - localName: 'CustomerType', - typeName: 'customerType', - propertyInfos: [{ - name: 'type' - }, { - name: 'id' - }, { - name: 'email' - }, { - name: 'phoneNumber' - }, { - name: 'faxNumber' - }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseType' - }, { - name: 'taxId' - }] - }, { - localName: 'ANetApiResponse', - propertyInfos: [{ - name: 'refId' - }, { - name: 'messages', - required: true, - typeInfo: '.MessagesType' - }, { - name: 'sessionToken' - }] - }, { - localName: 'ProfileTransAmountType', - typeName: 'profileTransAmountType', - propertyInfos: [{ - name: 'amount', - required: true, - typeInfo: 'Decimal' - }, { - name: 'tax', - typeInfo: '.ExtendedAmountType' - }, { - name: 'shipping', - typeInfo: '.ExtendedAmountType' - }, { - name: 'duty', - typeInfo: '.ExtendedAmountType' - }, { - name: 'lineItems', - minOccurs: 0, - maxOccurs: 30, - collection: true, - typeInfo: '.LineItemType' - }] - }, { - localName: 'UpdateCustomerPaymentProfileRequest', + localName: 'ARBUpdateSubscriptionRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', + name: 'subscriptionId', required: true }, { - name: 'paymentProfile', - required: true, - typeInfo: '.CustomerPaymentProfileExType' - }, { - name: 'validationMode' - }] - }, { - localName: 'ProfileTransRefundType', - typeName: 'profileTransRefundType', - baseTypeInfo: '.ProfileTransAmountType', - propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileId' - }, { - name: 'customerShippingAddressId' - }, { - name: 'creditCardNumberMasked' - }, { - name: 'bankRoutingNumberMasked' - }, { - name: 'bankAccountNumberMasked' - }, { - name: 'order', - typeInfo: '.OrderExType' - }, { - name: 'transId' - }] - }, { - localName: 'CreateProfileResponse', - typeName: 'createProfileResponse', - propertyInfos: [{ - name: 'messages', - required: true, - typeInfo: '.MessagesType' - }, { - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileIdList', - typeInfo: '.ArrayOfNumericString' - }, { - name: 'customerShippingAddressIdList', - typeInfo: '.ArrayOfNumericString' - }] - }, { - localName: 'ProfileTransactionType', - typeName: 'profileTransactionType', - propertyInfos: [{ - name: 'profileTransAuthCapture', - required: true, - typeInfo: '.ProfileTransAuthCaptureType' - }, { - name: 'profileTransAuthOnly', - required: true, - typeInfo: '.ProfileTransAuthOnlyType' - }, { - name: 'profileTransPriorAuthCapture', - required: true, - typeInfo: '.ProfileTransPriorAuthCaptureType' - }, { - name: 'profileTransCaptureOnly', - required: true, - typeInfo: '.ProfileTransCaptureOnlyType' - }, { - name: 'profileTransRefund', - required: true, - typeInfo: '.ProfileTransRefundType' - }, { - name: 'profileTransVoid', + name: 'subscription', required: true, - typeInfo: '.ProfileTransVoidType' - }] - }, { - localName: 'GetCustomerShippingAddressRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'customerProfileId', - required: true - }, { - name: 'customerAddressId' + typeInfo: '.ARBSubscriptionType' }] }, { - localName: 'GetAUJobDetailsResponse', + localName: 'GetCustomerProfileIdsRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'totalNumInResultSet', - typeInfo: 'Int' - }, { - name: 'auDetails', - typeInfo: '.ListOfAUDetailsType' - }] + baseTypeInfo: '.ANetApiRequest' }, { localName: 'TransactionResponse.Errors', typeName: null, @@ -1775,1059 +2223,413 @@ var Schema_Module_Factory = function () { typeInfo: '.TransactionResponse.Errors.Error' }] }, { - localName: 'AuthenticateTestRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' - }, { - localName: 'LineItemType', - typeName: 'lineItemType', + localName: 'OrderType', + typeName: 'orderType', propertyInfos: [{ - name: 'itemId', - required: true - }, { - name: 'name', - required: true + name: 'invoiceNumber' }, { name: 'description' }, { - name: 'quantity', - required: true, - typeInfo: 'Decimal' - }, { - name: 'unitPrice', - required: true, + name: 'discountAmount', typeInfo: 'Decimal' }, { - name: 'taxable', + name: 'taxIsAfterDiscount', typeInfo: 'Boolean' }, { - name: 'unitOfMeasure' - }, { - name: 'typeOfSupply' - }, { - name: 'taxRate', - typeInfo: 'Decimal' - }, { - name: 'taxAmount', - typeInfo: 'Decimal' - }, { - name: 'nationalTax', - typeInfo: 'Decimal' - }, { - name: 'localTax', - typeInfo: 'Decimal' - }, { - name: 'vatRate', - typeInfo: 'Decimal' - }, { - name: 'alternateTaxId' - }, { - name: 'alternateTaxType' - }, { - name: 'alternateTaxTypeApplied' - }, { - name: 'alternateTaxRate', - typeInfo: 'Decimal' - }, { - name: 'alternateTaxAmount', - typeInfo: 'Decimal' - }, { - name: 'totalAmount', - typeInfo: 'Decimal' - }, { - name: 'commodityCode' + name: 'totalTaxTypeCode' }, { - name: 'productCode' + name: 'purchaserVATRegistrationNumber' }, { - name: 'productSKU' + name: 'merchantVATRegistrationNumber' }, { - name: 'discountRate', - typeInfo: 'Decimal' + name: 'vatInvoiceReferenceNumber' }, { - name: 'discountAmount', - typeInfo: 'Decimal' + name: 'purchaserCode' }, { - name: 'taxIncludedInTotal', - typeInfo: 'Boolean' + name: 'summaryCommodityCode' }, { - name: 'taxIsAfterDiscount', - typeInfo: 'Boolean' - }] - }, { - localName: 'PaymentScheduleType.Interval', - typeName: null, - propertyInfos: [{ - name: 'length', - required: true, - typeInfo: 'Short' + name: 'purchaseOrderDateUTC', + typeInfo: 'Date' }, { - name: 'unit', - required: true - }] - }, { - localName: 'BatchDetailsType', - typeName: 'batchDetailsType', - propertyInfos: [{ - name: 'batchId', - required: true - }, { - name: 'settlementTimeUTC', - typeInfo: 'DateTime' - }, { - name: 'settlementTimeLocal', - typeInfo: 'DateTime' - }, { - name: 'settlementState', - required: true - }, { - name: 'paymentMethod' - }, { - name: 'marketType' - }, { - name: 'product' - }, { - name: 'statistics', - typeInfo: '.ArrayOfBatchStatisticType' - }] - }, { - localName: 'CustomerProfileMaskedType', - typeName: 'customerProfileMaskedType', - baseTypeInfo: '.CustomerProfileExType', - propertyInfos: [{ - name: 'paymentProfiles', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerPaymentProfileMaskedType' - }, { - name: 'shipToList', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerAddressExType' - }, { - name: 'profileType' - }] - }, { - localName: 'ReturnedItemType', - typeName: 'returnedItemType', - propertyInfos: [{ - name: 'id', - required: true - }, { - name: 'dateUTC', - required: true, - typeInfo: 'DateTime' - }, { - name: 'dateLocal', - required: true, - typeInfo: 'DateTime' - }, { - name: 'code', - required: true - }, { - name: 'description', - required: true - }] - }, { - localName: 'GetCustomerPaymentProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'paymentProfile', - typeInfo: '.CustomerPaymentProfileMaskedType' - }] - }, { - localName: 'MerchantContactType', - typeName: 'merchantContactType', - propertyInfos: [{ - name: 'merchantName' - }, { - name: 'merchantAddress' - }, { - name: 'merchantCity' - }, { - name: 'merchantState' - }, { - name: 'merchantZip' - }, { - name: 'merchantPhone' - }] - }, { - localName: 'CreateCustomerShippingAddressRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'customerProfileId', - required: true - }, { - name: 'address', - required: true, - typeInfo: '.CustomerAddressType' - }, { - name: 'defaultShippingAddress', - typeInfo: 'Boolean' - }] - }, { - localName: 'GetCustomerShippingAddressResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'defaultShippingAddress', - typeInfo: 'Boolean' - }, { - name: 'address', - typeInfo: '.CustomerAddressExType' - }, { - name: 'subscriptionIds', - typeInfo: '.SubscriptionIdList' - }] - }, { - localName: 'TransactionResponse.EmvResponse.Tags', - typeName: null, - propertyInfos: [{ - name: 'tag', - required: true, - collection: true, - typeInfo: '.EmvTag' - }] - }, { - localName: 'GetTransactionListResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'transactions', - typeInfo: '.ArrayOfTransactionSummaryType' - }, { - name: 'totalNumInResultSet', - typeInfo: 'Int' - }] - }, { - localName: 'SendCustomerTransactionReceiptRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'transId', - required: true - }, { - name: 'customerEmail', - required: true - }, { - name: 'emailSettings', - typeInfo: '.EmailSettingsType' - }] - }, { - localName: 'CustomerProfileType', - typeName: 'customerProfileType', - baseTypeInfo: '.CustomerProfileBaseType', - propertyInfos: [{ - name: 'paymentProfiles', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerPaymentProfileType' - }, { - name: 'shipToList', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerAddressType' - }, { - name: 'profileType' - }] - }, { - localName: 'CustomerProfileInfoExType', - typeName: 'customerProfileInfoExType', - baseTypeInfo: '.CustomerProfileExType', - propertyInfos: [{ - name: 'profileType' - }] - }, { - localName: 'CustomerPaymentProfileMaskedType', - typeName: 'customerPaymentProfileMaskedType', - baseTypeInfo: '.CustomerPaymentProfileBaseType', - propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileId', - required: true - }, { - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' - }, { - name: 'payment', - typeInfo: '.PaymentMaskedType' - }, { - name: 'driversLicense', - typeInfo: '.DriversLicenseMaskedType' - }, { - name: 'taxId' - }, { - name: 'subscriptionIds', - typeInfo: '.SubscriptionIdList' - }, { - name: 'originalNetworkTransId' - }, { - name: 'originalAuthAmount', - typeInfo: 'Decimal' - }] - }, { - localName: 'ProfileTransAuthCaptureType', - typeName: 'profileTransAuthCaptureType', - baseTypeInfo: '.ProfileTransOrderType' - }, { - localName: 'CreateCustomerProfileTransactionRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'transaction', - required: true, - typeInfo: '.ProfileTransactionType' - }, { - name: 'extraOptions' - }] - }, { - localName: 'GetMerchantDetailsResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'isTestMode', - typeInfo: 'Boolean' - }, { - name: 'processors', - required: true, - typeInfo: '.ArrayOfProcessorType' - }, { - name: 'merchantName', - required: true - }, { - name: 'gatewayId', - required: true - }, { - name: 'marketTypes', - required: true, - typeInfo: '.ArrayOfMarketType' - }, { - name: 'productCodes', - required: true, - typeInfo: '.ArrayOfProductCode' - }, { - name: 'paymentMethods', - required: true, - typeInfo: '.ArrayOfPaymentMethod' - }, { - name: 'currencies', - required: true, - typeInfo: '.ArrayOfCurrencyCode' - }, { - name: 'publicClientKey' - }, { - name: 'businessInformation', - typeInfo: '.CustomerAddressType' - }, { - name: 'merchantTimeZone' - }, { - name: 'contactDetails', - typeInfo: '.ArrayOfContactDetail' - }] - }, { - localName: 'GetCustomerProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'merchantCustomerId' - }, { - name: 'email' - }, { - name: 'unmaskExpirationDate', - typeInfo: 'Boolean' - }, { - name: 'includeIssuerInfo', - typeInfo: 'Boolean' - }] - }, { - localName: 'TransactionRequestType', - typeName: 'transactionRequestType', - propertyInfos: [{ - name: 'transactionType', - required: true - }, { - name: 'amount', - typeInfo: 'Decimal' - }, { - name: 'currencyCode' - }, { - name: 'payment', - typeInfo: '.PaymentType' - }, { - name: 'profile', - typeInfo: '.CustomerProfilePaymentType' - }, { - name: 'solution', - typeInfo: '.SolutionType' - }, { - name: 'callId' - }, { - name: 'terminalNumber' - }, { - name: 'authCode' - }, { - name: 'refTransId' - }, { - name: 'splitTenderId' - }, { - name: 'order', - typeInfo: '.OrderType' - }, { - name: 'lineItems', - typeInfo: '.ArrayOfLineItem' - }, { - name: 'tax', - typeInfo: '.ExtendedAmountType' - }, { - name: 'duty', - typeInfo: '.ExtendedAmountType' - }, { - name: 'shipping', - typeInfo: '.ExtendedAmountType' - }, { - name: 'taxExempt', - typeInfo: 'Boolean' - }, { - name: 'poNumber' - }, { - name: 'customer', - typeInfo: '.CustomerDataType' - }, { - name: 'billTo', - typeInfo: '.CustomerAddressType' - }, { - name: 'shipTo', - typeInfo: '.NameAndAddressType' - }, { - name: 'customerIP' - }, { - name: 'cardholderAuthentication', - typeInfo: '.CcAuthenticationType' - }, { - name: 'retail', - typeInfo: '.TransRetailInfoType' - }, { - name: 'employeeId' - }, { - name: 'transactionSettings', - typeInfo: '.ArrayOfSetting' - }, { - name: 'userFields', - typeInfo: '.TransactionRequestType.UserFields' - }, { - name: 'surcharge', - typeInfo: '.ExtendedAmountType' - }, { - name: 'merchantDescriptor' - }, { - name: 'subMerchant', - typeInfo: '.SubMerchantType' - }, { - name: 'tip', - typeInfo: '.ExtendedAmountType' - }, { - name: 'processingOptions', - typeInfo: '.ProcessingOptions' - }, { - name: 'subsequentAuthInformation', - typeInfo: '.SubsequentAuthInformation' - }, { - name: 'otherTax', - typeInfo: '.OtherTaxType' - }, { - name: 'shipFrom', - typeInfo: '.NameAndAddressType' - }, { - name: 'authorizationIndicatorType', - typeInfo: '.AuthorizationIndicatorType' - }] - }, { - localName: 'ARBGetSubscriptionStatusRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'subscriptionId', - required: true - }] - }, { - localName: 'KeyManagementScheme.DUKPT', - typeName: null, - propertyInfos: [{ - name: 'operation', - required: true, - elementName: 'Operation' - }, { - name: 'mode', - required: true, - elementName: 'Mode', - typeInfo: '.KeyManagementScheme.DUKPT.Mode' - }, { - name: 'deviceInfo', - required: true, - elementName: 'DeviceInfo', - typeInfo: '.KeyManagementScheme.DUKPT.DeviceInfo' - }, { - name: 'encryptedData', - required: true, - elementName: 'EncryptedData', - typeInfo: '.KeyManagementScheme.DUKPT.EncryptedData' - }] - }, { - localName: 'ArrayOfBatchDetailsType', - propertyInfos: [{ - name: 'batch', - minOccurs: 0, - collection: true, - typeInfo: '.BatchDetailsType' - }] - }, { - localName: 'WebCheckOutDataTypeToken', - typeName: 'webCheckOutDataTypeToken', - propertyInfos: [{ - name: 'cardNumber', - required: true - }, { - name: 'expirationDate', - required: true - }, { - name: 'cardCode' + name: 'supplierOrderReference' }, { - name: 'zip' + name: 'authorizedContactName' }, { - name: 'fullName' - }] - }, { - localName: 'CustomerProfileSummaryType', - typeName: 'customerProfileSummaryType', - propertyInfos: [{ - name: 'customerProfileId' + name: 'cardAcceptorRefNumber' }, { - name: 'description' + name: 'amexDataTAA1' }, { - name: 'merchantCustomerId', - required: true + name: 'amexDataTAA2' }, { - name: 'email' + name: 'amexDataTAA3' }, { - name: 'createdDate', - required: true, - typeInfo: 'DateTime' + name: 'amexDataTAA4' }] }, { - localName: 'MessagesType.Message', + localName: 'ARBCancelSubscriptionRequest', typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'code', - required: true - }, { - name: 'text', + name: 'subscriptionId', required: true }] }, { - localName: 'ArrayOfBatchStatisticType', - propertyInfos: [{ - name: 'statistic', - minOccurs: 0, - collection: true, - typeInfo: '.BatchStatisticType' - }] - }, { - localName: 'DriversLicenseMaskedType', - typeName: 'driversLicenseMaskedType', - propertyInfos: [{ - name: 'number', - required: true - }, { - name: 'state', - required: true - }, { - name: 'dateOfBirth', - required: true - }] + localName: 'ProfileTransAuthOnlyType', + typeName: 'profileTransAuthOnlyType', + baseTypeInfo: '.ProfileTransOrderType' }, { - localName: 'GetTransactionListForCustomerRequest', + localName: 'GetCustomerPaymentProfileListRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', + name: 'searchType', required: true }, { - name: 'customerPaymentProfileId' + name: 'month', + required: true }, { name: 'sorting', - typeInfo: '.TransactionListSorting' + typeInfo: '.CustomerPaymentProfileSorting' }, { name: 'paging', typeInfo: '.Paging' }] }, { - localName: 'CustomerProfileIdType', - typeName: 'customerProfileIdType', + localName: 'TransactionRequestType', + typeName: 'transactionRequestType', propertyInfos: [{ - name: 'customerProfileId', + name: 'transactionType', required: true }, { - name: 'customerPaymentProfileId' + name: 'amount', + typeInfo: 'Decimal' }, { - name: 'customerAddressId' - }] - }, { - localName: 'ArrayOfCardType', - propertyInfos: [{ - name: 'cardType', - minOccurs: 0, - maxOccurs: 30, - collection: true - }] - }, { - localName: 'BatchStatisticType', - typeName: 'batchStatisticType', - propertyInfos: [{ - name: 'accountType', - required: true + name: 'currencyCode' }, { - name: 'chargeAmount', - required: true, - typeInfo: 'Decimal' + name: 'payment', + typeInfo: '.PaymentType' }, { - name: 'chargeCount', - required: true, - typeInfo: 'Int' + name: 'profile', + typeInfo: '.CustomerProfilePaymentType' }, { - name: 'refundAmount', - required: true, - typeInfo: 'Decimal' + name: 'solution', + typeInfo: '.SolutionType' }, { - name: 'refundCount', - required: true, - typeInfo: 'Int' + name: 'callId' }, { - name: 'voidCount', - required: true, - typeInfo: 'Int' + name: 'terminalNumber' }, { - name: 'declineCount', - required: true, - typeInfo: 'Int' + name: 'authCode' }, { - name: 'errorCount', - required: true, - typeInfo: 'Int' + name: 'refTransId' }, { - name: 'returnedItemAmount', - typeInfo: 'Decimal' + name: 'splitTenderId' }, { - name: 'returnedItemCount', - typeInfo: 'Int' + name: 'order', + typeInfo: '.OrderType' }, { - name: 'chargebackAmount', - typeInfo: 'Decimal' + name: 'lineItems', + typeInfo: '.ArrayOfLineItem' }, { - name: 'chargebackCount', - typeInfo: 'Int' + name: 'tax', + typeInfo: '.ExtendedAmountType' }, { - name: 'correctionNoticeCount', - typeInfo: 'Int' + name: 'duty', + typeInfo: '.ExtendedAmountType' }, { - name: 'chargeChargeBackAmount', - typeInfo: 'Decimal' + name: 'shipping', + typeInfo: '.ExtendedAmountType' }, { - name: 'chargeChargeBackCount', - typeInfo: 'Int' + name: 'taxExempt', + typeInfo: 'Boolean' }, { - name: 'refundChargeBackAmount', - typeInfo: 'Decimal' + name: 'poNumber' }, { - name: 'refundChargeBackCount', - typeInfo: 'Int' + name: 'customer', + typeInfo: '.CustomerDataType' }, { - name: 'chargeReturnedItemsAmount', - typeInfo: 'Decimal' + name: 'billTo', + typeInfo: '.CustomerAddressType' }, { - name: 'chargeReturnedItemsCount', - typeInfo: 'Int' + name: 'shipTo', + typeInfo: '.NameAndAddressType' }, { - name: 'refundReturnedItemsAmount', - typeInfo: 'Decimal' + name: 'customerIP' }, { - name: 'refundReturnedItemsCount', - typeInfo: 'Int' - }] - }, { - localName: 'DeleteCustomerShippingAddressResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'TransactionDetailsType.EmvDetails', - typeName: null, - propertyInfos: [{ - name: 'tag', - required: true, - collection: true, - typeInfo: '.TransactionDetailsType.EmvDetails.Tag' - }] - }, { - localName: 'SubscriptionPaymentType', - typeName: 'subscriptionPaymentType', - propertyInfos: [{ - name: 'id', - required: true, - typeInfo: 'Int' + name: 'cardholderAuthentication', + typeInfo: '.CcAuthenticationType' }, { - name: 'payNum', - required: true, - typeInfo: 'Int' - }] - }, { - localName: 'TransactionRequestType.UserFields', - typeName: null, - propertyInfos: [{ - name: 'userField', - minOccurs: 0, - maxOccurs: 20, - collection: true, - typeInfo: '.UserField' - }] - }, { - localName: 'UpdateSplitTenderGroupRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', - propertyInfos: [{ - name: 'splitTenderId', - required: true + name: 'retail', + typeInfo: '.TransRetailInfoType' }, { - name: 'splitTenderStatus', - required: true - }] - }, { - localName: 'CreditCardType', - typeName: 'creditCardType', - baseTypeInfo: '.CreditCardSimpleType', - propertyInfos: [{ - name: 'cardCode' + name: 'employeeId' }, { - name: 'isPaymentToken', - typeInfo: 'Boolean' + name: 'transactionSettings', + typeInfo: '.ArrayOfSetting' }, { - name: 'cryptogram' + name: 'userFields', + typeInfo: '.TransactionRequestType.UserFields' }, { - name: 'tokenRequestorName' + name: 'surcharge', + typeInfo: '.ExtendedAmountType' }, { - name: 'tokenRequestorId' + name: 'merchantDescriptor' }, { - name: 'tokenRequestorEci' - }] - }, { - localName: 'AuthenticateTestResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'ArrayOfPermissionType', - propertyInfos: [{ - name: 'permission', - minOccurs: 0, - collection: true, - typeInfo: '.PermissionType' + name: 'subMerchant', + typeInfo: '.SubMerchantType' + }, { + name: 'tip', + typeInfo: '.ExtendedAmountType' + }, { + name: 'processingOptions', + typeInfo: '.ProcessingOptions' + }, { + name: 'subsequentAuthInformation', + typeInfo: '.SubsequentAuthInformation' + }, { + name: 'otherTax', + typeInfo: '.OtherTaxType' + }, { + name: 'shipFrom', + typeInfo: '.NameAndAddressType' + }, { + name: 'authorizationIndicatorType', + typeInfo: '.AuthorizationIndicatorType' }] }, { - localName: 'GetAUJobSummaryResponse', + localName: 'ARBUpdateSubscriptionResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'auSummary', - typeInfo: '.ArrayOfAUResponseType' + name: 'profile', + typeInfo: '.CustomerProfileIdType' }] }, { - localName: 'SecurePaymentContainerResponse', + localName: 'CreateCustomerPaymentProfileRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'opaqueData', - required: true, - typeInfo: '.OpaqueDataType' - }] - }, { - localName: 'CreditCardTrackType', - typeName: 'creditCardTrackType', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'track1', + name: 'customerProfileId', required: true }, { - name: 'track2', - required: true - }] - }, { - localName: 'TransactionResponse.Messages', - typeName: null, - propertyInfos: [{ - name: 'message', - minOccurs: 0, - collection: true, - typeInfo: '.TransactionResponse.Messages.Message' + name: 'paymentProfile', + required: true, + typeInfo: '.CustomerPaymentProfileType' + }, { + name: 'validationMode' }] }, { - localName: 'OpaqueDataType', - typeName: 'opaqueDataType', + localName: 'CustomerPaymentProfileMaskedType', + typeName: 'customerPaymentProfileMaskedType', + baseTypeInfo: '.CustomerPaymentProfileBaseType', propertyInfos: [{ - name: 'dataDescriptor', - required: true + name: 'customerProfileId' }, { - name: 'dataValue', + name: 'customerPaymentProfileId', required: true }, { - name: 'dataKey' - }, { - name: 'expirationTimeStamp', - typeInfo: 'DateTime' - }] - }, { - localName: 'CustomerPaymentProfileBaseType', - typeName: 'customerPaymentProfileBaseType', - propertyInfos: [{ - name: 'customerType' + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' }, { - name: 'billTo', - typeInfo: '.CustomerAddressType' - }] - }, { - localName: 'BankAccountType', - typeName: 'bankAccountType', - propertyInfos: [{ - name: 'accountType' + name: 'payment', + typeInfo: '.PaymentMaskedType' }, { - name: 'routingNumber', - required: true + name: 'driversLicense', + typeInfo: '.DriversLicenseMaskedType' }, { - name: 'accountNumber', - required: true + name: 'taxId' }, { - name: 'nameOnAccount', - required: true + name: 'subscriptionIds', + typeInfo: '.SubscriptionIdList' }, { - name: 'echeckType' + name: 'originalNetworkTransId' }, { - name: 'bankName' + name: 'originalAuthAmount', + typeInfo: 'Decimal' }, { - name: 'checkNumber' + name: 'excludeFromAccountUpdater', + typeInfo: 'Boolean' }] }, { - localName: 'UpdateMerchantDetailsRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'KeyManagementScheme', propertyInfos: [{ - name: 'isTestMode', + name: 'dukpt', required: true, - typeInfo: 'Boolean' + elementName: 'DUKPT', + typeInfo: '.KeyManagementScheme.DUKPT' }] }, { - localName: 'PaymentScheduleType', - typeName: 'paymentScheduleType', + localName: 'ARBGetSubscriptionListRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'interval', - typeInfo: '.PaymentScheduleType.Interval' - }, { - name: 'startDate', - typeInfo: 'Date' + name: 'searchType', + required: true }, { - name: 'totalOccurrences', - typeInfo: 'Short' + name: 'sorting', + typeInfo: '.ARBGetSubscriptionListSorting' }, { - name: 'trialOccurrences', - typeInfo: 'Short' + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'AuDetailsType', - typeName: 'auDetailsType', + localName: 'FingerPrintType', + typeName: 'fingerPrintType', propertyInfos: [{ - name: 'customerProfileID', - required: true, - typeInfo: 'Long' - }, { - name: 'customerPaymentProfileID', - required: true, - typeInfo: 'Long' - }, { - name: 'firstName' + name: 'hashValue', + required: true }, { - name: 'lastName' + name: 'sequence' }, { - name: 'updateTimeUTC', + name: 'timestamp', required: true }, { - name: 'auReasonCode', - required: true + name: 'currencyCode' }, { - name: 'reasonDescription', - required: true - }] - }, { - localName: 'UpdateCustomerPaymentProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'validationDirectResponse' + name: 'amount' }] }, { - localName: 'IsAliveResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse' - }, { - localName: 'SecurePaymentContainerErrorType', - typeName: 'securePaymentContainerErrorType', + localName: 'BankAccountMaskedType', + typeName: 'bankAccountMaskedType', propertyInfos: [{ - name: 'code', + name: 'accountType' + }, { + name: 'routingNumber', required: true }, { - name: 'description', + name: 'accountNumber', required: true - }] - }, { - localName: 'CreateCustomerShippingAddressResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'customerProfileId' }, { - name: 'customerAddressId' + name: 'nameOnAccount', + required: true + }, { + name: 'echeckType' + }, { + name: 'bankName' }] }, { - localName: 'FDSFilterType', + localName: 'MessagesType', + typeName: 'messagesType', propertyInfos: [{ - name: 'name', + name: 'resultCode', required: true }, { - name: 'action', - required: true + name: 'message', + required: true, + collection: true, + typeInfo: '.MessagesType.Message' }] }, { - localName: 'CreateCustomerPaymentProfileResponse', + localName: 'GetSettledBatchListResponse', typeName: null, baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'customerProfileId' - }, { - name: 'customerPaymentProfileId' - }, { - name: 'validationDirectResponse' + name: 'batchList', + typeInfo: '.ArrayOfBatchDetailsType' }] }, { - localName: 'AuUpdateType', - typeName: 'auUpdateType', - baseTypeInfo: '.AuDetailsType', + localName: 'AuResponseType', + typeName: 'auResponseType', propertyInfos: [{ - name: 'newCreditCard', - required: true, - typeInfo: '.CreditCardMaskedType' + name: 'auReasonCode', + required: true }, { - name: 'oldCreditCard', + name: 'profileCount', required: true, - typeInfo: '.CreditCardMaskedType' + typeInfo: 'Long' + }, { + name: 'reasonDescription', + required: true }] }, { - localName: 'CustomerAddressType', - typeName: 'customerAddressType', - baseTypeInfo: '.NameAndAddressType', + localName: 'CustomerProfileBaseType', + typeName: 'customerProfileBaseType', propertyInfos: [{ - name: 'phoneNumber' + name: 'merchantCustomerId' }, { - name: 'faxNumber' + name: 'description' }, { name: 'email' }] }, { - localName: 'UpdateHeldTransactionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', - propertyInfos: [{ - name: 'transactionResponse', - typeInfo: '.TransactionResponse' - }] - }, { - localName: 'MobileDeviceLoginRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest' - }, { - localName: 'ARBGetSubscriptionResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'CustomerPaymentProfileBaseType', + typeName: 'customerPaymentProfileBaseType', propertyInfos: [{ - name: 'subscription', - required: true, - typeInfo: '.ARBSubscriptionMaskedType' + name: 'customerType' + }, { + name: 'billTo', + typeInfo: '.CustomerAddressType' }] }, { - localName: 'MerchantAuthenticationType', - typeName: 'merchantAuthenticationType', + localName: 'DeleteCustomerPaymentProfileRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'name' - }, { - name: 'transactionKey', + name: 'customerProfileId', required: true }, { - name: 'sessionToken' - }, { - name: 'password', + name: 'customerPaymentProfileId', required: true - }, { - name: 'impersonationAuthentication', - typeInfo: '.ImpersonationAuthenticationType' - }, { - name: 'fingerPrint', - typeInfo: '.FingerPrintType' - }, { - name: 'clientKey' - }, { - name: 'accessToken' - }, { - name: 'mobileDeviceId' }] }, { - localName: 'PaymentMaskedType', - typeName: 'paymentMaskedType', + localName: 'ProfileTransPriorAuthCaptureType', + typeName: 'profileTransPriorAuthCaptureType', + baseTypeInfo: '.ProfileTransAmountType', propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardMaskedType' + name: 'customerProfileId' }, { - name: 'bankAccount', - required: true, - typeInfo: '.BankAccountMaskedType' + name: 'customerPaymentProfileId' }, { - name: 'tokenInformation', - required: true, - typeInfo: '.TokenMaskedType' + name: 'customerShippingAddressId' + }, { + name: 'transId', + required: true }] }, { - localName: 'CustomerPaymentProfileListItemType', - typeName: 'customerPaymentProfileListItemType', + localName: 'NameAndAddressType', + typeName: 'nameAndAddressType', propertyInfos: [{ - name: 'defaultPaymentProfile', - typeInfo: 'Boolean' + name: 'firstName' }, { - name: 'customerPaymentProfileId', - required: true, - typeInfo: 'Int' + name: 'lastName' }, { - name: 'customerProfileId', - required: true, - typeInfo: 'Int' + name: 'company' }, { - name: 'billTo', - required: true, - typeInfo: '.CustomerAddressType' + name: 'address' }, { - name: 'payment', - required: true, - typeInfo: '.PaymentMaskedType' + name: 'city' + }, { + name: 'state' + }, { + name: 'zip' }, { + name: 'country' + }] + }, { + localName: 'AuthenticateTestResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'SubsequentAuthInformation', + typeName: 'subsequentAuthInformation', + propertyInfos: [{ name: 'originalNetworkTransId' }, { name: 'originalAuthAmount', typeInfo: 'Decimal' + }, { + name: 'reason' + }] + }, { + localName: 'GetCustomerProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'profile', + typeInfo: '.CustomerProfileMaskedType' + }, { + name: 'subscriptionIds', + typeInfo: '.SubscriptionIdList' }] }, { localName: 'PaymentType', @@ -2864,88 +2666,168 @@ var Schema_Module_Factory = function () { name: 'dataSource' }] }, { - localName: 'ArrayOfAUResponseType', + localName: 'TransactionResponse.Errors.Error', + typeName: null, propertyInfos: [{ - name: 'auResponse', + name: 'errorCode' + }, { + name: 'errorText' + }] + }, { + localName: 'ANetApiResponse', + propertyInfos: [{ + name: 'refId' + }, { + name: 'messages', + required: true, + typeInfo: '.MessagesType' + }, { + name: 'sessionToken' + }] + }, { + localName: 'UpdateHeldTransactionResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', + propertyInfos: [{ + name: 'transactionResponse', + typeInfo: '.TransactionResponse' + }] + }, { + localName: 'SettingType', + typeName: 'settingType', + propertyInfos: [{ + name: 'settingName' + }, { + name: 'settingValue' + }] + }, { + localName: 'SubscriptionIdList', + propertyInfos: [{ + name: 'subscriptionId', + minOccurs: 0, + collection: true + }] + }, { + localName: 'PermissionType', + typeName: 'permissionType', + propertyInfos: [{ + name: 'permissionName' + }] + }, { + localName: 'GetHostedProfilePageRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId', + required: true + }, { + name: 'hostedProfileSettings', + typeInfo: '.ArrayOfSetting' + }] + }, { + localName: 'TransactionResponse.Messages.Message', + typeName: null, + propertyInfos: [{ + name: 'code' + }, { + name: 'description' + }] + }, { + localName: 'ArrayOfProcessorType', + propertyInfos: [{ + name: 'processor', minOccurs: 0, collection: true, - typeInfo: '.AuResponseType' + typeInfo: '.ProcessorType' }] }, { - localName: 'TransactionSummaryType', - typeName: 'transactionSummaryType', + localName: 'UpdateMerchantDetailsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'transId', + name: 'isTestMode', + required: true, + typeInfo: 'Boolean' + }] + }, { + localName: 'UpdateCustomerProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'ReturnedItemType', + typeName: 'returnedItemType', + propertyInfos: [{ + name: 'id', required: true }, { - name: 'submitTimeUTC', + name: 'dateUTC', required: true, typeInfo: 'DateTime' }, { - name: 'submitTimeLocal', + name: 'dateLocal', required: true, typeInfo: 'DateTime' }, { - name: 'transactionStatus', + name: 'code', required: true }, { - name: 'invoiceNumber' - }, { - name: 'firstName' - }, { - name: 'lastName' - }, { - name: 'accountType', + name: 'description', required: true + }] + }, { + localName: 'CustomerAddressType', + typeName: 'customerAddressType', + baseTypeInfo: '.NameAndAddressType', + propertyInfos: [{ + name: 'phoneNumber' }, { - name: 'accountNumber', - required: true + name: 'faxNumber' }, { - name: 'settleAmount', + name: 'email' + }] + }, { + localName: 'GetHostedPaymentPageRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'transactionRequest', required: true, - typeInfo: 'Decimal' - }, { - name: 'marketType' - }, { - name: 'product' - }, { - name: 'mobileDeviceId' - }, { - name: 'subscription', - typeInfo: '.SubscriptionPaymentType' - }, { - name: 'hasReturnedItems', - typeInfo: 'Boolean' - }, { - name: 'fraudInformation', - typeInfo: '.FraudInformationType' + typeInfo: '.TransactionRequestType' }, { - name: 'profile', - typeInfo: '.CustomerProfileIdType' + name: 'hostedPaymentSettings', + typeInfo: '.ArrayOfSetting' }] }, { - localName: 'KeyManagementScheme', + localName: 'GetAUJobDetailsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'dukpt', - required: true, - elementName: 'DUKPT', - typeInfo: '.KeyManagementScheme.DUKPT' + name: 'month', + required: true + }, { + name: 'modifiedTypeFilter' + }, { + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'ArrayOfMarketType', + localName: 'TransactionResponse.PrePaidCard', + typeName: null, propertyInfos: [{ - name: 'marketType', - minOccurs: 0, - collection: true + name: 'requestedAmount' + }, { + name: 'approvedAmount' + }, { + name: 'balanceOnCard' }] }, { - localName: 'AuDeleteType', - typeName: 'auDeleteType', - baseTypeInfo: '.AuDetailsType', + localName: 'CreateCustomerShippingAddressResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'creditCard', - required: true, - typeInfo: '.CreditCardMaskedType' + name: 'customerProfileId' + }, { + name: 'customerAddressId' }] }, { localName: 'TransactionDetailsType', @@ -3102,206 +2984,358 @@ var Schema_Module_Factory = function () { name: 'authorizationIndicator' }] }, { - localName: 'ArrayOfPaymentMethod', + localName: 'DriversLicenseType', + typeName: 'driversLicenseType', propertyInfos: [{ - name: 'paymentMethod', - minOccurs: 0, - collection: true + name: 'number', + required: true + }, { + name: 'state', + required: true + }, { + name: 'dateOfBirth', + required: true }] }, { - localName: 'UpdateMerchantDetailsResponse', + localName: 'ValidateCustomerPaymentProfileRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse' + baseTypeInfo: '.ANetApiRequest', + propertyInfos: [{ + name: 'customerProfileId', + required: true + }, { + name: 'customerPaymentProfileId', + required: true + }, { + name: 'customerShippingAddressId' + }, { + name: 'cardCode' + }, { + name: 'validationMode', + required: true + }] }, { - localName: 'PaymentEmvType', - typeName: 'paymentEmvType', + localName: 'GetUnsettledTransactionListResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'emvData', - required: true, - typeInfo: 'AnyType' + name: 'transactions', + typeInfo: '.ArrayOfTransactionSummaryType' }, { - name: 'emvDescriptor', - required: true, - typeInfo: 'AnyType' + name: 'totalNumInResultSet', + typeInfo: 'Int' + }] + }, { + localName: 'WebCheckOutDataType', + typeName: 'webCheckOutDataType', + propertyInfos: [{ + name: 'type', + required: true }, { - name: 'emvVersion', - required: true, - typeInfo: 'AnyType' + name: 'id', + required: true + }, { + name: 'token', + typeInfo: '.WebCheckOutDataTypeToken' + }, { + name: 'bankToken', + typeInfo: '.BankAccountType' }] }, { - localName: 'ArrayOfContactDetail', + localName: 'OrderExType', + typeName: 'orderExType', + baseTypeInfo: '.OrderType', propertyInfos: [{ - name: 'contactDetail', - minOccurs: 0, - collection: true, - typeInfo: '.ContactDetailType' + name: 'purchaseOrderNumber' }] }, { - localName: 'ArrayOfFraudFilterType', + localName: 'CreditCardType', + typeName: 'creditCardType', + baseTypeInfo: '.CreditCardSimpleType', propertyInfos: [{ - name: 'fraudFilter', - required: true, - maxOccurs: 1000, - collection: true + name: 'cardCode' + }, { + name: 'isPaymentToken', + typeInfo: 'Boolean' + }, { + name: 'cryptogram' + }, { + name: 'tokenRequestorName' + }, { + name: 'tokenRequestorId' + }, { + name: 'tokenRequestorEci' }] }, { - localName: 'UpdateCustomerShippingAddressRequest', + localName: 'TransactionResponse.UserFields', typeName: null, - baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', - required: true + name: 'userField', + minOccurs: 0, + maxOccurs: 20, + collection: true, + typeInfo: '.UserField' + }] + }, { + localName: 'UpdateCustomerShippingAddressResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'UpdateMerchantDetailsResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'ARBSubscriptionMaskedType', + propertyInfos: [{ + name: 'name' }, { - name: 'address', - required: true, - typeInfo: '.CustomerAddressExType' + name: 'paymentSchedule', + typeInfo: '.PaymentScheduleType' }, { - name: 'defaultShippingAddress', - typeInfo: 'Boolean' + name: 'amount', + typeInfo: 'Decimal' + }, { + name: 'trialAmount', + typeInfo: 'Decimal' + }, { + name: 'status' + }, { + name: 'profile', + typeInfo: '.SubscriptionCustomerProfileType' + }, { + name: 'order', + typeInfo: '.OrderType' + }, { + name: 'arbTransactions', + typeInfo: '.ARBTransactionList' }] }, { - localName: 'DriversLicenseType', - typeName: 'driversLicenseType', + localName: 'BankAccountType', + typeName: 'bankAccountType', propertyInfos: [{ - name: 'number', + name: 'accountType' + }, { + name: 'routingNumber', required: true }, { - name: 'state', + name: 'accountNumber', required: true }, { - name: 'dateOfBirth', + name: 'nameOnAccount', required: true + }, { + name: 'echeckType' + }, { + name: 'bankName' + }, { + name: 'checkNumber' }] }, { - localName: 'ValidateCustomerPaymentProfileResponse', + localName: 'GetSettledBatchListRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'directResponse' + name: 'includeStatistics', + typeInfo: 'Boolean' + }, { + name: 'firstSettlementDate', + typeInfo: 'DateTime' + }, { + name: 'lastSettlementDate', + typeInfo: 'DateTime' }] }, { - localName: 'ArrayOfTransactionSummaryType', + localName: 'ProfileTransactionType', + typeName: 'profileTransactionType', propertyInfos: [{ - name: 'transaction', + name: 'profileTransAuthCapture', + required: true, + typeInfo: '.ProfileTransAuthCaptureType' + }, { + name: 'profileTransAuthOnly', + required: true, + typeInfo: '.ProfileTransAuthOnlyType' + }, { + name: 'profileTransPriorAuthCapture', + required: true, + typeInfo: '.ProfileTransPriorAuthCaptureType' + }, { + name: 'profileTransCaptureOnly', + required: true, + typeInfo: '.ProfileTransCaptureOnlyType' + }, { + name: 'profileTransRefund', + required: true, + typeInfo: '.ProfileTransRefundType' + }, { + name: 'profileTransVoid', + required: true, + typeInfo: '.ProfileTransVoidType' + }] + }, { + localName: 'ArrayOfAUResponseType', + propertyInfos: [{ + name: 'auResponse', minOccurs: 0, collection: true, - typeInfo: '.TransactionSummaryType' + typeInfo: '.AuResponseType' }] }, { - localName: 'DecryptPaymentDataResponse', + localName: 'CreateCustomerProfileFromTransactionRequest', typeName: null, - baseTypeInfo: '.ANetApiResponse', + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'shippingInfo', - typeInfo: '.CustomerAddressType' + name: 'transId', + required: true + }, { + name: 'customer', + typeInfo: '.CustomerProfileBaseType' + }, { + name: 'customerProfileId' + }, { + name: 'defaultPaymentProfile', + typeInfo: 'Boolean' + }, { + name: 'defaultShippingAddress', + typeInfo: 'Boolean' + }, { + name: 'profileType' + }] + }, { + localName: 'BatchDetailsType', + typeName: 'batchDetailsType', + propertyInfos: [{ + name: 'batchId', + required: true }, { - name: 'billingInfo', - typeInfo: '.CustomerAddressType' + name: 'settlementTimeUTC', + typeInfo: 'DateTime' }, { - name: 'cardInfo', - typeInfo: '.CreditCardMaskedType' + name: 'settlementTimeLocal', + typeInfo: 'DateTime' }, { - name: 'paymentDetails', - typeInfo: '.PaymentDetails' + name: 'settlementState', + required: true + }, { + name: 'paymentMethod' + }, { + name: 'marketType' + }, { + name: 'product' + }, { + name: 'statistics', + typeInfo: '.ArrayOfBatchStatisticType' }] }, { - localName: 'SubscriptionIdList', + localName: 'FDSFilterType', propertyInfos: [{ - name: 'subscriptionId', - minOccurs: 0, - collection: true + name: 'name', + required: true + }, { + name: 'action', + required: true }] }, { - localName: 'ArrayOfString', + localName: 'ArrayOfNumericString', propertyInfos: [{ - name: 'string', + name: 'numericString', minOccurs: 0, collection: true }] }, { - localName: 'Paging', + localName: 'GetTransactionListRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'limit', - required: true, - typeInfo: 'Int' + name: 'batchId' }, { - name: 'offset', - required: true, - typeInfo: 'Int' + name: 'sorting', + typeInfo: '.TransactionListSorting' + }, { + name: 'paging', + typeInfo: '.Paging' }] }, { - localName: 'MobileDeviceType', - typeName: 'mobileDeviceType', + localName: 'MobileDeviceRegistrationResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse' + }, { + localName: 'OtherTaxType', + typeName: 'otherTaxType', propertyInfos: [{ - name: 'mobileDeviceId', - required: true + name: 'nationalTaxAmount', + typeInfo: 'Decimal' }, { - name: 'description' + name: 'localTaxAmount', + typeInfo: 'Decimal' }, { - name: 'phoneNumber' + name: 'alternateTaxAmount', + typeInfo: 'Decimal' }, { - name: 'devicePlatform' + name: 'alternateTaxId' }, { - name: 'deviceActivation' - }] - }, { - localName: 'ArrayOfCustomerPaymentProfileListItemType', - typeName: 'arrayOfCustomerPaymentProfileListItemType', - propertyInfos: [{ - name: 'paymentProfile', - minOccurs: 0, - collection: true, - typeInfo: '.CustomerPaymentProfileListItemType' + name: 'vatTaxRate', + typeInfo: 'Decimal' + }, { + name: 'vatTaxAmount', + typeInfo: 'Decimal' }] }, { - localName: 'ARBSubscriptionMaskedType', + localName: 'EnumCollection', + typeName: null, propertyInfos: [{ - name: 'name' + name: 'customerProfileSummaryType', + required: true, + typeInfo: '.CustomerProfileSummaryType' }, { - name: 'paymentSchedule', - typeInfo: '.PaymentScheduleType' + name: 'paymentSimpleType', + required: true, + typeInfo: '.PaymentSimpleType' }, { - name: 'amount', - typeInfo: 'Decimal' + name: 'accountTypeEnum', + required: true }, { - name: 'trialAmount', - typeInfo: 'Decimal' + name: 'cardTypeEnum', + required: true }, { - name: 'status' + name: 'fdsFilterActionEnum', + required: true, + elementName: 'FDSFilterActionEnum' }, { - name: 'profile', - typeInfo: '.SubscriptionCustomerProfileType' + name: 'permissionsEnum', + required: true }, { - name: 'order', - typeInfo: '.OrderType' + name: 'settingNameEnum', + required: true }, { - name: 'arbTransactions', - typeInfo: '.ARBTransactionList' - }] - }, { - localName: 'ArrayOfLong', - propertyInfos: [{ - name: '_long', - minOccurs: 0, - collection: true, - elementName: 'long', - typeInfo: 'Long' + name: 'settlementStateEnum', + required: true + }, { + name: 'transactionStatusEnum', + required: true + }, { + name: 'transactionTypeEnum', + required: true }] }, { - localName: 'DeleteCustomerProfileRequest', - typeName: null, - baseTypeInfo: '.ANetApiRequest', + localName: 'DriversLicenseMaskedType', + typeName: 'driversLicenseMaskedType', propertyInfos: [{ - name: 'customerProfileId', + name: 'number', + required: true + }, { + name: 'state', + required: true + }, { + name: 'dateOfBirth', required: true }] }, { - localName: 'ArrayOfReturnedItem', + localName: 'UpdateCustomerPaymentProfileResponse', + typeName: null, + baseTypeInfo: '.ANetApiResponse', propertyInfos: [{ - name: 'returnedItem', - minOccurs: 0, - collection: true, - typeInfo: '.ReturnedItemType' + name: 'validationDirectResponse' }] }, { localName: 'CreditCardSimpleType', @@ -3314,530 +3348,505 @@ var Schema_Module_Factory = function () { required: true }] }, { - localName: 'GetCustomerProfileResponse', - typeName: null, - baseTypeInfo: '.ANetApiResponse', + localName: 'ArrayOfFDSFilter', propertyInfos: [{ - name: 'profile', - typeInfo: '.CustomerProfileMaskedType' - }, { - name: 'subscriptionIds', - typeInfo: '.SubscriptionIdList' + name: 'fdsFilter', + minOccurs: 0, + collection: true, + elementName: 'FDSFilter', + typeInfo: '.FDSFilterType' }] }, { - localName: 'PayPalType', - typeName: 'payPalType', + localName: 'ArrayOfBatchStatisticType', propertyInfos: [{ - name: 'successUrl' - }, { - name: 'cancelUrl' - }, { - name: 'paypalLc' - }, { - name: 'paypalHdrImg' - }, { - name: 'paypalPayflowcolor' - }, { - name: 'payerID' + name: 'statistic', + minOccurs: 0, + collection: true, + typeInfo: '.BatchStatisticType' }] }, { - localName: 'KeyBlock', + localName: 'GetTransactionDetailsRequest', + typeName: null, + baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'value', - required: true, - elementName: 'Value', - typeInfo: '.KeyValue' + name: 'transId', + required: true }] }, { - localName: 'SubMerchantType', - typeName: 'subMerchantType', + localName: 'ProcessorType', + typeName: 'processorType', propertyInfos: [{ - name: 'identifier', + name: 'name', required: true }, { - name: 'doingBusinessAs' - }, { - name: 'paymentServiceProviderName' - }, { - name: 'paymentServiceFacilitator' - }, { - name: 'streetAddress' - }, { - name: 'phone' - }, { - name: 'email' - }, { - name: 'postalCode' - }, { - name: 'city' - }, { - name: 'regionCode' + name: 'id', + required: true, + typeInfo: 'Int' }, { - name: 'countryCode' + name: 'cardTypes', + typeInfo: '.ArrayOfCardType' }] }, { - localName: 'DeleteCustomerShippingAddressRequest', + localName: 'ArrayOfString', + propertyInfos: [{ + name: 'string', + minOccurs: 0, + collection: true + }] + }, { + localName: 'MobileDeviceRegistrationRequest', typeName: null, baseTypeInfo: '.ANetApiRequest', propertyInfos: [{ - name: 'customerProfileId', - required: true - }, { - name: 'customerAddressId', - required: true + name: 'mobileDevice', + required: true, + typeInfo: '.MobileDeviceType' }] }, { - localName: 'AuResponseType', - typeName: 'auResponseType', + localName: 'KeyValue', propertyInfos: [{ - name: 'auReasonCode', - required: true + name: 'encoding', + required: true, + elementName: 'Encoding' }, { - name: 'profileCount', + name: 'encryptionAlgorithm', required: true, - typeInfo: 'Long' + elementName: 'EncryptionAlgorithm' }, { - name: 'reasonDescription', - required: true + name: 'scheme', + required: true, + elementName: 'Scheme', + typeInfo: '.KeyManagementScheme' }] }, { - localName: 'TransactionResponse.Messages.Message', + localName: 'KeyManagementScheme.DUKPT.Mode', typeName: null, propertyInfos: [{ - name: 'code' - }, { - name: 'description' - }] - }, { - localName: 'FraudInformationType', - typeName: 'fraudInformationType', - propertyInfos: [{ - name: 'fraudFilterList', - required: true, - typeInfo: '.ArrayOfFraudFilterType' + name: 'pin', + elementName: 'PIN' }, { - name: 'fraudAction', - required: true + name: 'data', + elementName: 'Data' }] }, { type: 'enumInfo', - localName: 'ValidationModeEnum', - values: ['none', 'testMode', 'liveMode', 'oldLiveMode'] + localName: 'FDSFilterActionEnum', + values: ['reject', 'decline', 'hold', 'authAndHold', 'report'] }, { type: 'enumInfo', - localName: 'SplitTenderStatusEnum', - values: ['completed', 'held', 'voided'] + localName: 'MessageTypeEnum', + values: ['Ok', 'Error'] }, { type: 'enumInfo', - localName: 'CustomerPaymentProfileSearchTypeEnum', - values: ['cardsExpiringInMonth'] + localName: 'PermissionsEnum', + values: ['API_Merchant_BasicReporting', 'Submit_Charge', 'Submit_Refund', 'Submit_Update', 'Mobile_Admin'] }, { type: 'enumInfo', localName: 'CustomerTypeEnum', values: ['individual', 'business'] - }, { - type: 'enumInfo', - localName: 'TransactionListOrderFieldEnum', - values: ['id', 'submitTimeUTC'] - }, { - type: 'enumInfo', - localName: 'MessageTypeEnum', - values: ['Ok', 'Error'] - }, { - type: 'enumInfo', - localName: 'WebCheckOutTypeEnum', - values: ['PAN', 'TOKEN'] }, { type: 'enumInfo', localName: 'ARBSubscriptionStatusEnum', values: ['active', 'expired', 'suspended', 'canceled', 'terminated'] }, { type: 'enumInfo', - localName: 'CustomerPaymentProfileOrderFieldEnum', - values: ['id'] + localName: 'BankAccountTypeEnum', + values: ['checking', 'savings', 'businessChecking'] }, { type: 'enumInfo', - localName: 'TransactionStatusEnum', - values: ['authorizedPendingCapture', 'capturedPendingSettlement', 'communicationError', 'refundSettledSuccessfully', 'refundPendingSettlement', 'approvedReview', 'declined', 'couldNotVoid', 'expired', 'generalError', 'pendingFinalSettlement', 'pendingSettlement', 'failedReview', 'settledSuccessfully', 'settlementError', 'underReview', 'updatingSettlement', 'voided', 'FDSPendingReview', 'FDSAuthorizedPendingReview', 'returnedItem', 'chargeback', 'chargebackReversal', 'authorizedPendingRelease'] + localName: 'ValidationModeEnum', + values: ['none', 'testMode', 'liveMode', 'oldLiveMode'] }, { type: 'enumInfo', - localName: 'EcheckTypeEnum', - values: ['PPD', 'WEB', 'CCD', 'TEL', 'ARC', 'BOC'] + localName: 'CustomerPaymentProfileSearchTypeEnum', + values: ['cardsExpiringInMonth'] }, { type: 'enumInfo', - localName: 'AfdsTransactionEnum', - values: ['approve', 'decline'] + localName: 'PaymentMethodsTypeEnum', + values: ['Visa', 'MasterCard', 'Discover', 'AmericanExpress', 'DinersClub', 'JCB', 'EnRoute', 'Echeck', 'Paypal', 'VisaCheckout', 'ApplePay', 'AndroidPay', 'GooglePay'] }, { type: 'enumInfo', - localName: 'CardTypeEnum', - values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub'] + localName: 'AccountTypeEnum', + values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub', 'eCheck'] }, { type: 'enumInfo', - localName: 'BankAccountTypeEnum', - values: ['checking', 'savings', 'businessChecking'] + localName: 'PaymentMethodEnum', + values: ['creditCard', 'eCheck', 'payPal'] + }, { + type: 'enumInfo', + localName: 'SplitTenderStatusEnum', + values: ['completed', 'held', 'voided'] }, { type: 'enumInfo', localName: 'DeviceActivationEnum', values: ['Activate', 'Disable'] }, { type: 'enumInfo', - localName: 'SettingNameEnum', - values: ['emailCustomer', 'merchantEmail', 'allowPartialAuth', 'headerEmailReceipt', 'footerEmailReceipt', 'recurringBilling', 'duplicateWindow', 'testRequest', 'hostedProfileReturnUrl', 'hostedProfileReturnUrlText', 'hostedProfilePageBorderVisible', 'hostedProfileIFrameCommunicatorUrl', 'hostedProfileHeadingBgColor', 'hostedProfileValidationMode', 'hostedProfileBillingAddressRequired', 'hostedProfileCardCodeRequired', 'hostedProfileBillingAddressOptions', 'hostedProfileManageOptions', 'hostedPaymentIFrameCommunicatorUrl', 'hostedPaymentButtonOptions', 'hostedPaymentReturnOptions', 'hostedPaymentOrderOptions', 'hostedPaymentPaymentOptions', 'hostedPaymentBillingAddressOptions', 'hostedPaymentShippingAddressOptions', 'hostedPaymentSecurityOptions', 'hostedPaymentCustomerOptions', 'hostedPaymentStyleOptions', 'typeEmailReceipt', 'hostedProfilePaymentOptions', 'hostedProfileSaveButtonText', 'hostedPaymentVisaCheckoutOptions'] + localName: 'ARBGetSubscriptionListOrderFieldEnum', + values: ['id', 'name', 'status', 'createTimeStampUTC', 'lastName', 'firstName', 'accountNumber', 'amount', 'pastOccurrences'] }, { type: 'enumInfo', - localName: 'CustomerProfileTypeEnum', - values: ['regular', 'guest'] + localName: 'EcheckTypeEnum', + values: ['PPD', 'WEB', 'CCD', 'TEL', 'ARC', 'BOC'] }, { type: 'enumInfo', - localName: 'MerchantInitTransReasonEnum', - values: ['resubmission', 'delayedCharge', 'reauthorization', 'noShow'] + localName: 'WebCheckOutTypeEnum', + values: ['PAN', 'TOKEN'] }, { type: 'enumInfo', - localName: 'AccountTypeEnum', - values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub', 'eCheck'] + localName: 'AfdsTransactionEnum', + values: ['approve', 'decline'] }, { type: 'enumInfo', - localName: 'PaymentMethodsTypeEnum', - values: ['Visa', 'MasterCard', 'Discover', 'AmericanExpress', 'DinersClub', 'JCB', 'EnRoute', 'Echeck', 'Paypal', 'VisaCheckout', 'ApplePay', 'AndroidPay', 'GooglePay'] + localName: 'AuthIndicatorEnum', + values: ['pre', 'final'] }, { type: 'enumInfo', - localName: 'TransactionGroupStatusEnum', - values: ['any', 'pendingApproval'] + localName: 'ARBGetSubscriptionListSearchTypeEnum', + values: ['cardExpiringThisMonth', 'subscriptionActive', 'subscriptionExpiringThisMonth', 'subscriptionInactive'] }, { type: 'enumInfo', - localName: 'FDSFilterActionEnum', - values: ['reject', 'decline', 'hold', 'authAndHold', 'report'] + localName: 'MerchantInitTransReasonEnum', + values: ['resubmission', 'delayedCharge', 'reauthorization', 'noShow'] }, { type: 'enumInfo', - localName: 'SettlementStateEnum', - values: ['settledSuccessfully', 'settlementError', 'pendingSettlement'] + localName: 'TransactionListOrderFieldEnum', + values: ['id', 'submitTimeUTC'] }, { type: 'enumInfo', - localName: 'ARBSubscriptionUnitEnum', - values: ['days', 'months'] + localName: 'CustomerPaymentProfileOrderFieldEnum', + values: ['id'] }, { type: 'enumInfo', - localName: 'ARBGetSubscriptionListSearchTypeEnum', - values: ['cardExpiringThisMonth', 'subscriptionActive', 'subscriptionExpiringThisMonth', 'subscriptionInactive'] + localName: 'CustomerProfileTypeEnum', + values: ['regular', 'guest'] }, { type: 'enumInfo', localName: 'EncodingType', values: ['Base64', 'Hex'] }, { type: 'enumInfo', - localName: 'PaymentMethodEnum', - values: ['creditCard', 'eCheck', 'payPal'] - }, { - type: 'enumInfo', - localName: 'TransactionTypeEnum', - values: ['authOnlyTransaction', 'authCaptureTransaction', 'captureOnlyTransaction', 'refundTransaction', 'priorAuthCaptureTransaction', 'voidTransaction', 'getDetailsTransaction', 'authOnlyContinueTransaction', 'authCaptureContinueTransaction'] + localName: 'EncryptionAlgorithmType', + values: ['TDES', 'AES', 'RSA'] }, { type: 'enumInfo', - localName: 'ARBGetSubscriptionListOrderFieldEnum', - values: ['id', 'name', 'status', 'createTimeStampUTC', 'lastName', 'firstName', 'accountNumber', 'amount', 'pastOccurrences'] + localName: 'SettlementStateEnum', + values: ['settledSuccessfully', 'settlementError', 'pendingSettlement'] }, { type: 'enumInfo', - localName: 'EncryptionAlgorithmType', - values: ['TDES', 'AES', 'RSA'] + localName: 'SettingNameEnum', + values: ['emailCustomer', 'merchantEmail', 'allowPartialAuth', 'headerEmailReceipt', 'footerEmailReceipt', 'recurringBilling', 'duplicateWindow', 'testRequest', 'hostedProfileReturnUrl', 'hostedProfileReturnUrlText', 'hostedProfilePageBorderVisible', 'hostedProfileIFrameCommunicatorUrl', 'hostedProfileHeadingBgColor', 'hostedProfileValidationMode', 'hostedProfileBillingAddressRequired', 'hostedProfileCardCodeRequired', 'hostedProfileBillingAddressOptions', 'hostedProfileManageOptions', 'hostedPaymentIFrameCommunicatorUrl', 'hostedPaymentButtonOptions', 'hostedPaymentReturnOptions', 'hostedPaymentOrderOptions', 'hostedPaymentPaymentOptions', 'hostedPaymentBillingAddressOptions', 'hostedPaymentShippingAddressOptions', 'hostedPaymentSecurityOptions', 'hostedPaymentCustomerOptions', 'hostedPaymentStyleOptions', 'typeEmailReceipt', 'hostedProfilePaymentOptions', 'hostedProfileSaveButtonText', 'hostedPaymentVisaCheckoutOptions'] }, { type: 'enumInfo', - localName: 'PermissionsEnum', - values: ['API_Merchant_BasicReporting', 'Submit_Charge', 'Submit_Refund', 'Submit_Update', 'Mobile_Admin'] + localName: 'TransactionStatusEnum', + values: ['authorizedPendingCapture', 'capturedPendingSettlement', 'communicationError', 'refundSettledSuccessfully', 'refundPendingSettlement', 'approvedReview', 'declined', 'couldNotVoid', 'expired', 'generalError', 'pendingFinalSettlement', 'pendingSettlement', 'failedReview', 'settledSuccessfully', 'settlementError', 'underReview', 'updatingSettlement', 'voided', 'FDSPendingReview', 'FDSAuthorizedPendingReview', 'returnedItem', 'chargeback', 'chargebackReversal', 'authorizedPendingRelease'] }, { type: 'enumInfo', localName: 'AUJobTypeEnum', values: ['all', 'updates', 'deletes'] }, { type: 'enumInfo', - localName: 'AuthIndicatorEnum', - values: ['pre', 'final'] + localName: 'TransactionTypeEnum', + values: ['authOnlyTransaction', 'authCaptureTransaction', 'captureOnlyTransaction', 'refundTransaction', 'priorAuthCaptureTransaction', 'voidTransaction', 'getDetailsTransaction', 'authOnlyContinueTransaction', 'authCaptureContinueTransaction'] }, { type: 'enumInfo', localName: 'OperationType', values: ['DECRYPT'] - }], - elementInfos: [{ - elementName: 'deleteCustomerProfileRequest', - typeInfo: '.DeleteCustomerProfileRequest' }, { - elementName: 'createCustomerShippingAddressResponse', - typeInfo: '.CreateCustomerShippingAddressResponse' + type: 'enumInfo', + localName: 'CardTypeEnum', + values: ['Visa', 'MasterCard', 'AmericanExpress', 'Discover', 'JCB', 'DinersClub'] }, { - elementName: 'createTransactionRequest', - typeInfo: '.CreateTransactionRequest' + type: 'enumInfo', + localName: 'TransactionGroupStatusEnum', + values: ['any', 'pendingApproval'] }, { - elementName: 'getCustomerProfileIdsRequest', - typeInfo: '.GetCustomerProfileIdsRequest' + type: 'enumInfo', + localName: 'ARBSubscriptionUnitEnum', + values: ['days', 'months'] + }], + elementInfos: [{ + elementName: 'ARBCancelSubscriptionRequest', + typeInfo: '.ARBCancelSubscriptionRequest' }, { - elementName: 'ARBGetSubscriptionListResponse', - typeInfo: '.ARBGetSubscriptionListResponse' + elementName: 'ARBGetSubscriptionRequest', + typeInfo: '.ARBGetSubscriptionRequest' }, { elementName: 'updateSplitTenderGroupResponse', typeInfo: '.UpdateSplitTenderGroupResponse' }, { - elementName: 'deleteCustomerProfileResponse', - typeInfo: '.DeleteCustomerProfileResponse' - }, { - elementName: 'getHostedProfilePageResponse', - typeInfo: '.GetHostedProfilePageResponse' - }, { - elementName: 'ARBGetSubscriptionResponse', - typeInfo: '.ARBGetSubscriptionResponse' - }, { - elementName: 'decryptPaymentDataRequest', - typeInfo: '.DecryptPaymentDataRequest' + elementName: 'getSettledBatchListRequest', + typeInfo: '.GetSettledBatchListRequest' }, { - elementName: 'getBatchStatisticsRequest', - typeInfo: '.GetBatchStatisticsRequest' + elementName: 'getSettledBatchListResponse', + typeInfo: '.GetSettledBatchListResponse' }, { - elementName: 'createCustomerProfileRequest', - typeInfo: '.CreateCustomerProfileRequest' + elementName: 'createCustomerPaymentProfileRequest', + typeInfo: '.CreateCustomerPaymentProfileRequest' }, { - elementName: 'deleteCustomerPaymentProfileResponse', - typeInfo: '.DeleteCustomerPaymentProfileResponse' + elementName: 'getMerchantDetailsResponse', + typeInfo: '.GetMerchantDetailsResponse' }, { - elementName: 'ARBGetSubscriptionRequest', - typeInfo: '.ARBGetSubscriptionRequest' + elementName: 'updateSplitTenderGroupRequest', + typeInfo: '.UpdateSplitTenderGroupRequest' }, { - elementName: 'updateCustomerShippingAddressResponse', - typeInfo: '.UpdateCustomerShippingAddressResponse' + elementName: 'decryptPaymentDataRequest', + typeInfo: '.DecryptPaymentDataRequest' }, { - elementName: 'mobileDeviceLoginResponse', - typeInfo: '.MobileDeviceLoginResponse' + elementName: 'createCustomerProfileResponse', + typeInfo: '.CreateCustomerProfileResponse' }, { - elementName: 'getCustomerProfileResponse', - typeInfo: '.GetCustomerProfileResponse' + elementName: 'getCustomerProfileIdsRequest', + typeInfo: '.GetCustomerProfileIdsRequest' }, { - elementName: 'updateHeldTransactionRequest', - typeInfo: '.UpdateHeldTransactionRequest' + elementName: 'updateCustomerProfileResponse', + typeInfo: '.UpdateCustomerProfileResponse' }, { - elementName: 'mobileDeviceRegistrationResponse', - typeInfo: '.MobileDeviceRegistrationResponse' + elementName: 'getAUJobSummaryRequest', + typeInfo: '.GetAUJobSummaryRequest' }, { - elementName: 'createCustomerProfileResponse', - typeInfo: '.CreateCustomerProfileResponse' + elementName: 'isAliveResponse', + typeInfo: '.IsAliveResponse' }, { - elementName: 'getCustomerPaymentProfileListResponse', - typeInfo: '.GetCustomerPaymentProfileListResponse' + elementName: 'mobileDeviceRegistrationRequest', + typeInfo: '.MobileDeviceRegistrationRequest' }, { - elementName: 'getAUJobDetailsResponse', - typeInfo: '.GetAUJobDetailsResponse' + elementName: 'logoutResponse', + typeInfo: '.LogoutResponse' }, { - elementName: 'createTransactionResponse', - typeInfo: '.CreateTransactionResponse' + elementName: 'EnumCollection', + typeInfo: '.EnumCollection' }, { elementName: 'getTransactionListRequest', typeInfo: '.GetTransactionListRequest' }, { - elementName: 'logoutRequest', - typeInfo: '.LogoutRequest' - }, { - elementName: 'createCustomerProfileFromTransactionRequest', - typeInfo: '.CreateCustomerProfileFromTransactionRequest' - }, { - elementName: 'ARBCreateSubscriptionResponse', - typeInfo: '.ARBCreateSubscriptionResponse' - }, { - elementName: 'getSettledBatchListResponse', - typeInfo: '.GetSettledBatchListResponse' + elementName: 'mobileDeviceLoginResponse', + typeInfo: '.MobileDeviceLoginResponse' }, { - elementName: 'getHostedPaymentPageRequest', - typeInfo: '.GetHostedPaymentPageRequest' + elementName: 'getUnsettledTransactionListResponse', + typeInfo: '.GetUnsettledTransactionListResponse' }, { - elementName: 'mobileDeviceRegistrationRequest', - typeInfo: '.MobileDeviceRegistrationRequest' + elementName: 'updateCustomerPaymentProfileResponse', + typeInfo: '.UpdateCustomerPaymentProfileResponse' }, { - elementName: 'getAUJobSummaryRequest', - typeInfo: '.GetAUJobSummaryRequest' + elementName: 'ARBGetSubscriptionListRequest', + typeInfo: '.ARBGetSubscriptionListRequest' }, { - elementName: 'ARBUpdateSubscriptionRequest', - typeInfo: '.ARBUpdateSubscriptionRequest' + elementName: 'getCustomerPaymentProfileRequest', + typeInfo: '.GetCustomerPaymentProfileRequest' }, { - elementName: 'updateCustomerProfileResponse', - typeInfo: '.UpdateCustomerProfileResponse' + elementName: 'getBatchStatisticsResponse', + typeInfo: '.GetBatchStatisticsResponse' }, { - elementName: 'sendCustomerTransactionReceiptRequest', - typeInfo: '.SendCustomerTransactionReceiptRequest' + elementName: 'createCustomerShippingAddressRequest', + typeInfo: '.CreateCustomerShippingAddressRequest' }, { - elementName: 'mobileDeviceLoginRequest', - typeInfo: '.MobileDeviceLoginRequest' + elementName: 'getCustomerPaymentProfileResponse', + typeInfo: '.GetCustomerPaymentProfileResponse' }, { - elementName: 'ARBGetSubscriptionStatusResponse', - typeInfo: '.ARBGetSubscriptionStatusResponse' + elementName: 'getHostedProfilePageResponse', + typeInfo: '.GetHostedProfilePageResponse' }, { - elementName: 'validateCustomerPaymentProfileRequest', - typeInfo: '.ValidateCustomerPaymentProfileRequest' + elementName: 'createCustomerPaymentProfileResponse', + typeInfo: '.CreateCustomerPaymentProfileResponse' }, { - elementName: 'ARBUpdateSubscriptionResponse', - typeInfo: '.ARBUpdateSubscriptionResponse' + elementName: 'getCustomerProfileResponse', + typeInfo: '.GetCustomerProfileResponse' }, { elementName: 'createCustomerProfileTransactionRequest', typeInfo: '.CreateCustomerProfileTransactionRequest' }, { - elementName: 'getCustomerShippingAddressResponse', - typeInfo: '.GetCustomerShippingAddressResponse' - }, { - elementName: 'getCustomerProfileIdsResponse', - typeInfo: '.GetCustomerProfileIdsResponse' + elementName: 'getTransactionDetailsResponse', + typeInfo: '.GetTransactionDetailsResponse' }, { elementName: 'deleteCustomerPaymentProfileRequest', typeInfo: '.DeleteCustomerPaymentProfileRequest' }, { - elementName: 'getCustomerPaymentProfileNonceResponse', - typeInfo: '.GetCustomerPaymentProfileNonceResponse' + elementName: 'getHostedPaymentPageRequest', + typeInfo: '.GetHostedPaymentPageRequest' }, { - elementName: 'createCustomerPaymentProfileRequest', - typeInfo: '.CreateCustomerPaymentProfileRequest' + elementName: 'validateCustomerPaymentProfileRequest', + typeInfo: '.ValidateCustomerPaymentProfileRequest' }, { - elementName: 'getCustomerPaymentProfileResponse', - typeInfo: '.GetCustomerPaymentProfileResponse' + elementName: 'getCustomerPaymentProfileNonceRequest', + typeInfo: '.GetCustomerPaymentProfileNonceRequest' }, { - elementName: 'getSettledBatchListRequest', - typeInfo: '.GetSettledBatchListRequest' + elementName: 'logoutRequest', + typeInfo: '.LogoutRequest' }, { - elementName: 'getAUJobDetailsRequest', - typeInfo: '.GetAUJobDetailsRequest' + elementName: 'deleteCustomerShippingAddressResponse', + typeInfo: '.DeleteCustomerShippingAddressResponse' }, { - elementName: 'ARBCancelSubscriptionRequest', - typeInfo: '.ARBCancelSubscriptionRequest' + elementName: 'getCustomerPaymentProfileListRequest', + typeInfo: '.GetCustomerPaymentProfileListRequest' }, { - elementName: 'updateMerchantDetailsRequest', - typeInfo: '.UpdateMerchantDetailsRequest' + elementName: 'ARBGetSubscriptionStatusResponse', + typeInfo: '.ARBGetSubscriptionStatusResponse' + }, { + elementName: 'sendCustomerTransactionReceiptRequest', + typeInfo: '.SendCustomerTransactionReceiptRequest' + }, { + elementName: 'getCustomerShippingAddressRequest', + typeInfo: '.GetCustomerShippingAddressRequest' + }, { + elementName: 'ARBCreateSubscriptionRequest', + typeInfo: '.ARBCreateSubscriptionRequest' }, { elementName: 'securePaymentContainerRequest', typeInfo: '.SecurePaymentContainerRequest' }, { - elementName: 'getTransactionListForCustomerRequest', - typeInfo: '.GetTransactionListForCustomerRequest' - }, { - elementName: 'updateCustomerPaymentProfileResponse', - typeInfo: '.UpdateCustomerPaymentProfileResponse' + elementName: 'ARBCreateSubscriptionResponse', + typeInfo: '.ARBCreateSubscriptionResponse' }, { - elementName: 'isAliveRequest', - typeInfo: '.IsAliveRequest' + elementName: 'mobileDeviceRegistrationResponse', + typeInfo: '.MobileDeviceRegistrationResponse' }, { - elementName: 'ARBCancelSubscriptionResponse', - typeInfo: '.ARBCancelSubscriptionResponse' + elementName: 'getCustomerProfileRequest', + typeInfo: '.GetCustomerProfileRequest' }, { - elementName: 'getTransactionDetailsRequest', - typeInfo: '.GetTransactionDetailsRequest' + elementName: 'getCustomerShippingAddressResponse', + typeInfo: '.GetCustomerShippingAddressResponse' }, { - elementName: 'getUnsettledTransactionListRequest', - typeInfo: '.GetUnsettledTransactionListRequest' + elementName: 'updateCustomerShippingAddressRequest', + typeInfo: '.UpdateCustomerShippingAddressRequest' }, { - elementName: 'createCustomerShippingAddressRequest', - typeInfo: '.CreateCustomerShippingAddressRequest' + elementName: 'getTransactionListResponse', + typeInfo: '.GetTransactionListResponse' }, { - elementName: 'deleteCustomerShippingAddressResponse', - typeInfo: '.DeleteCustomerShippingAddressResponse' + elementName: 'deleteCustomerPaymentProfileResponse', + typeInfo: '.DeleteCustomerPaymentProfileResponse' }, { - elementName: 'getMerchantDetailsRequest', - typeInfo: '.GetMerchantDetailsRequest' + elementName: 'ARBCancelSubscriptionResponse', + typeInfo: '.ARBCancelSubscriptionResponse' }, { - elementName: 'getMerchantDetailsResponse', - typeInfo: '.GetMerchantDetailsResponse' + elementName: 'isAliveRequest', + typeInfo: '.IsAliveRequest' }, { elementName: 'updateCustomerPaymentProfileRequest', typeInfo: '.UpdateCustomerPaymentProfileRequest' }, { - elementName: 'createCustomerProfileTransactionResponse', - typeInfo: '.CreateCustomerProfileTransactionResponse' + elementName: 'updateHeldTransactionRequest', + typeInfo: '.UpdateHeldTransactionRequest' }, { elementName: 'validateCustomerPaymentProfileResponse', typeInfo: '.ValidateCustomerPaymentProfileResponse' }, { - elementName: 'logoutResponse', - typeInfo: '.LogoutResponse' - }, { - elementName: 'getAUJobSummaryResponse', - typeInfo: '.GetAUJobSummaryResponse' - }, { - elementName: 'ARBCreateSubscriptionRequest', - typeInfo: '.ARBCreateSubscriptionRequest' + elementName: 'createCustomerProfileTransactionResponse', + typeInfo: '.CreateCustomerProfileTransactionResponse' }, { elementName: 'updateCustomerProfileRequest', typeInfo: '.UpdateCustomerProfileRequest' }, { - elementName: 'createCustomerPaymentProfileResponse', - typeInfo: '.CreateCustomerPaymentProfileResponse' + elementName: 'createTransactionRequest', + typeInfo: '.CreateTransactionRequest' }, { - elementName: 'getTransactionDetailsResponse', - typeInfo: '.GetTransactionDetailsResponse' + elementName: 'ErrorResponse', + typeInfo: '.ANetApiResponse' }, { - elementName: 'decryptPaymentDataResponse', - typeInfo: '.DecryptPaymentDataResponse' + elementName: 'authenticateTestRequest', + typeInfo: '.AuthenticateTestRequest' }, { - elementName: 'sendCustomerTransactionReceiptResponse', - typeInfo: '.SendCustomerTransactionReceiptResponse' + elementName: 'getUnsettledTransactionListRequest', + typeInfo: '.GetUnsettledTransactionListRequest' }, { - elementName: 'ErrorResponse', - typeInfo: '.ANetApiResponse' + elementName: 'getHostedPaymentPageResponse', + typeInfo: '.GetHostedPaymentPageResponse' }, { - elementName: 'getCustomerProfileRequest', - typeInfo: '.GetCustomerProfileRequest' + elementName: 'getCustomerPaymentProfileListResponse', + typeInfo: '.GetCustomerPaymentProfileListResponse' }, { - elementName: 'getTransactionListResponse', - typeInfo: '.GetTransactionListResponse' + elementName: 'updateCustomerShippingAddressResponse', + typeInfo: '.UpdateCustomerShippingAddressResponse' }, { - elementName: 'updateHeldTransactionResponse', - typeInfo: '.UpdateHeldTransactionResponse' + elementName: 'getBatchStatisticsRequest', + typeInfo: '.GetBatchStatisticsRequest' }, { - elementName: 'getUnsettledTransactionListResponse', - typeInfo: '.GetUnsettledTransactionListResponse' + elementName: 'getAUJobDetailsResponse', + typeInfo: '.GetAUJobDetailsResponse' + }, { + elementName: 'getTransactionListForCustomerRequest', + typeInfo: '.GetTransactionListForCustomerRequest' + }, { + elementName: 'ARBUpdateSubscriptionResponse', + typeInfo: '.ARBUpdateSubscriptionResponse' + }, { + elementName: 'deleteCustomerProfileRequest', + typeInfo: '.DeleteCustomerProfileRequest' + }, { + elementName: 'sendCustomerTransactionReceiptResponse', + typeInfo: '.SendCustomerTransactionReceiptResponse' + }, { + elementName: 'getAUJobSummaryResponse', + typeInfo: '.GetAUJobSummaryResponse' }, { elementName: 'ARBGetSubscriptionStatusRequest', typeInfo: '.ARBGetSubscriptionStatusRequest' }, { - elementName: 'EnumCollection', - typeInfo: '.EnumCollection' + elementName: 'getCustomerProfileIdsResponse', + typeInfo: '.GetCustomerProfileIdsResponse' }, { - elementName: 'deleteCustomerShippingAddressRequest', - typeInfo: '.DeleteCustomerShippingAddressRequest' + elementName: 'updateMerchantDetailsRequest', + typeInfo: '.UpdateMerchantDetailsRequest' }, { - elementName: 'getHostedProfilePageRequest', - typeInfo: '.GetHostedProfilePageRequest' + elementName: 'getMerchantDetailsRequest', + typeInfo: '.GetMerchantDetailsRequest' }, { - elementName: 'updateCustomerShippingAddressRequest', - typeInfo: '.UpdateCustomerShippingAddressRequest' + elementName: 'ARBUpdateSubscriptionRequest', + typeInfo: '.ARBUpdateSubscriptionRequest' + }, { + elementName: 'updateHeldTransactionResponse', + typeInfo: '.UpdateHeldTransactionResponse' }, { elementName: 'updateMerchantDetailsResponse', typeInfo: '.UpdateMerchantDetailsResponse' }, { - elementName: 'updateSplitTenderGroupRequest', - typeInfo: '.UpdateSplitTenderGroupRequest' + elementName: 'getAUJobDetailsRequest', + typeInfo: '.GetAUJobDetailsRequest' }, { - elementName: 'getBatchStatisticsResponse', - typeInfo: '.GetBatchStatisticsResponse' + elementName: 'createCustomerProfileFromTransactionRequest', + typeInfo: '.CreateCustomerProfileFromTransactionRequest' }, { - elementName: 'ARBGetSubscriptionListRequest', - typeInfo: '.ARBGetSubscriptionListRequest' + elementName: 'deleteCustomerProfileResponse', + typeInfo: '.DeleteCustomerProfileResponse' }, { - elementName: 'getCustomerShippingAddressRequest', - typeInfo: '.GetCustomerShippingAddressRequest' + elementName: 'getCustomerPaymentProfileNonceResponse', + typeInfo: '.GetCustomerPaymentProfileNonceResponse' }, { - elementName: 'getCustomerPaymentProfileListRequest', - typeInfo: '.GetCustomerPaymentProfileListRequest' + elementName: 'getTransactionDetailsRequest', + typeInfo: '.GetTransactionDetailsRequest' }, { - elementName: 'getCustomerPaymentProfileRequest', - typeInfo: '.GetCustomerPaymentProfileRequest' + elementName: 'securePaymentContainerResponse', + typeInfo: '.SecurePaymentContainerResponse' }, { - elementName: 'isAliveResponse', - typeInfo: '.IsAliveResponse' + elementName: 'createTransactionResponse', + typeInfo: '.CreateTransactionResponse' }, { - elementName: 'authenticateTestRequest', - typeInfo: '.AuthenticateTestRequest' + elementName: 'ARBGetSubscriptionListResponse', + typeInfo: '.ARBGetSubscriptionListResponse' + }, { + elementName: 'decryptPaymentDataResponse', + typeInfo: '.DecryptPaymentDataResponse' + }, { + elementName: 'createCustomerShippingAddressResponse', + typeInfo: '.CreateCustomerShippingAddressResponse' }, { elementName: 'authenticateTestResponse', typeInfo: '.AuthenticateTestResponse' }, { - elementName: 'getHostedPaymentPageResponse', - typeInfo: '.GetHostedPaymentPageResponse' + elementName: 'createCustomerProfileRequest', + typeInfo: '.CreateCustomerProfileRequest' }, { - elementName: 'securePaymentContainerResponse', - typeInfo: '.SecurePaymentContainerResponse' + elementName: 'ARBGetSubscriptionResponse', + typeInfo: '.ARBGetSubscriptionResponse' }, { - elementName: 'getCustomerPaymentProfileNonceRequest', - typeInfo: '.GetCustomerPaymentProfileNonceRequest' + elementName: 'getHostedProfilePageRequest', + typeInfo: '.GetHostedProfilePageRequest' + }, { + elementName: 'mobileDeviceLoginRequest', + typeInfo: '.MobileDeviceLoginRequest' + }, { + elementName: 'deleteCustomerShippingAddressRequest', + typeInfo: '.DeleteCustomerShippingAddressRequest' }] }; return { diff --git a/package.json b/package.json index 853f166..3924f0c 100644 --- a/package.json +++ b/package.json @@ -7,13 +7,15 @@ "test": "tests" }, "dependencies": { - "request": "^2.72.0", - "winston": "^2.2.0" + "axios": "1.6.4", + "https-proxy-agent": "^7.0.0", + "winston": "^3.11.0", + "winston-daily-rotate-file": "^4.7.1" }, "devDependencies": { "chai": "^3.5.0", "eslint": "^6.6.0", - "jsonix": "^2.3.2", + "jsonix": "^3.0.0", "mocha": "^8.2.1" }, "scripts": { diff --git a/scripts/ControllerTemplate.jst b/scripts/ControllerTemplate.jst index f3b49f7..c9f339e 100644 --- a/scripts/ControllerTemplate.jst +++ b/scripts/ControllerTemplate.jst @@ -1,7 +1,8 @@ class APICONTROLLERNAMEController extends APIOperationBase { - constructor(apiRequest) { + constructor(apiRequest, externalConfig = null) { + var logger = Logger.getLogger('APICONTROLLERNAMEController', externalConfig) logger.debug('Enter APICONTROLLERNAMEController constructor'); - super(apiRequest); + super(apiRequest, externalConfig); logger.debug('Exit APICONTROLLERNAMEController constructor'); } diff --git a/scripts/generateControllersFromSchema.js b/scripts/generateControllersFromSchema.js index db547e6..6a00571 100644 --- a/scripts/generateControllersFromSchema.js +++ b/scripts/generateControllersFromSchema.js @@ -2,19 +2,17 @@ var schema = require('../mappings/Schema.js').Schema; var controllerSet = new Set(); -for(var i=0;i -1) + if (obj['localName'].indexOf('.') > -1) classDefinition = obj['localName'] + ' = ' + 'class'; else classDefinition = 'class ' + obj['localName']; - if(obj['baseTypeInfo'] != null) + if (obj['baseTypeInfo'] != null) classDefinition += ' extends ' + obj['baseTypeInfo'].slice(1); classDefinition += ' {'; classDefinition += newline; - if((obj['localName'].match('Request'+'$') == 'Request') || (obj['localName'].match('Response'+'$') == 'Response')) - { - if(elementInfo[obj['localName']] != null) { + if ((obj['localName'].match('Request' + '$') == 'Request') || (obj['localName'].match('Response' + '$') == 'Response')) { + if (elementInfo[obj['localName']] != null) { var getJSONfunc = tab.repeat(tabcount) + 'getJSON() { ' + newline; tabcount++; + getJSONfunc += tab.repeat(tabcount) + 'var logger = Logger.getLogger(\'' + obj['localName'] + '\');' + newline; getJSONfunc += tab.repeat(tabcount) + 'logger.debug(\'Enter ' + obj['localName'] + ' getJSON\');' + newline; getJSONfunc += tab.repeat(tabcount) + 'utils.delete_null_properties(this, true);' + newline; getJSONfunc += tab.repeat(tabcount) + 'var obj = { \'' + elementInfo[obj['localName']] + '\' : this };' + newline; @@ -82,7 +82,7 @@ for(i=0;i -1) + if (obj['localName'].indexOf('.') > -1) classDefinition += ';'; - + classDefinition += newline + newline; classDefinition += 'module.exports.' + obj['localName'] + ' = ' + obj['localName'] + ';' + newline; //console.log(classDefinition); - if(obj['baseTypeInfo'] != null) - { - if(baseInfo[obj['baseTypeInfo'].slice(1)] != null) + if (obj['baseTypeInfo'] != null) { + if (baseInfo[obj['baseTypeInfo'].slice(1)] != null) level2ExtendedClasses.push(classDefinition); else level1ExtendedClasses.push(classDefinition); } - else if((obj['localName'].split('.').length - 1) == 1) - { + else if ((obj['localName'].split('.').length - 1) == 1) { //console.log('level 1 : ' + obj['localName']); level1InnerClasses.push(classDefinition); } - else if((obj['localName'].split('.').length - 1) == 2) - { + else if ((obj['localName'].split('.').length - 1) == 2) { //console.log('level 2 : ' + obj['localName']); level2InnerClasses.push(classDefinition); } @@ -250,32 +245,32 @@ for(i=0;i Date: Tue, 23 Jul 2024 17:21:46 +0530 Subject: [PATCH 43/58] Adding workflow to test SDK --- .github/workflows/nodejs-workflow.yml | 64 +++++++++++++++++++++++++++ test/test-customerprofiles.js | 4 +- test/test-paymenttransactions.js | 4 +- test/test-transactionreporting.js | 2 +- 4 files changed, 69 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/nodejs-workflow.yml diff --git a/.github/workflows/nodejs-workflow.yml b/.github/workflows/nodejs-workflow.yml new file mode 100644 index 0000000..17e7b4e --- /dev/null +++ b/.github/workflows/nodejs-workflow.yml @@ -0,0 +1,64 @@ +name: Authorize.net Node.js CI +on: + push: + pull_request: + workflow_dispatch: +env: + sdk_node: 'sdk-node' + sample_code_node: 'sample-code-node' + local_npm_folder: 'local-npm-folder' +jobs: + workflow-job: + defaults: + run: + shell: bash + strategy: + fail-fast: false + matrix: + operating-system: [ubuntu-latest, macos-latest, windows-latest] + node-ver: [6.x, 8.x, 10.x, 12.x, 14.x, 16.x, 17.x, 18.x, 19.x, 20.x, 21.x, 22.x] + exclude: + - operating-system: macos-latest # No Node 14 image is there for the arm64 architecture of mac + node-ver: 14.x + include: + - operating-system: macos-13 # No Node 14 image is there for the arm64 architecture of mac + node-ver: 14.x + runs-on: ${{matrix.operating-system}} + steps: + - name: Creating separate folders for SDK and Sample Codes + run: | + rm -rf $sdk_node + rm -rf $sample_code_node + mkdir $sdk_node $sample_code_node + - name: Checkout authorizenet/sdk-node + uses: actions/checkout@v4 + with: + path: ${{env.sdk_node}} + - name: Checkout authorizenet/sample-code-node + uses: actions/checkout@v4 + with: + repository: 'authorizenet/sample-code-node' + ref: 'master' + path: ${{env.sample_code_node}} + - name: Install Node + uses: actions/setup-node@v4 + with: + node-version: ${{matrix.node-ver}} + + - name: Install and Test + run: | + cd $sdk_node + npm install + npm test + + # npm pack + # rm -rf ../$local_npm_folder + # mkdir ../$local_npm_folder + # PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | head -n 1) + # tar -xvzf "authorizenet-$PACKAGE_VERSION.tgz" -C ../$local_npm_folder + # cd ../$local_npm_folder/package + # npm link + # cd ../../$sample_code_node + # npm link authorizenet + # npm install + \ No newline at end of file diff --git a/test/test-customerprofiles.js b/test/test-customerprofiles.js index 6e97a6d..099382d 100644 --- a/test/test-customerprofiles.js +++ b/test/test-customerprofiles.js @@ -19,7 +19,7 @@ class CustomerProfilesTestData { this.creditCard = new ApiContracts.CreditCardType(); this.creditCard.setCardNumber('4242424242424242'); - this.creditCard.setExpirationDate('0822'); + this.creditCard.setExpirationDate('0845'); this.paymentType = new ApiContracts.PaymentType(); this.paymentType.setCreditCard(this.creditCard); @@ -61,7 +61,7 @@ class CustomerProfilesTestData { //credit card details this.creditCardForUpdate = new ApiContracts.CreditCardType(); this.creditCardForUpdate.setCardNumber('4111111111111111'); - this.creditCardForUpdate.setExpirationDate('2023-12'); + this.creditCardForUpdate.setExpirationDate('2045-12'); this.customerAddressType = new ApiContracts.CustomerAddressType(); this.customerAddressType.setFirstName('Johny'); diff --git a/test/test-paymenttransactions.js b/test/test-paymenttransactions.js index 14619d9..6fc617f 100644 --- a/test/test-paymenttransactions.js +++ b/test/test-paymenttransactions.js @@ -19,7 +19,7 @@ class PaymentTransactionsTestData { this.creditCard = new ApiContracts.CreditCardType(); this.creditCard.setCardNumber('4242424242424242'); - this.creditCard.setExpirationDate('0822'); + this.creditCard.setExpirationDate('0845'); this.paymentType = new ApiContracts.PaymentType(); this.paymentType.setCreditCard(this.creditCard); @@ -609,7 +609,7 @@ describe('Payment Transactions', function() { var creditCard = new ApiContracts.CreditCardType(); creditCard.setCardNumber('4242424242424242'); - creditCard.setExpirationDate('0822'); + creditCard.setExpirationDate('0845'); creditCard.setCryptogram('EjRWeJASNFZ4kBI0VniQEjRWeJA='); var paymentType = new ApiContracts.PaymentType(); diff --git a/test/test-transactionreporting.js b/test/test-transactionreporting.js index a482486..3e23251 100644 --- a/test/test-transactionreporting.js +++ b/test/test-transactionreporting.js @@ -135,7 +135,7 @@ describe('Transaction Reporting', function() { var getRequest = new ApiContracts.GetTransactionListForCustomerRequest(); getRequest.setMerchantAuthentication(testData.merchantAuthenticationType); - getRequest.setCustomerProfileId('1930354059'); + getRequest.setCustomerProfileId('922287204'); //console.log(JSON.stringify(getRequest.getJSON(), null, 2)); From 29bc71159cab2bd33329985ad736bb13d6358576 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Tue, 23 Jul 2024 21:42:54 +0530 Subject: [PATCH 44/58] Minimum version specified by dependencies is Node @ 14.x.x --- .github/workflows/nodejs-workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs-workflow.yml b/.github/workflows/nodejs-workflow.yml index 17e7b4e..3ce0fc1 100644 --- a/.github/workflows/nodejs-workflow.yml +++ b/.github/workflows/nodejs-workflow.yml @@ -16,12 +16,12 @@ jobs: fail-fast: false matrix: operating-system: [ubuntu-latest, macos-latest, windows-latest] - node-ver: [6.x, 8.x, 10.x, 12.x, 14.x, 16.x, 17.x, 18.x, 19.x, 20.x, 21.x, 22.x] + node-ver: [14.x, 16.x, 17.x, 18.x, 19.x, 20.x, 21.x, 22.x] exclude: - - operating-system: macos-latest # No Node 14 image is there for the arm64 architecture of mac + - operating-system: macos-latest node-ver: 14.x include: - - operating-system: macos-13 # No Node 14 image is there for the arm64 architecture of mac + - operating-system: macos-13 node-ver: 14.x runs-on: ${{matrix.operating-system}} steps: From 0274d170f88f4c3fc3defbc18442ad3d7af8f421 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Fri, 30 Aug 2024 10:55:56 +0530 Subject: [PATCH 45/58] Updates for 2024 Release --- .github/workflows/nodejs-workflow.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nodejs-workflow.yml b/.github/workflows/nodejs-workflow.yml index 3ce0fc1..18fe734 100644 --- a/.github/workflows/nodejs-workflow.yml +++ b/.github/workflows/nodejs-workflow.yml @@ -30,16 +30,19 @@ jobs: rm -rf $sdk_node rm -rf $sample_code_node mkdir $sdk_node $sample_code_node + - name: Checkout authorizenet/sdk-node uses: actions/checkout@v4 with: path: ${{env.sdk_node}} + - name: Checkout authorizenet/sample-code-node uses: actions/checkout@v4 with: repository: 'authorizenet/sample-code-node' ref: 'master' path: ${{env.sample_code_node}} + - name: Install Node uses: actions/setup-node@v4 with: @@ -61,4 +64,3 @@ jobs: # cd ../../$sample_code_node # npm link authorizenet # npm install - \ No newline at end of file From 4a271484d9a6b3f86f8ca50cdf29dae5e59c13e1 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Fri, 30 Aug 2024 11:57:11 +0530 Subject: [PATCH 46/58] Updates for 2024 Release --- .github/workflows/nodejs-workflow.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/nodejs-workflow.yml b/.github/workflows/nodejs-workflow.yml index 18fe734..7cbc1f9 100644 --- a/.github/workflows/nodejs-workflow.yml +++ b/.github/workflows/nodejs-workflow.yml @@ -40,7 +40,7 @@ jobs: uses: actions/checkout@v4 with: repository: 'authorizenet/sample-code-node' - ref: 'master' + ref: 'future' path: ${{env.sample_code_node}} - name: Install Node @@ -54,13 +54,9 @@ jobs: npm install npm test - # npm pack - # rm -rf ../$local_npm_folder - # mkdir ../$local_npm_folder - # PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | head -n 1) - # tar -xvzf "authorizenet-$PACKAGE_VERSION.tgz" -C ../$local_npm_folder - # cd ../$local_npm_folder/package - # npm link - # cd ../../$sample_code_node - # npm link authorizenet - # npm install + npm pack + PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | head -n 1) + cd ../$sample_code_node + npm install file:../$sdk_node/authorizenet-$PACKAGE_VERSION.tgz + node test-runner.js + From 95c28e42541b92989d862a7644ad7bfd48671699 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Fri, 30 Aug 2024 12:05:58 +0530 Subject: [PATCH 47/58] Checking user-installed node packages --- .github/workflows/nodejs-workflow.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/nodejs-workflow.yml b/.github/workflows/nodejs-workflow.yml index 7cbc1f9..1a41bd0 100644 --- a/.github/workflows/nodejs-workflow.yml +++ b/.github/workflows/nodejs-workflow.yml @@ -58,5 +58,6 @@ jobs: PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | head -n 1) cd ../$sample_code_node npm install file:../$sdk_node/authorizenet-$PACKAGE_VERSION.tgz + npm list node test-runner.js From 57f7ea85d5682f22cbc2faeb3f5a56145883ff95 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Fri, 30 Aug 2024 12:08:37 +0530 Subject: [PATCH 48/58] Explicit install of sample code dependencies --- .github/workflows/nodejs-workflow.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/nodejs-workflow.yml b/.github/workflows/nodejs-workflow.yml index 1a41bd0..901b824 100644 --- a/.github/workflows/nodejs-workflow.yml +++ b/.github/workflows/nodejs-workflow.yml @@ -57,6 +57,7 @@ jobs: npm pack PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | head -n 1) cd ../$sample_code_node + npm install npm install file:../$sdk_node/authorizenet-$PACKAGE_VERSION.tgz npm list node test-runner.js From 9ac5bd810fe468e06dc39a004b38f2074e0775e5 Mon Sep 17 00:00:00 2001 From: Gabriel Broadwin Nongsiej Date: Fri, 30 Aug 2024 13:43:58 +0530 Subject: [PATCH 49/58] Fix for unmet peer dependencies --- .github/workflows/nodejs-workflow.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/nodejs-workflow.yml b/.github/workflows/nodejs-workflow.yml index 901b824..4879c0c 100644 --- a/.github/workflows/nodejs-workflow.yml +++ b/.github/workflows/nodejs-workflow.yml @@ -59,6 +59,9 @@ jobs: cd ../$sample_code_node npm install npm install file:../$sdk_node/authorizenet-$PACKAGE_VERSION.tgz + if [[ ${{matrix.node-ver}} = 14* ]]; then + npm install ajv@5.5.2 + fi npm list node test-runner.js From 3839bb6010961733de3ea3d28e203e243e692044 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Fri, 30 Aug 2024 14:00:06 +0530 Subject: [PATCH 50/58] Captured network error --- lib/apicontrollersbase.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/apicontrollersbase.js b/lib/apicontrollersbase.js index 817738d..29b6ea2 100644 --- a/lib/apicontrollersbase.js +++ b/lib/apicontrollersbase.js @@ -15,6 +15,7 @@ class APIOperationBase { this._request = null; this._response = null; + this._error = null; this._endpoint = constants.endpoint.sandbox; if (null == apiRequest) @@ -38,6 +39,10 @@ class APIOperationBase { return this._response; } + getError() { + return this._error; + } + getResultcode() { var resultcode = null; @@ -107,6 +112,7 @@ class APIOperationBase { logger.error("Undefined Response"); } }).catch(error => { + obj._error = error; logger.error(error); }); From 68d0dd20963e67b43abdeb2c35a52b39b693c5a9 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Mon, 2 Sep 2024 14:49:37 +0530 Subject: [PATCH 51/58] Upgrade axios version to fix security vulnerability --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3924f0c..f41bede 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "test": "tests" }, "dependencies": { - "axios": "1.6.4", + "axios": "1.7.4", "https-proxy-agent": "^7.0.0", "winston": "^3.11.0", "winston-daily-rotate-file": "^4.7.1" From cad109e952d04ff63dfd6010cd536fc0926cf046 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Tue, 17 Sep 2024 18:47:53 +0530 Subject: [PATCH 52/58] Updates for next version & Update README.md with latest versions --- README.md | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8aeb278..5d4bc6d 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # Authorize.Net Node.js SDK -[![Travis CI Status](https://travis-ci.org/AuthorizeNet/sdk-node.svg?branch=master)](https://travis-ci.org/AuthorizeNet/sdk-node) +[![Authorize.net Node.js CI](https://github.com/AuthorizeNet/sdk-node/actions/workflows/nodejs-workflow.yml/badge.svg?branch=master)](https://github.com/AuthorizeNet/sdk-node/actions/workflows/nodejs-workflow.yml) [![NPM version](https://badge.fury.io/js/authorizenet.png)](http://badge.fury.io/js/authorizenet) ## Requirements -* Node.js version 10.0.0 or higher +* Node.js version 14.x.x or higher * An Authorize.Net account (see _Registration & Configuration_ section below) ### Contribution diff --git a/package.json b/package.json index f41bede..1699cf9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "authorizenet", - "version": "1.0.8", + "version": "1.0.9", "description": "nodejs sdk for Authorize.Net", "main": "lib/authorizenet.js", "directories": { From 833a662a6887e389a9e46dc96a38f9c1c7a39760 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Thu, 19 Sep 2024 20:07:54 +0530 Subject: [PATCH 53/58] Changed sample code branch to master --- .github/workflows/nodejs-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs-workflow.yml b/.github/workflows/nodejs-workflow.yml index 4879c0c..1a12fd2 100644 --- a/.github/workflows/nodejs-workflow.yml +++ b/.github/workflows/nodejs-workflow.yml @@ -40,7 +40,7 @@ jobs: uses: actions/checkout@v4 with: repository: 'authorizenet/sample-code-node' - ref: 'future' + ref: 'master' path: ${{env.sample_code_node}} - name: Install Node From 9829236a65821cf3d2b36e858d7c30ce18ea576a Mon Sep 17 00:00:00 2001 From: Gabriel Broadwin Nongsiej Date: Wed, 30 Oct 2024 12:41:46 +0530 Subject: [PATCH 54/58] Fix code scanning alert no. 2: Insecure randomness Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- test/utils.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/test/utils.js b/test/utils.js index ae9909b..19961e3 100644 --- a/test/utils.js +++ b/test/utils.js @@ -1,15 +1,19 @@ 'use strict'; +const crypto = require('crypto'); + function getRandomString(text){ - return text + Math.floor((Math.random() * 100000) + 1); + const randomInt = crypto.randomBytes(4).readUInt32BE(0) % 100000 + 1; + return text + randomInt; } function getRandomInt(){ - return Math.floor((Math.random() * 100000) + 1); + return crypto.randomBytes(4).readUInt32BE(0) % 100000 + 1; } function getRandomAmount(){ - return ((Math.random() * 1000) + 1).toFixed(2); + const randomFloat = crypto.randomBytes(4).readUInt32BE(0) / 0xFFFFFFFF; + return ((randomFloat * 1000) + 1).toFixed(2); } function getDate(){ From 46e1e7b7b060715517ad256c0b61d18718fae184 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Thu, 31 Oct 2024 09:54:15 +0530 Subject: [PATCH 55/58] Fixing security issue --- test/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/utils.js b/test/utils.js index 19961e3..e0a481b 100644 --- a/test/utils.js +++ b/test/utils.js @@ -3,12 +3,12 @@ const crypto = require('crypto'); function getRandomString(text){ - const randomInt = crypto.randomBytes(4).readUInt32BE(0) % 100000 + 1; + const randomInt = crypto.randomBytes(4).readUInt32BE(0); return text + randomInt; } function getRandomInt(){ - return crypto.randomBytes(4).readUInt32BE(0) % 100000 + 1; + return crypto.randomBytes(4).readUInt32BE(0); } function getRandomAmount(){ From 577ffbbd45ff793e3ed8e2f8895005176671a61b Mon Sep 17 00:00:00 2001 From: gnongsie Date: Thu, 31 Oct 2024 09:59:17 +0530 Subject: [PATCH 56/58] Updated customer ID --- test/test-transactionreporting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-transactionreporting.js b/test/test-transactionreporting.js index 3e23251..53d7d32 100644 --- a/test/test-transactionreporting.js +++ b/test/test-transactionreporting.js @@ -135,7 +135,7 @@ describe('Transaction Reporting', function() { var getRequest = new ApiContracts.GetTransactionListForCustomerRequest(); getRequest.setMerchantAuthentication(testData.merchantAuthenticationType); - getRequest.setCustomerProfileId('922287204'); + getRequest.setCustomerProfileId('39931060'); //console.log(JSON.stringify(getRequest.getJSON(), null, 2)); From 6a205959e8ede5067ea2c8c5d2ba7ad5e727286e Mon Sep 17 00:00:00 2001 From: gnongsie Date: Tue, 15 Apr 2025 13:51:42 +0530 Subject: [PATCH 57/58] Updates to use new version of axios --- README.md | 60 +++++++++++++++++++++++++++++++++------ lib/apicontrollersbase.js | 2 ++ package.json | 2 +- 3 files changed, 55 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5d4bc6d..2fc566e 100644 --- a/README.md +++ b/README.md @@ -4,34 +4,42 @@ [![NPM version](https://badge.fury.io/js/authorizenet.png)](http://badge.fury.io/js/authorizenet) -## Requirements +## Requirements + * Node.js version 14.x.x or higher * An Authorize.Net account (see _Registration & Configuration_ section below) -### Contribution +### Contribution + - If you need information or clarification about Authorize.Net features, create an issue with your question. You can also search the [Authorize.Net developer community](https://community.developer.authorize.net/) for discussions related to your question. + - Before creating pull requests, please read [the contributors guide](CONTRIBUTING.md). ### TLS 1.2 -The Authorize.Net APIs only support connections using the TLS 1.2 security protocol. Make sure to upgrade all required components to support TLS 1.2. Keep these components up to date to mitigate the risk of new security flaws. +The Authorize.Net APIs only support connections using the TLS 1.2 security protocol. Make sure to upgrade all required components to support TLS 1.2. Keep these components up to date to mitigate the risk of new security flaws. ## Installation -To install AuthorizeNet + +To install AuthorizeNet `npm install authorizenet` ## Registration & Configuration + Use of this SDK and the Authorize.Net APIs requires having an account on the Authorize.Net system. You can find these details in the Settings section. + If you don't currently have a production Authorize.Net account, [sign up for a sandbox account](https://developer.authorize.net/sandbox/). ### Authentication + To authenticate with the Authorize.Net API, use your account's API Login ID and Transaction Key. If you don't have these credentials, you can obtain them from our Merchant Interface site. For production accounts, the Merchant Interface is located at (https://account.authorize.net/); and for sandbox accounts, at (https://sandbox.authorize.net). Once you have your keys simply load them into the appropriate variables in your code, as per the below sample code dealing with the authentication part of the API request. #### To set your API credentials for an API request: + ```javascript var merchantAuthenticationType = new ApiContracts.MerchantAuthenticationType(); merchantAuthenticationType.setName('YOUR_API_LOGIN_ID'); @@ -39,27 +47,35 @@ Once you have your keys simply load them into the appropriate variables in your ``` An authentication test sample is provided and can be run with the following command: + `node sample/test.js` Never include your Login ID and Transaction Key directly in a file that's in a publicly accessible portion of your website. As a best practice, define the API Login ID and Transaction Key in a constants file, and reference those constants in the appropriate place in your code. ### Switching between the sandbox environment and the production environment -Authorize.Net maintains a complete sandbox environment for testing and development purposes. The sandbox environment is an exact replica of our production environment, with simulated transaction authorization and settlement. By default, this SDK is configured to use with the sandbox environment. To switch to the production environment, call `setEnvironment` on the controller variable before execute. For example: + +Authorize.Net maintains a complete sandbox environment for testing and development purposes. The sandbox environment is an exact replica of our production environment, with simulated transaction authorization and settlement. By default, this SDK is configured to use with the sandbox environment. To switch to the production environment, call `setEnvironment` on the controller variable before execute. + +For example: + ```javascript -// For PRODUCTION use -ctrl.setEnvironment(SDKConstants.endpoint.production); + // For PRODUCTION use + ctrl.setEnvironment(SDKConstants.endpoint.production); ``` API credentials are different for each environment, so be sure to switch to the appropriate credentials when switching environments. ## SDK Usage Examples and Sample Code + When using this SDK, downloading the Authorize.Net sample code repository is recommended. + * [Authorize.Net Node.js Sample Code Repository (on GitHub)](https://github.com/AuthorizeNet/sample-code-node) The repository contains comprehensive sample code for all common uses of the Authorize.Net API: The API Reference contains details and examples of the structure and formatting of the Authorize.Net API. + * [Developer Center API Reference](http://developer.authorize.net/api/reference/index.html) Use the examples in the API Reference to determine which methods and information to include in an API request using this SDK. @@ -69,6 +85,7 @@ Use the examples in the API Reference to determine which methods and information Use this method to authorize and capture a payment using a tokenized credit card number issued by Chase Pay. Chase Pay transactions are only available to merchants using the Paymentech processor. The following information is required in the request: + - **payment token** - **expiration date** - **cryptogram** received from the token provider @@ -77,6 +94,7 @@ The following information is required in the request: - **tokenRequestorEci** When using the SDK to submit Chase Pay transactions, consider the following points: + - `tokenRequesterName` must be populated with **`”CHASE_PAY”`** - `tokenRequestorId` must be populated with the **`Token Requestor ID`** provided by Chase Pay services for each transaction during consumer checkout - `tokenRequesterEci` must be populated with the **`ECI Indicator`** provided by Chase Pay services for each transaction during consumer checkout @@ -85,16 +103,42 @@ When using the SDK to submit Chase Pay transactions, consider the following poin ## Building & Testing the SDK ### Running the SDK Tests + `mocha` -### Run Particular Tests +### Run Particular Tests + `mocha test/` + +### For using behind proxy + +1. Create a `config` object as follows: + ```javascript + config = { + 'proxy': { + 'setProxy': true, + 'proxyUrl': 'http://:@:' + } + } + ``` + +2. Pass this `config` object to the controller constructor. + + For example, + + ```javascript + var ctrl = new ApiControllers.CreateTransactionController(createRequest.getJSON(), config); + ``` + ### Testing Guide + For additional help in testing your own code, Authorize.Net maintains a [comprehensive testing guide](http://developer.authorize.net/hello_world/testing_guide/) that includes test credit card numbers to use and special triggers to generate certain responses from the sandbox environment. ### Transaction Hash Upgrade + Authorize.Net is phasing out the MD5 based `transHash` element in favor of the SHA-512 based `transHashSHA2`. The setting in the Merchant Interface which controlled the MD5 Hash option is no longer available, and the `transHash` element will stop returning values at a later date to be determined. For information on how to use `transHashSHA2`, see the [Transaction Hash Upgrade Guide] (https://developer.authorize.net/support/hash_upgrade/). ## License + This repository is distributed under a proprietary license. See the provided [`LICENSE.txt`](/LICENSE.txt) file. diff --git a/lib/apicontrollersbase.js b/lib/apicontrollersbase.js index 29b6ea2..613b51a 100644 --- a/lib/apicontrollersbase.js +++ b/lib/apicontrollersbase.js @@ -18,6 +18,8 @@ class APIOperationBase { this._error = null; this._endpoint = constants.endpoint.sandbox; + if (externalConfig) config = externalConfig; + if (null == apiRequest) logger.error('Input request cannot be null'); diff --git a/package.json b/package.json index 1699cf9..63f1af4 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "test": "tests" }, "dependencies": { - "axios": "1.7.4", + "axios": "1.8.3", "https-proxy-agent": "^7.0.0", "winston": "^3.11.0", "winston-daily-rotate-file": "^4.7.1" From dbc0a0c47dfa2a37a6d0008ade21cea0cbc80055 Mon Sep 17 00:00:00 2001 From: gnongsie Date: Mon, 28 Apr 2025 11:35:22 +0530 Subject: [PATCH 58/58] Upgrade to new version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 63f1af4..ab21788 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "authorizenet", - "version": "1.0.9", + "version": "1.0.10", "description": "nodejs sdk for Authorize.Net", "main": "lib/authorizenet.js", "directories": { 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