public class BestPayServiceImpl extends Object implements BestPayService
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
BestPayServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
PayResponse |
asyncNotify(String notifyData)
异步回调
|
PayResponse |
pay(PayRequest request)
发起支付.
|
RefundResponse |
refund(RefundRequest request)
退款
|
void |
setWxPayH5Config(WxPayH5Config wxPayH5Config) |
PayResponse |
syncNotify(javax.servlet.http.HttpServletRequest request)
同步返回
|
boolean |
verify(Map<String,String> toBeVerifiedParamMap,
SignType signType,
String sign)
验证支付结果.
|
public void setWxPayH5Config(WxPayH5Config wxPayH5Config)
public PayResponse pay(PayRequest request)
BestPayServicepay 在接口中 BestPayServicepublic PayResponse syncNotify(javax.servlet.http.HttpServletRequest request)
syncNotify 在接口中 BestPayServicerequest - public boolean verify(Map<String,String> toBeVerifiedParamMap, SignType signType, String sign)
BestPayServiceverify 在接口中 BestPayServicetoBeVerifiedParamMap - 待验证的支付结果参数.signType - 签名方式.sign - 签名.public PayResponse asyncNotify(String notifyData)
asyncNotify 在接口中 BestPayServicepublic RefundResponse refund(RefundRequest request)
BestPayServicerefund 在接口中 BestPayServiceCopyright © 2017. All rights reserved.