AlibabaAlihealthDrugtraceTopYljgListupoutDetailRequest.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.drugtrace.top.yljg.listupout.detail request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.08.14
  7. */
  8. class AlibabaAlihealthDrugtraceTopYljgListupoutDetailRequest
  9. {
  10. /**
  11. * 委托企业refEntId【发货企业和委托企业必须填写一个,否则查询不出来数据】
  12. **/
  13. private $assRefEntId;
  14. /**
  15. * 单据编码
  16. **/
  17. private $billCode;
  18. /**
  19. * 发货企业refEntId【发货企业和委托企业必须填写一个,否则查询不出来数据】
  20. **/
  21. private $fromRefUserId;
  22. /**
  23. * 企业id
  24. **/
  25. private $refEntId;
  26. /**
  27. * 收货企业refEntId
  28. **/
  29. private $toRefUserId;
  30. private $apiParas = array();
  31. public function setAssRefEntId($assRefEntId)
  32. {
  33. $this->assRefEntId = $assRefEntId;
  34. $this->apiParas["ass_ref_ent_id"] = $assRefEntId;
  35. }
  36. public function getAssRefEntId()
  37. {
  38. return $this->assRefEntId;
  39. }
  40. public function setBillCode($billCode)
  41. {
  42. $this->billCode = $billCode;
  43. $this->apiParas["bill_code"] = $billCode;
  44. }
  45. public function getBillCode()
  46. {
  47. return $this->billCode;
  48. }
  49. public function setFromRefUserId($fromRefUserId)
  50. {
  51. $this->fromRefUserId = $fromRefUserId;
  52. $this->apiParas["from_ref_user_id"] = $fromRefUserId;
  53. }
  54. public function getFromRefUserId()
  55. {
  56. return $this->fromRefUserId;
  57. }
  58. public function setRefEntId($refEntId)
  59. {
  60. $this->refEntId = $refEntId;
  61. $this->apiParas["ref_ent_id"] = $refEntId;
  62. }
  63. public function getRefEntId()
  64. {
  65. return $this->refEntId;
  66. }
  67. public function setToRefUserId($toRefUserId)
  68. {
  69. $this->toRefUserId = $toRefUserId;
  70. $this->apiParas["to_ref_user_id"] = $toRefUserId;
  71. }
  72. public function getToRefUserId()
  73. {
  74. return $this->toRefUserId;
  75. }
  76. public function getApiMethodName()
  77. {
  78. return "alibaba.alihealth.drugtrace.top.yljg.listupout.detail";
  79. }
  80. public function getApiParas()
  81. {
  82. return $this->apiParas;
  83. }
  84. public function check()
  85. {
  86. RequestCheckUtil::checkNotNull($this->billCode,"billCode");
  87. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  88. RequestCheckUtil::checkNotNull($this->toRefUserId,"toRefUserId");
  89. }
  90. public function putOtherTextParam($key, $value) {
  91. $this->apiParas[$key] = $value;
  92. $this->$key = $value;
  93. }
  94. }