public class EcommerceServiceImpl extends Object implements EcommerceService
| 构造器和说明 |
|---|
EcommerceServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
TransactionsResult |
combine(TradeTypeEnum tradeType,
CombineTransactionsRequest request)
合单支付API(APP支付、JSAPI支付、H5支付、NATIVE支付).
|
<T> T |
combineTransactions(TradeTypeEnum tradeType,
CombineTransactionsRequest request)
合单支付API(APP支付、JSAPI支付、H5支付、NATIVE支付).
|
ApplymentsResult |
createApply(ApplymentsRequest request)
二级商户进件API
接口地址: https://api.mch.weixin.qq.com/v3/ecommerce/applyments/
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/applyments/chapter3_1.shtml
|
ProfitSharingResult |
finishOrder(FinishOrderRequest request)
完结分账API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_5.shtml
|
void |
modifySettlement(String subMchid,
SettlementRequest request)
修改结算帐号API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/applyments/chapter3_4.shtml
|
CombineTransactionsNotifyResult |
parseCombineNotifyResult(String notifyData,
SignatureHeader header)
合单支付通知回调数据处理
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/e-combine.shtml
|
PartnerTransactionsNotifyResult |
parsePartnerNotifyResult(String notifyData,
SignatureHeader header)
普通支付通知回调数据处理
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/e_transactions.shtml
|
RefundNotifyResult |
parseRefundNotifyResult(String notifyData,
SignatureHeader header)
退款通知回调数据处理
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/refunds/chapter3_3.shtml
|
TransactionsResult |
partner(TradeTypeEnum tradeType,
PartnerTransactionsRequest request)
服务商模式普通支付API(APP支付、JSAPI支付、H5支付、NATIVE支付).
|
<T> T |
partnerTransactions(TradeTypeEnum tradeType,
PartnerTransactionsRequest request)
服务商模式普通支付API(APP支付、JSAPI支付、H5支付、NATIVE支付).
|
ProfitSharingResult |
profitSharing(ProfitSharingRequest request)
请求分账API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_1.shtml
|
ApplymentsStatusResult |
queryApplyStatusByApplymentId(String applymentId)
查询申请状态API
请求URL: https://api.mch.weixin.qq.com/v3/ecommerce/applyments/{applyment_id}
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/applyments/chapter3_2.shtml
|
ApplymentsStatusResult |
queryApplyStatusByOutRequestNo(String outRequestNo)
查询申请状态API
请求URL: https://api.mch.weixin.qq.com/v3/ecommerce/applyments/out-request-no/{out_request_no}
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/applyments/chapter3_2.shtml
|
CombineTransactionsResult |
queryCombineTransactions(String outTradeNo)
合单查询订单API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_3.shtml
|
PartnerTransactionsResult |
queryPartnerTransactions(PartnerTransactionsQueryRequest request)
普通查询订单API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/e_transactions/chapter3_5.shtml
|
ProfitSharingResult |
queryProfitSharing(ProfitSharingQueryRequest request)
查询分账结果API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_2.shtml
|
RefundQueryResult |
queryRefundByOutRefundNo(String subMchid,
String outRefundNo)
查询退款API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/refunds/chapter3_2.shtml
|
RefundQueryResult |
queryRefundByRefundId(String subMchid,
String refundId)
查询退款API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/refunds/chapter3_2.shtml
|
SettlementResult |
querySettlement(String subMchid)
查询结算账户API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/applyments/chapter3_5.shtml
|
RefundsResult |
refunds(RefundsRequest request)
退款申请API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/refunds/chapter3_1.shtml
|
ReturnOrdersResult |
returnOrders(ReturnOrdersRequest request)
请求分账回退API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_3.shtml
|
FundBalanceResult |
spDayEndBalance(SpAccountTypeEnum accountType,
String date)
服务商账户日终余额
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/amount.shtml
|
FundBalanceResult |
spNowBalance(SpAccountTypeEnum accountType)
服务商账户实时余额
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/amount.shtml
|
SpWithdrawResult |
spWithdraw(SpWithdrawRequest request)
电商平台提现API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/fund/chapter3_5.shtml
|
FundBalanceResult |
subDayEndBalance(String subMchid,
String date)
二级商户号账户日终余额
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/amount.shtml
|
FundBalanceResult |
subNowBalance(String subMchid)
二级商户号账户实时余额
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/amount.shtml
|
SubWithdrawResult |
subWithdraw(SubWithdrawRequest request)
二级商户账户余额提现API
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/fund/chapter3_2.shtml
|
public ApplymentsResult createApply(ApplymentsRequest request) throws WxPayException
EcommerceService二级商户进件API 接口地址: https://api.mch.weixin.qq.com/v3/ecommerce/applyments/ 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/applyments/chapter3_1.shtml
createApply 在接口中 EcommerceServicerequest - 请求对象WxPayException - the wx pay exceptionpublic ApplymentsStatusResult queryApplyStatusByApplymentId(String applymentId) throws WxPayException
EcommerceService
查询申请状态API
请求URL: https://api.mch.weixin.qq.com/v3/ecommerce/applyments/{applyment_id}
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/applyments/chapter3_2.shtml
queryApplyStatusByApplymentId 在接口中 EcommerceServiceapplymentId - 申请单IDWxPayException - the wx pay exceptionpublic ApplymentsStatusResult queryApplyStatusByOutRequestNo(String outRequestNo) throws WxPayException
EcommerceService
查询申请状态API
请求URL: https://api.mch.weixin.qq.com/v3/ecommerce/applyments/out-request-no/{out_request_no}
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/applyments/chapter3_2.shtml
queryApplyStatusByOutRequestNo 在接口中 EcommerceServiceoutRequestNo - 业务申请编号WxPayException - the wx pay exceptionpublic TransactionsResult combine(TradeTypeEnum tradeType, CombineTransactionsRequest request) throws WxPayException
EcommerceService合单支付API(APP支付、JSAPI支付、H5支付、NATIVE支付). 请求URL:https://api.mch.weixin.qq.com/v3/combine-transactions/jsapi 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/e-combine.shtml
combine 在接口中 EcommerceServicetradeType - 支付方式request - 请求对象WxPayException - the wx pay exceptionpublic <T> T combineTransactions(TradeTypeEnum tradeType, CombineTransactionsRequest request) throws WxPayException
EcommerceService合单支付API(APP支付、JSAPI支付、H5支付、NATIVE支付). 请求URL:https://api.mch.weixin.qq.com/v3/combine-transactions/jsapi 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/e-combine.shtml
combineTransactions 在接口中 EcommerceServiceT - the type parametertradeType - 支付方式request - 请求对象WxPayException - the wx pay exceptionpublic CombineTransactionsNotifyResult parseCombineNotifyResult(String notifyData, SignatureHeader header) throws WxPayException
EcommerceService合单支付通知回调数据处理 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/e-combine.shtml
parseCombineNotifyResult 在接口中 EcommerceServicenotifyData - 通知数据header - 通知头部数据,不传则表示不校验头WxPayException - the wx pay exceptionpublic CombineTransactionsResult queryCombineTransactions(String outTradeNo) throws WxPayException
EcommerceService合单查询订单API 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_3.shtml
queryCombineTransactions 在接口中 EcommerceServiceoutTradeNo - 合单商户订单号WxPayException - the wx pay exceptionpublic TransactionsResult partner(TradeTypeEnum tradeType, PartnerTransactionsRequest request) throws WxPayException
EcommerceService服务商模式普通支付API(APP支付、JSAPI支付、H5支付、NATIVE支付). 请求URL:https://api.mch.weixin.qq.com/v3/pay/partner/transactions/jsapi 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/transactions_sl.shtml
partner 在接口中 EcommerceServicetradeType - 支付方式request - 请求对象WxPayException - the wx pay exceptionpublic <T> T partnerTransactions(TradeTypeEnum tradeType, PartnerTransactionsRequest request) throws WxPayException
EcommerceService服务商模式普通支付API(APP支付、JSAPI支付、H5支付、NATIVE支付). 请求URL:https://api.mch.weixin.qq.com/v3/pay/partner/transactions/jsapi 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/transactions_sl.shtml
partnerTransactions 在接口中 EcommerceServiceT - the type parametertradeType - 支付方式request - 请求对象WxPayException - the wx pay exceptionpublic PartnerTransactionsNotifyResult parsePartnerNotifyResult(String notifyData, SignatureHeader header) throws WxPayException
EcommerceService普通支付通知回调数据处理 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/e_transactions.shtml
parsePartnerNotifyResult 在接口中 EcommerceServicenotifyData - 通知数据header - 通知头部数据,不传则表示不校验头WxPayException - the wx pay exceptionpublic PartnerTransactionsResult queryPartnerTransactions(PartnerTransactionsQueryRequest request) throws WxPayException
EcommerceService普通查询订单API 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/e_transactions/chapter3_5.shtml
queryPartnerTransactions 在接口中 EcommerceServicerequest - 商户订单信息WxPayException - the wx pay exceptionpublic FundBalanceResult spNowBalance(SpAccountTypeEnum accountType) throws WxPayException
EcommerceService服务商账户实时余额 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/amount.shtml
spNowBalance 在接口中 EcommerceServiceaccountType - 服务商账户类型WxPayException - the wx pay exceptionpublic FundBalanceResult spDayEndBalance(SpAccountTypeEnum accountType, String date) throws WxPayException
EcommerceService服务商账户日终余额 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/amount.shtml
spDayEndBalance 在接口中 EcommerceServiceaccountType - 服务商账户类型date - 查询日期 2020-09-11WxPayException - the wx pay exceptionpublic FundBalanceResult subNowBalance(String subMchid) throws WxPayException
EcommerceService二级商户号账户实时余额 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/amount.shtml
subNowBalance 在接口中 EcommerceServicesubMchid - 二级商户号WxPayException - the wx pay exceptionpublic FundBalanceResult subDayEndBalance(String subMchid, String date) throws WxPayException
EcommerceService二级商户号账户日终余额 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/amount.shtml
subDayEndBalance 在接口中 EcommerceServicesubMchid - 二级商户号date - 查询日期 2020-09-11WxPayException - the wx pay exceptionpublic ProfitSharingResult profitSharing(ProfitSharingRequest request) throws WxPayException
EcommerceService请求分账API 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_1.shtml
profitSharing 在接口中 EcommerceServicerequest - 分账请求WxPayException - the wx pay exceptionpublic ProfitSharingResult queryProfitSharing(ProfitSharingQueryRequest request) throws WxPayException
EcommerceService查询分账结果API 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_2.shtml
queryProfitSharing 在接口中 EcommerceServicerequest - 查询分账请求WxPayException - the wx pay exceptionpublic ReturnOrdersResult returnOrders(ReturnOrdersRequest request) throws WxPayException
EcommerceService请求分账回退API 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_3.shtml
returnOrders 在接口中 EcommerceServicerequest - 分账回退请求WxPayException - the wx pay exceptionpublic ProfitSharingResult finishOrder(FinishOrderRequest request) throws WxPayException
EcommerceService完结分账API 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_5.shtml
finishOrder 在接口中 EcommerceServicerequest - 完结分账请求WxPayException - the wx pay exceptionpublic RefundsResult refunds(RefundsRequest request) throws WxPayException
EcommerceService退款申请API 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/refunds/chapter3_1.shtml
refunds 在接口中 EcommerceServicerequest - 退款请求WxPayException - the wx pay exceptionpublic RefundQueryResult queryRefundByRefundId(String subMchid, String refundId) throws WxPayException
EcommerceService查询退款API 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/refunds/chapter3_2.shtml
queryRefundByRefundId 在接口中 EcommerceServicesubMchid - 二级商户号refundId - 微信退款单号WxPayException - the wx pay exceptionpublic RefundQueryResult queryRefundByOutRefundNo(String subMchid, String outRefundNo) throws WxPayException
EcommerceService查询退款API 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/refunds/chapter3_2.shtml
queryRefundByOutRefundNo 在接口中 EcommerceServicesubMchid - 二级商户号outRefundNo - 商户退款单号WxPayException - the wx pay exceptionpublic RefundNotifyResult parseRefundNotifyResult(String notifyData, SignatureHeader header) throws WxPayException
EcommerceService退款通知回调数据处理 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/refunds/chapter3_3.shtml
parseRefundNotifyResult 在接口中 EcommerceServicenotifyData - 通知数据header - 通知头部数据,不传则表示不校验头WxPayException - the wx pay exceptionpublic SubWithdrawResult subWithdraw(SubWithdrawRequest request) throws WxPayException
EcommerceService二级商户账户余额提现API 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/fund/chapter3_2.shtml
subWithdraw 在接口中 EcommerceServicerequest - 提现请求WxPayException - the wx pay exceptionpublic SpWithdrawResult spWithdraw(SpWithdrawRequest request) throws WxPayException
EcommerceService电商平台提现API 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/fund/chapter3_5.shtml
spWithdraw 在接口中 EcommerceServicerequest - 提现请求WxPayException - the wx pay exceptionpublic void modifySettlement(String subMchid, SettlementRequest request) throws WxPayException
EcommerceService修改结算帐号API 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/applyments/chapter3_4.shtml
modifySettlement 在接口中 EcommerceServicesubMchid - 二级商户号。request - 结算帐号WxPayException - the wx pay exceptionpublic SettlementResult querySettlement(String subMchid) throws WxPayException
EcommerceService查询结算账户API 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/applyments/chapter3_5.shtml
querySettlement 在接口中 EcommerceServicesubMchid - 二级商户号。WxPayException - the wx pay exceptionCopyright © 2020. All rights reserved.