PHP Class EasyPost\Insurance

Inheritance: extends EasypostResource
Datei anzeigen Open project: easypost/easypost-php Class Usage Examples

Public Methods

Method Description
all ( mixed $params = null, string $apiKey = null ) : mixed retrieve all insurances
create ( mixed $params = null, string $apiKey = null ) : mixed create an insurance
retrieve ( string $id, string $apiKey = null ) : mixed retrieve an insurance
save ( ) save an insurance

Method Details

all() public static method

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

create() public static method

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

retrieve() public static method

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

save() public method

save an insurance
public save ( )