public function __construct(Config $config) { parent::__construct($config); $this->merchant_id = $config->getMerchant()->getId(); $this->currency = $config->getMerchant()->getCurrency(); $this->date = date('Y-m-d H:i:s'); $this->_data = self::renameFields($this->getFieldsMap(), $this->config->getRequest(), false); }
public function __construct(Config $config) { parent::__construct($config); $this->merchant_id = $config->getMerchant()->getId(); $this->currency = $config->getMerchant()->getCurrency(); $this->order_date = date('Y-m-d H:i:s'); $this->timeout = $config->getTimeout(); $this->method = $config->getMethod(); $this->automode = $config->getMethod() == Method::AUTOMODE ? 1 : 0; $this->language = $config->getLanguage(); $this->timeout_url = $config->getUrlTimeout(); $this->redirect_url = $config->getUrlRedirect(); }
public function __construct(Config $config) { parent::__construct($config); $this->_data = self::renameFields($this->getFieldsMap(), $this->config->getQuery(), false); }
public function __construct(Config $config) { parent::__construct($config); }