public interface WxPayService
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,String> |
authCodeToOpenid(WxPayAuthCodeToOpenIdRequest authCodeToOpenIdRequest)
作用:授权码查询OPENID接口
场景:刷卡支付 |
Map<String,String> |
authCodeToOpenid(WxPayAuthCodeToOpenIdRequest authCodeToOpenIdRequest,
int timeout)
作用:授权码查询OPENID接口
场景:刷卡支付 |
Map<String,String> |
closeOrder(WxPayCloseOrderRequest closeOrderRequest)
作用:关闭订单
场景:公共号支付、扫码支付、APP支付 |
Map<String,String> |
closeOrder(WxPayCloseOrderRequest closeOrderRequest,
int timeout)
作用:关闭订单
场景:公共号支付、扫码支付、APP支付 |
Map<String,String> |
downloadBill(WxPayDownloadBillRequest downloadBillRequest)
作用:对账单下载(成功时返回对账单数据,失败时返回XML格式数据)
场景:刷卡支付、公共号支付、扫码支付、APP支付 |
Map<String,String> |
downloadBill(WxPayDownloadBillRequest downloadBillRequest,
int timeout)
作用:对账单下载
场景:刷卡支付、公共号支付、扫码支付、APP支付 其他:无论是否成功都返回Map。 |
Map<String,String> |
microPay(WxPayMicroPayRequest microPayRequest)
作用:提交刷卡支付
场景:刷卡支付 |
Map<String,String> |
microPay(WxPayMicroPayRequest microPayRequest,
int timeout)
作用:提交刷卡支付
场景:刷卡支付 |
Map<String,String> |
orderQuery(WXPayOrderQueryRequest orderQueryRequest)
作用:查询订单
场景:刷卡支付、公共号支付、扫码支付、APP支付 |
Map<String,String> |
orderQuery(WXPayOrderQueryRequest orderQueryRequest,
int timeout)
作用:查询订单
场景:刷卡支付、公共号支付、扫码支付、APP支付 |
Map<String,String> |
refund(WxPayRefundRequest refundRequest)
作用:申请退款
场景:刷卡支付、公共号支付、扫码支付、APP支付 |
Map<String,String> |
refund(WxPayRefundRequest refundRequest,
int timeout)
作用:申请退款
场景:刷卡支付、公共号支付、扫码支付、APP支付 其他:需要证书 |
Map<String,String> |
refundQuery(WxPayRefundQueryRequest refundQueryRequest)
作用:退款查询
场景:刷卡支付、公共号支付、扫码支付、APP支付 |
Map<String,String> |
refundQuery(WxPayRefundQueryRequest refundQueryRequest,
int timeout)
作用:退款查询
场景:刷卡支付、公共号支付、扫码支付、APP支付 |
Map<String,String> |
report(WxPayReportRequest reportRequest)
作用:交易保障
场景:刷卡支付、公共号支付、扫码支付、APP支付 |
Map<String,String> |
report(WxPayReportRequest reportRequest,
int timeout)
作用:交易保障
场景:刷卡支付、公共号支付、扫码支付、APP支付 |
Map<String,String> |
reverse(WxPayReverseRequest payReverseRequest)
作用:撤销订单
场景:刷卡支付 |
Map<String,String> |
reverse(WxPayReverseRequest payReverseRequest,
int timeout)
作用:撤销订单
场景:刷卡支付 其他:需要证书 |
Map<String,String> |
shortUrl(WxPayShortUrlRequest shortUrlRequest)
作用:转换短链接
场景:刷卡支付、扫码支付 |
Map<String,String> |
shortUrl(WxPayShortUrlRequest shortUrlRequest,
int timeout)
作用:转换短链接
场景:刷卡支付、扫码支付 |
Map<String,String> |
unifiedOrder(WxPayUnifiedOrderRequest unifiedOrderRequest)
作用:统一下单
场景:公共号支付、扫码支付、APP支付 |
Map<String,String> |
unifiedOrder(WxPayUnifiedOrderRequest unifiedOrderRequest,
int timeout)
作用:统一下单
场景:公共号支付、扫码支付、APP支付 |
Map<String,String> microPay(WxPayMicroPayRequest microPayRequest) throws Exception
microPayRequest - 向wxpay post的请求数据Exception - 异常Map<String,String> microPay(WxPayMicroPayRequest microPayRequest, int timeout) throws Exception
microPayRequest - 向wxpay post的请求数据timeout - 超时时间Exception - 异常Map<String,String> unifiedOrder(WxPayUnifiedOrderRequest unifiedOrderRequest) throws Exception
unifiedOrderRequest - 向wxpay post的请求数据Exception - 异常Map<String,String> unifiedOrder(WxPayUnifiedOrderRequest unifiedOrderRequest, int timeout) throws Exception
unifiedOrderRequest - 向wxpay post的请求数据timeout - 超时时间Exception - 异常Map<String,String> orderQuery(WXPayOrderQueryRequest orderQueryRequest) throws Exception
orderQueryRequest - 向wxpay post的请求数据Exception - 异常Map<String,String> orderQuery(WXPayOrderQueryRequest orderQueryRequest, int timeout) throws Exception
orderQueryRequest - 向wxpay post的请求数据 inttimeout - 超时时间Exception - 异常Map<String,String> reverse(WxPayReverseRequest payReverseRequest) throws Exception
payReverseRequest - 向wxpay post的请求数据Exception - 异常Map<String,String> reverse(WxPayReverseRequest payReverseRequest, int timeout) throws Exception
payReverseRequest - 向wxpay post的请求数据timeout - 超时时间Exception - 异常Map<String,String> closeOrder(WxPayCloseOrderRequest closeOrderRequest) throws Exception
closeOrderRequest - 向wxpay post的请求数据Exception - 异常Map<String,String> closeOrder(WxPayCloseOrderRequest closeOrderRequest, int timeout) throws Exception
closeOrderRequest - 向wxpay post的请求数据timeout - 超时时间Exception - 异常Map<String,String> refund(WxPayRefundRequest refundRequest) throws Exception
refundRequest - 向wxpay post的请求数据Exception - 异常Map<String,String> refund(WxPayRefundRequest refundRequest, int timeout) throws Exception
refundRequest - 向wxpay post的请求数据timeout - 超时时间Exception - 异常Map<String,String> refundQuery(WxPayRefundQueryRequest refundQueryRequest) throws Exception
refundQueryRequest - 向wxpay post的请求数据Exception - 异常Map<String,String> refundQuery(WxPayRefundQueryRequest refundQueryRequest, int timeout) throws Exception
refundQueryRequest - 向wxpay post的请求数据timeout - 超时时间Exception - 异常Map<String,String> downloadBill(WxPayDownloadBillRequest downloadBillRequest) throws Exception
downloadBillRequest - 向wxpay post的请求数据Exception - 异常Map<String,String> downloadBill(WxPayDownloadBillRequest downloadBillRequest, int timeout) throws Exception
downloadBillRequest - 向wxpay post的请求数据timeout - 超时时间Exception - 异常Map<String,String> report(WxPayReportRequest reportRequest) throws Exception
reportRequest - 向wxpay post的请求数据Exception - 异常Map<String,String> report(WxPayReportRequest reportRequest, int timeout) throws Exception
reportRequest - 向wxpay post的请求数据timeout - 超时时间Exception - 异常Map<String,String> shortUrl(WxPayShortUrlRequest shortUrlRequest) throws Exception
shortUrlRequest - 向wxpay post的请求数据Exception - 异常Map<String,String> shortUrl(WxPayShortUrlRequest shortUrlRequest, int timeout) throws Exception
shortUrlRequest - 向wxpay post的请求数据timeout - 超时时间Exception - 异常Map<String,String> authCodeToOpenid(WxPayAuthCodeToOpenIdRequest authCodeToOpenIdRequest) throws Exception
authCodeToOpenIdRequest - 向wxpay post的请求数据Exception - 异常Copyright © 2019. All rights reserved.