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

com.xeiam.xchange.okcoin.dto.account.OkCoinFunds Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
package com.xeiam.xchange.okcoin.dto.account;

import java.math.BigDecimal;
import java.util.Collections;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonProperty;

public class OkCoinFunds {

  private final Map free;
  private final Map freezed;
  private final Map borrow;

  public OkCoinFunds(@JsonProperty("free") final Map free, @JsonProperty("freezed") final Map freezed,
      @JsonProperty(value = "borrow", required = false) final Map borrow) {

    this.free = free;
    this.freezed = freezed;
    this.borrow = borrow == null ? Collections. emptyMap() : borrow;
  }

  public Map getFree() {

    return free;
  }

  public Map getFreezed() {

    return freezed;
  }

  public Map getBorrow() {

    return borrow;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy