
com.xeiam.xchange.cointrader.dto.trade.CointraderSubmitOrderResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-cointrader Show documentation
Show all versions of xchange-cointrader Show documentation
XChange implementation for the Cointrader Exchange
The newest version!
package com.xeiam.xchange.cointrader.dto.trade;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.xeiam.xchange.cointrader.dto.CointraderBaseResponse;
public class CointraderSubmitOrderResponse extends CointraderBaseResponse {
public CointraderSubmitOrderResponse(@JsonProperty("success") Boolean success, @JsonProperty("message") String message,
@JsonProperty("data") OrderData data) {
super(success, message, data);
}
@Override
public String toString() {
return String.format("CointraderSubmitOrderResponse{orderId=%s}", getData().getId());
}
public static class OrderData {
Long id;
public Long getId() {
return id;
}
@Override
public String toString() {
return String.valueOf(getId());
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy