Class PayrunResult
The payrun result client object
Inherited Members
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class PayrunResult : ModelBase, IPayrunResult, IModel, IAttributeObject, IEquatable<IPayrunResult>, INameObject
Constructors
PayrunResult()
Initializes a new instance
Declaration
public PayrunResult()
PayrunResult(PayrunResult)
Initializes a new instance from a copy
Declaration
public PayrunResult(PayrunResult copySource)
Parameters
| Type | Name | Description |
|---|---|---|
| PayrunResult | copySource | The copy source |
Properties
Attributes
Declaration
[JsonPropertyOrder(112)]
public Dictionary<string, object> Attributes { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, object> |
Culture
The payrun 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(110)]
public DateTime End { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Name
The payrun result name
Declaration
[Required]
[JsonPropertyOrder(100)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NameLocalizations
The localized result names
Declaration
[JsonPropertyOrder(101)]
public Dictionary<string, string> NameLocalizations { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
NumericValue
The numeric result value (immutable)
Declaration
[JsonPropertyOrder(108)]
public decimal? NumericValue { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal? |
PayrollResultId
The payroll result id (immutable)
Declaration
[JsonPropertyOrder(102)]
public int PayrollResultId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Slot
The result slot (immutable)
Declaration
[JsonPropertyOrder(104)]
public string Slot { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Source
The result source (immutable)
Declaration
[JsonPropertyOrder(103)]
public string Source { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Start
The period starting date for the value
Declaration
[JsonPropertyOrder(109)]
public DateTime Start { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Tags
The result tags
Declaration
[JsonPropertyOrder(111)]
public List<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Value
The result value (immutable)
Declaration
[Required]
[JsonPropertyOrder(106)]
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ValueType
The value type (immutable)
Declaration
[JsonPropertyOrder(105)]
public ValueType ValueType { get; set; }
Property Value
| Type | Description |
|---|---|
| ValueType |
Methods
Equals(IPayrunResult)
Declaration
public virtual bool Equals(IPayrunResult compare)
Parameters
| Type | Name | Description |
|---|---|---|
| IPayrunResult | 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 |