Payment class

Represents a Payment https://xrpl.org/payment.html transaction, which sends value from one account to another. (Depending on the path taken, this can involve additional exchanges of value, which occur atomically.) This transaction type can be used for several types of payments [http://xrpl.local/payment.html#types-of-payments](http://xrpl.local/payment.html#types-of-payments). Payments are also the only way to create accounts http://xrpl.local/payment.html#creating-accounts.

Inheritance

Constructors

Payment({required CurrencyAmount amount, required String destination, required String account, List<String> multiSigSigners = const [], String? accountTxId, String? fee, int? lastLedgerSequence, int? sequence, dynamic flags = 0, List<XRPLMemo>? memos = const [], int? networkId, List<XRPLSigners>? signers, String signingPubKey = "", int? sourceTag, int? ticketSequance, String? txnSignature, int? destinationTag, String? invoiceId, List<List<PathStep>>? paths, String? sendMax, String? deliverMin})
amount The amount of currency to deliver. If the Partial Payment flag is set, deliver up to this amount instead destination The address of the account receiving the payment invoiceId Arbitrary 256-bit hash representing a specific reason or identifier for this Check. paths Array of payment paths to be used (for a cross-currency payment). Must be omitted for XRP-to-XRP transactions. sendMax Maximum amount of source currency this transaction is allowed to cost deliverMin Minimum amount of destination currency this transaction should deliver
Payment.fromJson(Map<String, dynamic> json)

Properties

account String
finalinherited
accountTxId String?
finalinherited
amount CurrencyAmount
final
deliverMin String?
final
destination String
final
destinationTag int?
final
fee String?
getter/setter pairinherited
flags → dynamic
finalinherited
hashCode int
The hash code for this object.
no setterinherited
invoiceId String?
final
lastLedgerSequence int?
getter/setter pairinherited
memos List<XRPLMemo>?
getter/setter pairinherited
multiSigSigners List<String>
finalinherited
networkId int?
getter/setter pairinherited
paths List<List<PathStep>>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendMax String?
final
sequence int?
getter/setter pairinherited
signers List<XRPLSigners>?
getter/setter pairinherited
signingPubKey String
getter/setter pairinherited
sourceTag int?
finalinherited
ticketSequance int?
finalinherited
transactionType XRPLTransactionType
finalinherited
txnSignature String?
getter/setter pairinherited

Methods

getHash() String
inherited
isSigned() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setFee(String? newFee) → void
inherited
setLastLedgerSequence(int? newSequance) → void
inherited
setMultiSigSignatur(List<XRPLSigners> sigs) → void
inherited
setNetworkId(int? network) → void
inherited
setSequence(int? newSequance) → void
inherited
setSignature(String? sig) → void
inherited
toBlob({bool forSigning = true}) String
inherited
toJson() Map<String, dynamic>
override
toMultisigBlob(String address) String
inherited
toString() String
A string representation of this object.
inherited
toXrpl() Map<String, dynamic>
inherited

Operators

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