package com.honey.honey.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;

/**
 * Request body for external POST api/v1/deposit-address.
 */
@Data
@Builder
public class DepositAddressApiRequest {

    @JsonProperty("pid")
    private Integer pid;

    @JsonProperty("amount_usd")
    private Double amountUsd;

    @JsonProperty("user_data")
    private UserData userData;

    @Data
    @Builder
    public static class UserData {
        @JsonProperty("internal_id")
        private Integer internalId;
        @JsonProperty("screen_name")
        private String screenName;
        @JsonProperty("tg_username")
        private String tgUsername;
        @JsonProperty("tg_id")
        private String tgId;
        @JsonProperty("country_code")
        private String countryCode;
        @JsonProperty("device_code")
        private String deviceCode;
        @JsonProperty("language_code")
        private String languageCode;
        @JsonProperty("user_ip")
        private String userIp;
    }
}
