Heystack\Ecommerce\Currency\Interfaces\CurrencyDataProvider
Interface CurrencyDataProvider
Synopsis
interface CurrencyDataProvider
{
- // methods
- public string getCurrencyCode()
- public bool isDefaultCurrency()
- public float getValue()
Methods
public
- getCurrencyCode() — Returns the Currency's code, e.g. NZD, USD
- getValue() — Returns the value of the currency vis-a-vis the default currency
- isDefaultCurrency() — Returns whether the currency is the System's default