org.knowm.xchange.coinbase.dto.merchant.CoinbaseOrders Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-coinbase Show documentation
Show all versions of xchange-coinbase Show documentation
XChange implementation for Coinbase
package org.knowm.xchange.coinbase.dto.merchant;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import org.knowm.xchange.coinbase.dto.CoinbasePagedResult;
/** @author jamespedwards42 */
public class CoinbaseOrders extends CoinbasePagedResult {
private final List orders;
private CoinbaseOrders(
@JsonProperty("orders") final List orders,
@JsonProperty("total_count") final int totalCount,
@JsonProperty("num_pages") final int numPages,
@JsonProperty("current_page") final int currentPage) {
super(totalCount, numPages, currentPage);
this.orders = orders;
}
public List getOrders() {
return orders;
}
@Override
public String toString() {
return "CoinbaseOrders [orders=" + orders + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy