package com.sonic.lion.domain.req;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author: code
 * @date: 2025/06/03
 * @Description:
 * @version: 1.0.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RefundReqV2 {

    @NotBlank
    private String platform;

    private RefundType refundType;

    @NotNull
    private List<RefundAmountReq> outTradeNoRefundList;

    public enum RefundType{
        GAME, MERCHANT_SUBSCRIBE
    }
}
