Class WageTypeCustomResult
The wage type custom result client object
Implements
Inherited Members
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class WageTypeCustomResult : ModelBase, IWageTypeCustomResult, IModel, IAttributeObject, IEquatable<IWageTypeCustomResult>, INumericValueResult
Constructors
WageTypeCustomResult()
Initializes a new instance
Declaration
public WageTypeCustomResult()
WageTypeCustomResult(WageTypeCustomResult)
Initializes a new instance from a copy
Declaration
public WageTypeCustomResult(WageTypeCustomResult copySource)
Parameters
| Type | Name | Description |
|---|---|---|
| WageTypeCustomResult | 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 custom result culture name based on RFC 4646
Declaration
[JsonPropertyOrder(107)]
public string Culture { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
End
The period ending date for the value
Declaration
[JsonPropertyOrder(109)]
public DateTime End { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Source
The value source (immutable)
Declaration
[Required]
[JsonPropertyOrder(104)]
public string Source { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Start
The period starting date for the value
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 |
WageTypeName
The wage type name (immutable)
Declaration
[JsonPropertyOrder(101)]
public string WageTypeName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WageTypeNameLocalizations
The localized wage type names (immutable)
Declaration
[JsonPropertyOrder(103)]
public Dictionary<string, string> WageTypeNameLocalizations { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
WageTypeNumber
The wage type number (immutable)
Declaration
[JsonPropertyOrder(100)]
public decimal WageTypeNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal |
WageTypeResultId
The wage type result id (immutable)
Declaration
[JsonPropertyOrder(102)]
public int WageTypeResultId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
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(IWageTypeCustomResult)
Declaration
public virtual bool Equals(IWageTypeCustomResult compare)
Parameters
| Type | Name | Description |
|---|---|---|
| IWageTypeCustomResult | 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 |