org.knowm.xchange.gateio.dto.trade.GateioTrade Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-gateio Show documentation
Show all versions of xchange-gateio Show documentation
XChange implementation for the Gate.io Exchange
package org.knowm.xchange.gateio.dto.trade;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import org.knowm.xchange.gateio.dto.GateioOrderType;
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({"tradeID", "orderNumber", "pair", "type", "rate", "amount", "time_unix"})
public class GateioTrade {
@JsonProperty("tradeID")
private String tradeID;
@JsonProperty("orderNumber")
private String orderNumber;
@JsonProperty("pair")
private String pair;
@JsonProperty("type")
private GateioOrderType type;
@JsonProperty("rate")
private BigDecimal rate;
@JsonProperty("amount")
private BigDecimal amount;
@JsonProperty("time_unix")
private long timeUnix;
@JsonIgnore private Map additionalProperties = new HashMap();
@JsonProperty("tradeID")
public String getTradeID() {
return tradeID;
}
@JsonProperty("tradeID")
public void setTradeID(String tradeID) {
this.tradeID = tradeID;
}
@JsonProperty("orderNumber")
public String getOrderNumber() {
return orderNumber;
}
@JsonProperty("orderNumber")
public void setOrderNumber(String orderNumber) {
this.orderNumber = orderNumber;
}
@JsonProperty("pair")
public String getPair() {
return pair;
}
@JsonProperty("pair")
public void setPair(String pair) {
this.pair = pair;
}
@JsonProperty("type")
public GateioOrderType getType() {
return type;
}
@JsonProperty("type")
public void setType(GateioOrderType type) {
this.type = type;
}
@JsonProperty("rate")
public BigDecimal getRate() {
return rate;
}
@JsonProperty("rate")
public void setRate(BigDecimal rate) {
this.rate = rate;
}
@JsonProperty("amount")
public BigDecimal getAmount() {
return amount;
}
@JsonProperty("amount")
public void setAmount(BigDecimal amount) {
this.amount = amount;
}
@JsonProperty("time_unix")
public long getTimeUnix() {
return timeUnix;
}
@JsonProperty("time_unix")
public void setTimeUnix(long timeUnix) {
this.timeUnix = timeUnix;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy