Package org.stellar.sdk.xdr
Class HashIDPreimage.HashIDPreimageRevokeID
java.lang.Object
org.stellar.sdk.xdr.HashIDPreimage.HashIDPreimageRevokeID
- Enclosing class:
HashIDPreimage
HashIDPreimageRevokeID's original definition in the XDR file is:
struct
{
AccountID sourceAccount;
SequenceNumber seqNum;
uint32 opNum;
PoolID liquidityPoolID;
Asset asset;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionHashIDPreimageRevokeID(AccountID sourceAccount, SequenceNumber seqNum, Uint32 opNum, PoolID liquidityPoolID, Asset asset) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) getAsset()getOpNum()inthashCode()voidvoidsetLiquidityPoolID(PoolID liquidityPoolID) voidvoidsetSeqNum(SequenceNumber seqNum) voidsetSourceAccount(AccountID sourceAccount) toString()default Stringdefault byte[]
-
Constructor Details
-
HashIDPreimageRevokeID
public HashIDPreimageRevokeID() -
HashIDPreimageRevokeID
public HashIDPreimageRevokeID(AccountID sourceAccount, SequenceNumber seqNum, Uint32 opNum, PoolID liquidityPoolID, Asset asset)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static HashIDPreimage.HashIDPreimageRevokeID decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getSourceAccount
-
getSeqNum
-
getOpNum
-
getLiquidityPoolID
-
getAsset
-
setSourceAccount
-
setSeqNum
-
setOpNum
-
setLiquidityPoolID
-
setAsset
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-