All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.knowm.xchange.coinbasepro.dto.account.CoinbaseProSendMoneyRequest Maven / Gradle / Ivy

The newest version!
package org.knowm.xchange.coinbasepro.dto.account;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.math.BigDecimal;

public class CoinbaseProSendMoneyRequest {

  @JsonProperty("type")
  private final String type = "send";

  @JsonProperty("to")
  private final String to;

  @JsonProperty("amount")
  private final BigDecimal amount;

  @JsonProperty("currency")
  private final String currency;

  public CoinbaseProSendMoneyRequest(String to, BigDecimal amount, String currency) {
    this.to = to;
    this.amount = amount;
    this.currency = currency;
  }

  public String getType() {
    return type;
  }

  public String getTo() {
    return to;
  }

  public BigDecimal getAmount() {
    return amount;
  }

  public String getCurrency() {
    return currency;
  }

  @Override
  public String toString() {
    return "CoinbaseExSendMoneyRequest{"
        + "type='"
        + type
        + '\''
        + ", to='"
        + to
        + '\''
        + ", amount="
        + amount
        + ", currency='"
        + currency
        + '\''
        + '}';
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy