\jd_vop\request\orderGetFreight

7.1 查询运费 Request

Summary

Methods
Properties
Constants
__construct()
params()
doRequest()
$token
$skus
$province
$city
$county
$town
$paymentType
$queryExts
No constants found
No protected methods found
$client
$uri
N/A
No private methods found
No private properties found
N/A

Properties

$token

$token : string

Type

string — access token

$province

$province : integer

Type

integer — 一级地址id

$city

$city : integer

Type

integer — 二级地址id

$county

$county : integer

Type

integer — 三级地址id

$town

$town : integer

Type

integer — 四级地址id

$paymentType

$paymentType : integer

Type

integer — 京东支付方式 constant\PaymentType

$queryExts

$queryExts : string

Type

string — 扩展查询字段, conFreight //续重运费

$client

$client : 

Type

$uri

$uri : string

Type

string

Methods

__construct()

__construct(  $token, \jd_vop\request\order\GetFreightSkus  $skus,   $province,   $city,   $county,   $town,   $paymentType,   $queryExts) 

7.1 查询运费 Request

Parameters

$token

string access token

\jd_vop\request\order\GetFreightSkus $skus

sku数组

$province

int 一级地址id

$city

int 二级地址id

$county

int 三级地址id

$town

int 四级地址id

$paymentType

int 京东支付方式 constant\PaymentType

$queryExts

string 扩展查询字段, conFreight //续重运费 todo 修改为扩展类库

params()

params() : array

Returns

array

doRequest()

doRequest() : \Psr\Http\Message\ResponseInterface

Throws

\jd_vop\exception\NetWorkException

Returns

\Psr\Http\Message\ResponseInterface