method PaymentRequestValidator.prototype.checkExpiry
PaymentRequestValidator.prototype.checkExpiry(
_paymentRequest: AP2PaymentRequest,
_currentDate?: Date,
): Promise<boolean>

PaymentRequest doesn't have expiry, so always return false

Parameters

_paymentRequest: AP2PaymentRequest
optional
_currentDate: Date

Return Type

Promise<boolean>

Usage

import { PaymentRequestValidator } from ".";