Properties

$client

$client : 

Type

$uri

$uri : string

Type

string

$token

$token : string

Type

string — 授权token

$orderId

$orderId : integer

Type

integer — 订单号,子订单号

$customerPin

$customerPin : string

Type

string — (Not required) PIN码,必须是相同合同下的pin。该字段用于验证操作人权限。如果传入账号,则账号必须为订单下单人;如果不传入,则默认可操作主数据合同下所有的订单

$thirdApplyId

$thirdApplyId : string

Type

string — 申请批次号,同一子订单下不可重复(长度最大20)

$isHasInvoice

$isHasInvoice : boolean

Type

boolean — not required 是否有发票

$customerInfo

$customerInfo : object

Type

object — AfsCustomerInfo 申请时用户信息

$pickwareInfo

$pickwareInfo : object

Type

object — AfsPickupWareInfo 申请时取件信息

$returnWareInfo

$returnWareInfo : object

Type

object — AfsReturnWareInfo 申请时返件信息

$afsApplyInfoItemList

$afsApplyInfoItemList : object

Type

object — list AfsApplyInfoItem 申请时申请条目,信息集合

$customerName

$customerName : string

Type

string — required 用户名

$customerContactName

$customerContactName : string

Type

string — required 联系人

$customerTel

$customerTel : string

Type

string — not required 联系电话,联系电话与手机号不能同时为空

$customerMobilePhone

$customerMobilePhone : string

Type

string — not required 手机号,联系电话与手机号不能同时为空

$customerEmail

$customerEmail : string

Type

string — not required Email邮箱

$customerPostcode

$customerPostcode : string

Type

string — not required 邮编

$pickwareType

$pickwareType : integer

Type

integer — required 取件方式:4上门取件 7客户送货 40客户发货。

$pickWareProvince

$pickWareProvince : integer

Type

integer — required 取件省

$pickWareCity

$pickWareCity : integer

Type

integer — required 取件市

$pickWareCounty

$pickWareCounty : integer

Type

integer — required 取件县

$pickWareVillage

$pickWareVillage : integer

Type

integer — required 取件乡镇

$pickWareAddress

$pickWareAddress : string

Type

string — required 取件街道地址

$reserveDateBegin

$reserveDateBegin : string

Type

string — not required 预约取件开始时间。开始时间不可早于当前时间+2小时。格式:2014-09-23 09:00:00

$reserveDateEnd

$reserveDateEnd : string

Type

string — not required 预约取件结束时间。格式:2014-09-23 19:00:00

$returnWareType

$returnWareType : integer

Type

integer — required 返件方式。10自营配送(与4取件固定搭配),20第三方配送(与40客户发货固定搭配)

$returnWareProvince

$returnWareProvince : integer

Type

integer — required 返件省

$returnWareCity

$returnWareCity : integer

Type

integer — required 返件市

$returnWareCountry

$returnWareCountry : integer

Type

integer — required 返件县

$returnWareVillage

$returnWareVillage : integer

Type

integer — required 返件乡镇

$returnWareAddress

$returnWareAddress : integer

Type

integer — required 返件街道地址

$customerExpect

$customerExpect : integer

Type

integer — required 客户期望售后类型。10退货,20换货,30维修

$wareDescInfo

$wareDescInfo : object

Type

object — WareDescInfo not required 商品描述信息

$wareDetailInfo

$wareDetailInfo : object

Type

object — required WareDetailInfo 商品明细

$isNeedDetectionReport

$isNeedDetectionReport : Boolean

Type

Boolean — not required 是否需要检测报告

$lossPreventionTagFlag

$lossPreventionTagFlag : Boolean

Type

Boolean — not required 是否有防损吊牌

$isHasPackage

$isHasPackage : boolean

Type

boolean — not required 是否有包装

$packageDesc

$packageDesc : integer

Type

integer — not required 包装描述

$questionDesc

$questionDesc : string

Type

string — not required 问题描述文字

$questionPic

$questionPic : string

Type

string — not required 问题描述图片链接。多个图片以“,”分隔

$wareId

$wareId : string

Type

string — required 商品编号

$mainWareId

$mainWareId : string

Type

string — required 主商品编号

$wareName

$wareName : string

Type

string — required 商品名称

$wareNum

$wareNum : integer

Type

integer — required 商品申请数量

$wareDescribe

$wareDescribe : string

Type

string — not required 附件描述

$payPrice

$payPrice : \jd_vop\request\aftersale\decimal

Type

\jd_vop\request\aftersale\decimal — not required 支付金额:商品单价*数量

$wareType

$wareType : integer

Type

integer — required 商品类型:10主商品,20赠品

Methods

__construct()

__construct(\jd_vop\request\aftersale\string  $token, \jd_vop\request\aftersale\int  $orderId,   $customerPin, \jd_vop\request\aftersale\string  $thirdApplyId,   $isHasInvoice, \jd_vop\request\aftersale\string  $customerName, \jd_vop\request\aftersale\string  $customerContactName,   $customerTel,   $customerMobilePhone,   $customerEmail,   $customerPostcode, \jd_vop\request\aftersale\int  $pickwareType, \jd_vop\request\aftersale\int  $pickWareProvince, \jd_vop\request\aftersale\int  $pickWareCity, \jd_vop\request\aftersale\int  $pickWareCounty, \jd_vop\request\aftersale\int  $pickWareVillage, \jd_vop\request\aftersale\string  $pickWareAddress,   $reserveDateBegin,   $reserveDateEnd, \jd_vop\request\aftersale\int  $returnWareType, \jd_vop\request\aftersale\int  $returnWareProvince, \jd_vop\request\aftersale\int  $returnWareCity, \jd_vop\request\aftersale\int  $returnWareCountry) 

Parameters

\jd_vop\request\aftersale\string $token
\jd_vop\request\aftersale\int $orderId
$customerPin
\jd_vop\request\aftersale\string $thirdApplyId
$isHasInvoice
\jd_vop\request\aftersale\string $customerName
\jd_vop\request\aftersale\string $customerContactName
$customerTel
$customerMobilePhone
$customerEmail
$customerPostcode
\jd_vop\request\aftersale\int $pickwareType
\jd_vop\request\aftersale\int $pickWareProvince
\jd_vop\request\aftersale\int $pickWareCity
\jd_vop\request\aftersale\int $pickWareCounty
\jd_vop\request\aftersale\int $pickWareVillage
\jd_vop\request\aftersale\string $pickWareAddress
$reserveDateBegin
$reserveDateEnd
\jd_vop\request\aftersale\int $returnWareType
\jd_vop\request\aftersale\int $returnWareProvince
\jd_vop\request\aftersale\int $returnWareCity
\jd_vop\request\aftersale\int $returnWareCountry

params()

params() : array

Returns

array

doRequest()

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

Throws

\jd_vop\exception\NetWorkException

Returns

\Psr\Http\Message\ResponseInterface