UNPKG

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.

27 lines (26 loc) 611 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class ConsumeConsentResponse { constructor({ authCode, token, state }) { this._authCode = authCode; this._token = token; this._state = state; } get authCode() { return this._authCode; } get token() { return this._token; } get state() { return this._state; } toObject() { return { authCode: this._authCode, token: this._token, state: this._state }; } } exports.default = ConsumeConsentResponse;