接口 IWxpayService

所有已知实现类:
WxpayServiceImpl

public interface IWxpayService
  • 方法详细资料

    • getAppId

      String getAppId(WxPayType wxPayType)
      获取APPid
      参数:
      wxPayType -
      返回:
    • checkOrder

      StatusResult checkOrder(Order order)
      校验订单
      参数:
      order -
      返回:
    • checkRefundOrder

      StatusResult checkRefundOrder(Order order)
      校验退款订单
      参数:
      order -
      返回:
    • mpPay

      StatusResult mpPay(jakarta.servlet.http.HttpServletRequest request, String orderId, String notifyUrl)
      web公众号支付
      参数:
      request -
      orderId -
      notifyUrl -
    • nativePay

      StatusResult nativePay(jakarta.servlet.http.HttpServletRequest request, String orderId, WxPayType appType, String notifyUrl)
      微信扫码支付
      参数:
      orderId -
      notifyUrl -
      appType - app类型
      返回:
    • appPay

      StatusResult appPay(jakarta.servlet.http.HttpServletRequest request, String orderId, String notifyUrl)
      APP支付
      参数:
      orderId -
      notifyUrl -
      返回:
    • miniAppPay

      StatusResult miniAppPay(jakarta.servlet.http.HttpServletRequest request, String orderId, String notifyUrl)
      小程序APP支付
      参数:
      orderId -
      notifyUrl -
      返回:
    • uniTransfer

      StatusResult uniTransfer(jakarta.servlet.http.HttpServletRequest request, WxPayType wxPayType, String openId, String name, BigDecimal amount, String remarks)
      转账
      参数:
      amount -
      name -
      remarks -
    • uniTransferQuery

      StatusResult uniTransferQuery(String orderId)
      通过商户订单号
      参数:
      orderId -
      返回:
    • tradeRefund

      StatusResult tradeRefund(Long orderId, BigDecimal amount, String reason, String notifyUrl)
      订单退款
      参数:
      orderId -
      amount -
      reason -
      notifyUrl -
      返回: