Package DE_EPAGES::MeinPaket::API::OfferUploadResponseHandler
Provides functionallity to get offer based information from an MeinPaket upload response.
Functions
- areAllProductsConfirmed
- getConfirmedProductCount
- getConfirmedProductCount
- getConfirmedProducts
- getMeinPaketId
- getUnconfirmedProducts
- new
- wasProductConfirmed
areAllProductsConfirmed
Determines wether or not all uploaded products of the handled offer where confirmed with the handled response.
Syntax |
areAllProductsConfirmed(); |
Return |
|
getConfirmedProductCount
Returns the amount of products that have been confirmed with the handled response
Syntax |
getConfirmedProductCount(); |
Return |
|
getConfirmedProductCount
Returns the amount of uploaded products that haven't been confirmed with the handled response
Syntax |
getConfirmedProductCount(); |
Return |
|
getConfirmedProducts
Returns a list of all products that have been confirmed with the handled response
Syntax |
getConfirmedProducts(); |
Return |
|
getMeinPaketId
Gets the MeinPaketId of the passed product or sub-product from the handled response. In case there is none undef is returned instead.
Syntax |
getMeinPaketId( $ProductOrSubProduct ); |
Input |
|
Return |
|
getUnconfirmedProducts
Returns a list of all uploaded products that haven't been confirmed with the handled response
Syntax |
getUnconfirmedProducts(); |
Return |
|
new
constructor
Syntax |
new( $MeinPaketOffer, $MeinPaketUploadResponse ); |
Input |
|
Return |
|
wasProductConfirmed
Determines whether or not we received a confirmation for the passed product or sub-product with the response
Syntax |
wasProductConfirmed( $ProductOrSubProduct ); |
Input |
|
Return |
|