ePages 6.17.40 - DE_EPAGES/DHLIntraship/API/Services.pm

Package DE_EPAGES::DHLIntraship::API::Services

This class will handle interaction between UI/JSON and Database

Functions

getServicesFromDatabase
save

getServicesFromDatabase

get the Option which previously stored on the Database. If the Folder does´t exists it will be created

Syntax
getServicesFromDatabase( $ShippingMethod );
Input
$Input1 (Input1Type_boolean_integer_String_object_ref_hash_refarray)
Input1Description
Return
$ReturnVariable (ReturnType_boolean_integer_String_object_refhash_refarray)
ReturnDescription

save

rewrite the Services which stored in $aListServices into the $ShippingMethod

Syntax
save( $ShippingMethod, $aListServices );
Input
$ShippingMethod (object)
Shipping Method DB handler
$aListServices (refarray)
list of services