UNPKG

@brrinta/authorizenet-ts

Version:

Type definition of authorizenet node-sdk

2,532 lines (1,560 loc) 117 kB
/* * Author S Brinta<brrinta@gmail.com> * Email: brrinta@gmail.com * Web: https://brinta.me * Created on : Friday 05 Mar, 2021 09:28:18 BDT */ export class ANetApiRequest { constructor(obj?: { merchantAuthentication: MerchantAuthenticationType, clientId: string, refId: string }) getMerchantAuthentication(): MerchantAuthenticationType setMerchantAuthentication(merchantAuthentication: MerchantAuthenticationType): void getClientId(): string setClientId(clientId: string): void getRefId(): string setRefId(refId: string): void getJSON(): any } export class ANetApiResponse { constructor(obj?: { refId: string, messages: MessagesType, sessionToken: string }) getRefId(): string setRefId(refId: string): void ; getMessages(): MessagesType ; setMessages(messages: MessagesType): void ; getSessionToken(): string ; setSessionToken(sessionToken: string): void ; } export class ARBGetSubscriptionListSorting { constructor(obj?: { orderBy: ARBGetSubscriptionListOrderFieldEnum, orderDescending: boolean }) getOrderBy(): ARBGetSubscriptionListOrderFieldEnum ; setOrderBy(orderBy: ARBGetSubscriptionListOrderFieldEnum): void ; isOrderDescending(): boolean ; setOrderDescending(orderDescending: boolean): void ; } export class ARBSubscriptionMaskedType { constructor(obj?: { name: string, paymentSchedule: PaymentScheduleType, amount: number, trialAmount: number, status: ARBSubscriptionStatusEnum, profile: SubscriptionCustomerProfileType, order: OrderType, arbTransactions: Array<ArbTransaction> }) getName(): string ; setName(name: string): void ; getPaymentSchedule(): PaymentScheduleType ; setPaymentSchedule(paymentSchedule: PaymentScheduleType): void ; getAmount(): number ; setAmount(amount: number): void ; getTrialAmount(): number ; setTrialAmount(trialAmount: number): void ; getStatus(): ARBSubscriptionStatusEnum ; setStatus(status: ARBSubscriptionStatusEnum): void ; getProfile(): SubscriptionCustomerProfileType ; setProfile(profile: SubscriptionCustomerProfileType): void ; getOrder(): OrderType ; setOrder(order: OrderType): void ; getArbTransactions(): Array<ArbTransaction> ; setArbTransactions(arbTransactions: Array<ArbTransaction>): void ; } export class ARBSubscriptionType { constructor(obj?: { name: string, paymentSchedule: PaymentScheduleType, amount: number, trialAmount: number, payment: PaymentType, order: OrderType, customer: CustomerType, billTo: NameAndAddressType, shipTo: NameAndAddressType, profile: CustomerProfileIdType }) getName(): string ; setName(name: string): void ; getPaymentSchedule(): PaymentScheduleType ; setPaymentSchedule(paymentSchedule: PaymentScheduleType): void ; getAmount(): number ; setAmount(amount: number): void ; getTrialAmount(): number ; setTrialAmount(trialAmount: number): void ; getPayment(): PaymentType ; setPayment(payment: PaymentType): void ; getOrder(): OrderType ; setOrder(order: OrderType): void ; getCustomer(): CustomerType ; setCustomer(customer: CustomerType): void ; getBillTo(): NameAndAddressType ; setBillTo(billTo: NameAndAddressType): void ; getShipTo(): NameAndAddressType ; setShipTo(shipTo: NameAndAddressType): void ; getProfile(): CustomerProfileIdType ; setProfile(profile: CustomerProfileIdType): void ; } export class ArbTransaction { constructor(obj?: { transId: string, response: string, submitTimeUTC: Date, payNum: number, attemptNum: number }) getTransId(): string ; setTransId(transId: string): void ; getResponse(): string ; setResponse(response: string): void ; getSubmitTimeUTC(): Date ; setSubmitTimeUTC(submitTimeUTC: Date): void ; getPayNum(): number ; setPayNum(payNum: number): void ; getAttemptNum(): number ; setAttemptNum(attemptNum: number): void ; } export class AuDetailsType { constructor(obj?: { customerProfileID: number, customerPaymentProfileID: number, firstName: string, lastName: string, updateTimeUTC: string, auReasonCode: string, reasonDescription: string }) getCustomerProfileID(): number ; setCustomerProfileID(customerProfileID: number): void ; getCustomerPaymentProfileID(): number ; setCustomerPaymentProfileID(customerPaymentProfileID: number): void ; getFirstName(): string ; setFirstName(firstName: string): void ; getLastName(): string ; setLastName(lastName: string): void ; getUpdateTimeUTC(): string ; setUpdateTimeUTC(updateTimeUTC: string): void ; getAuReasonCode(): string ; setAuReasonCode(auReasonCode: string): void ; getReasonDescription(): string ; setReasonDescription(reasonDescription: string): void ; } export class AuResponseType { constructor(obj?: { auReasonCode: string, profileCount: number, reasonDescription: string }) getAuReasonCode(): string ; setAuReasonCode(auReasonCode: string): void ; getProfileCount(): number ; setProfileCount(profileCount: number): void ; getReasonDescription(): string ; setReasonDescription(reasonDescription: string): void ; } export class BankAccountMaskedType { constructor(obj?: { accountType: BankAccountTypeEnum, routingNumber: string, accountNumber: string, nameOnAccount: string, echeckType: EcheckTypeEnum, bankName: string }) getAccountType(): BankAccountTypeEnum ; setAccountType(accountType: BankAccountTypeEnum): void ; getRoutingNumber(): string ; setRoutingNumber(routingNumber: string): void ; getAccountNumber(): string ; setAccountNumber(accountNumber: string): void ; getNameOnAccount(): string ; setNameOnAccount(nameOnAccount: string): void ; getEcheckType(): EcheckTypeEnum ; setEcheckType(echeckType: EcheckTypeEnum): void ; getBankName(): string ; setBankName(bankName: string): void ; } export class BankAccountType { constructor(obj?: { accountType: BankAccountTypeEnum, routingNumber: string, accountNumber: string, nameOnAccount: string, echeckType: EcheckTypeEnum, bankName: string, checkNumber: string }) getAccountType(): BankAccountTypeEnum ; setAccountType(accountType: BankAccountTypeEnum): void ; getRoutingNumber(): string ; setRoutingNumber(routingNumber: string): void ; getAccountNumber(): string ; setAccountNumber(accountNumber: string): void ; getNameOnAccount(): string ; setNameOnAccount(nameOnAccount: string): void ; getEcheckType(): EcheckTypeEnum ; setEcheckType(echeckType: EcheckTypeEnum): void ; getBankName(): string ; setBankName(bankName: string): void ; getCheckNumber(): string ; setCheckNumber(checkNumber: string): void ; } export class BatchDetailsType { constructor(obj?: { batchId: string, settlementTimeUTC: Date, settlementTimeLocal: Date, settlementState: string, paymentMethod: string, marketType: string, product: string, statistics: Array<BatchStatisticType> }) getBatchId(): string ; setBatchId(batchId: string): void ; getSettlementTimeUTC(): Date ; setSettlementTimeUTC(settlementTimeUTC: Date): void ; getSettlementTimeLocal(): Date ; setSettlementTimeLocal(settlementTimeLocal: Date): void ; getSettlementState(): string ; setSettlementState(settlementState: string): void ; getPaymentMethod(): string ; setPaymentMethod(paymentMethod: string): void ; getMarketType(): string ; setMarketType(marketType: string): void ; getProduct(): string ; setProduct(product: string): void ; getStatistics(): Array<BatchStatisticType> ; setStatistics(statistics: Array<BatchStatisticType>): void ; } export class BatchStatisticType { constructor(obj?: { accountType: string, chargeAmount: number, chargeCount: number, refundAmount: number, refundCount: number, voidCount: number, declineCount: number, errorCount: number, returnedItemAmount: number, returnedItemCount: number, chargebackAmount: number, chargebackCount: number, correctionNoticeCount: number, chargeChargeBackAmount: number, chargeChargeBackCount: number, refundChargeBackAmount: number, refundChargeBackCount: number, chargeReturnedItemsAmount: number, chargeReturnedItemsCount: number, refundReturnedItemsAmount: number, refundReturnedItemsCount: number }) getAccountType(): string ; setAccountType(accountType: string): void ; getChargeAmount(): number ; setChargeAmount(chargeAmount: number): void ; getChargeCount(): number ; setChargeCount(chargeCount: number): void ; getRefundAmount(): number ; setRefundAmount(refundAmount: number): void ; getRefundCount(): number ; setRefundCount(refundCount: number): void ; getVoidCount(): number ; setVoidCount(voidCount: number): void ; getDeclineCount(): number ; setDeclineCount(declineCount: number): void ; getErrorCount(): number ; setErrorCount(errorCount: number): void ; getReturnedItemAmount(): number ; setReturnedItemAmount(returnedItemAmount: number): void ; getReturnedItemCount(): number ; setReturnedItemCount(returnedItemCount: number): void ; getChargebackAmount(): number ; setChargebackAmount(chargebackAmount: number): void ; getChargebackCount(): number ; setChargebackCount(chargebackCount: number): void ; getCorrectionNoticeCount(): number ; setCorrectionNoticeCount(correctionNoticeCount: number): void ; getChargeChargeBackAmount(): number ; setChargeChargeBackAmount(chargeChargeBackAmount: number): void ; getChargeChargeBackCount(): number ; setChargeChargeBackCount(chargeChargeBackCount: number): void ; getRefundChargeBackAmount(): number ; setRefundChargeBackAmount(refundChargeBackAmount: number): void ; getRefundChargeBackCount(): number ; setRefundChargeBackCount(refundChargeBackCount: number): void ; getChargeReturnedItemsAmount(): number ; setChargeReturnedItemsAmount(chargeReturnedItemsAmount: number): void ; getChargeReturnedItemsCount(): number ; setChargeReturnedItemsCount(chargeReturnedItemsCount: number): void ; getRefundReturnedItemsAmount(): number ; setRefundReturnedItemsAmount(refundReturnedItemsAmount: number): void ; getRefundReturnedItemsCount(): number ; setRefundReturnedItemsCount(refundReturnedItemsCount: number): void ; } export class CardArt { constructor(obj?: { cardBrand: string, cardImageHeight: string, cardImageUrl: string, cardImageWidth: string, cardType: string }) getCardBrand(): string ; setCardBrand(cardBrand: string): void ; getCardImageHeight(): string ; setCardImageHeight(cardImageHeight: string): void ; getCardImageUrl(): string ; setCardImageUrl(cardImageUrl: string): void ; getCardImageWidth(): string ; setCardImageWidth(cardImageWidth: string): void ; getCardType(): string ; setCardType(cardType: string): void ; } export class CcAuthenticationType { constructor(obj?: { authenticationIndicator: string, cardholderAuthenticationValue: string }) getAuthenticationIndicator(): string ; setAuthenticationIndicator(authenticationIndicator: string): void ; getCardholderAuthenticationValue(): string ; setCardholderAuthenticationValue(cardholderAuthenticationValue: string): void ; } export class ContactDetailType { constructor(obj?: { email: string, firstName: string, lastName: string }) getEmail(): string ; setEmail(email: string): void ; getFirstName(): string ; setFirstName(firstName: string): void ; getLastName(): string ; setLastName(lastName: string): void ; } export class CreateProfileResponse { constructor(obj?: { messages: MessagesType, customerProfileId: string, customerPaymentProfileIdList: Array<String>, customerShippingAddressIdList: Array<String> }) getMessages(): MessagesType ; setMessages(messages: MessagesType): void ; getCustomerProfileId(): string ; setCustomerProfileId(customerProfileId: string): void ; getCustomerPaymentProfileIdList(): Array<String> ; setCustomerPaymentProfileIdList(customerPaymentProfileIdList: Array<String>): void ; getCustomerShippingAddressIdList(): Array<String> ; setCustomerShippingAddressIdList(customerShippingAddressIdList: Array<String>): void ; } export class CreditCardMaskedType { constructor(obj?: { cardNumber: string, expirationDate: string, cardType: string, cardArt: CardArt, issuerNumber: string, isPaymentToken: boolean }) getCardNumber(): string ; setCardNumber(cardNumber: string): void ; getExpirationDate(): string ; setExpirationDate(expirationDate: string): void ; getCardType(): string ; setCardType(cardType: string): void ; getCardArt(): CardArt ; setCardArt(cardArt: CardArt): void ; getIssuerNumber(): string ; setIssuerNumber(issuerNumber: string): void ; isIsPaymentToken(): boolean ; setIsPaymentToken(isPaymentToken: boolean): void ; } export class CreditCardSimpleType { constructor(obj?: { cardNumber: string, expirationDate: string }) getCardNumber(): string ; setCardNumber(cardNumber: string): void ; getExpirationDate(): string ; setExpirationDate(expirationDate: string): void ; } export class CreditCardTrackType { constructor(obj?: { track1: string, track2: string }) getTrack1(): string ; setTrack1(track1: string): void ; getTrack2(): string ; setTrack2(track2: string): void ; } export class CustomerDataType { constructor(obj?: { type: CustomerTypeEnum, id: string, email: string, driversLicense: DriversLicenseType, taxId: string }) getType(): CustomerTypeEnum ; setType(type: CustomerTypeEnum): void ; getId(): string ; setId(id: string): void ; getEmail(): string ; setEmail(email: string): void ; getDriversLicense(): DriversLicenseType ; setDriversLicense(driversLicense: DriversLicenseType): void ; getTaxId(): string ; setTaxId(taxId: string): void ; } export class CustomerPaymentProfileBaseType { constructor(obj?: { customerType: CustomerTypeEnum, billTo: CustomerAddressType }) getCustomerType(): CustomerTypeEnum ; setCustomerType(customerType: CustomerTypeEnum): void ; getBillTo(): CustomerAddressType ; setBillTo(billTo: CustomerAddressType): void ; } export class CustomerPaymentProfileListItemType { constructor(obj?: { defaultPaymentProfile: boolean, customerPaymentProfileId: number, customerProfileId: number, billTo: CustomerAddressType, payment: PaymentMaskedType }) isDefaultPaymentProfile(): boolean ; setDefaultPaymentProfile(defaultPaymentProfile: boolean): void ; getCustomerPaymentProfileId(): number ; setCustomerPaymentProfileId(customerPaymentProfileId: number): void ; getCustomerProfileId(): number ; setCustomerProfileId(customerProfileId: number): void ; getBillTo(): CustomerAddressType ; setBillTo(billTo: CustomerAddressType): void ; getPayment(): PaymentMaskedType ; setPayment(payment: PaymentMaskedType): void ; } export class CustomerPaymentProfileSorting { constructor(obj?: { orderBy: CustomerPaymentProfileOrderFieldEnum, orderDescending: boolean }) getOrderBy(): CustomerPaymentProfileOrderFieldEnum ; setOrderBy(orderBy: CustomerPaymentProfileOrderFieldEnum): void ; isOrderDescending(): boolean ; setOrderDescending(orderDescending: boolean): void ; } export class CustomerProfileBaseType { constructor(obj?: { merchantCustomerId: string, description: string, email: string }) getMerchantCustomerId(): string ; setMerchantCustomerId(merchantCustomerId: string): void ; getDescription(): string ; setDescription(description: string): void ; getEmail(): string ; setEmail(email: string): void ; } export class CustomerProfileIdType { constructor(obj?: { customerProfileId: string, customerPaymentProfileId: string, customerAddressId: string }) getCustomerProfileId(): string ; setCustomerProfileId(customerProfileId: string): void ; getCustomerPaymentProfileId(): string ; setCustomerPaymentProfileId(customerPaymentProfileId: string): void ; getCustomerAddressId(): string ; setCustomerAddressId(customerAddressId: string): void ; } export class CustomerProfilePaymentType { constructor(obj?: { createProfile: boolean, customerProfileId: string, paymentProfile: PaymentProfile, shippingProfileId: string }) isCreateProfile(): boolean ; setCreateProfile(createProfile: boolean): void ; getCustomerProfileId(): string ; setCustomerProfileId(customerProfileId: string): void ; getPaymentProfile(): PaymentProfile ; setPaymentProfile(paymentProfile: PaymentProfile): void ; getShippingProfileId(): string ; setShippingProfileId(shippingProfileId: string): void ; } export class CustomerProfileSummaryType { constructor(obj?: { customerProfileId: string, description: string, merchantCustomerId: string, email: string, createdDate: Date }) getCustomerProfileId(): string ; setCustomerProfileId(customerProfileId: string): void ; getDescription(): string ; setDescription(description: string): void ; getMerchantCustomerId(): string ; setMerchantCustomerId(merchantCustomerId: string): void ; getEmail(): string ; setEmail(email: string): void ; getCreatedDate(): Date ; setCreatedDate(createdDate: Date): void ; } export class CustomerType { constructor(obj?: { type: CustomerTypeEnum, id: string, email: string, phoneNumber: string, faxNumber: string, driversLicense: DriversLicenseType, taxId: string }) getType(): CustomerTypeEnum ; setType(type: CustomerTypeEnum): void ; getId(): string ; setId(id: string): void ; getEmail(): string ; setEmail(email: string): void ; getPhoneNumber(): string ; setPhoneNumber(phoneNumber: string): void ; getFaxNumber(): string ; setFaxNumber(faxNumber: string): void ; getDriversLicense(): DriversLicenseType ; setDriversLicense(driversLicense: DriversLicenseType): void ; getTaxId(): string ; setTaxId(taxId: string): void ; } export class DriversLicenseMaskedType { constructor(obj?: { number: string, state: string, dateOfBirth: string }) getNumber(): string ; setNumber(number: string): void ; getState(): string ; setState(state: string): void ; getDateOfBirth(): string ; setDateOfBirth(dateOfBirth: string): void ; } export class DriversLicenseType { constructor(obj?: { number: string, state: string, dateOfBirth: string }) getNumber(): string ; setNumber(number: string): void ; getState(): string ; setState(state: string): void ; getDateOfBirth(): string ; setDateOfBirth(dateOfBirth: string): void ; } export class EmvTag { constructor(obj?: { name: string, value: string, formatted: string }) getName(): string ; setName(name: string): void ; getValue(): string ; setValue(value: string): void ; getFormatted(): string ; setFormatted(formatted: string): void ; } export class EncryptedTrackDataType { constructor(obj?: { FormOfPayment: KeyBlock }) getFormOfPayment(): KeyBlock ; setFormOfPayment(FormOfPayment: KeyBlock): void ; } export class EnumCollection { constructor(obj?: { customerProfileSummaryType: CustomerProfileSummaryType, paymentSimpleType: PaymentSimpleType, accountTypeEnum: AccountTypeEnum, cardTypeEnum: CardTypeEnum, fdsFilterActionEnum: FDSFilterActionEnum, permissionsEnum: PermissionsEnum, settingNameEnum: SettingNameEnum, settlementStateEnum: SettlementStateEnum, transactionStatusEnum: TransactionStatusEnum, transactionTypeEnum: TransactionTypeEnum }) getCustomerProfileSummaryType(): CustomerProfileSummaryType ; setCustomerProfileSummaryType(customerProfileSummaryType: CustomerProfileSummaryType): void ; getPaymentSimpleType(): PaymentSimpleType ; setPaymentSimpleType(paymentSimpleType: PaymentSimpleType): void ; getAccountTypeEnum(): AccountTypeEnum ; setAccountTypeEnum(accountTypeEnum: AccountTypeEnum): void ; getCardTypeEnum(): CardTypeEnum ; setCardTypeEnum(cardTypeEnum: CardTypeEnum): void ; getFdsFilterActionEnum(): FDSFilterActionEnum ; setFdsFilterActionEnum(fdsFilterActionEnum: FDSFilterActionEnum): void ; getPermissionsEnum(): PermissionsEnum ; setPermissionsEnum(permissionsEnum: PermissionsEnum): void ; getSettingNameEnum(): SettingNameEnum ; setSettingNameEnum(settingNameEnum: SettingNameEnum): void ; getSettlementStateEnum(): SettlementStateEnum ; setSettlementStateEnum(settlementStateEnum: SettlementStateEnum): void ; getTransactionStatusEnum(): TransactionStatusEnum ; setTransactionStatusEnum(transactionStatusEnum: TransactionStatusEnum): void ; getTransactionTypeEnum(): TransactionTypeEnum ; setTransactionTypeEnum(transactionTypeEnum: TransactionTypeEnum): void ; } export class ExtendedAmountType { constructor(obj?: { amount: number, name: string, description: string }) getAmount(): number ; setAmount(amount: number): void ; getName(): string ; setName(name: string): void ; getDescription(): string ; setDescription(description: string): void ; } export class FDSFilterType { constructor(obj?: { name: string, action: string }) getName(): string ; setName(name: string): void ; getAction(): string ; setAction(action: string): void ; } export class FingerPrintType { constructor(obj?: { hashValue: string, sequence: string, timestamp: string, currencyCode: string, amount: string }) getHashValue(): string ; setHashValue(hashValue: string): void ; getSequence(): string ; setSequence(sequence: string): void ; getTimestamp(): string ; setTimestamp(timestamp: string): void ; getCurrencyCode(): string ; setCurrencyCode(currencyCode: string): void ; getAmount(): string ; setAmount(amount: string): void ; } export class FraudInformationType { constructor(obj?: { fraudFilterList: Array<string>, fraudAction: string }) getFraudFilterList(): Array<string> ; setFraudFilterList(fraudFilterList: Array<string>): void ; getFraudAction(): string ; setFraudAction(fraudAction: string): void ; } export class HeldTransactionRequestType { constructor(obj?: { action: AfdsTransactionEnum, refTransId: string }) getAction(): AfdsTransactionEnum ; setAction(action: AfdsTransactionEnum): void ; getRefTransId(): string ; setRefTransId(refTransId: string): void ; } export class ImpersonationAuthenticationType { constructor(obj?: { partnerLoginId: string, partnerTransactionKey: string }) getPartnerLoginId(): string ; setPartnerLoginId(partnerLoginId: string): void ; getPartnerTransactionKey(): string ; setPartnerTransactionKey(partnerTransactionKey: string): void ; } export class IsAliveRequest { constructor(obj?: { refId: string }) getRefId(): string ; setRefId(refId: string): void ; } export class KeyBlock { constructor(obj?: { value: KeyValue }) getValue(): KeyValue ; setValue(value: KeyValue): void ; } export class KeyManagementScheme { constructor(obj?: { dukpt: KeyManagementScheme.DUKPT }) getDukpt(): KeyManagementScheme.DUKPT ; setDukpt(dukpt: KeyManagementScheme.DUKPT): void ; } export namespace KeyManagementScheme { export class DUKPT { constructor(obj?: { operation: OperationType, Mode: KeyManagementScheme.DUKPT.Mode, DeviceInfo: KeyManagementScheme.DUKPT.DeviceInfo, EncryptedData: KeyManagementScheme.DUKPT.EncryptedData }) getOperation(): OperationType ; setOperation(operation: OperationType): void ; getMode(): KeyManagementScheme.DUKPT.Mode ; setMode(Mode: KeyManagementScheme.DUKPT.Mode): void ; getDeviceInfo(): KeyManagementScheme.DUKPT.DeviceInfo ; setDeviceInfo(DeviceInfo: KeyManagementScheme.DUKPT.DeviceInfo): void ; getEncryptedData(): KeyManagementScheme.DUKPT.EncryptedData ; setEncryptedData(EncryptedData: KeyManagementScheme.DUKPT.EncryptedData): void ; } export namespace DUKPT { export class DeviceInfo { constructor(obj?: { description: string }) getDescription(): string ; setDescription(description: string): void ; } export class EncryptedData { constructor(obj?: { value: string }) getValue(): string ; setValue(value: string): void ; } export class Mode { constructor(obj?: { pin: string, Data: string }) getPin(): string ; setPin(pin: string): void ; getData(): string ; setData(Data: string): void ; } } } export class KeyValue { constructor(obj?: { encoding: EncodingType, encryptionAlgorithm: EncryptionAlgorithmType, scheme: KeyManagementScheme }) getEncoding(): EncodingType ; setEncoding(encoding: EncodingType): void ; getEncryptionAlgorithm(): EncryptionAlgorithmType ; setEncryptionAlgorithm(encryptionAlgorithm: EncryptionAlgorithmType): void ; getScheme(): KeyManagementScheme ; setScheme(scheme: KeyManagementScheme): void ; } export class LineItemType { constructor(obj?: { itemId: string, name: string, description: string, quantity: number, unitPrice: number, taxable: boolean, unitOfMeasure: string, typeOfSupply: string, taxRate: number, taxAmount: number, nationalTax: number, localTax: number, vatRate: number, alternateTaxId: string, alternateTaxType: string, alternateTaxTypeApplied: string, alternateTaxRate: number, alternateTaxAmount: number, totalAmount: number, commodityCode: string, productCode: string, productSKU: string, discountRate: number, discountAmount: number, taxIncludedInTotal: boolean, taxIsAfterDiscount: boolean }) getItemId(): string ; setItemId(itemId: string): void ; getName(): string ; setName(name: string): void ; getDescription(): string ; setDescription(description: string): void ; getQuantity(): number ; setQuantity(quantity: number): void ; getUnitPrice(): number ; setUnitPrice(unitPrice: number): void ; isTaxable(): boolean ; setTaxable(taxable: boolean): void ; getUnitOfMeasure(): string ; setUnitOfMeasure(unitOfMeasure: string): void ; getTypeOfSupply(): string ; setTypeOfSupply(typeOfSupply: string): void ; getTaxRate(): number ; setTaxRate(taxRate: number): void ; getTaxAmount(): number ; setTaxAmount(taxAmount: number): void ; getNationalTax(): number ; setNationalTax(nationalTax: number): void ; getLocalTax(): number ; setLocalTax(localTax: number): void ; getVatRate(): number ; setVatRate(vatRate: number): void ; getAlternateTaxId(): string ; setAlternateTaxId(alternateTaxId: string): void ; getAlternateTaxType(): string ; setAlternateTaxType(alternateTaxType: string): void ; getAlternateTaxTypeApplied(): string ; setAlternateTaxTypeApplied(alternateTaxTypeApplied: string): void ; getAlternateTaxRate(): number ; setAlternateTaxRate(alternateTaxRate: number): void ; getAlternateTaxAmount(): number ; setAlternateTaxAmount(alternateTaxAmount: number): void ; getTotalAmount(): number ; setTotalAmount(totalAmount: number): void ; getCommodityCode(): string ; setCommodityCode(commodityCode: string): void ; getProductCode(): string ; setProductCode(productCode: string): void ; getProductSKU(): string ; setProductSKU(productSKU: string): void ; getDiscountRate(): number ; setDiscountRate(discountRate: number): void ; getDiscountAmount(): number ; setDiscountAmount(discountAmount: number): void ; isTaxIncludedInTotal(): boolean ; setTaxIncludedInTotal(taxIncludedInTotal: boolean): void ; isTaxIsAfterDiscount(): boolean ; setTaxIsAfterDiscount(taxIsAfterDiscount: boolean): void ; } export class ListOfAUDetailsType { constructor(obj?: { auUpdateOrAuDelete: Array<AuDetailsType> }) getAuUpdateOrAuDelete(): Array<AuDetailsType> ; setAuUpdateOrAuDelete(auUpdateOrAuDelete: Array<AuDetailsType>): void ; } export class MerchantAuthenticationType { constructor(obj?: { name: string, transactionKey: string, sessionToken: string, password: string, impersonationAuthentication: ImpersonationAuthenticationType, fingerPrint: FingerPrintType, clientKey: string, accessToken: string, mobileDeviceId: string }) getName(): string ; setName(name: string): void ; getTransactionKey(): string ; setTransactionKey(transactionKey: string): void ; getSessionToken(): string ; setSessionToken(sessionToken: string): void ; getPassword(): string ; setPassword(password: string): void ; getImpersonationAuthentication(): ImpersonationAuthenticationType ; setImpersonationAuthentication(impersonationAuthentication: ImpersonationAuthenticationType): void ; getFingerPrint(): FingerPrintType ; setFingerPrint(fingerPrint: FingerPrintType): void ; getClientKey(): string ; setClientKey(clientKey: string): void ; getAccessToken(): string ; setAccessToken(accessToken: string): void ; getMobileDeviceId(): string ; setMobileDeviceId(mobileDeviceId: string): void ; } export class MerchantContactType { constructor(obj?: { merchantName: string, merchantAddress: string, merchantCity: string, merchantState: string, merchantZip: string, merchantPhone: string }) getMerchantName(): string ; setMerchantName(merchantName: string): void ; getMerchantAddress(): string ; setMerchantAddress(merchantAddress: string): void ; getMerchantCity(): string ; setMerchantCity(merchantCity: string): void ; getMerchantState(): string ; setMerchantState(merchantState: string): void ; getMerchantZip(): string ; setMerchantZip(merchantZip: string): void ; getMerchantPhone(): string ; setMerchantPhone(merchantPhone: string): void ; } export class MessagesType { constructor(obj?: { resultCode: MessageTypeEnum, message: Array<MessagesType.Message> }) getResultCode(): MessageTypeEnum ; setResultCode(resultCode: MessageTypeEnum): void ; getMessage(): Array<MessagesType.Message> ; setMessage(message: Array<MessagesType.Message>): void ; } export namespace MessagesType { export class Message { constructor(obj?: { code: string, text: string }) getCode(): string ; setCode(code: string): void ; getText(): string ; setText(text: string): void ; } } export class MobileDeviceType { constructor(obj?: { mobileDeviceId: string, description: string, phoneNumber: string, devicePlatform: string, deviceActivation: DeviceActivationEnum }) getMobileDeviceId(): string ; setMobileDeviceId(mobileDeviceId: string): void ; getDescription(): string ; setDescription(description: string): void ; getPhoneNumber(): string ; setPhoneNumber(phoneNumber: string): void ; getDevicePlatform(): string ; setDevicePlatform(devicePlatform: string): void ; getDeviceActivation(): DeviceActivationEnum ; setDeviceActivation(deviceActivation: DeviceActivationEnum): void ; } export class NameAndAddressType { constructor(obj?: { firstName: string, lastName: string, company: string, address: string, city: string, state: string, zip: string, country: string }) getFirstName(): string ; setFirstName(firstName: string): void ; getLastName(): string ; setLastName(lastName: string): void ; getCompany(): string ; setCompany(company: string): void ; getAddress(): string ; setAddress(address: string): void ; getCity(): string ; setCity(city: string): void ; getState(): string ; setState(state: string): void ; getZip(): string ; setZip(zip: string): void ; getCountry(): string ; setCountry(country: string): void ; } export class OpaqueDataType { constructor(obj?: { dataDescriptor: string, dataValue: string, dataKey: string, expirationTimeStamp: Date }) getDataDescriptor(): string ; setDataDescriptor(dataDescriptor: string): void ; getDataValue(): string ; setDataValue(dataValue: string): void ; getDataKey(): string ; setDataKey(dataKey: string): void ; getExpirationTimeStamp(): Date ; setExpirationTimeStamp(expirationTimeStamp: Date): void ; } export class OrderType { constructor(obj?: { invoiceNumber: string, description: string, discountAmount: number, taxIsAfterDiscount: boolean, totalTaxTypeCode: string, purchaserVATRegistrationNumber: string, merchantVATRegistrationNumber: string, vatInvoiceReferenceNumber: string, purchaserCode: string, summaryCommodityCode: string, purchaseOrderDateUTC: Date, supplierOrderReference: string, authorizedContactName: string, cardAcceptorRefNumber: string, amexDataTAA1: string, amexDataTAA2: string, amexDataTAA3: string, amexDataTAA4: string }) getInvoiceNumber(): string ; setInvoiceNumber(invoiceNumber: string): void ; getDescription(): string ; setDescription(description: string): void ; getDiscountAmount(): number ; setDiscountAmount(discountAmount: number): void ; isTaxIsAfterDiscount(): boolean ; setTaxIsAfterDiscount(taxIsAfterDiscount: boolean): void ; getTotalTaxTypeCode(): string ; setTotalTaxTypeCode(totalTaxTypeCode: string): void ; getPurchaserVATRegistrationNumber(): string ; setPurchaserVATRegistrationNumber(purchaserVATRegistrationNumber: string): void ; getMerchantVATRegistrationNumber(): string ; setMerchantVATRegistrationNumber(merchantVATRegistrationNumber: string): void ; getVatInvoiceReferenceNumber(): string ; setVatInvoiceReferenceNumber(vatInvoiceReferenceNumber: string): void ; getPurchaserCode(): string ; setPurchaserCode(purchaserCode: string): void ; getSummaryCommodityCode(): string ; setSummaryCommodityCode(summaryCommodityCode: string): void ; getPurchaseOrderDateUTC(): Date ; setPurchaseOrderDateUTC(purchaseOrderDateUTC: Date): void ; getSupplierOrderReference(): string ; setSupplierOrderReference(supplierOrderReference: string): void ; getAuthorizedContactName(): string ; setAuthorizedContactName(authorizedContactName: string): void ; getCardAcceptorRefNumber(): string ; setCardAcceptorRefNumber(cardAcceptorRefNumber: string): void ; getAmexDataTAA1(): string ; setAmexDataTAA1(amexDataTAA1: string): void ; getAmexDataTAA2(): string ; setAmexDataTAA2(amexDataTAA2: string): void ; getAmexDataTAA3(): string ; setAmexDataTAA3(amexDataTAA3: string): void ; getAmexDataTAA4(): string ; setAmexDataTAA4(amexDataTAA4: string): void ; } export class OtherTaxType { constructor(obj?: { nationalTaxAmount: number, localTaxAmount: number, alternateTaxAmount: number, alternateTaxId: string, vatTaxRate: number, vatTaxAmount: number }) getNationalTaxAmount(): number ; setNationalTaxAmount(nationalTaxAmount: number): void ; getLocalTaxAmount(): number ; setLocalTaxAmount(localTaxAmount: number): void ; getAlternateTaxAmount(): number ; setAlternateTaxAmount(alternateTaxAmount: number): void ; getAlternateTaxId(): string ; setAlternateTaxId(alternateTaxId: string): void ; getVatTaxRate(): number ; setVatTaxRate(vatTaxRate: number): void ; getVatTaxAmount(): number ; setVatTaxAmount(vatTaxAmount: number): void ; } export class Paging { constructor(obj?: { limit: number, offset: number }) getLimit(): number ; setLimit(limit: number): void ; getOffset(): number ; setOffset(offset: number): void ; } export class PayPalType { constructor(obj?: { successUrl: string, cancelUrl: string, paypalLc: string, paypalHdrImg: string, paypalPayflowcolor: string, payerID: string }) getSuccessUrl(): string ; setSuccessUrl(successUrl: string): void ; getCancelUrl(): string ; setCancelUrl(cancelUrl: string): void ; getPaypalLc(): string ; setPaypalLc(paypalLc: string): void ; getPaypalHdrImg(): string ; setPaypalHdrImg(paypalHdrImg: string): void ; getPaypalPayflowcolor(): string ; setPaypalPayflowcolor(paypalPayflowcolor: string): void ; getPayerID(): string ; setPayerID(payerID: string): void ; } export class PaymentDetails { constructor(obj?: { currency: string, promoCode: string, misc: string, giftWrap: string, discount: string, tax: string, shippingHandling: string, subTotal: string, orderID: string, amount: string }) getCurrency(): string ; setCurrency(currency: string): void ; getPromoCode(): string ; setPromoCode(promoCode: string): void ; getMisc(): string ; setMisc(misc: string): void ; getGiftWrap(): string ; setGiftWrap(giftWrap: string): void ; getDiscount(): string ; setDiscount(discount: string): void ; getTax(): string ; setTax(tax: string): void ; getShippingHandling(): string ; setShippingHandling(shippingHandling: string): void ; getSubTotal(): string ; setSubTotal(subTotal: string): void ; getOrderID(): string ; setOrderID(orderID: string): void ; getAmount(): string ; setAmount(amount: string): void ; } export class PaymentEmvType { constructor(obj?: { emvData: object, emvDescriptor: object, emvVersion: object }) getEmvData(): object ; setEmvData(emvData: object): void ; getEmvDescriptor(): object ; setEmvDescriptor(emvDescriptor: object): void ; getEmvVersion(): object ; setEmvVersion(emvVersion: object): void ; } export class PaymentMaskedType { constructor(obj?: { creditCard: CreditCardMaskedType, bankAccount: BankAccountMaskedType, tokenInformation: TokenMaskedType }) getCreditCard(): CreditCardMaskedType ; setCreditCard(creditCard: CreditCardMaskedType): void ; getBankAccount(): BankAccountMaskedType ; setBankAccount(bankAccount: BankAccountMaskedType): void ; getTokenInformation(): TokenMaskedType ; setTokenInformation(tokenInformation: TokenMaskedType): void ; } export class PaymentProfile { constructor(obj?: { paymentProfileId: string, cardCode: string }) getPaymentProfileId(): string ; setPaymentProfileId(paymentProfileId: string): void ; getCardCode(): string ; setCardCode(cardCode: string): void ; } export class PaymentScheduleType { constructor(obj?: { interval: PaymentScheduleType.Interval, startDate: Date, totalOccurrences: number, trialOccurrences: number }) getInterval(): PaymentScheduleType.Interval ; setInterval(interval: PaymentScheduleType.Interval): void ; getStartDate(): Date ; setStartDate(startDate: Date): void ; getTotalOccurrences(): number ; setTotalOccurrences(totalOccurrences: number): void ; getTrialOccurrences(): number ; setTrialOccurrences(trialOccurrences: number): void ; } export namespace PaymentScheduleType { export class Interval { constructor(obj?: { length: number, unit: ARBSubscriptionUnitEnum }) getLength(): number ; setLength(length: number): void ; getUnit(): ARBSubscriptionUnitEnum ; setUnit(unit: ARBSubscriptionUnitEnum): void ; } } export class PaymentSimpleType { constructor(obj?: { creditCard: CreditCardSimpleType, bankAccount: BankAccountType }) getCreditCard(): CreditCardSimpleType ; setCreditCard(creditCard: CreditCardSimpleType): void ; getBankAccount(): BankAccountType ; setBankAccount(bankAccount: BankAccountType): void ; } export class PaymentType { constructor(obj?: { creditCard: CreditCardType, bankAccount: BankAccountType, trackData: CreditCardTrackType, encryptedTrackData: EncryptedTrackDataType, payPal: PayPalType, opaqueData: OpaqueDataType, emv: PaymentEmvType, dataSource: string }) getCreditCard(): CreditCardType ; setCreditCard(creditCard: CreditCardType): void ; getBankAccount(): BankAccountType ; setBankAccount(bankAccount: BankAccountType): void ; getTrackData(): CreditCardTrackType ; setTrackData(trackData: CreditCardTrackType): void ; getEncryptedTrackData(): EncryptedTrackDataType ; setEncryptedTrackData(encryptedTrackData: EncryptedTrackDataType): void ; getPayPal(): PayPalType ; setPayPal(payPal: PayPalType): void ; getOpaqueData(): OpaqueDataType ; setOpaqueData(opaqueData: OpaqueDataType): void ; getEmv(): PaymentEmvType ; setEmv(emv: PaymentEmvType): void ; getDataSource(): string ; setDataSource(dataSource: string): void ; } export class PermissionType { constructor(obj?: { permissionName: string }) getPermissionName(): string ; setPermissionName(permissionName: string): void ; } export class ProcessingOptions { constructor(obj?: { isFirstRecurringPayment: boolean, isFirstSubsequentAuth: boolean, isSubsequentAuth: boolean, isStoredCredentials: boolean }) isIsFirstRecurringPayment(): boolean ; setIsFirstRecurringPayment(isFirstRecurringPayment: boolean): void ; isIsFirstSubsequentAuth(): boolean ; setIsFirstSubsequentAuth(isFirstSubsequentAuth: boolean): void ; isIsSubsequentAuth(): boolean ; setIsSubsequentAuth(isSubsequentAuth: boolean): void ; isIsStoredCredentials(): boolean ; setIsStoredCredentials(isStoredCredentials: boolean): void ; } export class ProcessorType { constructor(obj?: { name: string, id: number, cardTypes: Array<String> }) getName(): string ; setName(name: string): void ; getId(): number ; setId(id: number): void ; getCardTypes(): Array<String> ; setCardTypes(cardTypes: Array<String>): void ; } export class ProfileTransAmountType { constructor(obj?: { amount: number, tax: ExtendedAmountType, shipping: ExtendedAmountType, duty: ExtendedAmountType, lineItems: Array<LineItemType> }) getAmount(): number ; setAmount(amount: number): void ; getTax(): ExtendedAmountType ; setTax(tax: ExtendedAmountType): void ; getShipping(): ExtendedAmountType ; setShipping(shipping: ExtendedAmountType): void ; getDuty(): ExtendedAmountType ; setDuty(duty: ExtendedAmountType): void ; getLineItems(): Array<LineItemType> ; setLineItems(lineItems: Array<LineItemType>): void ; } export class ProfileTransVoidType { constructor(obj?: { customerProfileId: string, customerPaymentProfileId: string, customerShippingAddressId: string, transId: string }) getCustomerProfileId(): string ; setCustomerProfileId(customerProfileId: string): void ; getCustomerPaymentProfileId(): string ; setCustomerPaymentProfileId(customerPaymentProfileId: string): void ; getCustomerShippingAddressId(): string ; setCustomerShippingAddressId(customerShippingAddressId: string): void ; getTransId(): string ; setTransId(transId: string): void ; } export class ProfileTransactionType { constructor(obj?: { profileTransAuthCapture: ProfileTransAuthCaptureType, profileTransAuthOnly: ProfileTransAuthOnlyType, profileTransPriorAuthCapture: ProfileTransPriorAuthCaptureType, profileTransCaptureOnly: ProfileTransCaptureOnlyType, profileTransRefund: ProfileTransRefundType, profileTransVoid: ProfileTransVoidType }) getProfileTransAuthCapture(): ProfileTransAuthCaptureType ; setProfileTransAuthCapture(profileTransAuthCapture: ProfileTransAuthCaptureType): void ; getProfileTransAuthOnly(): ProfileTransAuthOnlyType ; setProfileTransAuthOnly(profileTransAuthOnly: ProfileTransAuthOnlyType): void ; getProfileTransPriorAuthCapture(): ProfileTransPriorAuthCaptureType ; setProfileTransPriorAuthCapture(profileTransPriorAuthCapture: ProfileTransPriorAuthCaptureType): void ; getProfileTransCaptureOnly(): ProfileTransCaptureOnlyType ; setProfileTransCaptureOnly(profileTransCaptureOnly: ProfileTransCaptureOnlyType): void ; getProfileTransRefund(): ProfileTransRefundType ; setProfileTransRefund(profileTransRefund: ProfileTransRefundType): void ; getProfileTransVoid(): ProfileTransVoidType ; setProfileTransVoid(profileTransVoid: ProfileTransVoidType): void ; } export class ReturnedItemType { constructor(obj?: { id: string, dateUTC: Date, dateLocal: Date, code: string, description: string }) getId(): string ; setId(id: string): void ; getDateUTC(): Date ; setDateUTC(dateUTC: Date): void ; getDateLocal(): Date ; setDateLocal(dateLocal: Date): void ; getCode(): string ; setCode(code: string): void ; getDescription(): string ; setDescription(description: string): void ; } export class SecurePaymentContainerErrorType { constructor(obj?: { code: string, description: string }) getCode(): string ; setCode(code: string): void ; getDescription(): string ; setDescription(description: string): void ; } export class SettingType { constructor(obj?: { settingName: string, settingValue: string }) getSettingName(): string ; setSettingName(settingName: string): void ; getSettingValue(): string ; setSettingValue(settingValue: string): void ; } export class SolutionType { constructor(obj?: { id: string, name: string, vendorName: string }) getId(): string ; setId(id: string): void ; getName(): string ; setName(name: string): void ; getVendorName(): string ; setVendorName(vendorName: string): void ; } export class SubMerchantType { constructor(obj?: { identifier: string, doingBusinessAs: string, paymentServiceProviderName: string, paymentServiceFacilitator: string, streetAddress: string, phone: string, email: string, postalCode: string, city: string, regionCode: string, countryCode: string }) getIdentifier(): string ; setIdentifier(identifier: string): void ; getDoingBusinessAs(): string ; setDoingBusinessAs(doingBusinessAs: string): void ; getPaymentServiceProviderName(): string ; setPaymentServiceProviderName(paymentServiceProviderName: string): void ; getPaymentServiceFacilitator(): string ; setPaymentServiceFacilitator(paymentServiceFacilitator: string): void ; getStreetAddress(): string ; setStreetAddress(streetAddress: string): void ; getPhone(): string ; setPhone(phone: string): void ; getEmail(): string ; setEmail(email: string): void ; getPostalCode(): string ; setPostalCode(postalCode: string): void ; getCity(): string ; setCity(city: string): void ; getRegionCode(): string ; setRegionCode(regionCode: string): void ; getCountryCode(): string ; setCountryCode(countryCode: string): void ; } export class SubscriptionDetail { constructor(obj?: { id: number, name: string, status: ARBSubscriptionStatusEnum, createTimeStampUTC: Date, firstName: string, lastName: string, totalOccurrences: number, pastOccurrences: number, paymentMethod: PaymentMethodEnum, accountNumber: string, invoice: string, amount: number, currencyCode: string, customerProfileId: number, customerPaymentProfileId: number, customerShippingProfileId: number }) getId(): number ; setId(id: number): void ; getName(): string ; setName(name: string): void ; getStatus(): ARBSubscriptionStatusEnum ; setStatus(status: ARBSubscriptionStatusEnum): void ; getCreateTimeStampUTC(): Date ; setCreateTimeStampUTC(createTimeStampUTC: Date): void ; getFirstName(): string ; setFirstName(firstName: string): void ; getLastName(): string ; setLastName(lastName: string): void ; getTotalOccurrences(): number ; setTotalOccurrences(totalOccurrences: number): void ; getPastOccurrences(): number ; setPastOccurrences(pastOccurrences: number): void ; getPaymentMethod(): PaymentMethodEnum ; setPaymentMethod(paymentMethod: PaymentMethodEnum): void ; getAccountNumber(): string ; setAccountNumber(accountNumber: string): void ; getInvoice(): string ; setInvoice(invoice: string): void ; getAmount(): number ; setAmount(amount: number): void ; getCurrencyCode(): string ; setCurrencyCode(currencyCode: string): void ; getCustomerProfileId(): number ; setCustomerProfileId(customerProfileId: number): void ; getCustomerPaymentProfileId(): number ; setCustomerPaymentProfileId(customerPaymentProfileId: number): void ; getCustomerShippingProfileId(): number ; setCustomerShippingProfileId(customerShippingProfileId: number): void ; } export class SubscriptionIdList { constructor(obj?: { subscriptionId: Array<String> }) getSubscriptionId(): Array<String> ; setSubscriptionId(subscriptionId: Array<String>): void ; } export class SubscriptionPaymentType { constructor(obj?: { id: number, payNum: number }) getId(): number ; setId(id: number): void ; getPayNum(): number ; setPayNum(payNum: number): void ; } export class SubsequentAuthInformation { constructor(obj?: { originalNetworkTransId: string, reason: MerchantInitTransReasonEnum }) getOriginalNetworkTransId(): string ; setOriginalNetworkTransId(originalNetworkTransId: string): void ; getReason(): MerchantInitTransReasonEnum ; setReason(reason: MerchantInitTransReasonEnum): void ; } export class TokenMaskedType { constructor(obj?: { tokenSource: string, tokenNumber: string, expirationDate: string, tokenRequestorId: string }) getTokenSource(): string ; setTokenSource(tokenSource: string): void ; getTokenNumber(): string ; setTokenNumber(tokenNumber: string): void ; getExpirationDate(): string ; setExpirationDate(expirationDate: string): void ; getTokenRequestorId(): string ; setTokenRequestorId(tokenRequestorId: string): void ; } export class TransRetailInfoType { constructor(obj?: { marketType: string, deviceType: string, customerSignature: string, terminalNumber: string }) getMarketType(): string ; setMarketType(marketType: string): void ; getDeviceType(): string ; setDeviceType(deviceType: string): void ; getCustomerSignature(): string ; setCustomerSignature(customerSignature: string): void ; getTerminalNumber(): string ; setTerminalNumber(terminalNumber: string): void ; } export class TransactionDetailsType { constructor(obj?: { transId: string, refTransId: string, splitTenderId: string, submitTimeUTC: Date, submitTimeLocal: Date, transactionType: string, transactionStatus: string, responseCode: number, responseReasonCode: number, subscription: SubscriptionPaymentType, responseReasonDescription: string, authCode: string, AVSResponse: string, cardCodeResponse: string, CAVVResponse: string, FDSFilterAction: string, FDSFilters: Array<FDSFilterType>, batch: BatchDetailsType, order: OrderExType, requestedAmount: number, authAmount: number, settleAmount: number, tax: ExtendedAmountType, shipping: ExtendedAmountType, duty: ExtendedAmountType, lineItems: Array<LineItemType>, prepaidBalanceRemaining: number, taxExempt: boolean, payment: P