PHP Class Usps\AddressVerify

Since: 1.0
Author: Vincent Gabriel
Inheritance: extends USPSBase
Afficher le fichier Open project: vinceg/usps-php-api

Protected Properties

Свойство Type Description
$addresses - list of all addresses added so far
$apiVersion - the api version used for this type of call

Méthodes publiques

Méthode Description
addAddress ( Address $data, string $id = null ) Add Address to the stack.
getPostFields ( ) : array returns array of all addresses added so far.
verify ( ) : string Perform the API call to verify the address.

Method Details

addAddress() public méthode

Add Address to the stack.
public addAddress ( Address $data, string $id = null )
$data Address
$id string the address unique id

getPostFields() public méthode

returns array of all addresses added so far.
public getPostFields ( ) : array
Résultat array

verify() public méthode

Perform the API call to verify the address.
public verify ( ) : string
Résultat string

Property Details

$addresses protected_oe property

- list of all addresses added so far
protected $addresses

$apiVersion protected_oe property

- the api version used for this type of call
protected $apiVersion