
com.xeiam.xchange.hitbtc.dto.trade.HitbtcCancelReject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-hitbtc Show documentation
Show all versions of xchange-hitbtc Show documentation
XChange implementation for Hitbtc exchange
The newest version!
package com.xeiam.xchange.hitbtc.dto.trade;
import com.fasterxml.jackson.annotation.JsonProperty;
public class HitbtcCancelReject {
private final String cancelRequestClientOrderId;
private final String clientOrderId;
private final String rejectReasonCode;
public HitbtcCancelReject(@JsonProperty("cancelRequestClientOrderId") String cancelRequestClientOrderId,
@JsonProperty("clientOrderId") String clientOrderId, @JsonProperty("rejectReasonCode") String rejectReasonCode) {
super();
this.cancelRequestClientOrderId = cancelRequestClientOrderId;
this.clientOrderId = clientOrderId;
this.rejectReasonCode = rejectReasonCode;
}
public String getCancelRequestClientOrderId() {
return cancelRequestClientOrderId;
}
public String getClientOrderId() {
return clientOrderId;
}
public String getRejectReasonCode() {
return rejectReasonCode;
}
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("HitbtcCancelReject [cancelRequestClientOrderId=");
builder.append(cancelRequestClientOrderId);
builder.append(", clientOrderId=");
builder.append(clientOrderId);
builder.append(", rejectReasonCode=");
builder.append(rejectReasonCode);
builder.append("]");
return builder.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy