com.coinbase.api.entity.Quote Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coinbase-java Show documentation
Show all versions of coinbase-java Show documentation
A first-party java wrapper around the Coinbase API
The 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 _btc;
private Money _subtotal;
private Money _total;
private DateTime _payout_date;
public Money getBtc() {
return _btc;
}
public void setBtc(Money btc) {
_btc = btc;
}
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;
}
}