Package org.stellar.sdk.responses
Class OfferResponse
java.lang.Object
org.stellar.sdk.responses.Response
org.stellar.sdk.responses.OfferResponse
- All Implemented Interfaces:
Pageable
Represents offer response.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Links connected to ledger. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
OfferResponse
public OfferResponse(Long id, String pagingToken, String seller, Asset selling, Asset buying, String amount, Price priceR, String price, Long lastModifiedLedger, String lastModifiedTime, String sponsor, OfferResponse.Links links) Creates a newOfferResponse
instance.- Parameters:
id
-pagingToken
-seller
-selling
-buying
-amount
-priceR
-price
-lastModifiedLedger
- Can be null if ledger adding an offer has not been ingested yet. *lastModifiedTime
-sponsor
-links
-
-
-
Method Details
-
getId
-
getPagingToken
- Specified by:
getPagingToken
in interfacePageable
-
getSeller
-
getSelling
-
getBuying
-
getAmount
-
getPriceR
-
getPrice
-
getLastModifiedLedger
Can be null if ledger adding an offer has not been ingested yet. * -
getLastModifiedTime
-
getSponsor
-
getLinks
-
toString
-
equals
-
hashCode
public int hashCode()
-