diff --git a/.github/workflows/nodejs-workflow.yml b/.github/workflows/nodejs-workflow.yml new file mode 100644 index 0000000..4879c0c --- /dev/null +++ b/.github/workflows/nodejs-workflow.yml @@ -0,0 +1,67 @@ +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: [14.x, 16.x, 17.x, 18.x, 19.x, 20.x, 21.x, 22.x] + exclude: + - operating-system: macos-latest + node-ver: 14.x + include: + - operating-system: macos-13 + 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: 'future' + 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 + 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 + if [[ ${{matrix.node-ver}} = 14* ]]; then + npm install ajv@5.5.2 + fi + npm list + node test-runner.js + 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/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..29b6ea2 100644 --- a/lib/apicontrollersbase.js +++ b/lib/apicontrollersbase.js @@ -1,19 +1,24 @@ '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._error = null; this._endpoint = constants.endpoint.sandbox; - if(null == apiRequest) + if (null == apiRequest) logger.error('Input request cannot be null'); this._request = apiRequest; @@ -22,34 +27,38 @@ class APIOperationBase { } //abstract - validateRequest(){ + validateRequest() { return; } - validate(){ + validate() { return; } - getResponse(){ + getResponse() { return this._response; } - getResultcode(){ + getError() { + return this._error; + } + + 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 +66,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 +89,31 @@ 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 => { + obj._error = 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..1699cf9 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,21 @@ { "name": "authorizenet", - "version": "1.0.8", + "version": "1.0.9", "description": "nodejs sdk for Authorize.Net", "main": "lib/authorizenet.js", "directories": { "test": "tests" }, "dependencies": { - "request": "^2.72.0", - "winston": "^2.2.0" + "axios": "1.7.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 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