Package DE_EPAGES::DHLIntraship::API::ServiceBuilder
encasulate the building of a service knot
Example |
my $Obj =DE_EPAGES::DHLIntraship::API::ServiceBuilder->new('newName'); $Obj->setServiceElement($aOptions, $SelectedOption); $Obj->setValueElement( $hAmountInfo, $UserAmount ); my $hKnotElement = $Obj->getServiveKnot(); # no critic (Tics::ProhibitLongLines) |
Functions
createValueElement
write a service element to the class, based on $hAmountInfo, $UserAmount
Syntax |
createValueElement( $hAmountInfo, $UserAmount ); |
getServiveKnot
return a service knot as a hash
Syntax |
getServiveKnot( ); |
Return |
|
setServiceElement
set data to class
Syntax |
setServiceElement($aOptions, $SelectedOption); |
Input |
|
setValueElement
set data to class
Syntax |
$Obj->setValueElement( $hAmountInfo, $UserAmount ); |
Input |
|