Example #1
0
 function __construct()
 {
     parent::__construct();
     $creds = $this->getCreds();
     $this->scCredentials = array('appKey' => $creds['appKey'], 'securityKey' => $creds['securityKey'], 'xslUri' => '');
     $this->scWarehouse = $creds['warehouse'];
     //$this->scWarehouse = "wookies main";
     $this->trakCredentials = array('user' => $creds['trakUser'], 'password' => $creds['trakPassword'], 'trakURL' => $creds['trakURL'], 'trakPort' => $creds['trakPort']);
     $this->emailCredentials = array('email' => $creds['email'], 'password' => $creds['emailPassword'], 'oversoldEmail' => json_decode($creds['oversoldEmail'], TRUE), 'storeEmail' => json_decode($creds['storeEmail'], TRUE));
     $this->password = $creds['appPassword'];
 }