method BaseMandate.prototype.toJSON
BaseMandate.prototype.toJSON(): { id: string; createdAt: string; status: MandateStatus; data: T; signature?: string; }

Convert mandate to JSON

Return Type

{ id: string; createdAt: string; status: MandateStatus; data: T; signature?: string; }

Usage

import { BaseMandate } from ".";