AlibabaAlihealthDrugDownloadDataerrordiagnosisRequest.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.drug.download.dataerrordiagnosis request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2024.12.24
  7. */
  8. class AlibabaAlihealthDrugDownloadDataerrordiagnosisRequest
  9. {
  10. /**
  11. * appKey
  12. **/
  13. private $appKeyN;
  14. /**
  15. * 数据所有者企业名称
  16. **/
  17. private $baseEntName;
  18. /**
  19. * 单据号
  20. **/
  21. private $billCode;
  22. /**
  23. * 单据所有者企业名称
  24. **/
  25. private $billEntName;
  26. /**
  27. * 单据标识 入库填写I 出库填写O
  28. **/
  29. private $billTypeFlag;
  30. /**
  31. * 追溯码;当有code时候billEntname bill_code bill_type_flag可以不填,优先根据code判定
  32. **/
  33. private $code;
  34. /**
  35. * 是否需要重传 1代表需要 0代表不需要
  36. **/
  37. private $reUpload;
  38. /**
  39. * 下游模式填2 集团模式填3
  40. **/
  41. private $type;
  42. private $apiParas = array();
  43. public function setAppKeyN($appKeyN)
  44. {
  45. $this->appKeyN = $appKeyN;
  46. $this->apiParas["app_key_n"] = $appKeyN;
  47. }
  48. public function getAppKeyN()
  49. {
  50. return $this->appKeyN;
  51. }
  52. public function setBaseEntName($baseEntName)
  53. {
  54. $this->baseEntName = $baseEntName;
  55. $this->apiParas["base_ent_name"] = $baseEntName;
  56. }
  57. public function getBaseEntName()
  58. {
  59. return $this->baseEntName;
  60. }
  61. public function setBillCode($billCode)
  62. {
  63. $this->billCode = $billCode;
  64. $this->apiParas["bill_code"] = $billCode;
  65. }
  66. public function getBillCode()
  67. {
  68. return $this->billCode;
  69. }
  70. public function setBillEntName($billEntName)
  71. {
  72. $this->billEntName = $billEntName;
  73. $this->apiParas["bill_ent_name"] = $billEntName;
  74. }
  75. public function getBillEntName()
  76. {
  77. return $this->billEntName;
  78. }
  79. public function setBillTypeFlag($billTypeFlag)
  80. {
  81. $this->billTypeFlag = $billTypeFlag;
  82. $this->apiParas["bill_type_flag"] = $billTypeFlag;
  83. }
  84. public function getBillTypeFlag()
  85. {
  86. return $this->billTypeFlag;
  87. }
  88. public function setCode($code)
  89. {
  90. $this->code = $code;
  91. $this->apiParas["code"] = $code;
  92. }
  93. public function getCode()
  94. {
  95. return $this->code;
  96. }
  97. public function setReUpload($reUpload)
  98. {
  99. $this->reUpload = $reUpload;
  100. $this->apiParas["re_upload"] = $reUpload;
  101. }
  102. public function getReUpload()
  103. {
  104. return $this->reUpload;
  105. }
  106. public function setType($type)
  107. {
  108. $this->type = $type;
  109. $this->apiParas["type"] = $type;
  110. }
  111. public function getType()
  112. {
  113. return $this->type;
  114. }
  115. public function getApiMethodName()
  116. {
  117. return "alibaba.alihealth.drug.download.dataerrordiagnosis";
  118. }
  119. public function getApiParas()
  120. {
  121. return $this->apiParas;
  122. }
  123. public function check()
  124. {
  125. RequestCheckUtil::checkNotNull($this->appKeyN,"appKeyN");
  126. RequestCheckUtil::checkNotNull($this->baseEntName,"baseEntName");
  127. RequestCheckUtil::checkNotNull($this->reUpload,"reUpload");
  128. RequestCheckUtil::checkNotNull($this->type,"type");
  129. }
  130. public function putOtherTextParam($key, $value) {
  131. $this->apiParas[$key] = $value;
  132. $this->$key = $value;
  133. }
  134. }