ReceivePaymentResponse class

Represents a receive payment response.

Breez SDK may have to open a new channel to receive this payment. In that case, the channel will be opened automatically when the invoice is paid, and the fees will be described in the opening_fee_params and opening_fee_msat fields.

Constructors

ReceivePaymentResponse({required LNInvoice lnInvoice, OpeningFeeParams? openingFeeParams, int? openingFeeMsat})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
lnInvoice LNInvoice
The generated invoice, including any necessary routing hints
final
openingFeeMsat int?
If set, this is the channel opening fee that will be deduced from the invoice amount.
final
openingFeeParams OpeningFeeParams?
If set, these are the OpeningFeeParams used to calculate the channel opening fees.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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