beginDate = $beginDate; $this->apiParas["begin_date"] = $beginDate; } public function getBeginDate() { return $this->beginDate; } public function setEndDate($endDate) { $this->endDate = $endDate; $this->apiParas["end_date"] = $endDate; } public function getEndDate() { return $this->endDate; } public function setEntName($entName) { $this->entName = $entName; $this->apiParas["ent_name"] = $entName; } public function getEntName() { return $this->entName; } public function setPage($page) { $this->page = $page; $this->apiParas["page"] = $page; } public function getPage() { return $this->page; } public function setPageSize($pageSize) { $this->pageSize = $pageSize; $this->apiParas["page_size"] = $pageSize; } public function getPageSize() { return $this->pageSize; } public function setRefEntId($refEntId) { $this->refEntId = $refEntId; $this->apiParas["ref_ent_id"] = $refEntId; } public function getRefEntId() { return $this->refEntId; } public function setRefPartnerId($refPartnerId) { $this->refPartnerId = $refPartnerId; $this->apiParas["ref_partner_id"] = $refPartnerId; } public function getRefPartnerId() { return $this->refPartnerId; } public function getApiMethodName() { return "alibaba.alihealth.drug.msc.listparts"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->page,"page"); RequestCheckUtil::checkNotNull($this->pageSize,"pageSize"); RequestCheckUtil::checkNotNull($this->refEntId,"refEntId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }