PHP Class Usps\AddressVerify

Since: 1.0
Author: Vincent Gabriel
Inheritance: extends USPSBase
显示文件 Open project: vinceg/usps-php-api

Protected Properties

Property Type Description
$addresses - list of all addresses added so far
$apiVersion - the api version used for this type of call

Public Methods

Method 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 method

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

getPostFields() public method

returns array of all addresses added so far.
public getPostFields ( ) : array
return array

verify() public method

Perform the API call to verify the address.
public verify ( ) : string
return 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