BeginSponsoringFutureReservesOperationBuilder
in package
Builder for creating BeginSponsoringFutureReserves operations.
This builder implements the builder pattern to construct BeginSponsoringFutureReservesOperation instances with a fluent interface. This operation begins sponsoring future reserve requirements for another account, allowing the source account to pay for the sponsored account's base reserves.
Tags
Table of Contents
Methods
- __construct() : mixed
- Creates a new BeginSponsoringFutureReserves operation builder.
- build() : BeginSponsoringFutureReservesOperation
- Builds the BeginSponsoringFutureReserves 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 BeginSponsoringFutureReserves operation builder.
public
__construct(string $sponsoredId) : mixed
Parameters
- $sponsoredId : string
-
The account ID that will be sponsored
build()
Builds the BeginSponsoringFutureReserves operation.
public
build() : BeginSponsoringFutureReservesOperation
Return values
BeginSponsoringFutureReservesOperation —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