AlibabaAlihealthDrugMscQueryBillcountRequest.php 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?php
  2. /**
  3. * TOP API: alibaba.alihealth.drug.msc.query.billcount request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.11.03
  7. */
  8. class AlibabaAlihealthDrugMscQueryBillcountRequest
  9. {
  10. /**
  11. * 开始日期
  12. **/
  13. private $beginDate;
  14. /**
  15. * 单据类型:不填写查询全部。101:生产入库,102:采购入库,103:退货入库,104:调拨入库,107:供应入库,108:召回入库,109:打标入库,110:赠品入库,111:盘盈入库,112:报废入库,113:其他入库,114:临床-采购入库,115:临床-退货入库,116:消费者退货入库,117:临床-替换入库,118:报溢入库,119:新鲜制剂入库,120:委托退货入库指令 201:销售出库,202:退货出库,211:召回出库,212:赠品出库,214:盘亏出库,215:损坏出库,216:报废出库,217:其他出库,218:临床-退货出库,219:临床-销毁出库,220:报损出库,221:冻存出库至清洗,222:委托调拨出库指令,223:委托销售出库指令,237:直调退货 320:内部使用,321:使用出库,322:疫苗接种,323:使用出库,326:B2C出库,327:临床-领药出库
  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.msc.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. }