Source of file CurrencyDataProvider.php
Size: 0,592 Bytes - Last Modified: 2021-12-24T06:51:34+00:00
/var/www/docs.ssmods.com/process/src/src/Currency/Interfaces/CurrencyDataProvider.php
12345678910111213141516171819202122232425262728 | <?php namespace Heystack\Ecommerce\Currency\Interfaces; /** * Interface CurrencyDataProvider * @package Heystack\Ecommerce\Currency\Interfaces */ interface CurrencyDataProvider { /** * Returns the Currency's code, e.g. NZD, USD * @return string */ public function getCurrencyCode(); /** * Returns whether the currency is the System's default * @return bool */ public function isDefaultCurrency(); /** * Returns the value of the currency vis-a-vis the default currency * @return float */ public function getValue(); } |