@atomixdesign/nodepay-pay-way
Version:
Nodepay strategy for the WestPac PayWay payment gateway.
34 lines (33 loc) • 2.24 kB
TypeScript
import { ICustomerDetails } from '@atomixdesign/nodepay-core/build/types';
export declare class PaywayAddress implements ICustomerDetails {
readonly firstName?: string | undefined;
readonly lastName?: string | undefined;
readonly phoneNumber?: string | undefined;
readonly emailAddress?: string | undefined;
readonly address1?: string | undefined;
readonly address2?: string | undefined;
readonly postCode?: string | undefined;
readonly region?: string | undefined;
readonly country?: string | undefined;
city?: string | undefined;
sendEmailReceipts?: boolean | undefined;
constructor(firstName?: string | undefined, lastName?: string | undefined, phoneNumber?: string | undefined, emailAddress?: string | undefined, address1?: string | undefined, address2?: string | undefined, postCode?: string | undefined, region?: string | undefined, country?: string | undefined, city?: string | undefined, sendEmailReceipts?: boolean | undefined);
}
export declare class PaywayCustomer implements PaywayAddress, IPaywayInternalCustomerPaymentDetails {
readonly customerId: string;
readonly singleUseTokenId: string;
readonly merchantId?: string | undefined;
readonly bankAccountId?: string | undefined;
readonly firstName?: string | undefined;
readonly lastName?: string | undefined;
readonly phoneNumber?: string | undefined;
readonly emailAddress?: string | undefined;
readonly address1?: string | undefined;
readonly address2?: string | undefined;
readonly postCode?: string | undefined;
readonly region?: string | undefined;
readonly country?: string | undefined;
readonly city?: string | undefined;
readonly sendEmailReceipts?: boolean | undefined;
constructor(customerId: string, singleUseTokenId: string, merchantId?: string | undefined, bankAccountId?: string | undefined, firstName?: string | undefined, lastName?: string | undefined, phoneNumber?: string | undefined, emailAddress?: string | undefined, address1?: string | undefined, address2?: string | undefined, postCode?: string | undefined, region?: string | undefined, country?: string | undefined, city?: string | undefined, sendEmailReceipts?: boolean | undefined);
}