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) • 412 B
TypeScript
import IConsumeConsentResponse from '../interfaces/IConsumeConsentResponse';
export default class ConsumeConsentResponse implements IConsumeConsentResponse {
private _authCode;
private _token;
private _state;
constructor({ authCode, token, state }: IConsumeConsentResponse);
get authCode(): string;
get token(): string;
get state(): string;
toObject(): IConsumeConsentResponse;
}