AlibabaAlihealthDrugLsydQueryBillcountRequest.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.drug.lsyd.query.billcount request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.11.03
  7. */
  8. class AlibabaAlihealthDrugLsydQueryBillcountRequest
  9. {
  10. /**
  11. * 开始日期
  12. **/
  13. private $beginDate;
  14. /**
  15. * 单据类型
  16. **/
  17. private $billType;
  18. /**
  19. * 结束日期
  20. **/
  21. private $endDate;
  22. /**
  23. * 企业ID
  24. **/
  25. private $refEntId;
  26. private $apiParas = array();
  27. public function setBeginDate($beginDate)
  28. {
  29. $this->beginDate = $beginDate;
  30. $this->apiParas["begin_date"] = $beginDate;
  31. }
  32. public function getBeginDate()
  33. {
  34. return $this->beginDate;
  35. }
  36. public function setBillType($billType)
  37. {
  38. $this->billType = $billType;
  39. $this->apiParas["bill_type"] = $billType;
  40. }
  41. public function getBillType()
  42. {
  43. return $this->billType;
  44. }
  45. public function setEndDate($endDate)
  46. {
  47. $this->endDate = $endDate;
  48. $this->apiParas["end_date"] = $endDate;
  49. }
  50. public function getEndDate()
  51. {
  52. return $this->endDate;
  53. }
  54. public function setRefEntId($refEntId)
  55. {
  56. $this->refEntId = $refEntId;
  57. $this->apiParas["ref_ent_id"] = $refEntId;
  58. }
  59. public function getRefEntId()
  60. {
  61. return $this->refEntId;
  62. }
  63. public function getApiMethodName()
  64. {
  65. return "alibaba.alihealth.drug.lsyd.query.billcount";
  66. }
  67. public function getApiParas()
  68. {
  69. return $this->apiParas;
  70. }
  71. public function check()
  72. {
  73. RequestCheckUtil::checkNotNull($this->beginDate,"beginDate");
  74. RequestCheckUtil::checkNotNull($this->endDate,"endDate");
  75. RequestCheckUtil::checkNotNull($this->refEntId,"refEntId");
  76. }
  77. public function putOtherTextParam($key, $value) {
  78. $this->apiParas[$key] = $value;
  79. $this->$key = $value;
  80. }
  81. }