AlibabaAlihealthDrugMscListbillprocesspartsuccessRequest.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.drug.msc.listbillprocesspartsuccess request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.08.05
  7. */
  8. class AlibabaAlihealthDrugMscListbillprocesspartsuccessRequest
  9. {
  10. /**
  11. * 单据号
  12. **/
  13. private $billCode;
  14. /**
  15. * 错误码
  16. **/
  17. private $code;
  18. /**
  19. * 错误码类型
  20. **/
  21. private $errorCode;
  22. /**
  23. * 当前页
  24. **/
  25. private $page;
  26. /**
  27. * 页大小
  28. **/
  29. private $pageSize;
  30. /**
  31. * 企业标识
  32. **/
  33. private $refEntId;
  34. private $apiParas = array();
  35. public function setBillCode($billCode)
  36. {
  37. $this->billCode = $billCode;
  38. $this->apiParas["bill_code"] = $billCode;
  39. }
  40. public function getBillCode()
  41. {
  42. return $this->billCode;
  43. }
  44. public function setCode($code)
  45. {
  46. $this->code = $code;
  47. $this->apiParas["code"] = $code;
  48. }
  49. public function getCode()
  50. {
  51. return $this->code;
  52. }
  53. public function setErrorCode($errorCode)
  54. {
  55. $this->errorCode = $errorCode;
  56. $this->apiParas["error_code"] = $errorCode;
  57. }
  58. public function getErrorCode()
  59. {
  60. return $this->errorCode;
  61. }
  62. public function setPage($page)
  63. {
  64. $this->page = $page;
  65. $this->apiParas["page"] = $page;
  66. }
  67. public function getPage()
  68. {
  69. return $this->page;
  70. }
  71. public function setPageSize($pageSize)
  72. {
  73. $this->pageSize = $pageSize;
  74. $this->apiParas["page_size"] = $pageSize;
  75. }
  76. public function getPageSize()
  77. {
  78. return $this->pageSize;
  79. }
  80. public function setRefEntId($refEntId)
  81. {
  82. $this->refEntId = $refEntId;
  83. $this->apiParas["ref_ent_id"] = $refEntId;
  84. }
  85. public function getRefEntId()
  86. {
  87. return $this->refEntId;
  88. }
  89. public function getApiMethodName()
  90. {
  91. return "alibaba.alihealth.drug.msc.listbillprocesspartsuccess";
  92. }
  93. public function getApiParas()
  94. {
  95. return $this->apiParas;
  96. }
  97. public function check()
  98. {
  99. RequestCheckUtil::checkNotNull($this->page,"page");
  100. RequestCheckUtil::checkNotNull($this->pageSize,"pageSize");
  101. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  102. }
  103. public function putOtherTextParam($key, $value) {
  104. $this->apiParas[$key] = $value;
  105. $this->$key = $value;
  106. }
  107. }