package com.honey.honey.dto;

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

import java.math.BigDecimal;

/**
 * Single withdrawal method details from external API (rate and fee for Payout Confirmation screen).
 */
@Data
@Builder
public class WithdrawalMethodDetailsDto {

    @JsonProperty("pid")
    private Integer pid;

    @JsonProperty("name")
    private String name;

    @JsonProperty("ticker")
    private String ticker;

    @JsonProperty("rateUsd")
    private BigDecimal rateUsd;

    @JsonProperty("totalFeeUsd")
    private BigDecimal mishaFeeUsd;
}
