PHP Class EasyPost\Batch

Inheritance: extends easypost\Resource
Afficher le fichier Open project: easypost/easypost-php Class Usage Examples

Méthodes publiques

Méthode Description
add_shipments ( mixed $params = null ) add shipments to a batch
all ( mixed $params = null, string $apiKey = null ) : mixed retrieve all batches
buy ( mixed $params = null ) buy a batch
create ( mixed $params = null, string $apiKey = null ) : mixed create a batch
create_and_buy ( mixed $params = null, string $apiKey = null ) : mixed create and buy a batch
create_scan_form ( mixed $params = null ) : mixed create a batch scan form
label ( mixed $params = null )
remove_shipments ( mixed $params = null ) remove shipments from a batch
retrieve ( string $id, string $apiKey = null ) : mixed retrieve a batch

Method Details

add_shipments() public méthode

add shipments to a batch
public add_shipments ( mixed $params = null )
$params mixed

all() public static méthode

retrieve all batches
public static all ( mixed $params = null, string $apiKey = null ) : mixed
$params mixed
$apiKey string
Résultat mixed

buy() public méthode

buy a batch
public buy ( mixed $params = null )
$params mixed

create() public static méthode

create a batch
public static create ( mixed $params = null, string $apiKey = null ) : mixed
$params mixed
$apiKey string
Résultat mixed

create_and_buy() public static méthode

create and buy a batch
public static create_and_buy ( mixed $params = null, string $apiKey = null ) : mixed
$params mixed
$apiKey string
Résultat mixed

create_scan_form() public méthode

create a batch scan form
public create_scan_form ( mixed $params = null ) : mixed
$params mixed
Résultat mixed

label() public méthode

public label ( mixed $params = null )
$params mixed

remove_shipments() public méthode

remove shipments from a batch
public remove_shipments ( mixed $params = null )
$params mixed

retrieve() public static méthode

retrieve a batch
public static retrieve ( string $id, string $apiKey = null ) : mixed
$id string
$apiKey string
Résultat mixed