示例#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;
 }
示例#2
0
 /**
  * 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;
 }