import { FedaPayObject } from './FedaPayObject'; import { Resource } from './Resource'; /** * Class Balance * * @property int $id * @property int $currency_id * @property int $account_id * @property int $amount * @property string $mode * @property string $deleted_at * @property string $created_at * @property string $updated_at */ export class Balance extends Resource { protected static ressourceName = 'balance'; /** * @param {string|number} id * @param {Object|null} params * @param {Object|null} headers * @returns {Promise} */ static retrieve(id, params = {}, headers = {}): Promise { return > this._retrieve(id, params, headers); } /** * @param {Object|null} params * @param {Object|null} headers * * @returns {Promise} */ static all(params = {}, headers = {}): Promise { return > this._all(params, headers); } }