PHP Class EasyPost\Order

Inheritance: extends easypost\Resource
Show file Open project: easypost/easypost-php Class Usage Examples

Public Methods

Method Description
all ( mixed $params = null, string $apiKey = null ) : mixed retrieve all orders
buy ( mixed $params = null ) buy an order
create ( mixed $params = null, string $apiKey = null ) : mixed create an order
retrieve ( string $id, string $apiKey = null ) : mixed retrieve an order
save ( ) save an order

Method Details

all() public static method

retrieve all orders
public static all ( mixed $params = null, string $apiKey = null ) : mixed
$params mixed
$apiKey string
return mixed

buy() public method

buy an order
public buy ( mixed $params = null )
$params mixed

create() public static method

create an order
public static create ( mixed $params = null, string $apiKey = null ) : mixed
$params mixed
$apiKey string
return mixed

retrieve() public static method

retrieve an order
public static retrieve ( string $id, string $apiKey = null ) : mixed
$id string
$apiKey string
return mixed

save() public method

save an order
public save ( )