@atomixdesign/nodepay-pay-way
Version:
Nodepay strategy for the WestPac PayWay payment gateway.
14 lines (13 loc) • 869 B
TypeScript
import { IPaymentSchedule } from '@atomixdesign/nodepay-core/build/types';
import { PaywayPaymentFrequency } from './payment-frequency';
export declare class PaywayPaymentSchedule implements IPaymentSchedule {
readonly customerId: string;
readonly startDate: string;
readonly amountInCents: number;
readonly frequency: PaywayPaymentFrequency;
readonly nextPaymentDate?: string | undefined;
readonly nextPrincipalAmount?: number | undefined;
readonly numberOfPaymentsRemaining?: number | undefined;
readonly finalPrincipalAmount?: number | undefined;
constructor(customerId: string, startDate: string, amountInCents: number, frequency: PaywayPaymentFrequency, nextPaymentDate?: string | undefined, nextPrincipalAmount?: number | undefined, numberOfPaymentsRemaining?: number | undefined, finalPrincipalAmount?: number | undefined);
}