ReceivePaymentRequest class
Represents a receive payment request.
Constructors
- ReceivePaymentRequest({required int amountMsat, required String description, Uint8List? preimage, OpeningFeeParams? openingFeeParams, bool? useDescriptionHash, int? expiry, int? cltv})
-
const
Properties
- amountMsat → int
-
The amount in satoshis for this payment request
final
- cltv → int?
-
if specified, sets the min_final_cltv_expiry for the invoice
final
- description → String
-
The description for this payment request.
final
- expiry → int?
-
if specified, set the time the invoice is valid for, in seconds.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- openingFeeParams → OpeningFeeParams?
-
If set and valid, these fess options are used when a new channels is needed.
Otherwise the default fee options will be used.
final
- preimage → Uint8List?
-
Optional preimage for this payment request.
If specified, it will be used instead of generating a new one.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useDescriptionHash → bool?
-
If set to true, then the bolt11 invoice returned includes the description hash.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited