PHP Class EasyPost\CarrierAccount

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 carrier accounts
create ( mixed $params = null, string $apiKey = null ) : mixed create carrier account
delete ( ) delete carrier account
retrieve ( string $id, string $apiKey = null ) : mixed retrieve a carrier account
save ( ) save carrier account
types ( mixed $params = null, string $apiKey = null ) : mixed get types of carrier account

Method Details

all() public static method

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

create() public static method

create carrier account
public static create ( mixed $params = null, string $apiKey = null ) : mixed
$params mixed
$apiKey string
return mixed

delete() public method

delete carrier account
public delete ( )

retrieve() public static method

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

save() public method

save carrier account
public save ( )

types() public static method

get types of carrier account
public static types ( mixed $params = null, string $apiKey = null ) : mixed
$params mixed
$apiKey string
return mixed