activityId = $activityId; $this->apiParas["activity_id"] = $activityId; } public function getActivityId() { return $this->activityId; } public function setAdzoneId($adzoneId) { $this->adzoneId = $adzoneId; $this->apiParas["adzone_id"] = $adzoneId; } public function getAdzoneId() { return $this->adzoneId; } public function setEndTime($endTime) { $this->endTime = $endTime; $this->apiParas["end_time"] = $endTime; } public function getEndTime() { return $this->endTime; } 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 setSiteId($siteId) { $this->siteId = $siteId; $this->apiParas["site_id"] = $siteId; } public function getSiteId() { return $this->siteId; } public function setStartTime($startTime) { $this->startTime = $startTime; $this->apiParas["start_time"] = $startTime; } public function getStartTime() { return $this->startTime; } public function getApiMethodName() { return "taobao.tbk.sc.newuser.order.get"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->activityId,"activityId"); RequestCheckUtil::checkMaxValue($this->pageSize,100,"pageSize"); RequestCheckUtil::checkMinValue($this->pageSize,1,"pageSize"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }