public class AlipaySystemOauthTokenResponse extends AlipayResponse
Constructor and Description |
---|
AlipaySystemOauthTokenResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken()
Gets access token.
|
String |
getAlipayUserId()
Gets alipay user id.
|
String |
getAuthTokenType()
Gets auth token type.
|
String |
getExpiresIn()
Gets expires in.
|
String |
getReExpiresIn()
Gets re expires in.
|
String |
getRefreshToken()
Gets refresh token.
|
String |
getUserId()
Gets user id.
|
void |
setAccessToken(String accessToken)
Sets access token.
|
void |
setAlipayUserId(String alipayUserId)
Sets alipay user id.
|
void |
setAuthTokenType(String authTokenType)
Sets auth token type.
|
void |
setExpiresIn(String expiresIn)
Sets expires in.
|
void |
setReExpiresIn(String reExpiresIn)
Sets re expires in.
|
void |
setRefreshToken(String refreshToken)
Sets refresh token.
|
void |
setUserId(String userId)
Sets user id.
|
getBody, getCode, getErrorCode, getMsg, getParams, getSubCode, getSubMsg, isSuccess, setBody, setCode, setErrorCode, setMsg, setParams, setSubCode, setSubMsg
public void setAccessToken(String accessToken)
accessToken
- the access tokenpublic String getAccessToken()
public void setAlipayUserId(String alipayUserId)
alipayUserId
- the alipay user idpublic String getAlipayUserId()
public void setAuthTokenType(String authTokenType)
authTokenType
- the auth token typepublic String getAuthTokenType()
public void setExpiresIn(String expiresIn)
expiresIn
- the expires inpublic String getExpiresIn()
public void setReExpiresIn(String reExpiresIn)
reExpiresIn
- the re expires inpublic String getReExpiresIn()
public void setRefreshToken(String refreshToken)
refreshToken
- the refresh tokenpublic String getRefreshToken()
public void setUserId(String userId)
userId
- the user idpublic String getUserId()
Copyright © 2018. All rights reserved.