AlibabaAlihealthDrugtraceTopLsydServiceGetenddateRequest.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.drugtrace.top.lsyd.service.getenddate request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2024.11.14
  7. */
  8. class AlibabaAlihealthDrugtraceTopLsydServiceGetenddateRequest
  9. {
  10. /**
  11. * 药 行业线:传 1
  12. **/
  13. private $business;
  14. /**
  15. * 调用接口的企业ID
  16. **/
  17. private $refEntId;
  18. /**
  19. * 基础版:传 11
  20. **/
  21. private $service;
  22. private $apiParas = array();
  23. public function setBusiness($business)
  24. {
  25. $this->business = $business;
  26. $this->apiParas["business"] = $business;
  27. }
  28. public function getBusiness()
  29. {
  30. return $this->business;
  31. }
  32. public function setRefEntId($refEntId)
  33. {
  34. $this->refEntId = $refEntId;
  35. $this->apiParas["ref_ent_id"] = $refEntId;
  36. }
  37. public function getRefEntId()
  38. {
  39. return $this->refEntId;
  40. }
  41. public function setService($service)
  42. {
  43. $this->service = $service;
  44. $this->apiParas["service"] = $service;
  45. }
  46. public function getService()
  47. {
  48. return $this->service;
  49. }
  50. public function getApiMethodName()
  51. {
  52. return "alibaba.alihealth.drugtrace.top.lsyd.service.getenddate";
  53. }
  54. public function getApiParas()
  55. {
  56. return $this->apiParas;
  57. }
  58. public function check()
  59. {
  60. RequestCheckUtil::checkNotNull($this->business,"business");
  61. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  62. RequestCheckUtil::checkNotNull($this->service,"service");
  63. }
  64. public function putOtherTextParam($key, $value) {
  65. $this->apiParas[$key] = $value;
  66. $this->$key = $value;
  67. }
  68. }