org.knowm.xchange.coinbasepro.dto.account.CoinbaseProSendMoneyRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-coinbasepro Show documentation
Show all versions of xchange-coinbasepro Show documentation
XChange implementation for CoinbasePro
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