ePages 7.0.0 - DE_EPAGES/DHLIntraship/API/ServiceValidation.pm

Package DE_EPAGES::DHLIntraship::API::ServiceValidation

Validates the combinations of the services

Functions

createStates
validateServiceType

createStates

creates states based on $self->{'Services'} and return it to $self->{$SelfElement}

Syntax
createStates( $SelfElement );
Input
$SelfElement (String)
Name of the self element

validateServiceType

Validate the list of services for service type

Syntax
validateServiceType( $aCurrentStates );
Input
$aCurrentStates (refarray)
all the setted servicetypes,pakeagetype and options
Return
$ReturnVariable (refarray)
a service type element