adzoneId = $adzoneId; $this->apiParas["adzone_id"] = $adzoneId; } public function getAdzoneId() { return $this->adzoneId; } public function setCat($cat) { $this->cat = $cat; $this->apiParas["cat"] = $cat; } public function getCat() { return $this->cat; } public function setPageNo($pageNo) { $this->pageNo = $pageNo; $this->apiParas["page_no"] = $pageNo; } public function getPageNo() { return $this->pageNo; } public function setPageSize($pageSize) { $this->pageSize = $pageSize; $this->apiParas["page_size"] = $pageSize; } public function getPageSize() { return $this->pageSize; } public function setPlatform($platform) { $this->platform = $platform; $this->apiParas["platform"] = $platform; } public function getPlatform() { return $this->platform; } public function setQ($q) { $this->q = $q; $this->apiParas["q"] = $q; } public function getQ() { return $this->q; } public function getApiMethodName() { return "taobao.tbk.dg.item.coupon.get"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->adzoneId,"adzoneId"); RequestCheckUtil::checkMaxLength($this->cat,10,"cat"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }