open-banking-pfm-sdk
Version:
The Open Banking PFM SDK uses Client classes and with **Promises** to get responses from the Open Banking PFM API in an easier way and structured as data models.
12 lines (11 loc) • 406 B
TypeScript
import IConsentCreateResponse from '../interfaces/IConsentCreateResponse';
export default class ConsentCreateResponse implements IConsentCreateResponse {
private _bankId;
private _userId;
private _url;
constructor({ bankId, userId, url }: IConsentCreateResponse);
get bankId(): string;
get userId(): number | string;
get url(): string;
toObject(): IConsentCreateResponse;
}