DotNetLightning


LNMoney Type

Port from LightMoney class in BTCPayServer.Lightning Represents millisatoshi amount of money

Union cases

Union case Description

LNMoney int64

Full Usage: LNMoney int64

Parameters:
    Item : int64

Item : int64

Instance members

Instance member Description

this.Abs

Full Usage: this.Abs

Returns: LNMoney
Returns: LNMoney

this.BTC

Full Usage: this.BTC

Returns: int64
Returns: int64

this.MilliSatoshi

Full Usage: this.MilliSatoshi

Returns: int64
Returns: int64

this.Satoshi

Full Usage: this.Satoshi

Returns: int64
Returns: int64

this.Split

Full Usage: this.Split

Parameters:
    parts : int

Returns: seq<LNMoney>
parts : int
Returns: seq<LNMoney>

this.ToMoney

Full Usage: this.ToMoney

Returns: Money
Returns: Money

this.Value

Full Usage: this.Value

Returns: int64
Returns: int64

Static members

Static member Description

arg0 * b

Full Usage: arg0 * b

Parameters:
Returns: LNMoney
Modifiers: inline
arg0 : LNMoney
b : ^a
Returns: LNMoney

arg0 * arg1

Full Usage: arg0 * arg1

Parameters:
Returns: LNMoney
arg0 : LNMoney
arg1 : LNMoney
Returns: LNMoney

arg0 + b

Full Usage: arg0 + b

Parameters:
Returns: LNMoney
Modifiers: inline
arg0 : LNMoney
b : ^a
Returns: LNMoney

arg0 + arg1

Full Usage: arg0 + arg1

Parameters:
Returns: LNMoney
arg0 : LNMoney
arg1 : LNMoney
Returns: LNMoney

arg0 - b

Full Usage: arg0 - b

Parameters:
Returns: LNMoney
Modifiers: inline
arg0 : LNMoney
b : ^a
Returns: LNMoney

arg0 - arg1

Full Usage: arg0 - arg1

Parameters:
Returns: LNMoney
arg0 : LNMoney
arg1 : LNMoney
Returns: LNMoney

arg0 / b

Full Usage: arg0 / b

Parameters:
Returns: LNMoney
Modifiers: inline
arg0 : LNMoney
b : ^a
Returns: LNMoney

arg0 / arg1

Full Usage: arg0 / arg1

Parameters:
Returns: LNMoney
arg0 : LNMoney
arg1 : LNMoney
Returns: LNMoney

LNMoney.Coins(coins)

Full Usage: LNMoney.Coins(coins)

Parameters:
    coins : decimal

Returns: LNMoney
coins : decimal
Returns: LNMoney

LNMoney.FromMoney(money)

Full Usage: LNMoney.FromMoney(money)

Parameters:
Returns: LNMoney
money : Money
Returns: LNMoney

LNMoney.Max(arg1, arg2)

Full Usage: LNMoney.Max(arg1, arg2)

Parameters:
Returns: LNMoney
arg0 : LNMoney
arg1 : LNMoney
Returns: LNMoney

LNMoney.MaxValue

Full Usage: LNMoney.MaxValue

Returns: LNMoney
Returns: LNMoney

LNMoney.MilliSatoshis(sats)

Full Usage: LNMoney.MilliSatoshis(sats)

Parameters:
    sats : uint32

Returns: LNMoney
sats : uint32
Returns: LNMoney

LNMoney.MilliSatoshis(sats)

Full Usage: LNMoney.MilliSatoshis(sats)

Parameters:
    sats : int

Returns: LNMoney
sats : int
Returns: LNMoney

LNMoney.MilliSatoshis(sats)

Full Usage: LNMoney.MilliSatoshis(sats)

Parameters:
    sats : uint64

Returns: LNMoney
sats : uint64
Returns: LNMoney

LNMoney.MilliSatoshis(sats)

Full Usage: LNMoney.MilliSatoshis(sats)

Parameters:
    sats : int64

Returns: LNMoney
sats : int64
Returns: LNMoney

LNMoney.Min(arg1, arg2)

Full Usage: LNMoney.Min(arg1, arg2)

Parameters:
Returns: LNMoney
arg0 : LNMoney
arg1 : LNMoney
Returns: LNMoney

LNMoney.One

Full Usage: LNMoney.One

Returns: LNMoney
Returns: LNMoney

LNMoney.Parse(bitcoin)

Full Usage: LNMoney.Parse(bitcoin)

Parameters:
    bitcoin : string

Returns: LNMoney
bitcoin : string
Returns: LNMoney

LNMoney.Satoshis(sats)

Full Usage: LNMoney.Satoshis(sats)

Parameters:
    sats : uint32

Returns: LNMoney
sats : uint32
Returns: LNMoney

LNMoney.Satoshis(sats)

Full Usage: LNMoney.Satoshis(sats)

Parameters:
    sats : int

Returns: LNMoney
sats : int
Returns: LNMoney

LNMoney.Satoshis(sats)

Full Usage: LNMoney.Satoshis(sats)

Parameters:
    sats : uint64

Returns: LNMoney
sats : uint64
Returns: LNMoney

LNMoney.Satoshis(sats)

Full Usage: LNMoney.Satoshis(sats)

Parameters:
    sats : int64

Returns: LNMoney
sats : int64
Returns: LNMoney

LNMoney.Satoshis(satoshis)

Full Usage: LNMoney.Satoshis(satoshis)

Parameters:
    satoshis : decimal

Returns: LNMoney
satoshis : decimal
Returns: LNMoney

LNMoney.TryParse(bitcoin, result)

Full Usage: LNMoney.TryParse(bitcoin, result)

Parameters:
    bitcoin : string
    result : outref<LNMoney>

Returns: bool
bitcoin : string
result : outref<LNMoney>
Returns: bool

LNMoney.Zero

Full Usage: LNMoney.Zero

Returns: LNMoney
Returns: LNMoney

op_Implicitmoney

Full Usage: op_Implicitmoney

Parameters:
Returns: LNMoney
money : Money
Returns: LNMoney