method MandateValidationStrategyRegistry.prototype.checkMandateExpiry
MandateValidationStrategyRegistry.prototype.checkMandateExpiry(
mandate: Mandate,
currentDate?: Date,
): Promise<boolean>

Check mandate expiry by detecting type and using appropriate strategy

Parameters

mandate: Mandate
optional
currentDate: Date

Return Type

Promise<boolean>

Usage

import { MandateValidationStrategyRegistry } from ".";