_get(self::KEY_CURRENCY_TO); } /** * @inheritDoc */ public function setCurrencyTo($code) { return $this->setData(self::KEY_CURRENCY_TO, $code); } /** * @inheritDoc */ public function getRate() { return $this->_get(self::KEY_RATE); } /** * @inheritDoc */ public function setRate($rate) { return $this->setData(self::KEY_RATE, $rate); } /** * @inheritDoc */ public function getExchangeRates() { return $this->_get(self::KEY_EXCHANGE_RATES); } /** * @inheritDoc */ public function setExchangeRates(array $exchangeRates = null) { return $this->setData(self::KEY_EXCHANGE_RATES, $exchangeRates); } /** * @inheritDoc */ public function getExtensionAttributes() { return $this->_getExtensionAttributes(); } /** * @inheritDoc */ public function setExtensionAttributes( \Magento\Directory\Api\Data\ExchangeRateExtensionInterface $extensionAttributes ) { return $this->_setExtensionAttributes($extensionAttributes); } }