PHP Class EasyPost\Rate

Inheritance: extends EasypostResource
Mostrar archivo Open project: easypost/easypost-php Class Usage Examples

Public Methods

Method Description
all ( mixed $params = null, string $apiKey = null ) : mixed retrieve all rates
create ( mixed $params = null, string $apiKey = null ) : mixed create a rate
retrieve ( string $id, string $apiKey = null ) : mixed retrieve a rate
save ( ) save a rate

Method Details

all() public static method

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

create() public static method

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

retrieve() public static method

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

save() public method

save a rate
public save ( )