PHP Class EasyPost\Address

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

Public Methods

Method Description
all ( mixed $params = null, string $apiKey = null ) : mixed retrieve all addresses
create ( mixed $params = null, string $apiKey = null ) : mixed create an address
create_and_verify ( mixed $params = null, string $apiKey = null ) : mixed create and verify an address
retrieve ( string $id, string $apiKey = null ) : mixed retrieve an address
save ( ) save an address
verify ( mixed $params = null ) : mixed verify an address

Method Details

all() public static method

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

create() public static method

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

create_and_verify() public static method

create and verify an address
public static create_and_verify ( mixed $params = null, string $apiKey = null ) : mixed
$params mixed
$apiKey string
return mixed

retrieve() public static method

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

save() public method

save an address
public save ( )

verify() public method

verify an address
public verify ( mixed $params = null ) : mixed
$params mixed
return mixed