ePages 7.38.0 - DE_EPAGES/Shippo/API/Object/ShippingProviderMethodShippo.pm

Package DE_EPAGES::Shippo::API::Object::ShippingProviderMethodShippo

Class for shipping fulfillment connection

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

Functions

exportTransaction
featureName
importTransaction
isUsable

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)

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