AlibabaAlihealthDrugMscBillSearchstatusRequest.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.drug.msc.bill.searchstatus request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.06.26
  7. */
  8. class AlibabaAlihealthDrugMscBillSearchstatusRequest
  9. {
  10. /**
  11. * 代理商(第三方物流企业)
  12. **/
  13. private $agentRefUserId;
  14. /**
  15. * 开始日期(没有时分秒,【单据创建时间】)
  16. **/
  17. private $beginDate;
  18. /**
  19. * 单据号(精确值,不支持模糊查询)
  20. **/
  21. private $billCode;
  22. /**
  23. * 单据类型 A:全部 AI:全部入库 AO:全部出库
  24. **/
  25. private $billType;
  26. /**
  27. * 状态 0, 处理中 3, 处理成功 4, 处理失败
  28. **/
  29. private $dealStatus;
  30. /**
  31. * 药品类型
  32. **/
  33. private $drugType;
  34. /**
  35. * 结束日期(没有时分秒,【单据创建时间】)
  36. **/
  37. private $endDate;
  38. /**
  39. * 发货商
  40. **/
  41. private $fromUserId;
  42. /**
  43. * 页码
  44. **/
  45. private $page;
  46. /**
  47. * 页大小
  48. **/
  49. private $pageSize;
  50. /**
  51. * 企业ref_ent_id(货主企业的ref_ent_id)
  52. **/
  53. private $refEntId;
  54. /**
  55. * 收货商
  56. **/
  57. private $toUserId;
  58. private $apiParas = array();
  59. public function setAgentRefUserId($agentRefUserId)
  60. {
  61. $this->agentRefUserId = $agentRefUserId;
  62. $this->apiParas["agent_ref_user_id"] = $agentRefUserId;
  63. }
  64. public function getAgentRefUserId()
  65. {
  66. return $this->agentRefUserId;
  67. }
  68. public function setBeginDate($beginDate)
  69. {
  70. $this->beginDate = $beginDate;
  71. $this->apiParas["begin_date"] = $beginDate;
  72. }
  73. public function getBeginDate()
  74. {
  75. return $this->beginDate;
  76. }
  77. public function setBillCode($billCode)
  78. {
  79. $this->billCode = $billCode;
  80. $this->apiParas["bill_code"] = $billCode;
  81. }
  82. public function getBillCode()
  83. {
  84. return $this->billCode;
  85. }
  86. public function setBillType($billType)
  87. {
  88. $this->billType = $billType;
  89. $this->apiParas["bill_type"] = $billType;
  90. }
  91. public function getBillType()
  92. {
  93. return $this->billType;
  94. }
  95. public function setDealStatus($dealStatus)
  96. {
  97. $this->dealStatus = $dealStatus;
  98. $this->apiParas["deal_status"] = $dealStatus;
  99. }
  100. public function getDealStatus()
  101. {
  102. return $this->dealStatus;
  103. }
  104. public function setDrugType($drugType)
  105. {
  106. $this->drugType = $drugType;
  107. $this->apiParas["drug_type"] = $drugType;
  108. }
  109. public function getDrugType()
  110. {
  111. return $this->drugType;
  112. }
  113. public function setEndDate($endDate)
  114. {
  115. $this->endDate = $endDate;
  116. $this->apiParas["end_date"] = $endDate;
  117. }
  118. public function getEndDate()
  119. {
  120. return $this->endDate;
  121. }
  122. public function setFromUserId($fromUserId)
  123. {
  124. $this->fromUserId = $fromUserId;
  125. $this->apiParas["from_user_id"] = $fromUserId;
  126. }
  127. public function getFromUserId()
  128. {
  129. return $this->fromUserId;
  130. }
  131. public function setPage($page)
  132. {
  133. $this->page = $page;
  134. $this->apiParas["page"] = $page;
  135. }
  136. public function getPage()
  137. {
  138. return $this->page;
  139. }
  140. public function setPageSize($pageSize)
  141. {
  142. $this->pageSize = $pageSize;
  143. $this->apiParas["page_size"] = $pageSize;
  144. }
  145. public function getPageSize()
  146. {
  147. return $this->pageSize;
  148. }
  149. public function setRefEntId($refEntId)
  150. {
  151. $this->refEntId = $refEntId;
  152. $this->apiParas["ref_ent_id"] = $refEntId;
  153. }
  154. public function getRefEntId()
  155. {
  156. return $this->refEntId;
  157. }
  158. public function setToUserId($toUserId)
  159. {
  160. $this->toUserId = $toUserId;
  161. $this->apiParas["to_user_id"] = $toUserId;
  162. }
  163. public function getToUserId()
  164. {
  165. return $this->toUserId;
  166. }
  167. public function getApiMethodName()
  168. {
  169. return "alibaba.alihealth.drug.msc.bill.searchstatus";
  170. }
  171. public function getApiParas()
  172. {
  173. return $this->apiParas;
  174. }
  175. public function check()
  176. {
  177. RequestCheckUtil::checkNotNull($this->beginDate,"beginDate");
  178. RequestCheckUtil::checkNotNull($this->billType,"billType");
  179. RequestCheckUtil::checkNotNull($this->endDate,"endDate");
  180. RequestCheckUtil::checkNotNull($this->page,"page");
  181. RequestCheckUtil::checkNotNull($this->pageSize,"pageSize");
  182. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  183. }
  184. public function putOtherTextParam($key, $value) {
  185. $this->apiParas[$key] = $value;
  186. $this->$key = $value;
  187. }
  188. }