currentPage = $currentPage; $this->apiParas["current_page"] = $currentPage; } public function getCurrentPage() { return $this->currentPage; } public function setDate($date) { $this->date = $date; $this->apiParas["date"] = $date; } public function getDate() { return $this->date; } public function setPageSize($pageSize) { $this->pageSize = $pageSize; $this->apiParas["page_size"] = $pageSize; } public function getPageSize() { return $this->pageSize; } public function getApiMethodName() { return "taobao.fuwu.scores.get"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->currentPage,"currentPage"); RequestCheckUtil::checkNotNull($this->date,"date"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }