public class PayFacade extends Object
| 构造器和说明 |
|---|
PayFacade() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
applyRefund(BasePayDTO basePayDTO,
PayConfig config,
BigDecimal refundFee,
String outRefundNo,
PayEnum.PayType payType)
申请退款。
|
static Object |
makeOrder(BasePayDTO basePayDTO,
PayConfig config,
PayEnum.PayType payType)
支付下单
|
static void |
notifyPay(PayEnum.PayType payType,
String responseStr,
WeChatNotify weChatNotify)
支付后台回调处理
|
public static Object makeOrder(BasePayDTO basePayDTO, PayConfig config, PayEnum.PayType payType)
basePayDTO - 基本支付参数config - 支付基本配置payType - 支付方式public static void notifyPay(PayEnum.PayType payType, String responseStr, WeChatNotify weChatNotify)
payType - 支付类型responseStr - 回调参数weChatNotify - 支付成功自定义订单处理业务public static void applyRefund(BasePayDTO basePayDTO, PayConfig config, BigDecimal refundFee, String outRefundNo, PayEnum.PayType payType)
微信支付申请退款暂未成功,需要使用证书
basePayDTO - config - refundFee - outRefundNo - payType - Copyright © 2018. All rights reserved.