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

com.coinbase.api.entity.Quote Maven / Gradle / Ivy

There is a newer version: 1.10.0
Show newest version
package com.coinbase.api.entity;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;

import org.joda.money.Money;
import org.joda.time.DateTime;

import com.coinbase.api.deserializer.FeesCollector;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

public class Quote implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = -4797946450079069495L;
    private HashMap _fees;
    private Money _subtotal;
    private Money _total;
    private DateTime _payout_date;

    public Money getSubtotal() {
        return _subtotal;
    }

    public void setSubtotal(Money subtotal) {
        _subtotal = subtotal;
    }

    public Money getTotal() {
        return _total;
    }

    public void setTotal(Money total) {
        _total = total;
    }

    public HashMap getFees() {
        return _fees;
    }

    @JsonDeserialize(converter=FeesCollector.class )
    public void setFees(HashMap fees) {
        _fees = fees;
    }

    public DateTime getPayoutDate() {
        return _payout_date;
    }

    public void setPayoutDate(DateTime payout_date) {
        this._payout_date = payout_date;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy