package cn.freemud.entities.dto.order;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

/**
 * @author : xh.Z
 * @email : fisherman0510@163.com
 * @Date : 2021/12/3 上午10:36
 * @description :
 */
@Data
@Builder
@AllArgsConstructor
public class RefundFailureRequestDTO {

    /**
     * 0:其他
     */
    public static int FAILURETYPE_OTHER = 0;

    /**
     * 1：账户无余额
     */
    public static int FAILURETYPE_NOT_SUFFICIENT_FUNDS = 1;

    /**
     * 2：系统异常
     */
    public static int FAILURETYPE_SYSTEM_ERROR = 2;

    /**
     *
     */
    private String orderCode;

    /**
     * 失败类型 0:其他 1：账户无余额2：系统异常
     */
    private int failureType;

    /**
     * 失败原因
     */
    private String reason;

    /**
     *
     */
    private String partnerId;

    /**
     *
     */
    private String operator;

    private int ver = 0;
}
