WxUserPayService.java 1.0 KB

123456789101112131415161718192021222324252627282930
  1. //package beilv.pay.service;
  2. //
  3. //import com.wechat.pay.java.service.payments.jsapi.model.PrepayWithRequestPaymentResponse;
  4. //import com.wechat.pay.java.service.payments.model.Transaction;
  5. //import com.wechat.pay.java.service.refund.model.Refund;
  6. //import com.wechat.pay.java.service.refund.model.RefundNotification;
  7. //
  8. //import javax.servlet.http.HttpServletRequest;
  9. //
  10. //public interface WxUserPayService {
  11. //
  12. //
  13. // // 微信支付
  14. // PrepayWithRequestPaymentResponse creationIndentPayment(String indentId, String myOpenId, Double amount);
  15. //
  16. // // 获取支付回调信息
  17. // Transaction getTransaction(HttpServletRequest request);
  18. //
  19. // // 支付回调
  20. // boolean indentPaymentBlack(Transaction transaction);
  21. //
  22. // // 退款申请
  23. // Refund refundIndentPayment(String refundId, Double amount);
  24. //
  25. // // 获取退款回调信息
  26. // RefundNotification getRefundNotification(HttpServletRequest request);
  27. //
  28. // // 退款回调
  29. // boolean refundIndentBlack(RefundNotification refundNotification);
  30. //}