ePages 7.25.0 - DE_EPAGES/DHLIntraship/API/ShippingLabelAttributes/ShippingLabel.pm

Package DE_EPAGES::DHLIntraship::API::ShippingLabelAttributes::ShippingLabel

validate and get the basic informations from Shippinglabel

Example
my $ProductData = DE_EPAGES::DHLIntraship::API::ShippingLabelAttributes::Products->new( $ShippingLabel );
if ($ProductData->isComplete();){print "all is fine!\n";}
or:
$ProductData->loadAttributes();
my $TotalWeight = $ProductData->{'TotalWeight'};

Functions

getStatesAsWarnig
isComplete
loadAttributes

getStatesAsWarnig

Get the States and create epages warnings from this

Syntax
getStatesAsWarnig( $Input1 );
Return
$Warnings (refarray)
epages warnings

isComplete

checks if all mandatory Atrributes are ok

Syntax
isComplete( );
Return
$ReturnVariable (boolean)
if all Attributes are fine

loadAttributes

load all Attributes to the class object

Syntax
loadAttributes( );