public class CreateAccountOp extends java.lang.Object implements XdrElement
struct CreateAccountOp
{
AccountID destination; // account to create
int64 startingBalance; // amount they end up with
};
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateAccountOp.CreateAccountOpBuilder |
| Constructor and Description |
|---|
CreateAccountOp() |
CreateAccountOp(AccountID destination,
Int64 startingBalance) |
| Modifier and Type | Method and Description |
|---|---|
static CreateAccountOp.CreateAccountOpBuilder |
builder() |
static CreateAccountOp |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static CreateAccountOp |
fromXdrBase64(java.lang.String xdr) |
static CreateAccountOp |
fromXdrByteArray(byte[] xdr) |
AccountID |
getDestination() |
Int64 |
getStartingBalance() |
int |
hashCode() |
void |
setDestination(AccountID destination) |
void |
setStartingBalance(Int64 startingBalance) |
CreateAccountOp.CreateAccountOpBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArraypublic void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static CreateAccountOp decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static CreateAccountOp fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static CreateAccountOp fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static CreateAccountOp.CreateAccountOpBuilder builder()
public CreateAccountOp.CreateAccountOpBuilder toBuilder()
public AccountID getDestination()
public Int64 getStartingBalance()
public void setDestination(AccountID destination)
public void setStartingBalance(Int64 startingBalance)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object