| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- <?php
- /**
- * TOP API: alibaba.alihealth.drug.msc.bill.searchstatus request
- *
- * @author auto create
- * @since 1.0, 2025.06.26
- */
- class AlibabaAlihealthDrugMscBillSearchstatusRequest
- {
- /**
- * 代理商(第三方物流企业)
- **/
- private $agentRefUserId;
-
- /**
- * 开始日期(没有时分秒,【单据创建时间】)
- **/
- private $beginDate;
-
- /**
- * 单据号(精确值,不支持模糊查询)
- **/
- private $billCode;
-
- /**
- * 单据类型 A:全部 AI:全部入库 AO:全部出库
- **/
- private $billType;
-
- /**
- * 状态 0, 处理中 3, 处理成功 4, 处理失败
- **/
- private $dealStatus;
-
- /**
- * 药品类型
- **/
- private $drugType;
-
- /**
- * 结束日期(没有时分秒,【单据创建时间】)
- **/
- private $endDate;
-
- /**
- * 发货商
- **/
- private $fromUserId;
-
- /**
- * 页码
- **/
- private $page;
-
- /**
- * 页大小
- **/
- private $pageSize;
-
- /**
- * 企业ref_ent_id(货主企业的ref_ent_id)
- **/
- private $refEntId;
-
- /**
- * 收货商
- **/
- private $toUserId;
-
- private $apiParas = array();
-
- public function setAgentRefUserId($agentRefUserId)
- {
- $this->agentRefUserId = $agentRefUserId;
- $this->apiParas["agent_ref_user_id"] = $agentRefUserId;
- }
- public function getAgentRefUserId()
- {
- return $this->agentRefUserId;
- }
- public function setBeginDate($beginDate)
- {
- $this->beginDate = $beginDate;
- $this->apiParas["begin_date"] = $beginDate;
- }
- public function getBeginDate()
- {
- return $this->beginDate;
- }
- public function setBillCode($billCode)
- {
- $this->billCode = $billCode;
- $this->apiParas["bill_code"] = $billCode;
- }
- public function getBillCode()
- {
- return $this->billCode;
- }
- public function setBillType($billType)
- {
- $this->billType = $billType;
- $this->apiParas["bill_type"] = $billType;
- }
- public function getBillType()
- {
- return $this->billType;
- }
- public function setDealStatus($dealStatus)
- {
- $this->dealStatus = $dealStatus;
- $this->apiParas["deal_status"] = $dealStatus;
- }
- public function getDealStatus()
- {
- return $this->dealStatus;
- }
- public function setDrugType($drugType)
- {
- $this->drugType = $drugType;
- $this->apiParas["drug_type"] = $drugType;
- }
- public function getDrugType()
- {
- return $this->drugType;
- }
- public function setEndDate($endDate)
- {
- $this->endDate = $endDate;
- $this->apiParas["end_date"] = $endDate;
- }
- public function getEndDate()
- {
- return $this->endDate;
- }
- public function setFromUserId($fromUserId)
- {
- $this->fromUserId = $fromUserId;
- $this->apiParas["from_user_id"] = $fromUserId;
- }
- public function getFromUserId()
- {
- return $this->fromUserId;
- }
- 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 setToUserId($toUserId)
- {
- $this->toUserId = $toUserId;
- $this->apiParas["to_user_id"] = $toUserId;
- }
- public function getToUserId()
- {
- return $this->toUserId;
- }
- public function getApiMethodName()
- {
- return "alibaba.alihealth.drug.msc.bill.searchstatus";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->beginDate,"beginDate");
- RequestCheckUtil::checkNotNull($this->billType,"billType");
- RequestCheckUtil::checkNotNull($this->endDate,"endDate");
- 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;
- }
- }
|