CurrencyManagerInterface
interface CurrencyManagerInterface
Interface CurrencyManagerInterface
Methods
float
getRelativeRatio(string $referenceCurrencyCode, string $currencyCode)
Get ratio for specified currencies
Money
convert(Money $amount, string $currencyCode)
Convert the amount into the currencyCode given in parameter
Details
at line 31
float
getRelativeRatio(string $referenceCurrencyCode, string $currencyCode)
Get ratio for specified currencies
at line 40
Money
convert(Money $amount, string $currencyCode)
Convert the amount into the currencyCode given in parameter
at line 48
RatioStorage
saveCurrency(RatioStorage $currency)
Persist Currency