ePages 6.15.1 - DE_EPAGES/UPS/API/Object/ShippingFulfillmentMethodUPS.pm

Package DE_EPAGES::UPS::API::Object::ShippingFulfillmentMethodUPS

Class for shipping fulfillment connection

Base
DE_EPAGES::ExternalShipping::API::Object::ShippingFulfillmentMethod

Functions

featureName
generateShippingLabels
isUsable
newShippingLabel

featureName

Returns undef as no feature is connected to this ShippingFulfillmentMethod.

Syntax
$FeatureName = $ShippingFulfillmentMethod->featureName;
Return
$FeatureName (String)
feature name (undef means no feature count)

generateShippingLabels

Generate the ShippingLabels and set the TransStatus of the transaction

Syntax
generateShippingLabels( $ShippingTransactionUPS );
Input
$ShippingTransactionUPS (object)
the transaction object

isUsable

Checks if ShippingFulfillmentMethod is usable

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

newShippingLabel

creates a new shipping label

Syntax
newShippingLabel( $OrderOrDocument );
Input
$OrderOrDocument (object)
a order document
Return
$Label (object)
shipping label