beginDate = $beginDate; $this->apiParas["begin_date"] = $beginDate; } public function getBeginDate() { return $this->beginDate; } public function setBillType($billType) { $this->billType = $billType; $this->apiParas["bill_type"] = $billType; } public function getBillType() { return $this->billType; } public function setEndDate($endDate) { $this->endDate = $endDate; $this->apiParas["end_date"] = $endDate; } public function getEndDate() { return $this->endDate; } public function setRefEntId($refEntId) { $this->refEntId = $refEntId; $this->apiParas["ref_ent_id"] = $refEntId; } public function getRefEntId() { return $this->refEntId; } public function getApiMethodName() { return "alibaba.alihealth.drug.lsyd.query.billcount"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->beginDate,"beginDate"); RequestCheckUtil::checkNotNull($this->endDate,"endDate"); RequestCheckUtil::checkNotNull($this->refEntId,"refEntId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }