setUserParam($params, "goods_id", $this->goodsId); $this->setUserParam($params, "quantity", $this->quantity); $this->setUserParam($params, "sku_id", $this->skuId); $this->setUserParam($params, "outer_id", $this->outerId); $this->setUserParam($params, "update_type", $this->updateType); } public function getVersion() { return "V1"; } public function getDataType() { return "JSON"; } public function getType() { return "pdd.goods.quantity.update"; } public function setGoodsId($goodsId) { $this->goodsId = $goodsId; } public function setQuantity($quantity) { $this->quantity = $quantity; } public function setSkuId($skuId) { $this->skuId = $skuId; } public function setOuterId($outerId) { $this->outerId = $outerId; } public function setUpdateType($updateType) { $this->updateType = $updateType; } }