org.knowm.xchange.poloniex.dto.trade.PoloniexOpenOrder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-poloniex Show documentation
Show all versions of xchange-poloniex Show documentation
XChange implementation for the Poloniex Exchange
package org.knowm.xchange.poloniex.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;
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({"orderNumber", "type", "rate", "amount", "total", "date"})
public class PoloniexOpenOrder {
@JsonProperty("orderNumber")
private String orderNumber;
@JsonProperty("type")
private String type;
@JsonProperty("rate")
private BigDecimal rate;
@JsonProperty("startingAmount")
private BigDecimal startingAmount;
@JsonProperty("amount")
private BigDecimal amount;
@JsonProperty("total")
private BigDecimal total;
@JsonProperty("date")
private String date;
@JsonIgnore private Map additionalProperties = new HashMap();
@JsonProperty("orderNumber")
public String getOrderNumber() {
return orderNumber;
}
@JsonProperty("orderNumber")
public void setOrderNumber(String orderNumber) {
this.orderNumber = orderNumber;
}
@JsonProperty("type")
public String getType() {
return type;
}
@JsonProperty("type")
public void setType(String type) {
this.type = type;
}
@JsonProperty("rate")
public BigDecimal getRate() {
return rate;
}
@JsonProperty("rate")
public void setRate(BigDecimal rate) {
this.rate = rate;
}
@JsonProperty("startingAmount")
public BigDecimal getStartingAmount() {
return startingAmount;
}
@JsonProperty("startingAmount")
public void setStartingAmount(BigDecimal startingAmount) {
this.startingAmount = startingAmount;
}
@JsonProperty("amount")
public BigDecimal getAmount() {
return amount;
}
@JsonProperty("amount")
public void setAmount(BigDecimal amount) {
this.amount = amount;
}
@JsonProperty("total")
public BigDecimal getTotal() {
return total;
}
@JsonProperty("total")
public void setTotal(BigDecimal total) {
this.total = total;
}
@JsonProperty("date")
public String getDate() {
return date;
}
@JsonProperty("date")
public void setDate(String date) {
this.date = date;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
@Override
public String toString() {
return "PoloniexOpenOrder{"
+ "orderNumber='"
+ orderNumber
+ '\''
+ ", type='"
+ type
+ '\''
+ ", rate="
+ rate
+ ", startingAmount="
+ startingAmount
+ ", amount="
+ amount
+ ", total="
+ total
+ ", date='"
+ date
+ '\''
+ ", additionalProperties="
+ additionalProperties
+ '}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy