DeviceInfo.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <?php
  2. namespace UnionOpenExchangeDeviceSync;
  3. class DeviceInfo{
  4. private $params=array();
  5. function __construct(){
  6. $this->params["@type"]="com.jd.union.open.gateway.api.dto.exchange.DeviceInfo";
  7. }
  8. private $deviceType;
  9. public function setDeviceType($deviceType){
  10. $this->params['deviceType'] = $deviceType;
  11. }
  12. public function getDeviceType(){
  13. return $this->deviceType;
  14. }
  15. private $orderId;
  16. public function setOrderId($orderId){
  17. $this->params['orderId'] = $orderId;
  18. }
  19. public function getOrderId(){
  20. return $this->orderId;
  21. }
  22. private $requestId;
  23. public function setRequestId($requestId){
  24. $this->params['requestId'] = $requestId;
  25. }
  26. public function getRequestId(){
  27. return $this->requestId;
  28. }
  29. private $eventTime;
  30. public function setEventTime($eventTime){
  31. $this->params['eventTime'] = $eventTime;
  32. }
  33. public function getEventTime(){
  34. return $this->eventTime;
  35. }
  36. private $eventType;
  37. public function setEventType($eventType){
  38. $this->params['eventType'] = $eventType;
  39. }
  40. public function getEventType(){
  41. return $this->eventType;
  42. }
  43. private $deviceId;
  44. public function setDeviceId($deviceId){
  45. $this->params['deviceId'] = $deviceId;
  46. }
  47. public function getDeviceId(){
  48. return $this->deviceId;
  49. }
  50. private $taskId;
  51. public function setTaskId($taskId){
  52. $this->params['taskId'] = $taskId;
  53. }
  54. public function getTaskId(){
  55. return $this->taskId;
  56. }
  57. private $contentId;
  58. public function setContentId($contentId){
  59. $this->params['contentId'] = $contentId;
  60. }
  61. public function getContentId(){
  62. return $this->contentId;
  63. }
  64. private $subEventType;
  65. public function setSubEventType($subEventType){
  66. $this->params['subEventType'] = $subEventType;
  67. }
  68. public function getSubEventType(){
  69. return $this->subEventType;
  70. }
  71. private $eventId;
  72. public function setEventId($eventId){
  73. $this->params['eventId'] = $eventId;
  74. }
  75. public function getEventId(){
  76. return $this->eventId;
  77. }
  78. private $encryptType;
  79. public function setEncryptType($encryptType){
  80. $this->params['encryptType'] = $encryptType;
  81. }
  82. public function getEncryptType(){
  83. return $this->encryptType;
  84. }
  85. private $campaignId;
  86. public function setCampaignId($campaignId){
  87. $this->params['campaignId'] = $campaignId;
  88. }
  89. public function getCampaignId(){
  90. return $this->campaignId;
  91. }
  92. private $unitId;
  93. public function setUnitId($unitId){
  94. $this->params['unitId'] = $unitId;
  95. }
  96. public function getUnitId(){
  97. return $this->unitId;
  98. }
  99. private $creativeId;
  100. public function setCreativeId($creativeId){
  101. $this->params['creativeId'] = $creativeId;
  102. }
  103. public function getCreativeId(){
  104. return $this->creativeId;
  105. }
  106. private $businessType;
  107. public function setBusinessType($businessType){
  108. $this->params['businessType'] = $businessType;
  109. }
  110. public function getBusinessType(){
  111. return $this->businessType;
  112. }
  113. function getInstance(){
  114. return $this->params;
  115. }
  116. }
  117. ?>