DHL-PHP-SDK
v0.4
A wrapper for the DHL-XML-API Version 2
|
Public Member Functions | |
__destruct () | |
getInvoiceNumber () | |
setInvoiceNumber ($invoiceNumber) | |
getExportType () | |
setExportType ($exportType) | |
getExportTypeDescription () | |
setExportTypeDescription ($exportTypeDescription) | |
getTermsOfTrade () | |
setTermsOfTrade ($termsOfTrade) | |
getPlaceOfCommittal () | |
setPlaceOfCommittal ($placeOfCommittal) | |
getAdditionalFee () | |
setAdditionalFee ($additionalFee) | |
getPermitNumber () | |
setPermitNumber ($permitNumber) | |
getAttestationNumber () | |
setAttestationNumber ($attestationNumber) | |
getWithElectronicExportNotification () | |
setWithElectronicExportNotification ($withElectronicExportNotification) | |
getExportDocPosition () | |
setExportDocPosition ($exportDocPosition) | |
addExportDocPosition ($exportDocPosition) | |
getExportDocumentClass_v1 () | |
getExportDocumentClass_v2 () | |
Data Fields | |
const | EXPORT_TYPE_OTHER = 'OTHER' |
const | EXPORT_TYPE_PRESENT = 'PRESENT' |
const | EXPORT_TYPE_COMMERCIAL_SAMPLE = 'COMMERCIAL_SAMPLE' |
const | EXPORT_TYPE_DOCUMENT = 'DOCUMENT' |
const | EXPORT_TYPE_RETURN_OF_GOODS = 'RETURN_OF_GOODS' |
const | TERMS_OF_TRADE_DDP = 'DDP' |
const | TERMS_OF_TRADE_DXV = 'DXV' |
const | TERMS_OF_TRADE_DDU = 'DDU' |
const | TERMS_OF_TRADE_DDX = 'DDX' |
Definition at line 24 of file ExportDocument.php.
__destruct | ( | ) |
Clears Memory
Definition at line 164 of file ExportDocument.php.
addExportDocPosition | ( | $exportDocPosition | ) |
Adds an ExportDocPosition-Object to the current Object
If the ExportDocPosition was null before, then it will add the entry normal (backwards compatibility) If the ExportDocPosition was an array before, it just add it to the array If the ExportDocPosition was just 1 entry before, it will converted to an array with both entries
ExportDocPosition | $exportDocPosition | - Object to add |
Definition at line 366 of file ExportDocument.php.
getAdditionalFee | ( | ) |
Get the additional Fee
Definition at line 272 of file ExportDocument.php.
getAttestationNumber | ( | ) |
Get the Attestation-Number
Definition at line 308 of file ExportDocument.php.
getExportDocPosition | ( | ) |
Get the ExportDocPosition(s) class(es)
Definition at line 344 of file ExportDocument.php.
getExportDocumentClass_v1 | ( | ) |
Returns a Class for Export-Document
Definition at line 384 of file ExportDocument.php.
getExportDocumentClass_v2 | ( | ) |
Returns a Class for Export-Document
Exception | - Invalid Data-Exception |
Definition at line 399 of file ExportDocument.php.
getExportType | ( | ) |
getExportTypeDescription | ( | ) |
Get the Export-Type-Description
Definition at line 218 of file ExportDocument.php.
getInvoiceNumber | ( | ) |
Get the Invoice-Number
Definition at line 182 of file ExportDocument.php.
getPermitNumber | ( | ) |
Get the Permit-Number
Definition at line 290 of file ExportDocument.php.
getPlaceOfCommittal | ( | ) |
Get the Place of Committal
Definition at line 254 of file ExportDocument.php.
getTermsOfTrade | ( | ) |
Get the Terms of Trade
Definition at line 236 of file ExportDocument.php.
getWithElectronicExportNotification | ( | ) |
Get if it is with Electronic Export Notifications
Definition at line 326 of file ExportDocument.php.
setAdditionalFee | ( | $additionalFee | ) |
Sets the additional Fee
float | $additionalFee | - Additional Fee |
Definition at line 281 of file ExportDocument.php.
setAttestationNumber | ( | $attestationNumber | ) |
Set the Attestation-Number
float | int | null | string | $attestationNumber | - Attestation-Number or null for none |
Definition at line 317 of file ExportDocument.php.
setExportDocPosition | ( | $exportDocPosition | ) |
Set the ExportDocPosition(s) class(es)
ExportDocPosition|ExportDocPosition[]|null | $exportDocPosition - ExportDocPosition(s) class(es) or null for none |
Definition at line 353 of file ExportDocument.php.
setExportType | ( | $exportType | ) |
Set the Export-Type
string | $exportType | - Export-Type |
Definition at line 209 of file ExportDocument.php.
setExportTypeDescription | ( | $exportTypeDescription | ) |
Set the Export-Type-Description
null | string | $exportTypeDescription | - Export-Type-Description or null for none |
Definition at line 227 of file ExportDocument.php.
setInvoiceNumber | ( | $invoiceNumber | ) |
Set the Invoice-Number
float | int | null | string | $invoiceNumber | - Invoice-Number or null for none |
Definition at line 191 of file ExportDocument.php.
setPermitNumber | ( | $permitNumber | ) |
Set the Permit-Number
float | int | null | string | $permitNumber | - Permit-Number or null for none |
Definition at line 299 of file ExportDocument.php.
setPlaceOfCommittal | ( | $placeOfCommittal | ) |
Set the Place of Committal
string | $placeOfCommittal | - Place of Committal |
Definition at line 263 of file ExportDocument.php.
setTermsOfTrade | ( | $termsOfTrade | ) |
Set the Terms of Trade
null | string | $termsOfTrade | - Terms of Trade or null for none |
Definition at line 245 of file ExportDocument.php.
setWithElectronicExportNotification | ( | $withElectronicExportNotification | ) |
Set if it is with Electronic Export Notifications
bool | null | $withElectronicExportNotification | - Is it with Electronic Export Notifications or null for default |
Definition at line 335 of file ExportDocument.php.
const EXPORT_TYPE_COMMERCIAL_SAMPLE = 'COMMERCIAL_SAMPLE' |
Definition at line 30 of file ExportDocument.php.
const EXPORT_TYPE_DOCUMENT = 'DOCUMENT' |
Definition at line 31 of file ExportDocument.php.
const EXPORT_TYPE_OTHER = 'OTHER' |
Constants for Export-Type
Definition at line 28 of file ExportDocument.php.
const EXPORT_TYPE_PRESENT = 'PRESENT' |
Definition at line 29 of file ExportDocument.php.
const EXPORT_TYPE_RETURN_OF_GOODS = 'RETURN_OF_GOODS' |
Definition at line 32 of file ExportDocument.php.
const TERMS_OF_TRADE_DDP = 'DDP' |
Constants for Terms of Trade
Definition at line 37 of file ExportDocument.php.
const TERMS_OF_TRADE_DDU = 'DDU' |
Definition at line 39 of file ExportDocument.php.
const TERMS_OF_TRADE_DDX = 'DDX' |
Definition at line 40 of file ExportDocument.php.
const TERMS_OF_TRADE_DXV = 'DXV' |
Definition at line 38 of file ExportDocument.php.