fields = $fields; $this->apiParas["fields"] = $fields; } public function getFields() { return $this->fields; } public function setOrderCountType($orderCountType) { $this->orderCountType = $orderCountType; $this->apiParas["order_count_type"] = $orderCountType; } public function getOrderCountType() { return $this->orderCountType; } public function setOrderQueryType($orderQueryType) { $this->orderQueryType = $orderQueryType; $this->apiParas["order_query_type"] = $orderQueryType; } public function getOrderQueryType() { return $this->orderQueryType; } public function setOrderScene($orderScene) { $this->orderScene = $orderScene; $this->apiParas["order_scene"] = $orderScene; } public function getOrderScene() { return $this->orderScene; } 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 setSpan($span) { $this->span = $span; $this->apiParas["span"] = $span; } public function getSpan() { return $this->span; } public function setStartTime($startTime) { $this->startTime = $startTime; $this->apiParas["start_time"] = $startTime; } public function getStartTime() { return $this->startTime; } public function setTkStatus($tkStatus) { $this->tkStatus = $tkStatus; $this->apiParas["tk_status"] = $tkStatus; } public function getTkStatus() { return $this->tkStatus; } public function getApiMethodName() { return "taobao.tbk.order.get"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->fields,"fields"); RequestCheckUtil::checkNotNull($this->startTime,"startTime"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }