ePages 7.21.0 - DE_EPAGES/Shipping/API/Object/ShippingType.pm

Package DE_EPAGES::Shipping::API::Object::ShippingType

object interface for ShippingType.

Base
DE_EPAGES::Shop::API::Object::ShopObject

Functions

className
dbPackage
newShippingMethod

className

Returns the class name, used for DAL access.

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

dbPackage

Returns the database package, used for DAL access.

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

newShippingMethod

Creates a new shipping method with the given parameters. Initializes the attribute 'Name' if the method is called with a language context, for example, when called from an UI handler.

Syntax
my $ShippingMethod = $ShippingType->newShippingMethod($Shop, $hInfo);
Input
$Shop (object)
shop
$hInfo (ref.hash)
object attributes for new object, e.g. Alias
Return
$ShippingMethod (DE_EPAGES::Shipping::API::Object::ShippingMethod)
new object