PathPaymentStrictReceiveOperationBuilder class

Builder for constructing PathPaymentStrictReceive operations.

Provides a fluent interface for building PathPaymentStrictReceive operations with optional parameters. Supports both regular account IDs and muxed accounts as destinations.

Example:

var operation = PathPaymentStrictReceiveOperationBuilder(
  sendAsset,
  "150.0",
  destinationAccountId,
  destAsset,
  "100.0"
).setPath([intermediateAsset]).build();
Inheritance

Constructors

PathPaymentStrictReceiveOperationBuilder(Asset _sendAsset, String _sendMax, String destinationAccountId, Asset _destAsset, String _destAmount)
Creates a PathPaymentStrictReceive operation builder with an account ID destination.
PathPaymentStrictReceiveOperationBuilder.forMuxedDestinationAccount(Asset _sendAsset, String _sendMax, MuxedAccount _destination, Asset _destAsset, String _destAmount)
Creates a PathPaymentStrictReceive operation builder with a muxed account destination.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

applySourceAccount<T extends Operation>(T operation) → T
Applies the configured source account, if any, to operation and returns it. Called by subclasses at the end of their build() method.
inherited
build() → PathPaymentStrictReceiveOperation
Builds the PathPaymentStrictReceive operation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setMuxedSourceAccount(MuxedAccount sourceAccount) → PathPaymentStrictReceiveOperationBuilder
Sets the muxed source account for this operation.
inherited
setPath(List<Asset> path) → PathPaymentStrictReceiveOperationBuilder
Sets the conversion path for this operation.
setSourceAccount(String sourceAccountId) → PathPaymentStrictReceiveOperationBuilder
Sets the source account for this operation.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited