Package org.stellar.sdk.xdr
Class CreateAccountOp
java.lang.Object
org.stellar.sdk.xdr.CreateAccountOp
- All Implemented Interfaces:
XdrElement
CreateAccountOp's original definition in the XDR file is:
struct CreateAccountOp
{
AccountID destination; // account to create
int64 startingBalance; // amount they end up with
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static CreateAccountOpdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic CreateAccountOpfromXdrBase64(String xdr) static CreateAccountOpfromXdrByteArray(byte[] xdr) inthashCode()voidsetDestination(AccountID destination) voidsetStartingBalance(Int64 startingBalance) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
CreateAccountOp
public CreateAccountOp() -
CreateAccountOp
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDestination
-
getStartingBalance
-
setDestination
-
setStartingBalance
-
equals
-
hashCode
public int hashCode() -
toString
-