PHP Class Usps\FirstClassServiceStandards

Inheritance: extends USPSBase
Show file Open project: vinceg/usps-php-api

Protected Properties

Property Type Description
$apiVersion - the api version used for this type of call
$route - route added so far.

Public Methods

Method Description
addRoute ( $origin_zip, $destination_zip ) Add route to the stack.
getPostFields ( ) : array returns array of all routes added so far.
getServiceStandard ( ) : string Perform the API call.

Method Details

addRoute() public method

Add route to the stack.
public addRoute ( $origin_zip, $destination_zip )
$origin_zip
$destination_zip

getPostFields() public method

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

getServiceStandard() public method

Perform the API call.
public getServiceStandard ( ) : string
return string

Property Details

$apiVersion protected property

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

$route protected property

- route added so far.
protected $route