Пример #1
0
 /**
  * Check method for processing with base currency
  *
  * @param string $currencyCode
  * @return boolean
  */
 public function canUseForCurrency($currencyCode)
 {
     // enable if not specified filter by currency
     if ($this->getConfigData('currency') || $this->_allowCurrencyCode) {
         return in_array($currencyCode, $this->getAcceptedCurrencyCodes());
     }
     return parent::canUseForCurrency($currencyCode);
 }