import { FedaPayObject } from './FedaPayObject'; import { Resource } from './Resource'; /** * Class Currency * * @property int $id * @property string $name * @property string $iso * @property int $code * @property string $prefix * @property string $suffix * @property string $div * @property string $created_at * @property string $updated_at */ export class Currency extends Resource { protected static ressourceName = 'currency'; /** * @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); } }