ePages 7.37.0 - DE_EPAGES/Order/API/BasketLineItemContainer.pm

Package DE_EPAGES::Order::API::BasketLineItemContainer

Creates and sets the LineItemContainer of a basket.

Base
Base

Functions

loadShopObjectByGUID
new

loadShopObjectByGUID

loads object specified by object GUID and verifies that is exists, belongs to the current shop and is an instance of a certain class. Raises an error if any condition is not fulfilled. Returns the object if all tests passed.

Syntax
$Object = $self->loadShopObjectByGUID( $GUID, $ClassAlias )
Input
$Shop (DE_EPAGES::Shop::API::Object::Shop)
a shop object
$GUID (string)
object GUID to load
$ClassAlias (string)
alias of a class
Return
$Object (object)
object

new

Constructor

Syntax
new( $Basket );
Input
$Basket (DE_EPAGES::Order::API::Object::Basket)
basket
Return
$self (DE_EPAGES::Order::API::BasketLineItemContainer)
self