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, toXdrByteArray
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static CreateAccountOp decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static CreateAccountOp fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static CreateAccountOp fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public 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.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object