public class AccessToken extends Object implements Serializable, RetryUtils.ResultCheck
IJPay 让支付触手可及,封装了微信支付、支付宝支付、银联支付常用的支付方式以及各种常用的接口。
不依赖任何第三方 mvc 框架,仅仅作为工具使用简单快速完成支付模块的开发,可轻松嵌入到任何系统里。
IJPay 交流群: 723992875
Node.js 版: https://gitee.com/javen205/TNWX
Constructor and Description |
---|
AccessToken(String json,
int httpCode) |
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken() |
String |
getAppId() |
String |
getCacheJson() |
Long |
getExpiredTime() |
Integer |
getExpiresIn() |
String |
getJson()
获取 JSON
|
Integer |
getStatus() |
String |
getTokenType() |
boolean |
isAvailable() |
boolean |
matching()
是否匹配
|
void |
setAccessToken(String accessToken) |
void |
setAppId(String appId) |
void |
setExpiredTime(Long expiredTime) |
void |
setExpiresIn(Integer expiresIn) |
void |
setJson(String json) |
void |
setStatus(Integer status) |
void |
setTokenType(String tokenType) |
public AccessToken(String json, int httpCode)
public boolean isAvailable()
public String getCacheJson()
public String getAccessToken()
public void setAccessToken(String accessToken)
public String getTokenType()
public void setTokenType(String tokenType)
public String getAppId()
public void setAppId(String appId)
public Integer getExpiresIn()
public void setExpiresIn(Integer expiresIn)
public Long getExpiredTime()
public void setExpiredTime(Long expiredTime)
public boolean matching()
RetryUtils.ResultCheck
matching
in interface RetryUtils.ResultCheck
public String getJson()
RetryUtils.ResultCheck
getJson
in interface RetryUtils.ResultCheck
public void setJson(String json)
public Integer getStatus()
public void setStatus(Integer status)
Copyright © 2022. All rights reserved.