Package org.stellar.sdk.xdr
Class LedgerKey.LedgerKeyOffer
java.lang.Object
org.stellar.sdk.xdr.LedgerKey.LedgerKeyOffer
- Enclosing class:
LedgerKey
LedgerKeyOffer's original definition in the XDR file is:
struct { AccountID sellerID; int64 offerID; }
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static LedgerKey.LedgerKeyOffer
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static LedgerKey.LedgerKeyOffer
fromXdrBase64
(String xdr) static LedgerKey.LedgerKeyOffer
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setOfferID
(Int64 offerID) void
setSellerID
(AccountID sellerID) toString()
default String
default byte[]
-
Constructor Details
-
LedgerKeyOffer
public LedgerKeyOffer() -
LedgerKeyOffer
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getSellerID
-
getOfferID
-
setSellerID
-
setOfferID
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-