public function createClient($sandBox = false)
    {
        $client = new \SoapClient($this->wsdl, array(
            'soap_version' => SOAP_1_1,
            'classmap'     => $this->classmap
        ));

        $login    = $sandBox ? self::TEST_LOGIN    : $this->login;
        $password = $sandBox ? self::TEST_PASSWORD : $this->password;

        $client->__setSOAPHeaders($this->getSecurityHeader($login, $password));

        return $client;
    }