Package org.stellar.sdk.operations
Class ChangeTrustOperation.ChangeTrustOperationBuilder<C extends ChangeTrustOperation,B extends ChangeTrustOperation.ChangeTrustOperationBuilder<C,B>>
java.lang.Object
org.stellar.sdk.operations.Operation.OperationBuilder<C,B>
org.stellar.sdk.operations.ChangeTrustOperation.ChangeTrustOperationBuilder<C,B>
- Enclosing class:
ChangeTrustOperation
public abstract static class ChangeTrustOperation.ChangeTrustOperationBuilder<C extends ChangeTrustOperation,B extends ChangeTrustOperation.ChangeTrustOperationBuilder<C,B>>
extends Operation.OperationBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasset
(@NonNull ChangeTrustAsset asset) The asset of the trustline.abstract C
build()
limit
(@NonNull BigDecimal limit) toString()
Methods inherited from class org.stellar.sdk.operations.Operation.OperationBuilder
sourceAccount
-
Constructor Details
-
ChangeTrustOperationBuilder
public ChangeTrustOperationBuilder()
-
-
Method Details
-
limit
-
asset
The asset of the trustline. For example, if a gateway extends a trustline of up to 200 USD to a user, the line is USD.- Returns:
this
.
-
build
- Specified by:
build
in classOperation.OperationBuilder<C extends ChangeTrustOperation,
B extends ChangeTrustOperation.ChangeTrustOperationBuilder<C, B>>
-
toString
- Overrides:
toString
in classOperation.OperationBuilder<C extends ChangeTrustOperation,
B extends ChangeTrustOperation.ChangeTrustOperationBuilder<C, B>>
-