PHP Class EasyPost\Refund

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

Public Methods

Method Description
all ( mixed $params = null, string $apiKey = null ) : mixed retrieve all refunds
create ( mixed $params = null, string $apiKey = null ) : mixed create a refund
retrieve ( string $id, string $apiKey = null ) : mixed retrieve a refund

Method Details

all() public static method

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

create() public static method

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

retrieve() public static method

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