Class Case
The payroll case client object
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class Case : ModelBase, ICase, IModel, IAttributeObject, IKeyEquatable<ICase>, IEquatable<ICase>, INameObject
Constructors
Case()
Initializes a new instance
Declaration
Case(Case)
Initializes a new instance from a copy
Declaration
public Case(Case copySource)
Parameters
| Type |
Name |
Description |
| Case |
copySource |
The copy source
|
Properties
Attributes
Declaration
[JsonPropertyOrder(125)]
public Dictionary<string, object> Attributes { get; set; }
Property Value
AvailableActions
The case available actions
Declaration
[JsonPropertyOrder(119)]
public List<string> AvailableActions { get; set; }
Property Value
AvailableExpression
The expression used to build a case
Declaration
[JsonPropertyOrder(113)]
public string AvailableExpression { get; set; }
Property Value
AvailableExpressionFile
The expression used to build a case file
Declaration
[JsonPropertyOrder(114)]
public string AvailableExpressionFile { get; set; }
Property Value
BaseCase
Declaration
[JsonPropertyOrder(108)]
public string BaseCase { get; set; }
Property Value
BaseCaseFields
Declaration
[JsonPropertyOrder(109)]
public List<CaseFieldReference> BaseCaseFields { get; set; }
Property Value
BuildActions
Declaration
[JsonPropertyOrder(120)]
public List<string> BuildActions { get; set; }
Property Value
BuildExpression
The expression used to build a case
Declaration
[JsonPropertyOrder(115)]
public string BuildExpression { get; set; }
Property Value
BuildExpressionFile
The expression used to build a case file
Declaration
[JsonPropertyOrder(116)]
public string BuildExpressionFile { get; set; }
Property Value
CancellationType
Declaration
[JsonPropertyOrder(111)]
public CaseCancellationType CancellationType { get; set; }
Property Value
CaseType
The type of he case (immutable)
Declaration
[Required]
[JsonPropertyOrder(101)]
public CaseType CaseType { get; set; }
Property Value
Clusters
Declaration
[JsonPropertyOrder(124)]
public List<string> Clusters { get; set; }
Property Value
DefaultReason
The default case change reason
Declaration
[JsonPropertyOrder(106)]
public string DefaultReason { get; set; }
Property Value
DefaultReasonLocalizations
The localized default case change reasons
Declaration
[JsonPropertyOrder(107)]
public Dictionary<string, string> DefaultReasonLocalizations { get; set; }
Property Value
Description
Declaration
[JsonPropertyOrder(104)]
public string Description { get; set; }
Property Value
DescriptionLocalizations
The localized case descriptions
Declaration
[JsonPropertyOrder(105)]
public Dictionary<string, string> DescriptionLocalizations { get; set; }
Property Value
Hidden
Hidden case (default: false)
Declaration
[JsonPropertyOrder(112)]
public bool Hidden { get; set; }
Property Value
Lookups
Declaration
[JsonPropertyOrder(122)]
public List<string> Lookups { get; set; }
Property Value
Name
Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(100)]
public string Name { get; set; }
Property Value
NameLocalizations
Declaration
[JsonPropertyOrder(102)]
public Dictionary<string, string> NameLocalizations { get; set; }
Property Value
NameSynonyms
Synonyms for the case name
Declaration
[JsonPropertyOrder(103)]
public List<string> NameSynonyms { get; set; }
Property Value
OverrideType
Declaration
[JsonPropertyOrder(110)]
public OverrideType OverrideType { get; set; }
Property Value
Slots
Declaration
[JsonPropertyOrder(123)]
public List<CaseSlot> Slots { get; set; }
Property Value
ValidateActions
The case validate actions
Declaration
[JsonPropertyOrder(121)]
public List<string> ValidateActions { get; set; }
Property Value
ValidateExpression
The case validate expression
Declaration
[JsonPropertyOrder(117)]
public string ValidateExpression { get; set; }
Property Value
ValidateExpressionFile
The case validate expression file
Declaration
[JsonPropertyOrder(118)]
public string ValidateExpressionFile { get; set; }
Property Value
Methods
EqualKey(ICase)
Test for the same item key
Declaration
public virtual bool EqualKey(ICase compare)
Parameters
| Type |
Name |
Description |
| ICase |
compare |
|
Returns
Equals(ICase)
Declaration
public virtual bool Equals(ICase compare)
Parameters
| Type |
Name |
Description |
| ICase |
compare |
|
Returns
GetUiString()
Declaration
public override string GetUiString()
Returns
Overrides
Implements
Extension Methods