public class WxPayServiceImpl extends Object implements BestPayService
| 构造器和说明 |
|---|
WxPayServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 map,
SignType signType,
String sign)
验证支付结果.
|
public void setWxPayH5Config(WxPayH5Config wxPayH5Config)
public PayResponse pay(PayRequest request)
BestPayServicepay 在接口中 BestPayServicepublic boolean verify(Map map, SignType signType, String sign)
BestPayServiceverify 在接口中 BestPayServicemap - 待验证的支付结果参数.signType - 签名方式.sign - 签名.public PayResponse syncNotify(javax.servlet.http.HttpServletRequest request)
BestPayServicesyncNotify 在接口中 BestPayServicepublic PayResponse asyncNotify(String notifyData)
asyncNotify 在接口中 BestPayServicenotifyData - public RefundResponse refund(RefundRequest request)
refund 在接口中 BestPayServicerequest - Copyright © 2017. All rights reserved.