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

com.xeiam.xchange.okcoin.dto.trade.OkCoinErrorResult Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
package com.xeiam.xchange.okcoin.dto.trade;

import com.fasterxml.jackson.annotation.JsonProperty;

public class OkCoinErrorResult {

  private final boolean result;
  private final int errorCode;

  public OkCoinErrorResult(@JsonProperty("result") final boolean result, @JsonProperty("error_code") final int errorCode) {

    this.result = result;
    this.errorCode = errorCode;
  }

  public boolean isResult() {

    return result;
  }

  public int getErrorCode() {

    return errorCode;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy