org.knowm.xchange.therock.dto.trade.TheRockTransactions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-therock Show documentation
Show all versions of xchange-therock Show documentation
XChange implementation for The Rock Trading Exchange
package org.knowm.xchange.therock.dto.trade;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
/** https://api.therocktrading.com/doc/v1/index.html#api-Trading_API-Transactions */
public class TheRockTransactions {
private final TheRockTransaction[] transactions;
private final Map meta;
public TheRockTransactions(
@JsonProperty("transactions") TheRockTransaction[] transactions,
@JsonProperty("meta") Map meta) {
this.transactions = transactions;
this.meta = meta;
}
public int getCount() {
return transactions.length;
}
public TheRockTransaction[] getTransactions() {
return transactions;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy