ignorewarning = $ignorewarning; $this->apiParas["ignorewarning"] = $ignorewarning; } public function getIgnorewarning() { return $this->ignorewarning; } public function setItemPrice($itemPrice) { $this->itemPrice = $itemPrice; $this->apiParas["item_price"] = $itemPrice; } public function getItemPrice() { return $this->itemPrice; } public function setLang($lang) { $this->lang = $lang; $this->apiParas["lang"] = $lang; } public function getLang() { return $this->lang; } public function setNumIid($numIid) { $this->numIid = $numIid; $this->apiParas["num_iid"] = $numIid; } public function getNumIid() { return $this->numIid; } public function setOuterId($outerId) { $this->outerId = $outerId; $this->apiParas["outer_id"] = $outerId; } public function getOuterId() { return $this->outerId; } public function setPrice($price) { $this->price = $price; $this->apiParas["price"] = $price; } public function getPrice() { return $this->price; } public function setProperties($properties) { $this->properties = $properties; $this->apiParas["properties"] = $properties; } public function getProperties() { return $this->properties; } public function setQuantity($quantity) { $this->quantity = $quantity; $this->apiParas["quantity"] = $quantity; } public function getQuantity() { return $this->quantity; } public function getApiMethodName() { return "taobao.item.sku.add"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->numIid,"numIid"); RequestCheckUtil::checkNotNull($this->price,"price"); RequestCheckUtil::checkNotNull($this->properties,"properties"); RequestCheckUtil::checkNotNull($this->quantity,"quantity"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }