ePages 7.17.0 - DE_EPAGES/Order/API/Shop.pm

Package DE_EPAGES::Order::API::Shop

This package provides the shop functions of order.

@EXPORT_OK
GetNextOrderNo
ProcessOrderDocumentTextAttributes
ProcessOrderDocumentTextAttributesByLanguageID

Functions

GetNextOrderNo
ProcessOrderDocumentTextAttributes
ProcessOrderDocumentTextAttributesByLanguageID

GetNextOrderNo

Returns the next order alias for this shop.

Syntax
my $OrderNo = GetNextOrderNo($Shop);
my $OrderNo = GetNextOrderNo($Shop, $Object);
Input
$Shop (DE_EPAGES::Shop::API::Object::Shop)
shop
$Object (DE_EPAGES::Object::API::Object::Object)
object; used if OrderNo shall contain this objects alias
Return
$OrderNo (string)
alias string for order

ProcessOrderDocumentTextAttributes

set shop attributes for order documents by the given PageType alias

Syntax
ProcessOrderDocumentTextAttributes($Shop, $PageTypeAlias, $Update);
Input
$Shop (DE_EPAGES::Shop::API::Object::Shop)
shop
$PageTypeAlias (string)
PageType to be processed
$Update (boolean)
attributes are always updated

ProcessOrderDocumentTextAttributesByLanguageID

set shop attributes for order documents by the given PageType alias and language id

Syntax
ProcessOrderDocumentTextAttributesByLanguageID($Shop, $PageTypeAlias, $Update, $LanguageID);
Input
$Shop (DE_EPAGES::Shop::API::Object::Shop)
shop
$PageTypeAlias (string)
PageType to be processed
$Update (boolean)
attributes are always updated
$LanguageID (string)
language id