AlibabaAlihealthDrugtraceTopLsydListupoutDetailRequest.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.drugtrace.top.lsyd.listupout.detail request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.09.25
  7. */
  8. class AlibabaAlihealthDrugtraceTopLsydListupoutDetailRequest
  9. {
  10. /**
  11. * 单据编码
  12. **/
  13. private $billCode;
  14. /**
  15. * 发货企业renEntId
  16. **/
  17. private $fromRefUserId;
  18. /**
  19. * 企业id
  20. **/
  21. private $refEntId;
  22. /**
  23. * 收货企业refEntId
  24. **/
  25. private $toRefUserId;
  26. private $apiParas = array();
  27. public function setBillCode($billCode)
  28. {
  29. $this->billCode = $billCode;
  30. $this->apiParas["bill_code"] = $billCode;
  31. }
  32. public function getBillCode()
  33. {
  34. return $this->billCode;
  35. }
  36. public function setFromRefUserId($fromRefUserId)
  37. {
  38. $this->fromRefUserId = $fromRefUserId;
  39. $this->apiParas["from_ref_user_id"] = $fromRefUserId;
  40. }
  41. public function getFromRefUserId()
  42. {
  43. return $this->fromRefUserId;
  44. }
  45. public function setRefEntId($refEntId)
  46. {
  47. $this->refEntId = $refEntId;
  48. $this->apiParas["ref_ent_id"] = $refEntId;
  49. }
  50. public function getRefEntId()
  51. {
  52. return $this->refEntId;
  53. }
  54. public function setToRefUserId($toRefUserId)
  55. {
  56. $this->toRefUserId = $toRefUserId;
  57. $this->apiParas["to_ref_user_id"] = $toRefUserId;
  58. }
  59. public function getToRefUserId()
  60. {
  61. return $this->toRefUserId;
  62. }
  63. public function getApiMethodName()
  64. {
  65. return "alibaba.alihealth.drugtrace.top.lsyd.listupout.detail";
  66. }
  67. public function getApiParas()
  68. {
  69. return $this->apiParas;
  70. }
  71. public function check()
  72. {
  73. RequestCheckUtil::checkNotNull($this->billCode,"billCode");
  74. RequestCheckUtil::checkNotNull($this->fromRefUserId,"fromRefUserId");
  75. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  76. RequestCheckUtil::checkNotNull($this->toRefUserId,"toRefUserId");
  77. }
  78. public function putOtherTextParam($key, $value) {
  79. $this->apiParas[$key] = $value;
  80. $this->$key = $value;
  81. }
  82. }