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

com.xeiam.xchange.okcoin.dto.trade.OkCoinPositionResult 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 OkCoinPositionResult extends OkCoinErrorResult {

  private final OkCoinPosition[] positions;

  public OkCoinPositionResult(@JsonProperty("result") final boolean result, @JsonProperty("errorCode") final int errorCode,
      @JsonProperty("holding") final OkCoinPosition[] positions) {

    super(result, errorCode);
    this.positions = positions;
  }

  public OkCoinPosition[] getPositions() {

    return positions;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy