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
Modifier and TypeClassDescriptionstatic final class
Links connected to a trade. -
Constructor Summary
ConstructorDescriptionTradeResponse
(String id, String pagingToken, String ledgerCloseTime, String tradeType, Long offerId, Integer liquidityPoolFeeBP, String baseLiquidityPoolId, Long baseOfferId, String baseAccount, String baseAmount, String baseAssetType, String baseAssetCode, String baseAssetIssuer, String counterLiquidityPoolId, Long counterOfferId, String counterAccount, String counterAmount, String counterAssetType, String counterAssetCode, String counterAssetIssuer, Boolean baseIsSeller, Price price, TradeResponse.Links links) -
Method Summary
-
Constructor Details
-
TradeResponse
public TradeResponse(String id, String pagingToken, String ledgerCloseTime, String tradeType, Long offerId, Integer liquidityPoolFeeBP, String baseLiquidityPoolId, Long baseOfferId, String baseAccount, String baseAmount, String baseAssetType, String baseAssetCode, String baseAssetIssuer, String counterLiquidityPoolId, Long counterOfferId, String counterAccount, String counterAmount, String counterAssetType, String counterAssetCode, String counterAssetIssuer, Boolean baseIsSeller, Price price, TradeResponse.Links links)
-
-
Method Details
-
getBaseAsset
-
getCounterAsset
-
getId
-
getPagingToken
- Specified by:
getPagingToken
in interfacePageable
-
getLedgerCloseTime
-
getTradeType
-
getOfferId
-
getLiquidityPoolFeeBP
-
getBaseLiquidityPoolId
-
getBaseOfferId
-
getBaseAccount
-
getBaseAmount
-
getBaseAssetType
-
getBaseAssetCode
-
getBaseAssetIssuer
-
getCounterLiquidityPoolId
-
getCounterOfferId
-
getCounterAccount
-
getCounterAmount
-
getCounterAssetType
-
getCounterAssetCode
-
getCounterAssetIssuer
-
getBaseIsSeller
-
getPrice
-
getLinks
-
toString
-
equals
-
hashCode
public int hashCode()
-