PHP Class Usps\TrackConfirm

Inheritance: extends USPSBase
显示文件 Open project: vinceg/usps-php-api

Protected Properties

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

Public Methods

Method Description
addPackage ( string $id ) : void Add Package to the stack.
getEndpoint ( )
getPostFields ( ) : array returns array of all packages added so far.
getTracking ( ) : string Perform the API call.

Method Details

addPackage() public method

Add Package to the stack.
public addPackage ( string $id ) : void
$id string the address unique id
return void

getEndpoint() public method

public getEndpoint ( )

getPostFields() public method

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

getTracking() public method

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

Property Details

$apiVersion protected_oe property

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

$packages protected_oe property

- list of all packages added so far
protected $packages