method PaymentMandateContentsValidator.prototype.checkExpiry
PaymentMandateContentsValidator.prototype.checkExpiry(
currentDate?: Date,
): Promise<boolean>

Check if PaymentMandateContents has expired based on timestamp PaymentMandates typically don't expire, but we check if timestamp is reasonable

Parameters

optional
currentDate: Date

Return Type

Promise<boolean>

Usage

import { PaymentMandateContentsValidator } from ".";