SetTrustlineFlagsOperation
Represents AllowTrust operation.
@Deprecated public class AllowTrustOperation extends Operation
Modifier and Type | Class and Description |
---|---|
static class |
AllowTrustOperation.AllowTrustOperationBuilder<C extends AllowTrustOperation,B extends AllowTrustOperation.AllowTrustOperationBuilder<C,B>>
Deprecated.
|
static class |
AllowTrustOperation.TrustLineEntryFlag
Deprecated.
Indicates which flags to set for a trust line entry.
|
Operation.OperationBuilder<C extends Operation,B extends Operation.OperationBuilder<C,B>>
Modifier and Type | Method and Description |
---|---|
static AllowTrustOperation.AllowTrustOperationBuilder<?,?> |
builder()
Deprecated.
|
boolean |
equals(java.lang.Object o)
Deprecated.
|
static AllowTrustOperation |
fromXdr(AllowTrustOp op)
Deprecated.
Construct a new
AllowTrustOperation object from a AllowTrustOp XDR object. |
@NonNull java.lang.String |
getAssetCode()
Deprecated.
The asset of the trustline the source account is authorizing.
|
@NonNull AllowTrustOperation.TrustLineEntryFlag |
getAuthorize()
Deprecated.
Indicates which flags to set for a trust line entry
|
@NonNull java.lang.String |
getTrustor()
Deprecated.
The account of the recipient of the trustline.
|
int |
hashCode()
Deprecated.
|
AllowTrustOperation.AllowTrustOperationBuilder<?,?> |
toBuilder()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
formatAmountScale, fromXdr, fromXdrAmount, getSourceAccount, setSourceAccount, toXdr, toXdrAmount, toXdrBase64
public static AllowTrustOperation fromXdr(AllowTrustOp op)
AllowTrustOperation
object from a AllowTrustOp
XDR object.op
- AllowTrustOp
XDR objectAllowTrustOperation
objectpublic static AllowTrustOperation.AllowTrustOperationBuilder<?,?> builder()
public AllowTrustOperation.AllowTrustOperationBuilder<?,?> toBuilder()
@NonNull public @NonNull java.lang.String getTrustor()
@NonNull public @NonNull java.lang.String getAssetCode()
@NonNull public @NonNull AllowTrustOperation.TrustLineEntryFlag getAuthorize()
public java.lang.String toString()
toString
in class java.lang.Object