PHP 클래스 EasyPost\Batch

상속: extends easypost\Resource
파일 보기 프로젝트 열기: easypost/easypost-php 1 사용 예제들

공개 메소드들

메소드 설명
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