package com.sonic.lion.domain.req;

import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

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

    private Long receiptId;

    /**
     * 交易
     */
    @NotNull
    private JSONObject transactions;

    /**
     * iap收据
     */
    @NotBlank
    private String receipt;

    /**
     * 签名
     */
    private String signature;
}
