public function deleteShipmentOrder($shipmentNumbers) {
		switch($this->getMayor()) {
			case 1:
				$data = $this->createDeleteClass_v1($shipmentNumbers);
				break;
			case 2:
			default:
				$data = $this->createDeleteClass_v2($shipmentNumbers);
		}

		try {
			$response = $this->sendDeleteRequest($data);
		} catch(Exception $e) {
			$this->addError($e->getMessage());

			return false;
		}

		if(is_soap_fault($response)) {
			$this->addError($response->faultstring);

			return false;
		} else
			return new Response($this->getVersion(), $response);
	}
public function deleteShipmentOrder($shipmentNumbers) {
		switch($this->getMayor()) {
			case 1:
				$data = $this->createDeleteClass_v1($shipmentNumbers);
				break;
			case 2:
			default:
				$data = $this->createDeleteClass_v2($shipmentNumbers);
		}

		try {
			$response = $this->sendDeleteRequest($data);
		} catch(Exception $e) {
			$this->addError($e->getMessage());

			return false;
		}

		if(is_soap_fault($response)) {
			$this->addError($response->faultstring);

			return false;
		} else
			return new Response($this->getVersion(), $response);
	}
public function deleteShipmentOrder ( $ shipmentNumbers ) { switch ( $ this -> getMayor ( ) ) { case 1 : $ data = $ this -> createDeleteClass_v1 ( $ shipmentNumbers ) ; break ; case 2 : default : $ data = $ this -> createDeleteClass_v2 ( $ shipmentNumbers ) ; } try { $ response = $ this -> sendDeleteRequest ( $ data ) ; } catch ( Exception $ e ) { $ this -> addError ( $ e -> getMessage ( ) ) ; return false ; } if ( is_soap_fault ( $ response ) ) { $ this -> addError ( $ response -> faultstring ) ; return false ; } else return new Response ( $ this -> getVersion ( ) , $ response ) ; }
Deletes a Shipment

@param string|string[] $shipmentNumbers - Shipment-Number(s) of the Shipment(s) to delete (up to 30 Numbers)
@return bool|Response - Response
Deletes a Shipment