PHP 클래스 EasyPost\Shipment

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

공개 메소드들

메소드 설명
all ( mixed $params = null, string $apiKey = null ) : mixed retrieve all shipments
barcode ( mixed $params = null ) : mixed get the shipment barcode
buy ( mixed $params = null ) buy a shipment
create ( mixed $params = null, string $apiKey = null ) : mixed create a shipment
create_from_tracking_code ( mixed $params = null, string $apiKey = null ) : mixed create a shipment from tracking code
get_rates ( mixed $params = null ) get rates for a shipment
insure ( mixed $params = null ) insure the shipment
label ( mixed $params = null ) get the shipment label
lowest_rate ( array $carriers = [], array $services = [] ) : boolean get the lowest rate for the shipment
refund ( mixed $params = null ) refund a shipment
retrieve ( string $id, string $apiKey = null ) : mixed retrieve a shipment
save ( ) save a shipment
stamp ( mixed $params = null ) : mixed get the shipment stamp

메소드 상세

all() 공개 정적인 메소드

retrieve all shipments
public static all ( mixed $params = null, string $apiKey = null ) : mixed
$params mixed
$apiKey string
리턴 mixed

barcode() 공개 메소드

get the shipment barcode
public barcode ( mixed $params = null ) : mixed
$params mixed
리턴 mixed

buy() 공개 메소드

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

create() 공개 정적인 메소드

create a shipment
public static create ( mixed $params = null, string $apiKey = null ) : mixed
$params mixed
$apiKey string
리턴 mixed

create_from_tracking_code() 공개 정적인 메소드

create a shipment from tracking code
public static create_from_tracking_code ( mixed $params = null, string $apiKey = null ) : mixed
$params mixed
$apiKey string
리턴 mixed

get_rates() 공개 메소드

get rates for a shipment
public get_rates ( mixed $params = null )
$params mixed

insure() 공개 메소드

insure the shipment
public insure ( mixed $params = null )
$params mixed

label() 공개 메소드

get the shipment label
public label ( mixed $params = null )
$params mixed

lowest_rate() 공개 메소드

get the lowest rate for the shipment
public lowest_rate ( array $carriers = [], array $services = [] ) : boolean
$carriers array
$services array
리턴 boolean

refund() 공개 메소드

refund a shipment
public refund ( mixed $params = null )
$params mixed

retrieve() 공개 정적인 메소드

retrieve a shipment
public static retrieve ( string $id, string $apiKey = null ) : mixed
$id string
$apiKey string
리턴 mixed

save() 공개 메소드

save a shipment
public save ( )

stamp() 공개 메소드

get the shipment stamp
public stamp ( mixed $params = null ) : mixed
$params mixed
리턴 mixed