Exemple #1
0
 /**
  * Sets the currency conversion data
  * @param CurrencyData $currencyData
  * @return $this
  */
 public function setCurrencyData(CurrencyData $currencyData)
 {
     self::$conversionMap = $currencyData->getCurrencies();
     self::$native = $currencyData->getNative();
     return $this;
 }
 /**
  * Sets the currency conversion data
  * @param CurrencyData $currencyData
  * @return $this
  */
 public function setCurrencyData(CurrencyData $currencyData)
 {
     $this->conversionMap = $currencyData->getCurrencies();
     $this->native = $currencyData->getNative();
     return $this;
 }