Package org.stellar.sdk
Class ClawbackOperation.Builder
java.lang.Object
org.stellar.sdk.ClawbackOperation.Builder
- Enclosing class:
ClawbackOperation
Builds ClawbackOperation operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an operationsetSourceAccount(String sourceAccount) Set source account of this operation
-
Constructor Details
-
Builder
Creates a new ClawbackOperation builder.- Parameters:
from- The account holding the trustline.asset- The asset held in the trustline.amount- The amount to be clawed back.
-
-
Method Details
-
setSourceAccount
Set source account of this operation- Parameters:
sourceAccount- Source account- Returns:
- Builder object so you can chain methods.
-
build
Builds an operation
-