ePages 6.11.0 - DE_EPAGES/ExternalShipping/API/Object/ShippingFulfillmentMethod.pm

Package DE_EPAGES::ExternalShipping::API::Object::ShippingFulfillmentMethod

object interface for ShippingFulfillmentMethod.

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

Functions

className
dbPackage
isUsable
newShippingLabel

className

Returns the class name, used for DAL access.

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

dbPackage

Returns the database package, used for DAL access.

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

isUsable

Checks if ShippingFulfillmentMethod is usable

Syntax
isUsable( );
Return
$IsUsable (boolean)
True if ShippingFulfillmentMethod is usable

newShippingLabel

Creates a new shipping label, using the class ShippingType.ShippingLabelClass. This label is saved to the folder 'ShippingLabels' Either an order or an order document can be provided as template to clone from.

Syntax
$FulfillmentMethod->newShippingLabel( $Order );
$FulfillmentMethod->newShippingLabel( $OrderDocument );
Input
$Order (object)
customer order | object
$OrderDocument | order document
Return
$ShippingLabel (object)
shipping label