public final class TradeResponse extends Response implements Pageable
TradesRequestBuilder
,
Server.trades()
Modifier and Type | Class and Description |
---|---|
static class |
TradeResponse.Links
Links connected to a trade.
|
Constructor and Description |
---|
TradeResponse(java.lang.String id,
java.lang.String pagingToken,
java.lang.String ledgerCloseTime,
java.lang.String tradeType,
java.lang.Long offerId,
java.lang.Integer liquidityPoolFeeBP,
java.lang.String baseLiquidityPoolId,
java.lang.Long baseOfferId,
java.lang.String baseAccount,
java.lang.String baseAmount,
java.lang.String baseAssetType,
java.lang.String baseAssetCode,
java.lang.String baseAssetIssuer,
java.lang.String counterLiquidityPoolId,
java.lang.Long counterOfferId,
java.lang.String counterAccount,
java.lang.String counterAmount,
java.lang.String counterAssetType,
java.lang.String counterAssetCode,
java.lang.String counterAssetIssuer,
java.lang.Boolean baseIsSeller,
Price price,
TradeResponse.Links links) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getBaseAccount() |
java.lang.String |
getBaseAmount() |
Asset |
getBaseAsset() |
java.lang.String |
getBaseAssetCode() |
java.lang.String |
getBaseAssetIssuer() |
java.lang.String |
getBaseAssetType() |
java.lang.Boolean |
getBaseIsSeller() |
java.lang.String |
getBaseLiquidityPoolId() |
java.lang.Long |
getBaseOfferId() |
java.lang.String |
getCounterAccount() |
java.lang.String |
getCounterAmount() |
Asset |
getCounterAsset() |
java.lang.String |
getCounterAssetCode() |
java.lang.String |
getCounterAssetIssuer() |
java.lang.String |
getCounterAssetType() |
java.lang.String |
getCounterLiquidityPoolId() |
java.lang.Long |
getCounterOfferId() |
java.lang.String |
getId() |
java.lang.String |
getLedgerCloseTime() |
TradeResponse.Links |
getLinks() |
java.lang.Integer |
getLiquidityPoolFeeBP() |
java.lang.Long |
getOfferId() |
java.lang.String |
getPagingToken() |
Price |
getPrice() |
java.lang.String |
getTradeType() |
int |
hashCode() |
java.lang.String |
toString() |
public TradeResponse(java.lang.String id, java.lang.String pagingToken, java.lang.String ledgerCloseTime, java.lang.String tradeType, java.lang.Long offerId, java.lang.Integer liquidityPoolFeeBP, java.lang.String baseLiquidityPoolId, java.lang.Long baseOfferId, java.lang.String baseAccount, java.lang.String baseAmount, java.lang.String baseAssetType, java.lang.String baseAssetCode, java.lang.String baseAssetIssuer, java.lang.String counterLiquidityPoolId, java.lang.Long counterOfferId, java.lang.String counterAccount, java.lang.String counterAmount, java.lang.String counterAssetType, java.lang.String counterAssetCode, java.lang.String counterAssetIssuer, java.lang.Boolean baseIsSeller, Price price, TradeResponse.Links links)
public Asset getBaseAsset()
public Asset getCounterAsset()
public java.lang.String getId()
public java.lang.String getPagingToken()
getPagingToken
in interface Pageable
public java.lang.String getLedgerCloseTime()
public java.lang.String getTradeType()
public java.lang.Long getOfferId()
public java.lang.Integer getLiquidityPoolFeeBP()
public java.lang.String getBaseLiquidityPoolId()
public java.lang.Long getBaseOfferId()
public java.lang.String getBaseAccount()
public java.lang.String getBaseAmount()
public java.lang.String getBaseAssetType()
public java.lang.String getBaseAssetCode()
public java.lang.String getBaseAssetIssuer()
public java.lang.String getCounterLiquidityPoolId()
public java.lang.Long getCounterOfferId()
public java.lang.String getCounterAccount()
public java.lang.String getCounterAmount()
public java.lang.String getCounterAssetType()
public java.lang.String getCounterAssetCode()
public java.lang.String getCounterAssetIssuer()
public java.lang.Boolean getBaseIsSeller()
public Price getPrice()
public TradeResponse.Links getLinks()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object