Sunnysideup\Ecommerce\Money\ExchangeRateProviderDummy
Synopsis
class ExchangeRateProviderDummy
extends ExchangeRateProvider
{
- // Inherited members from ExchangeRateProvider
- protected float $exchangeCostMultiplier;
- // methods
- public void ExchangeRate()
- // Inherited methods from ExchangeRateProvider
- public float ExchangeRate()
- protected float getRate()
Hierarchy
Members
protected
- $exchangeCostMultiplier
—
float
adds a bit of additional cost to account for the exchange cost.
Methods
public
Inherited from Sunnysideup\Ecommerce\Money\ExchangeRateProvider
protected
- getRate() — gets a rate from a FROM and a TO currency.
public
- ExchangeRate() — Get the exchange rate.