Package DE_EPAGES::MeinPaket::API::Object::MeinPaketConfig
Description
Base |
DE_EPAGES::ProductPortal::API::Object::PortalConfig |
Functions
- addProducts
- endOffers
- existsOffer
- handleNotificationResponse
- handleUploadResponse
- login
- remote
- sendNotification
- upload
addProducts
Add products to portal, if a product is an super product, only sub products will be added.
Syntax |
$PortalConfig->addProducts($aProducts); |
Input |
|
Return |
|
endOffers
Sets enddate to $NOW and sends request to MeinPaket API
Syntax |
$Obj->endOffers( $aOffers ); |
Input |
|
existsOffer
Checks if an offer exists for a product
Syntax |
$Config->existsOffer( $Product ); |
Input |
|
Return |
|
handleNotificationResponse
Handles notification response message from MeinPaket API
Syntax |
$Obj->handleNotificationResponse( $Response, $aOrderDocuments, $Event ); |
Input |
|
handleUploadResponse
Handles API UploadResposne messages
Syntax |
$Obj->handleUploadResponse( $UploadResponse, $aOffers, $Event ); |
Input |
|
login
Sends a dummy request to test login via MeinPaket API, throws an error on login failure.
Syntax |
$Obj->login( ); |
Return |
|
remote
Gets RemoteMeinPaket adapter
Syntax |
$Obj->remote( ); |
Return |
|
sendNotification
Sends notification request to MeinPaket (consignments, cancellations, returns)
Syntax |
$Obj->sendNotification( $aOrderDocuments, $Event, $hInfo ); |
Input |
|
upload
uploads offer information
Syntax |
$Obj->upload( $aOffers, $aUpdateElements, $Event ); |
Input |
|