@atomixdesign/nodepay-paystream
Version:
Nodepay strategy for the Paystream payment gateway.
33 lines (32 loc) • 1.33 kB
TypeScript
import { ICustomerDetails } from '@atomixdesign/nodepay-core/src/types';
export declare class PaystreamAddress {
readonly address: string;
readonly city: string;
readonly state: string;
readonly postcode: string;
readonly country: string;
constructor(address: string, city: string, state: string, postcode: string, country: string);
}
export interface PaystreamCustomer extends ICustomerDetails {
firstName: string;
lastName: string;
reference: string;
emailAddress: string;
ipAddress?: string;
customerId?: string;
}
export declare class PaystreamCustomerDetails implements PaystreamCustomer {
readonly firstName: string;
readonly lastName: string;
readonly reference: string;
readonly emailAddress: string;
readonly address1: string;
readonly city: string;
readonly state: string;
readonly postCode: string;
readonly country: string;
readonly ipAddress?: string | undefined;
readonly customerId?: string | undefined;
readonly address2?: string | undefined;
constructor(firstName: string, lastName: string, reference: string, emailAddress: string, address1: string, city: string, state: string, postCode: string, country: string, ipAddress?: string | undefined, customerId?: string | undefined, address2?: string | undefined);
}