ePages 7.28.0 - DE_EPAGES/DHLIntraship/API/SOAP/ShippingLabelRequest/LeafNodeHelper.pm

Package DE_EPAGES::DHLIntraship::API::SOAP::ShippingLabelRequest::LeafNodeHelper

Helper to manage request node assembly

Functions

addLeaf
getLeaf
getWarnings
new

addLeaf

processes requirements and adds a new leaf to the list, with possible warnings

Syntax
$self->addLeaf($nodeName, $nodeValue);
Input
$nodeName (string)
node name string
$nodeValue
node value

getLeaf

returns the value of the specified leaf name

Syntax
my $leafValue = $self->getLeaf($leafName);
Input
$leafName (string)
leaf name
Return
$leafValue (string)
leaf value

getWarnings

returns the array of generated warnings

Syntax
my $aWarnings = $self->getWarnings();
Return
$aWarnings (ref.array)
node warnings

new

Object manager contructor.

Syntax
$LeafNodeHelper = DE_EPAGES::DHLIntraship::API::SOAP::ShippingLabelRequest::LeafNodeHelper->new();
Return
$LeafNodeHelper (object)
node manager object