public class WechatCombinePayApi extends AbstractApi
| 构造器和说明 |
|---|
WechatCombinePayApi(WechatPayClient wechatPayClient,
String tenantId)
Instantiates a new Abstract api.
|
| 限定符和类型 | 方法和说明 |
|---|---|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
appPay(CombinePayParams combinePayParams)
合单下单-APP支付API
使用合单支付接口,用户只输入一次密码,即可完成多个订单的支付。
|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
close(CombineCloseParams combineCloseParams)
合单关闭订单API.
|
private org.springframework.http.RequestEntity<?> |
combinePayFunction(WechatPayV3Type type,
CombineH5PayParams params)
Combine pay function request entity.
|
private org.springframework.http.RequestEntity<?> |
combinePayFunction(WechatPayV3Type type,
CombinePayParams params)
Combine pay function request entity.
|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
h5Pay(CombineH5PayParams combineH5PayParams)
合单下单-H5支付API.
|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
jsPay(CombinePayParams combinePayParams)
合单下单-JSAPI支付/小程序支付API
使用合单支付接口,用户只输入一次密码,即可完成多个订单的支付。
|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
nativePay(CombinePayParams combinePayParams)
合单下单-Native支付API.
|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
queryTransactionByOutTradeNo(String combineOutTradeNo)
合单查询订单API.
|
billDownload, billResource, client, container, downloadFundFlowBill, downloadTradeBill, Get, Get, getMapper, Patch, Post, Post, tenantId, wechatMetaBeanpublic WechatCombinePayApi(WechatPayClient wechatPayClient, String tenantId)
wechatPayClient - the wechat pay clienttenantId - the tenant idpublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> appPay(CombinePayParams combinePayParams)
使用合单支付接口,用户只输入一次密码,即可完成多个订单的支付。目前最多一次可支持50笔订单进行合单支付。
注意: • 订单如果需要进行抽佣等,需要在合单中指定需要进行分账(profit_sharing为true);指定后,交易资金进入二级商户账户,处于冻结状态,可在后续使用分账接口进行分账,利用分账完结进行资金解冻,实现抽佣和对二级商户的账期。
combinePayParams - the combine pay paramspublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> jsPay(CombinePayParams combinePayParams)
使用合单支付接口,用户只输入一次密码,即可完成多个订单的支付。目前最多一次可支持50笔订单进行合单支付。
注意: • 订单如果需要进行抽佣等,需要在合单中指定需要进行分账(profit_sharing为true);指定后,交易资金进入二级商户账户,处于冻结状态,可在后续使用分账接口进行分账,利用分账完结进行资金解冻,实现抽佣和对二级商户的账期。
combinePayParams - the combine pay paramsprivate org.springframework.http.RequestEntity<?> combinePayFunction(WechatPayV3Type type, CombinePayParams params)
type - the typeparams - the paramspublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> h5Pay(CombineH5PayParams combineH5PayParams)
使用合单支付接口,用户只输入一次密码,即可完成多个订单的支付。目前最多一次可支持50笔订单进行合单支付。
注意: • 订单如果需要进行抽佣等,需要在合单中指定需要进行分账(profit_sharing为true);指定后,交易资金进入二级商户账户,处于冻结状态,可在后续使用分账接口进行分账,利用分账完结进行资金解冻,实现抽佣和对二级商户的账期。
combineH5PayParams - the combine h 5 pay paramsprivate org.springframework.http.RequestEntity<?> combinePayFunction(WechatPayV3Type type, CombineH5PayParams params)
type - the typeparams - the paramspublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> nativePay(CombinePayParams combinePayParams)
使用合单支付接口,用户只输入一次密码,即可完成多个订单的支付。目前最多一次可支持50笔订单进行合单支付。
注意: • 订单如果需要进行抽佣等,需要在合单中指定需要进行分账(profit_sharing为true);指定后,交易资金进入二级商户账户,处于冻结状态,可在后续使用分账接口进行分账,利用分账完结进行资金解冻,实现抽佣和对二级商户的账期。
combinePayParams - the combine pay paramspublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryTransactionByOutTradeNo(String combineOutTradeNo)
combineOutTradeNo - the combine out trade nopublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> close(CombineCloseParams combineCloseParams)
合单支付订单只能使用此合单关单api完成关单。
微信服务器返回 204。
combineCloseParams - the combine close paramsCopyright © 2021. All rights reserved.