ePages 7.19.0 - DE_EPAGES/SEUR/API/Object/ShippingFulfillmentMethodSEUR.pm

Package DE_EPAGES::SEUR::API::Object::ShippingFulfillmentMethodSEUR

Class for shipping fulfillment connection

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

Functions

featureName
isUsable
webserviceCreateSeurUser
webserviceDoTransaction
webserviceValidateLabel
webserviceValidateTransaction

featureName

Returns the feature name 'SEUR'.

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

isUsable

Checks if ShippingFulfillmentMethod is usable

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

webserviceCreateSeurUser

Calls execution webservice for new user request.

Syntax
( $success, $errorMsg, $errorDesc ) = $ShippingFulfillmentMethod->webserviceCreateSeurUser;
Return
$success (boolean)
boolean indicating if process was successful
$errorMsg (string)
string indicating why the process was unsuccessful
$errorDesc (string)
string indicating why the process was unsuccessful

webserviceDoTransaction

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

Syntax
($success, $errorMsg) = $ShippingFulfillmentMethod->webserviceDoTransaction( $Transaction );
Input
$Transaction (object)
shipping transaction
Return
$success (boolean)
boolean indicating if transaction process was successful
$errorMsg (string)
string indicating why the transaction was unsuccessful

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