Package DE_EPAGES::USPS::API::WebServices::AddressInformation
It will verify the correctness of the US address entered by the user
Functions
getAddressesOrEmpty
Description
Syntax |
getAddressesOrEmpty( ); |
Return |
|
isValidResponseOrError
It checks that the response is of Address Informattion API web service type. If it's not, it throws an error.
Syntax |
$isValid = $self->isValidResponseOrError(); |
Return |
|
new
Creates a new Address Information object .
Syntax |
$AddressInfo = DE_EPAGES::USPS::API::WebServices::AddressInformation->new(); |
Input |
|
Return |
|
setAddress
It sets the address into the request XML structure inside the AddressInformation object.
Syntax |
$self->setAddress($Address); |
Input |
|
setCredentials
It sets USPS access credentials for Address Information web services into XML root node as required by USPS.
Syntax |
$self->setCredentials(); |
Input |
|