-
public final class BalanceDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBalanceDetails.Companion
-
Field Summary
Fields Modifier and Type Field Description private ULongtotalOnchainBalanceSatsprivate ULongspendableOnchainBalanceSatsprivate ULongtotalAnchorChannelsReserveSatsprivate ULongtotalLightningBalanceSatsprivate List<LightningBalance>lightningBalancesprivate List<PendingSweepBalance>pendingBalancesFromChannelClosures
-
Constructor Summary
Constructors Constructor Description BalanceDetails(ULong totalOnchainBalanceSats, ULong spendableOnchainBalanceSats, ULong totalAnchorChannelsReserveSats, ULong totalLightningBalanceSats, List<LightningBalance> lightningBalances, List<PendingSweepBalance> pendingBalancesFromChannelClosures)
-
Method Summary
Modifier and Type Method Description final ULonggetTotalOnchainBalanceSats()final UnitsetTotalOnchainBalanceSats(ULong totalOnchainBalanceSats)final ULonggetSpendableOnchainBalanceSats()final UnitsetSpendableOnchainBalanceSats(ULong spendableOnchainBalanceSats)final ULonggetTotalAnchorChannelsReserveSats()final UnitsetTotalAnchorChannelsReserveSats(ULong totalAnchorChannelsReserveSats)final ULonggetTotalLightningBalanceSats()final UnitsetTotalLightningBalanceSats(ULong totalLightningBalanceSats)final List<LightningBalance>getLightningBalances()final UnitsetLightningBalances(List<LightningBalance> lightningBalances)final List<PendingSweepBalance>getPendingBalancesFromChannelClosures()final UnitsetPendingBalancesFromChannelClosures(List<PendingSweepBalance> pendingBalancesFromChannelClosures)-
-
Constructor Detail
-
BalanceDetails
BalanceDetails(ULong totalOnchainBalanceSats, ULong spendableOnchainBalanceSats, ULong totalAnchorChannelsReserveSats, ULong totalLightningBalanceSats, List<LightningBalance> lightningBalances, List<PendingSweepBalance> pendingBalancesFromChannelClosures)
-
-
Method Detail
-
getTotalOnchainBalanceSats
final ULong getTotalOnchainBalanceSats()
-
setTotalOnchainBalanceSats
final Unit setTotalOnchainBalanceSats(ULong totalOnchainBalanceSats)
-
getSpendableOnchainBalanceSats
final ULong getSpendableOnchainBalanceSats()
-
setSpendableOnchainBalanceSats
final Unit setSpendableOnchainBalanceSats(ULong spendableOnchainBalanceSats)
-
getTotalAnchorChannelsReserveSats
final ULong getTotalAnchorChannelsReserveSats()
-
setTotalAnchorChannelsReserveSats
final Unit setTotalAnchorChannelsReserveSats(ULong totalAnchorChannelsReserveSats)
-
getTotalLightningBalanceSats
final ULong getTotalLightningBalanceSats()
-
setTotalLightningBalanceSats
final Unit setTotalLightningBalanceSats(ULong totalLightningBalanceSats)
-
getLightningBalances
final List<LightningBalance> getLightningBalances()
-
setLightningBalances
final Unit setLightningBalances(List<LightningBalance> lightningBalances)
-
getPendingBalancesFromChannelClosures
final List<PendingSweepBalance> getPendingBalancesFromChannelClosures()
-
setPendingBalancesFromChannelClosures
final Unit setPendingBalancesFromChannelClosures(List<PendingSweepBalance> pendingBalancesFromChannelClosures)
-
-
-
-