Package org.stellar.sdk.xdr
Class ContractIDPreimage
java.lang.Object
org.stellar.sdk.xdr.ContractIDPreimage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContractIDPreimagedecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, ContractIDPreimage encodedContractIDPreimage) booleanstatic ContractIDPreimagefromXdrBase64(String xdr) static ContractIDPreimagefromXdrByteArray(byte[] xdr) inthashCode()voidvoidvoidsetFromAsset(Asset value) byte[]
-
Constructor Details
-
ContractIDPreimage
public ContractIDPreimage()
-
-
Method Details
-
getDiscriminant
-
setDiscriminant
-
getFromAddress
-
setFromAddress
-
getFromAsset
-
setFromAsset
-
encode
public static void encode(XdrDataOutputStream stream, ContractIDPreimage encodedContractIDPreimage) throws IOException - Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-