/**
  * Returns value view
  *
  * @param string $field
  * @param string $value
  * @return string | Phrase
  */
 protected function getValueView($field, $value)
 {
     switch ($field) {
         case FraudHandler::FRAUD_MSG_LIST:
             return implode('; ', $value);
     }
     return parent::getValueView($field, $value);
 }
Esempio n. 2
0
 /**
  * 2016-11-17
  * @override
  * @see \Magento\Payment\Block\ConfigurableInfo::_prepareSpecificInformation()
  * @used-by \Magento\Payment\Block\Info::getSpecificInformation()
  * @param DataObject|null $transport
  * @return DataObject
  */
 protected final function _prepareSpecificInformation($transport = null)
 {
     parent::_prepareSpecificInformation($transport);
     $this->isWait() ? $this->siWait() : $this->prepare();
     /** @see \Df\Payment\Method::remindTestMode() */
     $this->markTestMode();
     return $this->_paymentSpecificInformation;
 }