Package DE_EPAGES::MeinPaket::API::Object::MeinPaketOffer
object interface for MeinPaketOffer.
Base |
DE_EPAGES::Shop::API::Object::ShopObject |
Functions
areStockLevelsValid
check if stockLevels for Product or all SubProducts (if is Master Product) are valid integers
Syntax |
areStockLevelsValid( ); |
Return |
|
checkNextState
Sets MeinPaketOffer to a new state depending on the existing state and the triggered event
Syntax |
$Offer->checkNextState( $event); |
Example |
$Offer->checkNextState("processResultSuccess"); # trigger event "assign" to transit to next state. |
Input |
|
Return |
|
className
Returns the class name, used for DAL access.
Syntax |
$ClassName = $MeinPaketOffer->className; |
Return |
|
dbPackage
Returns the database package, used for DAL access.
Syntax |
$DbPackage = $MeinPaketOffer->dbPackage; |
Return |
|
getProducts
Gets all products which belong to this MeinPaketOffer.
Syntax |
$Offer->getProducts(); |
Example |
$Offer->getProducts(); |
Return |
|
isComplete
Returns true, if MeinPaketOffer is configured to be uploaded.
Syntax |
$Offer->isComplete( $Input1 ); |
Return |
|