public function fetchShipment(){
        if (!array_key_exists('ShipmentId',$this->options)){
            $this->log("Shipment ID must be set in order to fetch it!",'Warning');
            return false;
        }

        $this->options['Action'] = 'GetShipment';

        $url = $this->urlbase.$this->urlbranch;

        $query = $this->genQuery();

        $path = $this->options['Action'].'Result';
        if ($this->mockMode){
            $xml = $this->fetchMockFile();
        } else {
            $response = $this->sendRequest($url, array('Post'=>$query));

            if (!$this->checkResponse($response)){
                return false;
            }

            $xml = simplexml_load_string($response['body']);
        }

        $this->parseXML($xml->$path);
    }