package com.sonic.lion.domain.req;

import com.sonic.lion.enums.PayChannel;
import com.sonic.lion.enums.PaymentType;
import com.sonic.lion.domain.input.PaymentBillInfo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author: code
 * @date: 2025/05/20
 * @Description:
 * @version: 1.0.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CheckoutReq {

    @NotBlank
    private String tradeNo;

    private PayChannel payChannel;

    private PaymentType paymentType = PaymentType.CHANNEL;

    private String returnUrl;

    private String cancelUrl;

}

