Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

优化支付/退款结果解析,增加对V3版本服务商的下单/退款支持 #3056

Merged
merged 2 commits into from
Jun 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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