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

com.xeiam.xchange.bitmarket.dto.trade.BitMarketTrade Maven / Gradle / Ivy

package com.xeiam.xchange.bitmarket.dto.trade;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.xeiam.xchange.bitmarket.dto.account.BitMarketBalance;

/**
 * @author kfonal
 */
public class BitMarketTrade {

  private final long id;
  private final BitMarketOrder order;
  private final BitMarketBalance balance;

  /**
   * Constructor
   *
   * @param id
   * @param order
   * @param balance
   */
  public BitMarketTrade(@JsonProperty("id") long id, @JsonProperty("order") BitMarketOrder order,
      @JsonProperty("balances") BitMarketBalance balance) {

    this.id = id;
    this.order = order;
    this.balance = balance;
  }

  public long getId() {
    return id;
  }

  public BitMarketOrder getOrder() {
    return order;
  }

  public BitMarketBalance getBalance() {
    return balance;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy