Package DE_EPAGES::DHLIntraship::API::ShippingLabelAttributes::Products
validate and get the product based 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
Get the States and create epages warnings from this
Syntax |
getStatesAsWarnig( $Input1 ); |
Return |
|
isComplete
checks if all mandatory Atrributes are ok
Syntax |
isComplete( ); |
Return |
|
loadAttributes
load all Attributes to the class object
Syntax |
loadAttributes( ); |