AlipayDataAlisisAuthorityGrantRequest.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.data.alisis.authority.grant request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-03-08 15:29:11
  7. */
  8. class AlipayDataAlisisAuthorityGrantRequest
  9. {
  10. /**
  11. * 过期日期yyyy-MM-dd
  12. **/
  13. private $expireTime;
  14. /**
  15. * 仪表盘的id
  16. **/
  17. private $id;
  18. /**
  19. * id的类型:仪表盘worksheet
  20. **/
  21. private $type;
  22. /**
  23. * 工号
  24. **/
  25. private $userId;
  26. private $apiParas = array();
  27. private $terminalType;
  28. private $terminalInfo;
  29. private $prodCode;
  30. private $apiVersion="1.0";
  31. private $notifyUrl;
  32. private $returnUrl;
  33. private $needEncrypt=false;
  34. public function setExpireTime($expireTime)
  35. {
  36. $this->expireTime = $expireTime;
  37. $this->apiParas["expire_time"] = $expireTime;
  38. }
  39. public function getExpireTime()
  40. {
  41. return $this->expireTime;
  42. }
  43. public function setId($id)
  44. {
  45. $this->id = $id;
  46. $this->apiParas["id"] = $id;
  47. }
  48. public function getId()
  49. {
  50. return $this->id;
  51. }
  52. public function setType($type)
  53. {
  54. $this->type = $type;
  55. $this->apiParas["type"] = $type;
  56. }
  57. public function getType()
  58. {
  59. return $this->type;
  60. }
  61. public function setUserId($userId)
  62. {
  63. $this->userId = $userId;
  64. $this->apiParas["user_id"] = $userId;
  65. }
  66. public function getUserId()
  67. {
  68. return $this->userId;
  69. }
  70. public function getApiMethodName()
  71. {
  72. return "alipay.data.alisis.authority.grant";
  73. }
  74. public function setNotifyUrl($notifyUrl)
  75. {
  76. $this->notifyUrl=$notifyUrl;
  77. }
  78. public function getNotifyUrl()
  79. {
  80. return $this->notifyUrl;
  81. }
  82. public function setReturnUrl($returnUrl)
  83. {
  84. $this->returnUrl=$returnUrl;
  85. }
  86. public function getReturnUrl()
  87. {
  88. return $this->returnUrl;
  89. }
  90. public function getApiParas()
  91. {
  92. return $this->apiParas;
  93. }
  94. public function getTerminalType()
  95. {
  96. return $this->terminalType;
  97. }
  98. public function setTerminalType($terminalType)
  99. {
  100. $this->terminalType = $terminalType;
  101. }
  102. public function getTerminalInfo()
  103. {
  104. return $this->terminalInfo;
  105. }
  106. public function setTerminalInfo($terminalInfo)
  107. {
  108. $this->terminalInfo = $terminalInfo;
  109. }
  110. public function getProdCode()
  111. {
  112. return $this->prodCode;
  113. }
  114. public function setProdCode($prodCode)
  115. {
  116. $this->prodCode = $prodCode;
  117. }
  118. public function setApiVersion($apiVersion)
  119. {
  120. $this->apiVersion=$apiVersion;
  121. }
  122. public function getApiVersion()
  123. {
  124. return $this->apiVersion;
  125. }
  126. public function setNeedEncrypt($needEncrypt)
  127. {
  128. $this->needEncrypt=$needEncrypt;
  129. }
  130. public function getNeedEncrypt()
  131. {
  132. return $this->needEncrypt;
  133. }
  134. }