ClaimClaimableBalanceOperationBuilder
in package
Builder for creating ClaimClaimableBalance operations.
This builder implements the builder pattern to construct ClaimClaimableBalanceOperation instances with a fluent interface. This operation claims a claimable balance entry, transferring its contents to the claiming account.
Tags
Table of Contents
Methods
- __construct() : mixed
- Creates a new ClaimClaimableBalance operation builder.
- build() : ClaimClaimableBalanceOperation
- Builds the ClaimClaimableBalance operation.
- setMuxedSourceAccount() : $this
- Sets the muxed source account for this operation.
- setSourceAccount() : $this
- Sets the source account for this operation.
Methods
__construct()
Creates a new ClaimClaimableBalance operation builder.
public
__construct(string $balanceId) : mixed
Parameters
- $balanceId : string
-
The claimable balance ID
build()
Builds the ClaimClaimableBalance operation.
public
build() : ClaimClaimableBalanceOperation
Return values
ClaimClaimableBalanceOperation —The constructed operation
setMuxedSourceAccount()
Sets the muxed source account for this operation.
public
setMuxedSourceAccount(MuxedAccount $sourceAccount) : $this
Parameters
- $sourceAccount : MuxedAccount
-
The muxed account to use as source
Return values
$this —Returns the builder instance for method chaining
setSourceAccount()
Sets the source account for this operation.
public
setSourceAccount(string $accountId) : $this
Parameters
- $accountId : string
-
The Stellar account ID (G...)
Return values
$this —Returns the builder instance for method chaining