AlipayMobileShakeUserQueryRequest.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.mobile.shake.user.query request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-06-20 21:40:01
  7. */
  8. class AlipayMobileShakeUserQueryRequest
  9. {
  10. /**
  11. * 动态ID
  12. **/
  13. private $dynamicId;
  14. /**
  15. * 动态ID类型:
  16. wave_code:声波
  17. qr_code:二维码
  18. bar_code:条码
  19. **/
  20. private $dynamicIdType;
  21. private $apiParas = array();
  22. private $terminalType;
  23. private $terminalInfo;
  24. private $prodCode;
  25. private $apiVersion="1.0";
  26. private $notifyUrl;
  27. private $returnUrl;
  28. private $needEncrypt=false;
  29. public function setDynamicId($dynamicId)
  30. {
  31. $this->dynamicId = $dynamicId;
  32. $this->apiParas["dynamic_id"] = $dynamicId;
  33. }
  34. public function getDynamicId()
  35. {
  36. return $this->dynamicId;
  37. }
  38. public function setDynamicIdType($dynamicIdType)
  39. {
  40. $this->dynamicIdType = $dynamicIdType;
  41. $this->apiParas["dynamic_id_type"] = $dynamicIdType;
  42. }
  43. public function getDynamicIdType()
  44. {
  45. return $this->dynamicIdType;
  46. }
  47. public function getApiMethodName()
  48. {
  49. return "alipay.mobile.shake.user.query";
  50. }
  51. public function setNotifyUrl($notifyUrl)
  52. {
  53. $this->notifyUrl=$notifyUrl;
  54. }
  55. public function getNotifyUrl()
  56. {
  57. return $this->notifyUrl;
  58. }
  59. public function setReturnUrl($returnUrl)
  60. {
  61. $this->returnUrl=$returnUrl;
  62. }
  63. public function getReturnUrl()
  64. {
  65. return $this->returnUrl;
  66. }
  67. public function getApiParas()
  68. {
  69. return $this->apiParas;
  70. }
  71. public function getTerminalType()
  72. {
  73. return $this->terminalType;
  74. }
  75. public function setTerminalType($terminalType)
  76. {
  77. $this->terminalType = $terminalType;
  78. }
  79. public function getTerminalInfo()
  80. {
  81. return $this->terminalInfo;
  82. }
  83. public function setTerminalInfo($terminalInfo)
  84. {
  85. $this->terminalInfo = $terminalInfo;
  86. }
  87. public function getProdCode()
  88. {
  89. return $this->prodCode;
  90. }
  91. public function setProdCode($prodCode)
  92. {
  93. $this->prodCode = $prodCode;
  94. }
  95. public function setApiVersion($apiVersion)
  96. {
  97. $this->apiVersion=$apiVersion;
  98. }
  99. public function getApiVersion()
  100. {
  101. return $this->apiVersion;
  102. }
  103. public function setNeedEncrypt($needEncrypt)
  104. {
  105. $this->needEncrypt=$needEncrypt;
  106. }
  107. public function getNeedEncrypt()
  108. {
  109. return $this->needEncrypt;
  110. }
  111. }