Class AccountingValue
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
public class AccountingValue
- Inheritance
-
AccountingValue
Constructors
AccountingValue()
AccountingValue(decimal)
public AccountingValue(decimal value)
Parameters
AccountingValue(decimal, bool)
public AccountingValue(decimal value, bool mustRound)
Parameters
Properties
CreditAmount
public decimal CreditAmount { get; }
Property Value
- decimal
DebitAmount
public decimal DebitAmount { get; }
Property Value
- decimal
MustRound
public bool MustRound { get; set; }
Property Value
- bool
PositiveValue
public decimal PositiveValue { get; }
Property Value
- decimal
Rounded
public bool Rounded { get; set; }
Property Value
- bool
Value
public decimal Value { get; set; }
Property Value
- decimal
ValueType
public AccountingValueTypeEnum ValueType { get; set; }
Property Value
- AccountingValueTypeEnum
VarType
public AccountingVarTypeEnum VarType { get; set; }
Property Value
- AccountingVarTypeEnum
Methods
ChangeSide()
public AccountingValue ChangeSide()
Returns
- AccountingValue
ChangeSide(bool)
public AccountingValue ChangeSide(bool value)
Parameters
| Nome |
Tipo |
Descrição |
value |
bool |
|
Returns
- AccountingValue
HaveValue()
Returns
- bool
RoundValue(int)
public bool RoundValue(int decimals)
Parameters
| Nome |
Tipo |
Descrição |
decimals |
int |
|
Returns
- bool
Operators
operator +(AccountingValue, AccountingValue)
public static AccountingValue operator +(AccountingValue first, AccountingValue second)
Parameters
Returns
- AccountingValue
operator +(AccountingValue, decimal)
public static AccountingValue operator +(AccountingValue first, decimal second)
Parameters
Returns
- AccountingValue
operator -(AccountingValue, AccountingValue)
public static AccountingValue operator -(AccountingValue first, AccountingValue second)
Parameters
Returns
- AccountingValue