AlibabaAlihealthDrugLsydSearchbillRequest.php 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.drug.lsyd.searchbill request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.10.16
  7. */
  8. class AlibabaAlihealthDrugLsydSearchbillRequest
  9. {
  10. /**
  11. * 单据所有者
  12. **/
  13. private $authRefUserId;
  14. /**
  15. * 开始日期
  16. **/
  17. private $beginDate;
  18. /**
  19. * 单据号码
  20. **/
  21. private $billCode;
  22. /**
  23. * 单据类型 A : 所有 AI :入库 AO:出库
  24. **/
  25. private $billType;
  26. /**
  27. * 当前页
  28. **/
  29. private $curPage;
  30. /**
  31. * 结束日期
  32. **/
  33. private $endDate;
  34. /**
  35. * 页大小
  36. **/
  37. private $pageSize;
  38. /**
  39. * 收货企业entId
  40. **/
  41. private $partnerIdRecv;
  42. /**
  43. * 发货企业entId
  44. **/
  45. private $partnerIdSend;
  46. /**
  47. * 企业标识
  48. **/
  49. private $refEntId;
  50. private $apiParas = array();
  51. public function setAuthRefUserId($authRefUserId)
  52. {
  53. $this->authRefUserId = $authRefUserId;
  54. $this->apiParas["auth_ref_user_id"] = $authRefUserId;
  55. }
  56. public function getAuthRefUserId()
  57. {
  58. return $this->authRefUserId;
  59. }
  60. public function setBeginDate($beginDate)
  61. {
  62. $this->beginDate = $beginDate;
  63. $this->apiParas["begin_date"] = $beginDate;
  64. }
  65. public function getBeginDate()
  66. {
  67. return $this->beginDate;
  68. }
  69. public function setBillCode($billCode)
  70. {
  71. $this->billCode = $billCode;
  72. $this->apiParas["bill_code"] = $billCode;
  73. }
  74. public function getBillCode()
  75. {
  76. return $this->billCode;
  77. }
  78. public function setBillType($billType)
  79. {
  80. $this->billType = $billType;
  81. $this->apiParas["bill_type"] = $billType;
  82. }
  83. public function getBillType()
  84. {
  85. return $this->billType;
  86. }
  87. public function setCurPage($curPage)
  88. {
  89. $this->curPage = $curPage;
  90. $this->apiParas["cur_page"] = $curPage;
  91. }
  92. public function getCurPage()
  93. {
  94. return $this->curPage;
  95. }
  96. public function setEndDate($endDate)
  97. {
  98. $this->endDate = $endDate;
  99. $this->apiParas["end_date"] = $endDate;
  100. }
  101. public function getEndDate()
  102. {
  103. return $this->endDate;
  104. }
  105. public function setPageSize($pageSize)
  106. {
  107. $this->pageSize = $pageSize;
  108. $this->apiParas["page_size"] = $pageSize;
  109. }
  110. public function getPageSize()
  111. {
  112. return $this->pageSize;
  113. }
  114. public function setPartnerIdRecv($partnerIdRecv)
  115. {
  116. $this->partnerIdRecv = $partnerIdRecv;
  117. $this->apiParas["partner_id_recv"] = $partnerIdRecv;
  118. }
  119. public function getPartnerIdRecv()
  120. {
  121. return $this->partnerIdRecv;
  122. }
  123. public function setPartnerIdSend($partnerIdSend)
  124. {
  125. $this->partnerIdSend = $partnerIdSend;
  126. $this->apiParas["partner_id_send"] = $partnerIdSend;
  127. }
  128. public function getPartnerIdSend()
  129. {
  130. return $this->partnerIdSend;
  131. }
  132. public function setRefEntId($refEntId)
  133. {
  134. $this->refEntId = $refEntId;
  135. $this->apiParas["ref_ent_id"] = $refEntId;
  136. }
  137. public function getRefEntId()
  138. {
  139. return $this->refEntId;
  140. }
  141. public function getApiMethodName()
  142. {
  143. return "alibaba.alihealth.drug.lsyd.searchbill";
  144. }
  145. public function getApiParas()
  146. {
  147. return $this->apiParas;
  148. }
  149. public function check()
  150. {
  151. RequestCheckUtil::checkNotNull($this->beginDate,"beginDate");
  152. RequestCheckUtil::checkNotNull($this->billType,"billType");
  153. RequestCheckUtil::checkNotNull($this->curPage,"curPage");
  154. RequestCheckUtil::checkNotNull($this->endDate,"endDate");
  155. RequestCheckUtil::checkNotNull($this->pageSize,"pageSize");
  156. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  157. }
  158. public function putOtherTextParam($key, $value) {
  159. $this->apiParas[$key] = $value;
  160. $this->$key = $value;
  161. }
  162. }