Class LookupRangeBracket
A lookup range bracket with computed bounds
Inherited Members
Namespace: PayrollEngine.Client.Scripting
Assembly: PayrollEngine.Client.Scripting.dll
Syntax
public class LookupRangeBracket
Constructors
View SourceLookupRangeBracket()
Declaration
public LookupRangeBracket()
Properties
View SourceIsUnlimited
Test for unlimited bracket
Declaration
public bool IsUnlimited { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Key
The lookup value key
Declaration
public string Key { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RangeEnd
The range end value (unbound bracket: Decimal.MaxValue)
Declaration
public decimal RangeEnd { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal |
RangeStart
The range start value
Declaration
public decimal RangeStart { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal |
RangeValue
The original range value from the lookup value
Declaration
public decimal? RangeValue { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal? |
Remarks
For threshold lookups, the value within the matching bracket is displayed. For progressive lookups, it is the sum of all the matching brackets, excluding the final one, which has its own value. For all other lookup types, the value is null.
Value
The lookup value as JSON
Declaration
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |