public class CreateAccountOperation extends Operation
Modifier and Type | Class and Description |
---|---|
static class |
CreateAccountOperation.CreateAccountOperationBuilder<C extends CreateAccountOperation,B extends CreateAccountOperation.CreateAccountOperationBuilder<C,B>> |
Operation.OperationBuilder<C extends Operation,B extends Operation.OperationBuilder<C,B>>
Modifier and Type | Method and Description |
---|---|
static CreateAccountOperation.CreateAccountOperationBuilder<?,?> |
builder() |
boolean |
equals(java.lang.Object o) |
static CreateAccountOperation |
fromXdr(CreateAccountOp op)
Construct a new
CreateAccountOperation object from a CreateAccountOp XDR
object. |
@NonNull java.lang.String |
getDestination()
Account that is created and funded
|
@NonNull java.math.BigDecimal |
getStartingBalance()
Amount of XLM to send to the newly created account (max of 7 decimal places).
|
int |
hashCode() |
CreateAccountOperation.CreateAccountOperationBuilder<?,?> |
toBuilder() |
java.lang.String |
toString() |
formatAmountScale, fromXdr, fromXdrAmount, getSourceAccount, setSourceAccount, toXdr, toXdrAmount, toXdrBase64
public static CreateAccountOperation fromXdr(CreateAccountOp op)
CreateAccountOperation
object from a CreateAccountOp
XDR
object.op
- CreateAccountOp
XDR objectCreateAccountOperation
objectpublic static CreateAccountOperation.CreateAccountOperationBuilder<?,?> builder()
public CreateAccountOperation.CreateAccountOperationBuilder<?,?> toBuilder()
@NonNull public @NonNull java.lang.String getDestination()
@NonNull public @NonNull java.math.BigDecimal getStartingBalance()
public java.lang.String toString()
toString
in class java.lang.Object