Package org.stellar.sdk.operations
Class AllowTrustOperation
java.lang.Object
org.stellar.sdk.operations.Operation
org.stellar.sdk.operations.AllowTrustOperation
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAllowTrustOperation.AllowTrustOperationBuilder<C extends AllowTrustOperation,B extends AllowTrustOperation.AllowTrustOperationBuilder<C, B>> Deprecated.static enumDeprecated.Indicates which flags to set for a trust line entry.Nested classes/interfaces inherited from class org.stellar.sdk.operations.Operation
Operation.OperationBuilder<C extends Operation,B extends Operation.OperationBuilder<C, B>> -
Method Summary
Modifier and TypeMethodDescriptionstatic AllowTrustOperation.AllowTrustOperationBuilder<?, ?> builder()Deprecated.booleanDeprecated.static AllowTrustOperationfromXdr(AllowTrustOp op) Deprecated.Construct a newAllowTrustOperationobject from aAllowTrustOpXDR object.@NonNull StringDeprecated.The asset of the trustline the source account is authorizing.Deprecated.Indicates which flags to set for a trust line entry@NonNull StringDeprecated.The account of the recipient of the trustline.inthashCode()Deprecated.Deprecated.toString()Deprecated.Methods inherited from class org.stellar.sdk.operations.Operation
fromXdr, getSourceAccount, setSourceAccount, toXdr, toXdrBase64
-
Method Details
-
fromXdr
Deprecated.Construct a newAllowTrustOperationobject from aAllowTrustOpXDR object.- Parameters:
op-AllowTrustOpXDR object- Returns:
AllowTrustOperationobject
-
builder
Deprecated. -
toBuilder
Deprecated. -
getTrustor
Deprecated.The account of the recipient of the trustline. -
getAssetCode
Deprecated.The asset of the trustline the source account is authorizing. For example, if a gateway wants to allow another account to hold its USD credit, the type is USD. -
getAuthorize
Deprecated.Indicates which flags to set for a trust line entry -
toString
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-
SetTrustlineFlagsOperationRepresents AllowTrust operation.