PHP Класс EasyPost\Batch

Наследование: extends easypost\Resource
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

add_shipments() публичный Метод

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

all() публичный статический Метод

retrieve all batches
public static all ( mixed $params = null, string $apiKey = null ) : mixed
$params mixed
$apiKey string
Результат mixed

buy() публичный Метод

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

create() публичный статический Метод

create a batch
public static create ( mixed $params = null, string $apiKey = null ) : mixed
$params mixed
$apiKey string
Результат mixed

create_and_buy() публичный статический Метод

create and buy a batch
public static create_and_buy ( mixed $params = null, string $apiKey = null ) : mixed
$params mixed
$apiKey string
Результат mixed

create_scan_form() публичный Метод

create a batch scan form
public create_scan_form ( mixed $params = null ) : mixed
$params mixed
Результат mixed

label() публичный Метод

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

remove_shipments() публичный Метод

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

retrieve() публичный статический Метод

retrieve a batch
public static retrieve ( string $id, string $apiKey = null ) : mixed
$id string
$apiKey string
Результат mixed