ePages 6.17.39 - DE_EPAGES/DHLIntraship/API/Tools.pm

Package DE_EPAGES::DHLIntraship::API::Tools

Useful functions for this cartridge.

Functions

new
truncateAttribute

new

Class constructor.

Syntax
new( );
Return
$self (object)
self

truncateAttribute

Truncates an attribute to its maximum allowed length.

Syntax
truncateAttribute( $Attribute, $FieldName );
Input
$Attribute (String)
Attribute to truncate.
$FieldName (String)
Name of the field to truncate.
Return
$TruncatedAttribute (object)
Truncated attribute.