AlipaySystemOauthTokenRequest.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?php
  2. namespace addons\AvoidTax\common\jdk\alipay\request;
  3. /**
  4. * ALIPAY API: alipay.system.oauth.token
  5. *
  6. * @author auto create
  7. * @since 1.0, 2021-09-07 18:07:47
  8. */
  9. class AlipaySystemOauthTokenRequest
  10. {
  11. /**
  12. * 实名证件信息比对验证预咨询
  13. **/
  14. private $bizContent;
  15. private $apiParas = array();
  16. private $terminalType;
  17. private $terminalInfo;
  18. private $prodCode;
  19. private $apiVersion = "1.0";
  20. private $notifyUrl;
  21. private $returnUrl;
  22. private $needEncrypt = false;
  23. private $code;
  24. private $grantType;
  25. private $refreshToken;
  26. public function setBizContent($bizContent)
  27. {
  28. $this->bizContent = $bizContent;
  29. $this->apiParas["biz_content"] = $bizContent;
  30. }
  31. public function getBizContent()
  32. {
  33. return $this->bizContent;
  34. }
  35. public function getApiMethodName()
  36. {
  37. return "alipay.system.oauth.token";
  38. }
  39. public function setNotifyUrl($notifyUrl)
  40. {
  41. $this->notifyUrl = $notifyUrl;
  42. }
  43. public function getNotifyUrl()
  44. {
  45. return $this->notifyUrl;
  46. }
  47. public function setReturnUrl($returnUrl)
  48. {
  49. $this->returnUrl = $returnUrl;
  50. }
  51. public function getReturnUrl()
  52. {
  53. return $this->returnUrl;
  54. }
  55. public function getApiParas()
  56. {
  57. return $this->apiParas;
  58. }
  59. public function getTerminalType()
  60. {
  61. return $this->terminalType;
  62. }
  63. public function setTerminalType($terminalType)
  64. {
  65. $this->terminalType = $terminalType;
  66. }
  67. public function getTerminalInfo()
  68. {
  69. return $this->terminalInfo;
  70. }
  71. public function setTerminalInfo($terminalInfo)
  72. {
  73. $this->terminalInfo = $terminalInfo;
  74. }
  75. public function getProdCode()
  76. {
  77. return $this->prodCode;
  78. }
  79. public function setProdCode($prodCode)
  80. {
  81. $this->prodCode = $prodCode;
  82. }
  83. public function setApiVersion($apiVersion)
  84. {
  85. $this->apiVersion = $apiVersion;
  86. }
  87. public function getApiVersion()
  88. {
  89. return $this->apiVersion;
  90. }
  91. public function setNeedEncrypt($needEncrypt)
  92. {
  93. $this->needEncrypt = $needEncrypt;
  94. }
  95. public function getNeedEncrypt()
  96. {
  97. return $this->needEncrypt;
  98. }
  99. public function setCode($code)
  100. {
  101. $this->code = $code;
  102. }
  103. public function getCode()
  104. {
  105. return $this->code;
  106. }
  107. public function setGrantType($grantType)
  108. {
  109. $this->grantType = $grantType;
  110. }
  111. public function getGrantType()
  112. {
  113. return $this->grantType;
  114. }
  115. public function setRefreshToken($refreshToken)
  116. {
  117. $this->refreshToken = $refreshToken;
  118. }
  119. public function getRefreshToken()
  120. {
  121. return $this->refreshToken;
  122. }
  123. }