private function getService()
    {
        if ($this->myService === null) {
            $curlOptions = [
                'url'          => $this->serviceUrl,
                'sslCert'      => $this->clientCertPath,
                'sslKey'       => $this->clientKeyPath,
                'sslKeyPasswd' => $this->clientKeyPassPhrase,
                'caInfo'       => $this->serverCert
            ];
            $this->myService = new OrderService($curlOptions, $this->apiUser, $this->apiPass, $this->debug);
        }

        return $this->myService;
    }
private function getService()
    {
        if ($this->myService === null) {
            $curlOptions = [
                'url'          => $this->serviceUrl,
                'sslCert'      => $this->clientCertPath,
                'sslKey'       => $this->clientKeyPath,
                'sslKeyPasswd' => $this->clientKeyPassPhrase,
                'caInfo'       => $this->serverCert
            ];
            $this->myService = new OrderService($curlOptions, $this->apiUser, $this->apiPass, $this->debug);
        }

        return $this->myService;
    }
private function getService ( ) { if ( $ this -> myService === null ) { $ curlOptions = [ 'url' => $ this -> serviceUrl , 'sslCert' => $ this -> clientCertPath , 'sslKey' => $ this -> clientKeyPath , 'sslKeyPasswd' => $ this -> clientKeyPassPhrase , 'caInfo' => $ this -> serverCert ] ; $ this -> myService = new OrderService ( $ curlOptions , $ this -> apiUser , $ this -> apiPass , $ this -> debug ) ; } return $ this -> myService ; }
Get a handle to the OrderService

@return OrderService
Get a handle to the OrderService