public class WechatDirectPayApi extends AbstractApi
| 构造器和说明 |
|---|
WechatDirectPayApi(WechatPayClient wechatPayClient,
String tenantId)
Instantiates a new Wechat pay api.
|
| 限定符和类型 | 方法和说明 |
|---|---|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
appPay(PayParams payParams)
APP下单API
|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
close(String outTradeNo)
关单API
|
private org.springframework.http.RequestEntity<?> |
closeByOutTradeNoFunction(WechatPayV3Type type,
String outTradeNo) |
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
h5Pay(PayParams payParams)
H5下单API
|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
jsPay(PayParams payParams)
JSAPI/小程序下单API
|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
nativePay(PayParams payParams)
Native下单API
|
private org.springframework.http.RequestEntity<?> |
payFunction(WechatPayV3Type type,
PayParams payParams) |
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
queryRefundInfo(String outRefundNo)
查询单笔退款API
|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
queryTransactionById(TransactionQueryParams params)
微信支付订单号查询API
|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
queryTransactionByOutTradeNo(TransactionQueryParams params)
商户订单号查询API
|
private org.springframework.http.RequestEntity<?> |
queryTransactionFunction(WechatPayV3Type type,
TransactionQueryParams params) |
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
refund(RefundParams refundParams)
申请退款API
|
billDownload, billResource, client, container, downloadFundFlowBill, downloadTradeBill, Get, Get, getMapper, Patch, Post, Post, tenantId, wechatMetaBeanpublic WechatDirectPayApi(WechatPayClient wechatPayClient, String tenantId)
wechatPayClient - the wechat pay clienttenantId - the tenant idpublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> appPay(PayParams payParams)
payParams - the pay paramspublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> jsPay(PayParams payParams)
payParams - the pay paramspublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> nativePay(PayParams payParams)
payParams - the pay paramspublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> h5Pay(PayParams payParams)
payParams - the pay paramsprivate org.springframework.http.RequestEntity<?> payFunction(WechatPayV3Type type, PayParams payParams)
public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryTransactionById(TransactionQueryParams params)
params - the paramspublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryTransactionByOutTradeNo(TransactionQueryParams params)
params - the paramsprivate org.springframework.http.RequestEntity<?> queryTransactionFunction(WechatPayV3Type type, TransactionQueryParams params)
public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> close(String outTradeNo)
outTradeNo - the out trade noprivate org.springframework.http.RequestEntity<?> closeByOutTradeNoFunction(WechatPayV3Type type, String outTradeNo)
public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> refund(RefundParams refundParams)
refundParams - the refund paramspublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryRefundInfo(String outRefundNo)
outRefundNo - the out refund noCopyright © 2021. All rights reserved.