channelCodes = $channelCodes; $this->apiParas["channel_codes"] = $channelCodes; } public function getChannelCodes() { return $this->channelCodes; } public function setEndCreated($endCreated) { $this->endCreated = $endCreated; $this->apiParas["end_created"] = $endCreated; } public function getEndCreated() { return $this->endCreated; } public function setFields($fields) { $this->fields = $fields; $this->apiParas["fields"] = $fields; } public function getFields() { return $this->fields; } 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 setPurchaseOrderId($purchaseOrderId) { $this->purchaseOrderId = $purchaseOrderId; $this->apiParas["purchase_order_id"] = $purchaseOrderId; } public function getPurchaseOrderId() { return $this->purchaseOrderId; } public function setStartCreated($startCreated) { $this->startCreated = $startCreated; $this->apiParas["start_created"] = $startCreated; } public function getStartCreated() { return $this->startCreated; } public function setStatus($status) { $this->status = $status; $this->apiParas["status"] = $status; } public function getStatus() { return $this->status; } public function setTcOrderId($tcOrderId) { $this->tcOrderId = $tcOrderId; $this->apiParas["tc_order_id"] = $tcOrderId; } public function getTcOrderId() { return $this->tcOrderId; } public function setTimeType($timeType) { $this->timeType = $timeType; $this->apiParas["time_type"] = $timeType; } public function getTimeType() { return $this->timeType; } public function setTradeTypes($tradeTypes) { $this->tradeTypes = $tradeTypes; $this->apiParas["trade_types"] = $tradeTypes; } public function getTradeTypes() { return $this->tradeTypes; } public function setUserRoleType($userRoleType) { $this->userRoleType = $userRoleType; $this->apiParas["user_role_type"] = $userRoleType; } public function getUserRoleType() { return $this->userRoleType; } public function getApiMethodName() { return "taobao.fenxiao.orders.get"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkMaxListSize($this->channelCodes,999,"channelCodes"); RequestCheckUtil::checkMaxListSize($this->tradeTypes,999,"tradeTypes"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }