class IntentMandateValidationStrategy

Validation strategy for IntentMandate

Constructors

new
IntentMandateValidationStrategy(config?: ValidationConfig)

Properties

Methods

canHandle(mandateType: MandateType): boolean
checkExpiry(
mandate: IntentMandate,
currentDate?: Date,
): Promise<boolean>

Usage

import { IntentMandateValidationStrategy } from ".";