Class Exchange
The exchange object
Inherited Members
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class Exchange : IExchange, IEquatable<IExchange>, IImportObject<IExchange>
Constructors
Exchange()
Initializes a new instance
Declaration
public Exchange()
Exchange(Exchange)
Initializes a new instance from a copy
Declaration
public Exchange(Exchange copySource)
Parameters
| Type | Name | Description |
|---|---|---|
| Exchange | copySource | The copy source |
Properties
CreatedObjectDate
The default created date for new objects
Declaration
[JsonPropertyOrder(2)]
public DateTime? CreatedObjectDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
RegulationShares
The regulation shares
Declaration
[JsonPropertyOrder(4)]
public List<RegulationShare> RegulationShares { get; set; }
Property Value
| Type | Description |
|---|---|
| List<RegulationShare> |
Schema
Json schema
Declaration
[JsonPropertyName("$schema")]
[JsonPropertyOrder(1)]
public string Schema { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Tenants
The tenants
Declaration
[Required]
[JsonPropertyOrder(3)]
public List<ExchangeTenant> Tenants { get; set; }
Property Value
| Type | Description |
|---|---|
| List<ExchangeTenant> |
Methods
Equals(IExchange)
Declaration
public virtual bool Equals(IExchange compare)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchange | compare |
Returns
| Type | Description |
|---|---|
| bool |
Import(IExchange)
The object exchange
Declaration
public virtual void Import(IExchange source)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchange | source |
ToString()
Returns a string that represents this instance
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents this instance |