All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.knowm.xchange.exx.dto.trade.EXXCancelOrder Maven / Gradle / Ivy

There is a newer version: 4.3.17.1
Show newest version
package org.knowm.xchange.exx.dto.trade;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;

public class EXXCancelOrder {

  @JsonProperty("code")
  private int code;

  @JsonProperty("message")
  private String message;

  /** No args constructor for use in serialization */
  public EXXCancelOrder() {}

  /**
   * @param id
   * @param message
   * @param code
   */
  public EXXCancelOrder(int code, String message) {
    super();
    this.code = code;
    this.message = message;
  }

  @JsonProperty("code")
  public int getCode() {
    return code;
  }

  @JsonProperty("code")
  public void setCode(int code) {
    this.code = code;
  }

  @JsonProperty("message")
  public String getMessage() {
    return message;
  }

  @JsonProperty("message")
  public void setMessage(String message) {
    this.message = message;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this).append("code", code).append("message", message).toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy