Show / Hide Table of Contents

Class WageType

The payroll wage type client object

Inheritance
object
ModelBase
WageType
Implements
IWageType
IModel
IAttributeObject
IKeyEquatable<IWageType>
IEquatable<IWageType>
INameObject
Inherited Members
ModelBase.ToString()
ModelBase.Id
ModelBase.IsExistingObject
ModelBase.IsNewObject
ModelBase.Status
ModelBase.Created
ModelBase.Updated
ModelBase.UpdateMode
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class WageType : ModelBase, IWageType, IModel, IAttributeObject, IKeyEquatable<IWageType>, IEquatable<IWageType>, INameObject

Constructors

WageType()

Initializes a new instance

Declaration
public WageType()

WageType(WageType)

Initializes a new instance from a copy

Declaration
public WageType(WageType copySource)
Parameters
Type Name Description
WageType copySource

The copy source

Properties

Attributes

Declaration
[JsonPropertyOrder(117)]
public Dictionary<string, object> Attributes { get; set; }
Property Value
Type Description
Dictionary<string, object>

Calendar

The wage type calendar (fallback: employee calendar)

Declaration
[JsonPropertyOrder(106)]
public string Calendar { get; set; }
Property Value
Type Description
string

Clusters

The wage type clusters

Declaration
[JsonPropertyOrder(116)]
public List<string> Clusters { get; set; }
Property Value
Type Description
List<string>

CollectorGroups

Associated collector groups

Declaration
[JsonPropertyOrder(115)]
public List<string> CollectorGroups { get; set; }
Property Value
Type Description
List<string>

Collectors

Associated collectors

Declaration
[JsonPropertyOrder(114)]
public List<string> Collectors { get; set; }
Property Value
Type Description
List<string>

Culture

The wage type culture name based on RFC 4646

Declaration
[JsonPropertyOrder(107)]
public string Culture { get; set; }
Property Value
Type Description
string

Description

The wage type description

Declaration
[JsonPropertyOrder(102)]
public string Description { get; set; }
Property Value
Type Description
string

DescriptionLocalizations

The localized wage type descriptions

Declaration
[JsonPropertyOrder(103)]
public Dictionary<string, string> DescriptionLocalizations { get; set; }
Property Value
Type Description
Dictionary<string, string>

Name

The wage type name

Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(100)]
public string Name { get; set; }
Property Value
Type Description
string

NameLocalizations

The localized wage type names

Declaration
[JsonPropertyOrder(101)]
public Dictionary<string, string> NameLocalizations { get; set; }
Property Value
Type Description
Dictionary<string, string>

OverrideType

The override type

Declaration
[JsonPropertyOrder(104)]
public OverrideType OverrideType { get; set; }
Property Value
Type Description
OverrideType

ResultActions

The wage type result actions

Declaration
[JsonPropertyOrder(113)]
public List<string> ResultActions { get; set; }
Property Value
Type Description
List<string>

ResultExpression

Expression: calculates of the wage type result attributes

Declaration
[JsonPropertyOrder(110)]
public string ResultExpression { get; set; }
Property Value
Type Description
string

ResultExpressionFile

Expression: calculates of the wage type result attributes file

Declaration
[JsonPropertyOrder(111)]
public string ResultExpressionFile { get; set; }
Property Value
Type Description
string

ValueActions

The wage type value actions

Declaration
[JsonPropertyOrder(112)]
public List<string> ValueActions { get; set; }
Property Value
Type Description
List<string>

ValueExpression

Expression: calculates of the wage type value

Declaration
[JsonPropertyOrder(108)]
public string ValueExpression { get; set; }
Property Value
Type Description
string

ValueExpressionFile

Expression: calculates of the wage type value file

Declaration
[JsonPropertyOrder(109)]
public string ValueExpressionFile { get; set; }
Property Value
Type Description
string

ValueType

The value type, default is value type money

Declaration
[JsonPropertyOrder(105)]
public ValueType ValueType { get; set; }
Property Value
Type Description
ValueType

WageTypeNumber

The wage type number (immutable)

Declaration
[Required]
[JsonPropertyOrder(100)]
public decimal WageTypeNumber { get; set; }
Property Value
Type Description
decimal

Methods

EqualKey(IWageType)

Test for the same item key

Declaration
public virtual bool EqualKey(IWageType compare)
Parameters
Type Name Description
IWageType compare
Returns
Type Description
bool

Equals(IWageType)

Declaration
public virtual bool Equals(IWageType compare)
Parameters
Type Name Description
IWageType compare
Returns
Type Description
bool

GetUiString()

The object UI string

Declaration
public override string GetUiString()
Returns
Type Description
string
Overrides
ModelBase.GetUiString()

Implements

IWageType
IModel
IAttributeObject
IKeyEquatable<T>
IEquatable<T>
INameObject

Extension Methods

ScriptExtensions.HasAnyScript(WageType)
ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX