class IntentMandateClass

Class for IntentMandate with specific functionality

Constructors

new
IntentMandateClass(
options?: { id?: string; createdAt?: Date; status?: MandateStatus; signature?: string; },
)

Properties

Methods

toString(): string
protected
validate(): Promise<void>

Static Methods

createNew(
options?: { id?: string; createdAt?: Date; status?: MandateStatus; signature?: string; },
): Promise<IntentMandateClass>

Create a new IntentMandate

Create from existing IntentMandate data Note: IntentMandates are never signed according to AP2 specification