| DHL-PHP-SDK
    v0.4
    A wrapper for the DHL-XML-API Version 2 | 
 
  
 | Public Member Functions | |
| __construct ($version, $response=null) | |
| __destruct () | |
| getShipmentNumber () | |
| getPieceNumber () | |
| getLabel () | |
| getReturnLabel () | |
| getExportDoc () | |
| getManifestData () | |
| getSequenceNumber () | |
| getStatusCode () | |
| getStatusText () | |
| getStatusMessage () | |
| getLabelData ($index=null) | |
| countLabelData () | |
| getCodLabel () | |
|  Public Member Functions inherited from Version | |
| getVersion () | |
| getMayor () | |
| getMinor () | |
| Data Fields | |
| const | DHL_ERROR_NOT_SET = -1 | 
| const | DHL_ERROR_NO_ERROR = 0 | 
| const | DHL_ERROR_WEAK_WARNING = 1 | 
| const | DHL_ERROR_SERVICE_TMP_NOT_AVAILABLE = 500 | 
| const | DHL_ERROR_GENERAL = 1000 | 
| const | DHL_ERROR_AUTH_FAILED = 1001 | 
| const | DHL_ERROR_HARD_VAL_ERROR = 1101 | 
| const | DHL_ERROR_UNKNOWN_SHIPMENT_NUMBER = 2000 | 
| Additional Inherited Members | |
|  Protected Member Functions inherited from Version | |
| __construct ($version) | |
| __destruct () | |
| setVersion ($version) | |
| getVersionClass () | |
Definition at line 21 of file Response.php.
| __construct | ( | $version, | |
| $response = null | |||
| ) | 
Response constructor.
Loads the correct Version and loads the Response if not null into this Object
| string | $version | - Current DHL-Version | 
| null | Object | $response | - DHL-Response or null for none | 
Definition at line 95 of file Response.php.
| __destruct | ( | ) | 
Clears Memory
Definition at line 113 of file Response.php.
| countLabelData | ( | ) | 
Returns how many LabelData-Objects are in this List
Definition at line 312 of file Response.php.
| getCodLabel | ( | ) | 
Getter for Cod-Label
Implements LabelResponse.
Definition at line 329 of file Response.php.
| getExportDoc | ( | ) | 
Getter for Export-Document
Implements LabelResponse.
Definition at line 176 of file Response.php.
| getLabel | ( | ) | 
Getter for Label
Implements LabelResponse.
Definition at line 152 of file Response.php.
| getLabelData | ( | $index = null | ) | 
Getter for LabelData-Objects
| null | int | $index | - Index of the LabelData-Object or null for the array | 
Definition at line 291 of file Response.php.
| getManifestData | ( | ) | 
Get the Manifest PDF-Data as Base64-String
Definition at line 188 of file Response.php.
| getPieceNumber | ( | ) | 
Getter for pieceNumber
Definition at line 141 of file Response.php.
| getReturnLabel | ( | ) | 
Getter for ReturnLabel
Implements LabelResponse.
Definition at line 164 of file Response.php.
| getSequenceNumber | ( | ) | 
Getter for Sequence-Number
Implements LabelResponse.
Definition at line 206 of file Response.php.
| getShipmentNumber | ( | ) | 
Getter for Shipment-Number
Implements LabelResponse.
Definition at line 127 of file Response.php.
| getStatusCode | ( | ) | 
Getter for Status-Code
Implements LabelResponse.
Definition at line 227 of file Response.php.
| getStatusMessage | ( | ) | 
Getter for Status-Message
Implements LabelResponse.
Definition at line 272 of file Response.php.
| getStatusText | ( | ) | 
Getter for Status-Text
Implements LabelResponse.
Definition at line 254 of file Response.php.
| const DHL_ERROR_AUTH_FAILED = 1001 | 
Definition at line 39 of file Response.php.
| const DHL_ERROR_GENERAL = 1000 | 
Definition at line 38 of file Response.php.
| const DHL_ERROR_HARD_VAL_ERROR = 1101 | 
Definition at line 40 of file Response.php.
| const DHL_ERROR_NO_ERROR = 0 | 
Definition at line 35 of file Response.php.
| const DHL_ERROR_NOT_SET = -1 | 
Contains Status-Code-Values:
Definition at line 34 of file Response.php.
| const DHL_ERROR_SERVICE_TMP_NOT_AVAILABLE = 500 | 
Definition at line 37 of file Response.php.
| const DHL_ERROR_UNKNOWN_SHIPMENT_NUMBER = 2000 | 
Definition at line 41 of file Response.php.
| const DHL_ERROR_WEAK_WARNING = 1 | 
Definition at line 36 of file Response.php.