DHL-PHP-SDK
v0.4
A wrapper for the DHL-XML-API Version 2
|
Public Member Functions | |
__destruct () | |
getSequenceNumber () | |
setSequenceNumber ($sequenceNumber) | |
getShipmentDetails () | |
setShipmentDetails ($shipmentDetails) | |
getSender () | |
setSender ($sender) | |
getReceiver () | |
setReceiver ($receiver) | |
getReturnReceiver () | |
setReturnReceiver ($returnReceiver) | |
getExportDocument () | |
setExportDocument ($exportDocument) | |
getPrintOnlyIfReceiverIsValid () | |
setPrintOnlyIfReceiverIsValid ($printOnlyIfReceiverIsValid) | |
getLabelResponseType () | |
setLabelResponseType ($labelResponseType) | |
getShipmentOrderClass_v2 () | |
Definition at line 24 of file ShipmentOrder.php.
__destruct | ( | ) |
Clears Memory
Definition at line 98 of file ShipmentOrder.php.
getExportDocument | ( | ) |
Get the ExportDocument-Object
Definition at line 208 of file ShipmentOrder.php.
getLabelResponseType | ( | ) |
Get the Label-Response type
Definition at line 246 of file ShipmentOrder.php.
getPrintOnlyIfReceiverIsValid | ( | ) |
Get if the label should only printed if the Receiver-Address is valid
Definition at line 226 of file ShipmentOrder.php.
getReceiver | ( | ) |
Get the Receiver-Object
Definition at line 168 of file ShipmentOrder.php.
getReturnReceiver | ( | ) |
Get the ReturnReceiver-Object
Usually only used for Re-Tour (In most cases the same Address like the Sender)
Definition at line 188 of file ShipmentOrder.php.
getSender | ( | ) |
Get the Sender-Object
Definition at line 150 of file ShipmentOrder.php.
getSequenceNumber | ( | ) |
Get the Sequence-Number
Definition at line 114 of file ShipmentOrder.php.
getShipmentDetails | ( | ) |
Get Shipment-Details-Object
Definition at line 132 of file ShipmentOrder.php.
getShipmentOrderClass_v2 | ( | ) |
Returns an DHL-Class of this Object for DHL-Shipment Order
Definition at line 264 of file ShipmentOrder.php.
setExportDocument | ( | $exportDocument | ) |
Set the ExportDocument-Object
ExportDocument | null | $exportDocument | - ExportDocument-Object or null for none |
Definition at line 217 of file ShipmentOrder.php.
setLabelResponseType | ( | $labelResponseType | ) |
Set the Label-Response type
null | string | $labelResponseType | - Label-Response type | null uses DHL-Default |
Definition at line 255 of file ShipmentOrder.php.
setPrintOnlyIfReceiverIsValid | ( | $printOnlyIfReceiverIsValid | ) |
Set if the label should only printed if the Receiver-Address is valid
WARNING: The Address-Validation can fail sometimes also on existing Addresses (for example new streets) use with care!
bool | null | $printOnlyIfReceiverIsValid | - Should the label only printed on a valid Address | null uses default from DHL |
Definition at line 237 of file ShipmentOrder.php.
setReceiver | ( | $receiver | ) |
Set the Receiver-Object
Receiver | PackStation | Filial | $receiver | - Receiver-Object |
Definition at line 177 of file ShipmentOrder.php.
setReturnReceiver | ( | $returnReceiver | ) |
Set the ReturnReceiver-Object
Usually only used for Re-Tour (In most cases the same Address like the Sender)
ReturnReceiver | null | $returnReceiver | - ReturnReceiver-Object or null for none |
Definition at line 199 of file ShipmentOrder.php.
setSender | ( | $sender | ) |
Set the Sender-Object
Sender | $sender | - Sender-Object |
Definition at line 159 of file ShipmentOrder.php.
setSequenceNumber | ( | $sequenceNumber | ) |
Set the Sequence-Number
string | $sequenceNumber | - Sequence-Number |
Definition at line 123 of file ShipmentOrder.php.
setShipmentDetails | ( | $shipmentDetails | ) |
Set Shipment-Details-Object
ShipmentDetails | $shipmentDetails | - Shipment-Details-Object |
Definition at line 141 of file ShipmentOrder.php.