com.coinbase.api.entity.PaymentMethodsResponse 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.util.List;
import com.coinbase.api.deserializer.PaymentMethodsLifter;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
public class PaymentMethodsResponse extends Response {
/**
*
*/
private static final long serialVersionUID = 4752885593284986181L;
private String _defaultBuy;
private String _defaultSell;
private List _paymentMethods;
public String getDefaultBuy() {
return _defaultBuy;
}
public void setDefaultBuy(String defaultBuy) {
_defaultBuy = defaultBuy;
}
public String getDefaultSell() {
return _defaultSell;
}
public void setDefaultSell(String defaultSell) {
_defaultSell = defaultSell;
}
public List getPaymentMethods() {
return _paymentMethods;
}
@JsonDeserialize(converter=PaymentMethodsLifter.class)
public void setPaymentMethods(List paymentMethods) {
_paymentMethods = paymentMethods;
}
}