method PaymentMandateValidator.prototype.checkExpiry
PaymentMandateValidator.prototype.checkExpiry(
paymentMandate: PaymentMandate,
currentDate?: Date,
): Promise<boolean>

Check if PaymentMandate has expired (through its contents timestamp)

Parameters

paymentMandate: PaymentMandate
optional
currentDate: Date

Return Type

Promise<boolean>

Usage

import { PaymentMandateValidator } from ".";