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

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

object interface for ShippingType.

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

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.

Syntax
my $ShippingMethod = $ShippingType->newShippingMethod($Shop, $hInfo);
Input
$Shop (object)
shop
$hInfo (object)
object attributes for new object, e.g. Alias | ref.hash
return $ShippingMethod | new object