Ejemplo n.º 1
0
 public function testGetPortalId()
 {
     $portalId = '12345';
     $this->store->setConfig('intraship/dhlonlineretoure/portal_id', $portalId);
     $this->assertEquals($portalId, $this->config->getPortalId());
 }
Ejemplo n.º 2
0
 public function setConfig(Dhl_OnlineRetoure_Model_Config $config)
 {
     $this->_config = $config;
     $this->setUsername($this->_config->getUser())->setPassword($this->_config->getPassword())->setPortalId($this->_config->getPortalId())->setLabelFormat(Dhl_OnlineRetoure_Model_Config::ONLINERETOURE_LABEL_FORMAT)->setWsdl($this->_config->getWsdlUri());
     return $this;
 }