ePages 6.17.48 - DE_EPAGES/DHLIntraship/API/AddressValidation.pm

Package DE_EPAGES::DHLIntraship::API::AddressValidation

do DHLIntraship related Address validation

Example
my $AddressValidation = DE_EPAGES::DHLIntraship::API::AddressValidation->new( $AddressObject )
$AddressValidation->isComplete();

Functions

getStatesAsWarning
isComplete
loadAttributes
new

getStatesAsWarning

Get the States and create epages warnings from this

Syntax
getStatesAsWarning( $Input1 );
Return
$Warnigs (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( );

new

constructor of AddressValidation

Syntax
new( $Address, $ExtraAttributDefinitions );
Input
$Address (object)
ePages AddressObject
$ExtraAttributDefinitions (hash_ref)
extra Attributes definitions
Return
$self (object)
AddressValidation object