AlibabaAlihealthSynergyYzwDrugreportOptRequest.php 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.synergy.yzw.drugreport.opt request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.10.22
  7. */
  8. class AlibabaAlihealthSynergyYzwDrugreportOptRequest
  9. {
  10. /**
  11. * 单据id
  12. **/
  13. private $billId;
  14. /**
  15. * 单据类型
  16. **/
  17. private $billType;
  18. /**
  19. * 单据明细id
  20. **/
  21. private $detailBillId;
  22. /**
  23. * 拒绝原因
  24. **/
  25. private $operNote;
  26. /**
  27. * 操作类型:签收(onlySign),拒收(rejectReceive),签收并盖章(signAndSeal),盖章签收后的报告(sealAfterSign)
  28. **/
  29. private $operType;
  30. /**
  31. * X坐标
  32. **/
  33. private $positionX;
  34. /**
  35. * Y坐标
  36. **/
  37. private $positionY;
  38. /**
  39. * 调用接口的企业refEntId
  40. **/
  41. private $refEntId;
  42. /**
  43. * 印章名称,当操作类型为signAndSeal和sealAfterSign时,必填
  44. **/
  45. private $sealName;
  46. /**
  47. * 用户id
  48. **/
  49. private $userId;
  50. private $apiParas = array();
  51. public function setBillId($billId)
  52. {
  53. $this->billId = $billId;
  54. $this->apiParas["bill_id"] = $billId;
  55. }
  56. public function getBillId()
  57. {
  58. return $this->billId;
  59. }
  60. public function setBillType($billType)
  61. {
  62. $this->billType = $billType;
  63. $this->apiParas["bill_type"] = $billType;
  64. }
  65. public function getBillType()
  66. {
  67. return $this->billType;
  68. }
  69. public function setDetailBillId($detailBillId)
  70. {
  71. $this->detailBillId = $detailBillId;
  72. $this->apiParas["detail_bill_id"] = $detailBillId;
  73. }
  74. public function getDetailBillId()
  75. {
  76. return $this->detailBillId;
  77. }
  78. public function setOperNote($operNote)
  79. {
  80. $this->operNote = $operNote;
  81. $this->apiParas["oper_note"] = $operNote;
  82. }
  83. public function getOperNote()
  84. {
  85. return $this->operNote;
  86. }
  87. public function setOperType($operType)
  88. {
  89. $this->operType = $operType;
  90. $this->apiParas["oper_type"] = $operType;
  91. }
  92. public function getOperType()
  93. {
  94. return $this->operType;
  95. }
  96. public function setPositionX($positionX)
  97. {
  98. $this->positionX = $positionX;
  99. $this->apiParas["position_x"] = $positionX;
  100. }
  101. public function getPositionX()
  102. {
  103. return $this->positionX;
  104. }
  105. public function setPositionY($positionY)
  106. {
  107. $this->positionY = $positionY;
  108. $this->apiParas["position_y"] = $positionY;
  109. }
  110. public function getPositionY()
  111. {
  112. return $this->positionY;
  113. }
  114. public function setRefEntId($refEntId)
  115. {
  116. $this->refEntId = $refEntId;
  117. $this->apiParas["ref_ent_id"] = $refEntId;
  118. }
  119. public function getRefEntId()
  120. {
  121. return $this->refEntId;
  122. }
  123. public function setSealName($sealName)
  124. {
  125. $this->sealName = $sealName;
  126. $this->apiParas["seal_name"] = $sealName;
  127. }
  128. public function getSealName()
  129. {
  130. return $this->sealName;
  131. }
  132. public function setUserId($userId)
  133. {
  134. $this->userId = $userId;
  135. $this->apiParas["user_id"] = $userId;
  136. }
  137. public function getUserId()
  138. {
  139. return $this->userId;
  140. }
  141. public function getApiMethodName()
  142. {
  143. return "alibaba.alihealth.synergy.yzw.drugreport.opt";
  144. }
  145. public function getApiParas()
  146. {
  147. return $this->apiParas;
  148. }
  149. public function check()
  150. {
  151. RequestCheckUtil::checkNotNull($this->billId,"billId");
  152. RequestCheckUtil::checkNotNull($this->billType,"billType");
  153. RequestCheckUtil::checkNotNull($this->detailBillId,"detailBillId");
  154. RequestCheckUtil::checkNotNull($this->operType,"operType");
  155. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  156. RequestCheckUtil::checkNotNull($this->userId,"userId");
  157. }
  158. public function putOtherTextParam($key, $value) {
  159. $this->apiParas[$key] = $value;
  160. $this->$key = $value;
  161. }
  162. }