ePages 6.13.1 - DE_EPAGES/MultiStoreShipping/API/Object/ShippingFulfillmentMethodMultiStore.pm

Package DE_EPAGES::MultiStoreShipping::API::Object::ShippingFulfillmentMethodMultiStore

Class for shipping fulfillment connection

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

Functions

featureName
isLineItemSupported
isUsable
webserviceDoTransaction
webserviceValidateLabel
webserviceValidateTransaction

featureName

Returns the feature name 'MultiStoreShipping'.

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

isLineItemSupported

Returns true if this lineitem type is supported by this shipping fulfillment method Used for filtering out lineitems that are not meant to be shipped.

Syntax
$ShippingFulfillmentMethod->isLineItemSupported( $LineItem );
Input
$LineItem (DE_EPAGES::Order::API::Object::LineItem)
LineItem
Return
$IsSupported (boolean)
True if lineitem can be used.

isUsable

Checks if ShippingFulfillmentMethod is usable

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

webserviceDoTransaction

Calls execution webservice for one transaction. Has to be implemented in child class, if ShippingFulfillmentType.IntegrationType=Webservice

Syntax
$ShippingFulfillmentMethod->webserviceDoTransaction( $Transaction );
Input
$Transaction (object)
shipping transaction

webserviceValidateLabel

Calls validation webservice for one transaction. Has to be implemented in child class, if ShippingFulfillmentType.IntegrationType=Webservice

Syntax
$ShippingFulfillmentMethod->webserviceValidateLabel( $ShippingLabel );
Input
$ShippingLabel (object)
shipping label

webserviceValidateTransaction

Calls validation webservice for one transaction. Has to be implemented in child class, if ShippingFulfillmentType.IntegrationType=Webservice

Syntax
$ShippingFulfillmentMethod->webserviceValidateTransaction( $Transaction );
Input
$Transaction (object)
shipping transaction