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

com.xeiam.xchange.vircurex.dto.marketdata.VircurexLastTrade Maven / Gradle / Ivy

The newest version!
package com.xeiam.xchange.vircurex.dto.marketdata;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Data object representing depth from Vircurex
 */
public class VircurexLastTrade {

  private final String base;
  private final String alt;
  private final BigDecimal value;
  private final int status;

  /**
   * Constructor
   *
   * @param base
   * @param alt
   * @param value
   * @param status
   */
  public VircurexLastTrade(@JsonProperty("base") String base, @JsonProperty("alt") String alt, @JsonProperty("value") BigDecimal value,
      @JsonProperty("status") int status) {
    this.base = base;
    this.alt = alt;
    this.value = value;
    this.status = status;
  }

  public String getBase() {
    return base;
  }

  public String getAlt() {
    return alt;
  }

  public BigDecimal getValue() {
    return value;
  }

  public int getStatus() {
    return status;
  }

  @Override
  public String toString() {
    return "VircurexLastTrade [base=" + base + ", alt=" + alt + ", value=" + value + ", status=" + status + "]";
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy