Click or drag to resize

Money Class

This is an immutable Value class.
Inheritance Hierarchy
SystemObject
  LSRetail.Omni.Domain.DataModel.Base.RetailMoney

Namespace:  LSRetail.Omni.Domain.DataModel.Base.Retail
Assembly:  LSRetail.Omni.Domain.DataModel.Base (in LSRetail.Omni.Domain.DataModel.Base.dll) Version: LS Omni 3.7.0
Syntax
C#
public sealed class Money

The Money type exposes the following members.

Constructors
  NameDescription
Public methodMoney
Initializes a new instance of the Money class
Public methodMoney(Money)
Initializes a new instance of the Money class
Public methodMoney(Decimal, Currency)
Initializes a new instance of the Money class
Public methodMoney(Decimal, String)
Initializes a new instance of the Money class
Top
Properties
Methods
  NameDescription
Public methodAllocate
Allocate the specified numberOfParts, i.e. split into a list of Money entities with equal value parts.
Public methodStatic memberRound
Rounds values to nearest a number of decimals using the currency rounding method.
Public methodRoundForDisplay(Boolean)
Public methodRoundForDisplay(Boolean, DecimalUtilsDecimalFormat)
Public methodRoundForDisplayAbs
Public methodRoundToUnit(Decimal, CurrencyRoundingMethod)
Public methodRoundToUnit(Decimal, Decimal, CurrencyRoundingMethod)
Rounds values to nearest currency unit, i.e 16,45 kr. rounded up if the smallest coin is 10 kr will give 20 kr. or if the smallest coin is 24 aurar(0,25 kr.) then if rounded up it will give 16,50 kr.
Public methodToString (Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Public operatorStatic memberSubtraction
Top
See Also