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

com.xeiam.xchange.cointrader.dto.trade.CointraderTradeHistoryResponse Maven / Gradle / Ivy

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 CointraderTradeHistoryResponse extends CointraderBaseResponse {

  private final Integer totalCount;

  protected CointraderTradeHistoryResponse(@JsonProperty("success") Boolean success, @JsonProperty("message") String message,
      @JsonProperty("data") CointraderUserTrade[] data, @JsonProperty("totalCount") Integer totalCount) {
    super(success || "No Past Trades Found".equals(message), message, data);
    this.totalCount = totalCount;
  }

  public Integer getTotalCount() {
    return totalCount;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy