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

com.binance.api.client.domain.account.Liquidity Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
package com.binance.api.client.domain.account;

import java.util.Map;

public class Liquidity {

    private String poolId;
    private String poolName;
    private Long updateTime;
    private Map liquidity;
    private Share share;

    public String getPoolId() {
        return poolId;
    }

    public void setPoolId(String poolId) {
        this.poolId = poolId;
    }

    public String getPoolName() {
        return poolName;
    }

    public void setPoolName(String poolName) {
        this.poolName = poolName;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Map getLiquidity() {
        return liquidity;
    }

    public void setLiquidity(Map liquidity) {
        this.liquidity = liquidity;
    }

    public Share getShare() {
        return share;
    }

    public void setShare(Share share) {
        this.share = share;
    }

    public static class Share {
        private double shareAmount;
        private double sharePercentage;
        private Map asset;

        public double getShareAmount() {
            return shareAmount;
        }

        public void setShareAmount(double shareAmount) {
            this.shareAmount = shareAmount;
        }

        public double getSharePercentage() {
            return sharePercentage;
        }

        public void setSharePercentage(double sharePercentage) {
            this.sharePercentage = sharePercentage;
        }

        public Map getAsset() {
            return asset;
        }

        public void setAsset(Map asset) {
            this.asset = asset;
        }

        @Override
        public String toString() {
            return "Share{" +
                    "shareAmount=" + shareAmount +
                    ", sharePercentage=" + sharePercentage +
                    ", asset=" + asset +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "Liquidity{" +
                "poolId=" + poolId +
                ", poolName='" + poolName + '\'' +
                ", updateTime=" + updateTime +
                ", liquidity=" + liquidity +
                ", share=" + share +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy