Package org.stellar.sdk
Class CreateClaimableBalanceOperation.Builder
java.lang.Object
org.stellar.sdk.CreateClaimableBalanceOperation.Builder
- Enclosing class:
CreateClaimableBalanceOperation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an operationsetSourceAccount(@NonNull String sourceAccount) Sets the source account for this operation.
-
Constructor Details
-
Builder
Creates a new CreateClaimableBalance builder.- Parameters:
amount- The amount which can be claimed.asset- The asset which can be claimed/claimants- The list of entities which can claim the balance.
-
-
Method Details
-
setSourceAccount
public CreateClaimableBalanceOperation.Builder setSourceAccount(@NonNull @NonNull String sourceAccount) Sets the source account for this operation.- Parameters:
sourceAccount- The operation's source account.- Returns:
- Builder object so you can chain methods.
-
build
Builds an operation
-