Skip to content

Commit

Permalink
🎨 #3056 【微信支付】优化支付/退款结果解析,增加对V3版本服务商的下单/退款支持
Browse files Browse the repository at this point in the history
  • Loading branch information
guoshuai134 authored Jun 16, 2023
1 parent 9615edd commit fbce241
Show file tree
Hide file tree
Showing 10 changed files with 1,609 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package com.github.binarywang.wxpay.bean.notify;

/**
* 微信支付公用回调
*
* @author Pursuer
* @version 1.0
* @date 2023/6/15
*/
public interface WxPayBaseNotifyV3Result<T> {
/**
* 设置原始数据
*
* @param rawData 原始数据
* @author Pursuer
* @date 2023/6/15
* @since 1.0
**/
void setRawData(OriginNotifyResponse rawData);

/**
* 解密后的数据
*
* @param data 解密后的数据
* @author Pursuer
* @date 2023/6/15
* @since 1.0
**/
void setResult(T data);
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
@Data
@NoArgsConstructor
public class WxPayOrderNotifyV3Result implements Serializable {
public class WxPayNotifyV3Result implements Serializable, WxPayBaseNotifyV3Result<WxPayNotifyV3Result.DecryptNotifyResult> {
private static final long serialVersionUID = -1L;
/**
* 源数据
Expand Down
Loading

0 comments on commit fbce241

Please sign in to comment.