Currencies

The International Financial Reporting Standards require that every reporing entity disclose the Currency in which it is reporting. Currencies in the package are independent of entities and can be created seperately.

Attributes

  • name: The name of the Currency
  • currency_code: The 3 digit currency code in accordance with ISO 4217.
  • exchangeRates: All the Exchange Rates associated with the Currency.
  • entity: The Entity associated with the exchange rate. Defaults to the the id of entity of the logged in user.

Methods

  • $currency->attributes(): Presents the currency’s attributes as an object. Useful for debugging.
  • $currency->toString(): The string representation of the Currency object instance.