\jd_vop\request\orderSubmitOrderSkus

7.3 提交订单 skus

Summary

Methods
Properties
Constants
__construct()
add()
subtract()
parse()
$list
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$list

$list : array

Type

array — SubmitOrderSku 数组

Methods

__construct()

__construct() 

7.3 提交订单 skus

add()

add(integer  $skuId, integer  $num = 1, float  $price) : boolean

添加商品

Parameters

integer $skuId

商品SKU

integer $num

数量

float $price

价格

Returns

boolean

subtract()

subtract(integer  $skuId, integer  $num = 1) 

减少商品

Parameters

integer $skuId

商品SKU

integer $num

数量

parse()

parse() : false|string

解析数据

Returns

false|string