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.NotEmpty;



/**
 * 上传google Token校验
 * @author: code
 * @date: 2025/06/22
 * @Description:
 * @version: 1.0.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GoogleUploadReceiptReq {

    private Long receiptId;

    /**
     * google 收据 token
     */
    @NotBlank
    private String receipt;

    /**
     * 充值的产品ID
     */
    private String productId;

    /**
     * google的交易ID
     */
    private String transactionId;

    /**
     * 交易编号
     */
    @NotEmpty
    private String tradeNo;

    private String key;

}
