ePages 6.11.0 - DE_EPAGES/ShoppingList/API/Object/ShoppingList.pm

Package DE_EPAGES::ShoppingList::API::Object::ShoppingList

object interface for ShoppingList.

Base
DE_EPAGES::Object::API::Object::Object

Functions

addItem
className
dbPackage

addItem

Add product to shopping list.

Syntax
$ShoppingListItem = $ShoppingList->addItem($Product, $hInfo);
Input
$Product (object)
product
$hInfo (ref.hash)
item info, keys :
  • Quantity - product quantity (default: 1)
Return
$ShoppingListItem (object)
list entry (undef if product not visible)

className

Returns the class name, used for DAL access.

Syntax
$ClassName = $ShoppingList->className;
Return
$ClassName (String)
class name

dbPackage

Returns the database package, used for DAL access.

Syntax
$DbPackage = $ShoppingList->dbPackage;
Return
$DbPackage (String)
database package name