TbkDgVegasSendStatusRequest.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <?php
  2. /**
  3. * TOP API: taobao.tbk.dg.vegas.send.status request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2020.11.03
  7. */
  8. class TbkDgVegasSendStatusRequest
  9. {
  10. /**
  11. * 入参类型(该模式下返回的结果为模糊匹配结果,和实际情况可能存在误差): 1. IMEI 2. IDFA 3. OAID 4. MOBILE 5. ALIPAY_ID
  12. **/
  13. private $deviceType;
  14. /**
  15. * 加密后的值(ALIPAY_ID除外),需用MD5加密,32位小写
  16. **/
  17. private $deviceValue;
  18. /**
  19. * 渠道管理id
  20. **/
  21. private $relationId;
  22. /**
  23. * 会员运营id
  24. **/
  25. private $specialId;
  26. private $apiParas = array();
  27. public function setDeviceType($deviceType)
  28. {
  29. $this->deviceType = $deviceType;
  30. $this->apiParas["device_type"] = $deviceType;
  31. }
  32. public function getDeviceType()
  33. {
  34. return $this->deviceType;
  35. }
  36. public function setDeviceValue($deviceValue)
  37. {
  38. $this->deviceValue = $deviceValue;
  39. $this->apiParas["device_value"] = $deviceValue;
  40. }
  41. public function getDeviceValue()
  42. {
  43. return $this->deviceValue;
  44. }
  45. public function setRelationId($relationId)
  46. {
  47. $this->relationId = $relationId;
  48. $this->apiParas["relation_id"] = $relationId;
  49. }
  50. public function getRelationId()
  51. {
  52. return $this->relationId;
  53. }
  54. public function setSpecialId($specialId)
  55. {
  56. $this->specialId = $specialId;
  57. $this->apiParas["special_id"] = $specialId;
  58. }
  59. public function getSpecialId()
  60. {
  61. return $this->specialId;
  62. }
  63. public function getApiMethodName()
  64. {
  65. return "taobao.tbk.dg.vegas.send.status";
  66. }
  67. public function getApiParas()
  68. {
  69. return $this->apiParas;
  70. }
  71. public function check()
  72. {
  73. }
  74. public function putOtherTextParam($key, $value) {
  75. $this->apiParas[$key] = $value;
  76. $this->$key = $value;
  77. }
  78. }