TbkDgVegasSendStatusRequest.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <?php
  2. /**
  3. * TOP API: taobao.tbk.dg.vegas.send.status request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2025.11.03
  7. */
  8. class TbkDgVegasSendStatusRequest
  9. {
  10. /**
  11. * 查询红包类型,1-超级红包,2-福利购,3-签到红包,4-福利直降,5-幸运赢免单,不传时默认查询超级红包数据
  12. **/
  13. private $activityCategory;
  14. /**
  15. * 入参类型(该模式下返回的结果为模糊匹配结果,和实际情况可能存在误差): 1. IMEI 2. IDFA 3. OAID 4. MOBILE
  16. **/
  17. private $deviceType;
  18. /**
  19. * 加密后的值,需用MD5加密,32位小写
  20. **/
  21. private $deviceValue;
  22. /**
  23. * 媒体pid
  24. **/
  25. private $pid;
  26. /**
  27. * 渠道管理id
  28. **/
  29. private $relationId;
  30. /**
  31. * 会员运营id
  32. **/
  33. private $specialId;
  34. /**
  35. * 已废弃,请勿传入
  36. **/
  37. private $thorBizCode;
  38. private $apiParas = array();
  39. public function setActivityCategory($activityCategory)
  40. {
  41. $this->activityCategory = $activityCategory;
  42. $this->apiParas["activity_category"] = $activityCategory;
  43. }
  44. public function getActivityCategory()
  45. {
  46. return $this->activityCategory;
  47. }
  48. public function setDeviceType($deviceType)
  49. {
  50. $this->deviceType = $deviceType;
  51. $this->apiParas["device_type"] = $deviceType;
  52. }
  53. public function getDeviceType()
  54. {
  55. return $this->deviceType;
  56. }
  57. public function setDeviceValue($deviceValue)
  58. {
  59. $this->deviceValue = $deviceValue;
  60. $this->apiParas["device_value"] = $deviceValue;
  61. }
  62. public function getDeviceValue()
  63. {
  64. return $this->deviceValue;
  65. }
  66. public function setPid($pid)
  67. {
  68. $this->pid = $pid;
  69. $this->apiParas["pid"] = $pid;
  70. }
  71. public function getPid()
  72. {
  73. return $this->pid;
  74. }
  75. public function setRelationId($relationId)
  76. {
  77. $this->relationId = $relationId;
  78. $this->apiParas["relation_id"] = $relationId;
  79. }
  80. public function getRelationId()
  81. {
  82. return $this->relationId;
  83. }
  84. public function setSpecialId($specialId)
  85. {
  86. $this->specialId = $specialId;
  87. $this->apiParas["special_id"] = $specialId;
  88. }
  89. public function getSpecialId()
  90. {
  91. return $this->specialId;
  92. }
  93. public function setThorBizCode($thorBizCode)
  94. {
  95. $this->thorBizCode = $thorBizCode;
  96. $this->apiParas["thor_biz_code"] = $thorBizCode;
  97. }
  98. public function getThorBizCode()
  99. {
  100. return $this->thorBizCode;
  101. }
  102. public function getApiMethodName()
  103. {
  104. return "taobao.tbk.dg.vegas.send.status";
  105. }
  106. public function getApiParas()
  107. {
  108. return $this->apiParas;
  109. }
  110. public function check()
  111. {
  112. }
  113. public function putOtherTextParam($key, $value) {
  114. $this->apiParas[$key] = $value;
  115. $this->$key = $value;
  116. }
  117. }