Package org.stellar.sdk.responses
Class TradeResponse
java.lang.Object
org.stellar.sdk.responses.Response
org.stellar.sdk.responses.TradeResponse
- All Implemented Interfaces:
Pageable
Represents trades response.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classLinks connected to a trade. -
Constructor Summary
ConstructorsConstructorDescriptionTradeResponse(String id, String pagingToken, String ledgerCloseTime, Long offerId, String tradeType, Long liquidityPoolFeeBP, LiquidityPoolID baseLiquidityPoolID, Long baseOfferId, String baseAccount, String baseAmount, String baseAssetType, String baseAssetCode, String baseAssetIssuer, LiquidityPoolID counterLiquidityPoolID, Long counterOfferId, String counterAccount, String counterAmount, String counterAssetType, String counterAssetCode, String counterAssetIssuer, boolean baseIsSeller, TradePrice price, TradeResponse.Links links) -
Method Summary
Methods inherited from class org.stellar.sdk.responses.Response
getRateLimitLimit, getRateLimitRemaining, getRateLimitReset, setHeaders
-
Constructor Details
-
TradeResponse
public TradeResponse(String id, String pagingToken, String ledgerCloseTime, Long offerId, String tradeType, Long liquidityPoolFeeBP, LiquidityPoolID baseLiquidityPoolID, Long baseOfferId, String baseAccount, String baseAmount, String baseAssetType, String baseAssetCode, String baseAssetIssuer, LiquidityPoolID counterLiquidityPoolID, Long counterOfferId, String counterAccount, String counterAmount, String counterAssetType, String counterAssetCode, String counterAssetIssuer, boolean baseIsSeller, TradePrice price, TradeResponse.Links links)
-
-
Method Details
-
isBaseSeller
public boolean isBaseSeller() -
getBaseOfferId
-
getBaseAccount
-
getBaseLiquidityPoolID
-
getBaseAsset
-
getCounterAccount
-
getCounterLiquidityPoolID
-
getCounterOfferId
-
getCounterAsset
-
getId
-
getPagingToken
- Specified by:
getPagingTokenin interfacePageable
-
getLedgerCloseTime
-
getOfferId
-
getTradeType
-
getLiquidityPoolFeeBP
-
getBaseAmount
-
getBaseAssetType
-
getBaseAssetCode
-
getBaseAssetIssuer
-
getCounterAmount
-
getCounterAssetType
-
getCounterAssetCode
-
getCounterAssetIssuer
-
isBaseIsSeller
public boolean isBaseIsSeller() -
getPrice
-
getLinks
-
toString
-
equals
-
hashCode
public int hashCode()
-