ePages 6.17.35 - DE_EPAGES/DHLIntraship/API/Object/ShippingFulfillmentMethodDHLIntraship.pm

Package DE_EPAGES::DHLIntraship::API::Object::ShippingFulfillmentMethodDHLIntraship

Class for shipping fulfillment connection

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

Functions

areMandatoryShippingFieldsSet
exportTransaction
featureName
generateShippingLabels
importTransaction
isUsable

areMandatoryShippingFieldsSet

Checks if mandatory shipping address fields are set into basket registration settings

Syntax
$areMandatoryShippingFieldsSet = $ShippingFulfillmentMethod->areMandatoryShippingFieldsSet( );
Return
$areMandatoryShippingFieldsSet (boolean)
True if mandatory shipping address fields are set

exportTransaction

Does a csv export if ShippingFulfillment integration uses an export file for generating shipping labels. Has to be implemented in child class, if ShippingFulfillmentType.IntegrationType =~ m/Export/

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

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

operates a stack of Shippinglabels and set the transstatus

Syntax
generateShippingLabels( $ShippingTransaction, $LanguageID );
Input
$ShippingTransaction (object_ref)
Shipping transaction object
$LanguageID (String)
the language ID

importTransaction

Does an import if ShippingFulfillment integration uses an import file for assigning tracking numbers to orders. Has to be implemented in child class, if ShippingFulfillmentType.IntegrationType =~ m/Import/

Syntax
$ShippingFulfillmentMethod->importTransaction( $Transaction );
Input
$Transaction (object)
shipping transaction
$ImportFile (object)
reference to an import file

isUsable

Checks if ShippingFulfillmentMethod is usable

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