public final class OfferResponse extends Response implements Pageable
OffersRequestBuilder
,
Server.offers()
Modifier and Type | Class and Description |
---|---|
static class |
OfferResponse.Links
Links connected to ledger.
|
Constructor and Description |
---|
OfferResponse(java.lang.Long id,
java.lang.String pagingToken,
java.lang.String seller,
Asset selling,
Asset buying,
java.lang.String amount,
Price priceR,
java.lang.String price,
java.lang.Long lastModifiedLedger,
java.lang.String lastModifiedTime,
java.lang.String sponsor,
OfferResponse.Links links)
Creates a new
OfferResponse instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAmount() |
Asset |
getBuying() |
java.lang.Long |
getId() |
java.lang.Long |
getLastModifiedLedger()
Can be null if ledger adding an offer has not been ingested yet.
|
java.lang.String |
getLastModifiedTime() |
OfferResponse.Links |
getLinks() |
java.lang.String |
getPagingToken() |
java.lang.String |
getPrice() |
Price |
getPriceR() |
java.lang.String |
getSeller() |
Asset |
getSelling() |
java.lang.String |
getSponsor() |
int |
hashCode() |
java.lang.String |
toString() |
public OfferResponse(java.lang.Long id, java.lang.String pagingToken, java.lang.String seller, Asset selling, Asset buying, java.lang.String amount, Price priceR, java.lang.String price, java.lang.Long lastModifiedLedger, java.lang.String lastModifiedTime, java.lang.String sponsor, OfferResponse.Links links)
OfferResponse
instance.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
- public java.lang.Long getId()
public java.lang.String getPagingToken()
getPagingToken
in interface Pageable
public java.lang.String getSeller()
public Asset getSelling()
public Asset getBuying()
public java.lang.String getAmount()
public Price getPriceR()
public java.lang.String getPrice()
public java.lang.Long getLastModifiedLedger()
public java.lang.String getLastModifiedTime()
public java.lang.String getSponsor()
public OfferResponse.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