package de.elbatya.cryptocoins.bittrexclient.api.model.publicapi;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author <EMAIL>
 */
public class MarketSummary {

    private String marketName;
    private BigDecimal high;
    private BigDecimal low;
    private BigDecimal volume;
    private BigDecimal last;
    private BigDecimal baseVolume;
    private LocalDateTime timeStamp;
    private BigDecimal bid;
    private BigDecimal ask;
    private Integer openBuyOrders;
    private Integer openSellOrders;
    private BigDecimal prevDay;
    private LocalDateTime created;

    public String getMarketName() {
        return marketName;
    }

    public void setMarketName(String marketName) {
        this.marketName = marketName;
    }

    public BigDecimal getHigh() {
        return high;
    }

    public void setHigh(BigDecimal high) {
        this.high = high;
    }

    public BigDecimal getLow() {
        return low;
    }

    public void setLow(BigDecimal low) {
        this.low = low;
    }

    public BigDecimal getVolume() {
        return volume;
    }

    public void setVolume(BigDecimal volume) {
        this.volume = volume;
    }

    public BigDecimal getLast() {
        return last;
    }

    public void setLast(BigDecimal last) {
        this.last = last;
    }

    public BigDecimal getBaseVolume() {
        return baseVolume;
    }

    public void setBaseVolume(BigDecimal baseVolume) {
        this.baseVolume = baseVolume;
    }


    public BigDecimal getBid() {
        return bid;
    }

    public void setBid(BigDecimal bid) {
        this.bid = bid;
    }

    public BigDecimal getAsk() {
        return ask;
    }

    public void setAsk(BigDecimal ask) {
        this.ask = ask;
    }

    public Integer getOpenBuyOrders() {
        return openBuyOrders;
    }

    public void setOpenBuyOrders(Integer openBuyOrders) {
        this.openBuyOrders = openBuyOrders;
    }

    public Integer getOpenSellOrders() {
        return openSellOrders;
    }

    public void setOpenSellOrders(Integer openSellOrders) {
        this.openSellOrders = openSellOrders;
    }

    public BigDecimal getPrevDay() {
        return prevDay;
    }

    public void setPrevDay(BigDecimal prevDay) {
        this.prevDay = prevDay;
    }

    public LocalDateTime getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(LocalDateTime timeStamp) {
        this.timeStamp = timeStamp;
    }

    public LocalDateTime getCreated() {
        return created;
    }

    public void setCreated(LocalDateTime created) {
        this.created = created;
    }

    @Override
    public String toString() {
        return "MarketSummary{" +
                "marketName='" + marketName + '\'' +
                ", high=" + high +
                ", low=" + low +
                ", volume=" + volume +
                ", last=" + last +
                ", baseVolume=" + baseVolume +
                ", timeStamp=" + timeStamp +
                ", bid=" + bid +
                ", ask=" + ask +
                ", openBuyOrders=" + openBuyOrders +
                ", openSellOrders=" + openSellOrders +
                ", prevDay=" + prevDay +
                ", created=" + created +
                '}';
    }
}
