Package org.stellar.sdk.xdr
Class ClaimOfferAtomV0
java.lang.Object
org.stellar.sdk.xdr.ClaimOfferAtomV0
ClaimOfferAtomV0's original definition in the XDR file is:
struct ClaimOfferAtomV0 { // emitted to identify the offer uint256 sellerEd25519; // Account that owns the offer int64 offerID; // amount and asset taken from the owner Asset assetSold; int64 amountSold; // amount and asset sent to the owner Asset assetBought; int64 amountBought; };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ClaimOfferAtomV0
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ClaimOfferAtomV0
fromXdrBase64
(String xdr) static ClaimOfferAtomV0
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setAmountBought
(Int64 amountBought) void
setAmountSold
(Int64 amountSold) void
setAssetBought
(Asset assetBought) void
setAssetSold
(Asset assetSold) void
setOfferID
(Int64 offerID) void
setSellerEd25519
(Uint256 sellerEd25519) toString()
default String
default byte[]
-
Constructor Details
-
ClaimOfferAtomV0
public ClaimOfferAtomV0() -
ClaimOfferAtomV0
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getSellerEd25519
-
getOfferID
-
getAssetSold
-
getAmountSold
-
getAssetBought
-
getAmountBought
-
setSellerEd25519
-
setOfferID
-
setAssetSold
-
setAmountSold
-
setAssetBought
-
setAmountBought
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-