mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-04 03:30:36 +00:00
feat 退款同步+退款修复策略
This commit is contained in:
@@ -15,13 +15,13 @@ import lombok.EqualsAndHashCode;
|
||||
public class RefundSyncParam extends PayCommonParam {
|
||||
|
||||
/**
|
||||
* 部分退款时 refundId 和 refundNo 必传一个, 同时传输时,以 refundId 为准
|
||||
* 退款订单ID,refundId和refundNo 必传一个, 同时传输时,以 refundId 为准
|
||||
*/
|
||||
@Schema(description = "退款订单ID")
|
||||
private Long refundId;
|
||||
|
||||
/**
|
||||
* 退款订单号,部分退款时 refundId 和 refundNo 必传一个,同时传输时,以 refundId 为准
|
||||
* 退款订单号,refundId和refundNo 必传一个,同时传输时,以 refundId 为准
|
||||
*/
|
||||
@Schema(description = "退款订单号")
|
||||
private String refundNo;
|
||||
|
@@ -1,5 +1,6 @@
|
||||
package cn.bootx.platform.daxpay.result.pay;
|
||||
|
||||
import cn.bootx.platform.daxpay.code.PayRefundSyncStatusEnum;
|
||||
import cn.bootx.platform.daxpay.code.PaySyncStatusEnum;
|
||||
import cn.bootx.platform.daxpay.result.CommonResult;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
@@ -17,12 +18,13 @@ import static cn.bootx.platform.daxpay.code.PaySyncStatusEnum.FAIL;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@Schema(title = "支付单同步结果")
|
||||
public class PaySyncResult extends CommonResult {
|
||||
@Schema(title = "同步结果")
|
||||
public class SyncResult extends CommonResult {
|
||||
|
||||
/**
|
||||
* 支付网关同步状态
|
||||
* @see PaySyncStatusEnum
|
||||
* @see PayRefundSyncStatusEnum
|
||||
*/
|
||||
@Schema(description = "支付网关同步状态")
|
||||
private String gatewayStatus = FAIL.getCode();
|
Reference in New Issue
Block a user