AlibabaAlihealthDrugMscSearchbillDetailRequest.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.drug.msc.searchbill.detail request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.05.22
  7. */
  8. class AlibabaAlihealthDrugMscSearchbillDetailRequest
  9. {
  10. /**
  11. * 货主/配送
  12. **/
  13. private $authRefUserId;
  14. /**
  15. * 单据号码
  16. **/
  17. private $billCode;
  18. /**
  19. * 企业refEntId
  20. **/
  21. private $refEntId;
  22. private $apiParas = array();
  23. public function setAuthRefUserId($authRefUserId)
  24. {
  25. $this->authRefUserId = $authRefUserId;
  26. $this->apiParas["auth_ref_user_id"] = $authRefUserId;
  27. }
  28. public function getAuthRefUserId()
  29. {
  30. return $this->authRefUserId;
  31. }
  32. public function setBillCode($billCode)
  33. {
  34. $this->billCode = $billCode;
  35. $this->apiParas["bill_code"] = $billCode;
  36. }
  37. public function getBillCode()
  38. {
  39. return $this->billCode;
  40. }
  41. public function setRefEntId($refEntId)
  42. {
  43. $this->refEntId = $refEntId;
  44. $this->apiParas["ref_ent_id"] = $refEntId;
  45. }
  46. public function getRefEntId()
  47. {
  48. return $this->refEntId;
  49. }
  50. public function getApiMethodName()
  51. {
  52. return "alibaba.alihealth.drug.msc.searchbill.detail";
  53. }
  54. public function getApiParas()
  55. {
  56. return $this->apiParas;
  57. }
  58. public function check()
  59. {
  60. RequestCheckUtil::checkNotNull($this->billCode,"billCode");
  61. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  62. }
  63. public function putOtherTextParam($key, $value) {
  64. $this->apiParas[$key] = $value;
  65. $this->$key = $value;
  66. }
  67. }