feature = $feature; $this->apiParas["feature"] = $feature; } public function getFeature() { return $this->feature; } public function setGoods($goods) { $this->goods = $goods; $this->apiParas["goods"] = $goods; } public function getGoods() { return $this->goods; } public function setNewCompanyCode($newCompanyCode) { $this->newCompanyCode = $newCompanyCode; $this->apiParas["new_company_code"] = $newCompanyCode; } public function getNewCompanyCode() { return $this->newCompanyCode; } public function setNewOutSid($newOutSid) { $this->newOutSid = $newOutSid; $this->apiParas["new_out_sid"] = $newOutSid; } public function getNewOutSid() { return $this->newOutSid; } public function setOldCompanyCode($oldCompanyCode) { $this->oldCompanyCode = $oldCompanyCode; $this->apiParas["old_company_code"] = $oldCompanyCode; } public function getOldCompanyCode() { return $this->oldCompanyCode; } public function setOldOutSid($oldOutSid) { $this->oldOutSid = $oldOutSid; $this->apiParas["old_out_sid"] = $oldOutSid; } public function getOldOutSid() { return $this->oldOutSid; } public function setTid($tid) { $this->tid = $tid; $this->apiParas["tid"] = $tid; } public function getTid() { return $this->tid; } public function getApiMethodName() { return "alibaba.ascp.logistics.consign.modify"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->newOutSid,"newOutSid"); RequestCheckUtil::checkNotNull($this->oldOutSid,"oldOutSid"); RequestCheckUtil::checkNotNull($this->tid,"tid"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }