PaymentOperationBuilder class
Constructors
-
PaymentOperationBuilder(String destinationAccountId,
Asset asset, String amount ) -
Creates a PaymentOperation builder.
destinationAccountId
account id of the receiver.asset
Asset to be sent.amount
Amount to be sent. -
PaymentOperationBuilder.forMuxedDestinationAccount(MuxedAccount destinationAccount,
Asset asset, String amount ) -
Creates a PaymentOperation builder using a MuxedAccount as a destination.
destinationAccount
MuxedAccount having the accountId of the receiver.asset
Asset to be sent.amount
Amount to be sent.
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
build(
) → PaymentOperation - Builds an operation
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
setMuxedSourceAccount(
MuxedAccount sourceAccount ) → PaymentOperationBuilder -
setSourceAccount(
String sourceAccountId ) → PaymentOperationBuilder - Sets the source account for this operation.
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other ) → bool -
The equality operator. [...]
inherited