PHP Class EasyPost\CustomsItem

Inheritance: extends EasypostResource
显示文件 Open project: easypost/easypost-php Class Usage Examples

Public Methods

Method Description
all ( mixed $params = null, string $apiKey = null ) : mixed retrieve all customs items
create ( mixed $params = null, string $apiKey = null ) : mixed create a customs item
retrieve ( string $id, string $apiKey = null ) : mixed retrieve a customs item
save ( ) save the customs item

Method Details

all() public static method

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

create() public static method

create a customs item
public static create ( mixed $params = null, string $apiKey = null ) : mixed
$params mixed
$apiKey string
return mixed

retrieve() public static method

retrieve a customs item
public static retrieve ( string $id, string $apiKey = null ) : mixed
$id string
$apiKey string
return mixed

save() public method

save the customs item
public save ( )