-
- All Implemented Interfaces:
-
org.lightningdevkit.ldknode.Disposable
public final class Bolt11PaymentInfo implements Disposable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBolt11PaymentInfo.Companion
-
Field Summary
Fields Modifier and Type Field Description private PaymentStatestateprivate StringexpiresAtprivate ULongfeeTotalSatprivate ULongorderTotalSatprivate Bolt11Invoiceinvoice
-
Constructor Summary
Constructors Constructor Description Bolt11PaymentInfo(PaymentState state, String expiresAt, ULong feeTotalSat, ULong orderTotalSat, Bolt11Invoice invoice)
-
Method Summary
Modifier and Type Method Description final PaymentStategetState()final UnitsetState(PaymentState state)final StringgetExpiresAt()final UnitsetExpiresAt(String expiresAt)final ULonggetFeeTotalSat()final UnitsetFeeTotalSat(ULong feeTotalSat)final ULonggetOrderTotalSat()final UnitsetOrderTotalSat(ULong orderTotalSat)final Bolt11InvoicegetInvoice()final UnitsetInvoice(Bolt11Invoice invoice)Unitdestroy()-
-
Constructor Detail
-
Bolt11PaymentInfo
Bolt11PaymentInfo(PaymentState state, String expiresAt, ULong feeTotalSat, ULong orderTotalSat, Bolt11Invoice invoice)
-
-
Method Detail
-
getState
final PaymentState getState()
-
setState
final Unit setState(PaymentState state)
-
getExpiresAt
final String getExpiresAt()
-
setExpiresAt
final Unit setExpiresAt(String expiresAt)
-
getFeeTotalSat
final ULong getFeeTotalSat()
-
setFeeTotalSat
final Unit setFeeTotalSat(ULong feeTotalSat)
-
getOrderTotalSat
final ULong getOrderTotalSat()
-
setOrderTotalSat
final Unit setOrderTotalSat(ULong orderTotalSat)
-
getInvoice
final Bolt11Invoice getInvoice()
-
setInvoice
final Unit setInvoice(Bolt11Invoice invoice)
-
-
-
-