Class WageTypeResult
The wage type result client object
Inherited Members
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class WageTypeResult : ModelBase, IWageTypeResult, IModel, IAttributeObject, IEquatable<IWageTypeResult>, INumericValueResult
Constructors
WageTypeResult()
Initializes a new instance
Declaration
public WageTypeResult()
WageTypeResult(WageTypeResult)
Initializes a new instance from a copy
Declaration
public WageTypeResult(WageTypeResult copySource)
Parameters
| Type | Name | Description |
|---|---|---|
| WageTypeResult | copySource | The copy source |
Properties
Attributes
Declaration
[JsonPropertyOrder(111)]
public Dictionary<string, object> Attributes { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, object> |
Culture
The wage type result culture name based on RFC 4646
Declaration
[JsonPropertyOrder(107)]
public string Culture { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
End
The ending date for the value (immutable)
Declaration
[JsonPropertyOrder(109)]
public DateTime End { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
PayrollResultId
The payroll result id (immutable)
Declaration
[JsonPropertyOrder(101)]
public int PayrollResultId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Start
The starting date for the value (immutable)
Declaration
[JsonPropertyOrder(108)]
public DateTime Start { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Tags
The result tags
Declaration
[JsonPropertyOrder(110)]
public List<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Value
The collector custom result value (immutable)
Declaration
[JsonPropertyOrder(106)]
public decimal? Value { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal? |
Remarks
Nullable for tests
ValueType
The value type (immutable)
Declaration
[JsonPropertyOrder(105)]
public ValueType ValueType { get; set; }
Property Value
| Type | Description |
|---|---|
| ValueType |
WageTypeId
The wage type id (immutable)
Declaration
[JsonPropertyOrder(102)]
public int WageTypeId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
WageTypeName
The wage type name (immutable)
Declaration
[JsonPropertyOrder(103)]
public string WageTypeName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WageTypeNameLocalizations
The localized wage type names (immutable)
Declaration
[JsonPropertyOrder(104)]
public Dictionary<string, string> WageTypeNameLocalizations { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
WageTypeNumber
The wage type number (immutable)
Declaration
[Required]
[JsonPropertyOrder(100)]
public decimal WageTypeNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal |
Methods
AlmostEqualValue(decimal?, int)
Test if value is almost equal value using a test precision
Declaration
public virtual bool AlmostEqualValue(decimal? compare, int precision)
Parameters
| Type | Name | Description |
|---|---|---|
| decimal? | compare | The value to compare |
| int | precision | The test precision |
Returns
| Type | Description |
|---|---|
| bool | True for almost equal values |
Equals(IWageTypeResult)
Declaration
public virtual bool Equals(IWageTypeResult compare)
Parameters
| Type | Name | Description |
|---|---|---|
| IWageTypeResult | compare |
Returns
| Type | Description |
|---|---|
| bool |
GetUiString()
The object UI string
Declaration
public override string GetUiString()
Returns
| Type | Description |
|---|---|
| string |
Overrides
ToString()
Returns a string that represents this instance
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents this instance |