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<String, Money> _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<String, Money> getFees() {
        return _fees;
    }

    @JsonDeserialize(converter=FeesCollector.class )
    public void setFees(HashMap<String, Money> fees) {
        _fees = fees;
    }

    public DateTime getPayoutDate() {
        return _payout_date;
    }

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

@@ -350,10 +350,9 @@
    *
- 
 %0A
+
     
@@ -465,24 +465,48 @@
 ney%3E _fees;%0A
+    private Money _btc;%0A
     private 
@@ -544,24 +544,24 @@
 ney _total;%0A
-
     private 
@@ -584,16 +584,135 @@
 _date;%0A%0A
+    public Money getBtc() %7B%0A        return _btc;%0A    %7D%0A%0A    public void setBtc(Money btc) %7B%0A        _btc = btc;%0A    %7D%0A%0A
     publ

Add btc to Quote