@Test public void testParseRefundNotifyResult() throws Exception { }
@Override public WxPayRefundNotifyResult parseRefundNotifyResult(String xmlData) throws WxPayException { try { log.debug("微信支付退款异步通知参数：{}", xmlData); WxPayRefundNotifyResult result = WxPayRefundNotifyResult.fromXML(xmlData, this.getConfig().getMchKey()); log.debug("微信支付退款异步通知解析后的对象：{}", result); return result; } catch (Exception e) { log.error(e.getMessage(), e); throw new WxPayException("发生异常，" + e.getMessage(), e); } }
BaseWxPayServiceImpl implements WxPayService { @Override public WxPayRefundNotifyResult parseRefundNotifyResult(String xmlData) throws WxPayException { try { log.debug("微信支付退款异步通知参数：{}", xmlData); WxPayRefundNotifyResult result = WxPayRefundNotifyResult.fromXML(xmlData, this.getConfig().getMchKey()); log.debug("微信支付退款异步通知解析后的对象：{}", result); return result; } catch (Exception e) { log.error(e.getMessage(), e); throw new WxPayException("发生异常，" + e.getMessage(), e); } } }
BaseWxPayServiceImpl implements WxPayService { @Override public WxPayRefundNotifyResult parseRefundNotifyResult(String xmlData) throws WxPayException { try { log.debug("微信支付退款异步通知参数：{}", xmlData); WxPayRefundNotifyResult result = WxPayRefundNotifyResult.fromXML(xmlData, this.getConfig().getMchKey()); log.debug("微信支付退款异步通知解析后的对象：{}", result); return result; } catch (Exception e) { log.error(e.getMessage(), e); throw new WxPayException("发生异常，" + e.getMessage(), e); } }  }
BaseWxPayServiceImpl implements WxPayService { @Override public WxPayRefundNotifyResult parseRefundNotifyResult(String xmlData) throws WxPayException { try { log.debug("微信支付退款异步通知参数：{}", xmlData); WxPayRefundNotifyResult result = WxPayRefundNotifyResult.fromXML(xmlData, this.getConfig().getMchKey()); log.debug("微信支付退款异步通知解析后的对象：{}", result); return result; } catch (Exception e) { log.error(e.getMessage(), e); throw new WxPayException("发生异常，" + e.getMessage(), e); } }  @Override EntPayService getEntPayService(); @Override void setEntPayService(EntPayService entPayService); @Override WxPayConfig getConfig(); @Override void setConfig(WxPayConfig config); @Override String getPayBaseUrl(); @Override WxPayRefundResult refund(WxPayRefundRequest request); @Override WxPayRefundQueryResult refundQuery(String transactionId, String outTradeNo, String outRefundNo, String refundId); @Override WxPayRefundQueryResult refundQuery(WxPayRefundQueryRequest request); @Override WxPayOrderNotifyResult parseOrderNotifyResult(String xmlData); @Override WxPayRefundNotifyResult parseRefundNotifyResult(String xmlData); @Override WxScanPayNotifyResult parseScanPayNotifyResult(String xmlData); @Override WxPaySendRedpackResult sendRedpack(WxPaySendRedpackRequest request); @Override WxPayRedpackQueryResult queryRedpack(String mchBillNo); @Override WxPayOrderQueryResult queryOrder(String transactionId, String outTradeNo); @Override WxPayOrderQueryResult queryOrder(WxPayOrderQueryRequest request); @Override WxPayOrderCloseResult closeOrder(String outTradeNo); @Override WxPayOrderCloseResult closeOrder(WxPayOrderCloseRequest request); @Override T createOrder(WxPayUnifiedOrderRequest request); @Override WxPayUnifiedOrderResult unifiedOrder(WxPayUnifiedOrderRequest request); @Override @Deprecated Map<String, String> getPayInfo(WxPayUnifiedOrderRequest request); @Override byte[] createScanPayQrcodeMode1(String productId, File logoFile, Integer sideLength); @Override String createScanPayQrcodeMode1(String productId); @Override byte[] createScanPayQrcodeMode2(String codeUrl, File logoFile, Integer sideLength); @Override void report(WxPayReportRequest request); @Override WxPayBillResult downloadBill(String billDate, String billType, String tarType, String deviceInfo); @Override WxPayBillResult downloadBill(WxPayDownloadBillRequest request); @Override WxPayMicropayResult micropay(WxPayMicropayRequest request); @Override WxPayOrderReverseResult reverseOrder(WxPayOrderReverseRequest request); @Override String shorturl(WxPayShorturlRequest request); @Override String shorturl(String longUrl); @Override String authcode2Openid(WxPayAuthcode2OpenidRequest request); @Override String authcode2Openid(String authCode); @Override String getSandboxSignKey(); @Override WxPayCouponSendResult sendCoupon(WxPayCouponSendRequest request); @Override WxPayCouponStockQueryResult queryCouponStock(WxPayCouponStockQueryRequest request); @Override WxPayCouponInfoQueryResult queryCouponInfo(WxPayCouponInfoQueryRequest request); @Override WxPayApiData getWxApiData(); @Override String queryComment(Date beginDate, Date endDate, Integer offset, Integer limit); }
BaseWxPayServiceImpl implements WxPayService { @Override public WxPayRefundNotifyResult parseRefundNotifyResult(String xmlData) throws WxPayException { try { log.debug("微信支付退款异步通知参数：{}", xmlData); WxPayRefundNotifyResult result = WxPayRefundNotifyResult.fromXML(xmlData, this.getConfig().getMchKey()); log.debug("微信支付退款异步通知解析后的对象：{}", result); return result; } catch (Exception e) { log.error(e.getMessage(), e); throw new WxPayException("发生异常，" + e.getMessage(), e); } }  @Override EntPayService getEntPayService(); @Override void setEntPayService(EntPayService entPayService); @Override WxPayConfig getConfig(); @Override void setConfig(WxPayConfig config); @Override String getPayBaseUrl(); @Override WxPayRefundResult refund(WxPayRefundRequest request); @Override WxPayRefundQueryResult refundQuery(String transactionId, String outTradeNo, String outRefundNo, String refundId); @Override WxPayRefundQueryResult refundQuery(WxPayRefundQueryRequest request); @Override WxPayOrderNotifyResult parseOrderNotifyResult(String xmlData); @Override WxPayRefundNotifyResult parseRefundNotifyResult(String xmlData); @Override WxScanPayNotifyResult parseScanPayNotifyResult(String xmlData); @Override WxPaySendRedpackResult sendRedpack(WxPaySendRedpackRequest request); @Override WxPayRedpackQueryResult queryRedpack(String mchBillNo); @Override WxPayOrderQueryResult queryOrder(String transactionId, String outTradeNo); @Override WxPayOrderQueryResult queryOrder(WxPayOrderQueryRequest request); @Override WxPayOrderCloseResult closeOrder(String outTradeNo); @Override WxPayOrderCloseResult closeOrder(WxPayOrderCloseRequest request); @Override T createOrder(WxPayUnifiedOrderRequest request); @Override WxPayUnifiedOrderResult unifiedOrder(WxPayUnifiedOrderRequest request); @Override @Deprecated Map<String, String> getPayInfo(WxPayUnifiedOrderRequest request); @Override byte[] createScanPayQrcodeMode1(String productId, File logoFile, Integer sideLength); @Override String createScanPayQrcodeMode1(String productId); @Override byte[] createScanPayQrcodeMode2(String codeUrl, File logoFile, Integer sideLength); @Override void report(WxPayReportRequest request); @Override WxPayBillResult downloadBill(String billDate, String billType, String tarType, String deviceInfo); @Override WxPayBillResult downloadBill(WxPayDownloadBillRequest request); @Override WxPayMicropayResult micropay(WxPayMicropayRequest request); @Override WxPayOrderReverseResult reverseOrder(WxPayOrderReverseRequest request); @Override String shorturl(WxPayShorturlRequest request); @Override String shorturl(String longUrl); @Override String authcode2Openid(WxPayAuthcode2OpenidRequest request); @Override String authcode2Openid(String authCode); @Override String getSandboxSignKey(); @Override WxPayCouponSendResult sendCoupon(WxPayCouponSendRequest request); @Override WxPayCouponStockQueryResult queryCouponStock(WxPayCouponStockQueryRequest request); @Override WxPayCouponInfoQueryResult queryCouponInfo(WxPayCouponInfoQueryRequest request); @Override WxPayApiData getWxApiData(); @Override String queryComment(Date beginDate, Date endDate, Integer offset, Integer limit);  }