Class ExchangeExport
Export tenant to exchange
Inherited Members
Namespace: PayrollEngine.Client.Exchange
Assembly: PayrollEngine.Client.Core.dll
Syntax
public sealed class ExchangeExport
Constructors
ExchangeExport(PayrollHttpClient, ExchangeExportOptions, string)
Initializes a new instance of the ExchangeExport class
Declaration
public ExchangeExport(PayrollHttpClient httpClient, ExchangeExportOptions exportOptions = null, string @namespace = null)
Parameters
| Type | Name | Description |
|---|---|---|
| PayrollHttpClient | httpClient | The payroll http client |
| ExchangeExportOptions | exportOptions | The export options |
| string | namespace | The export namespace |
Properties
ExportOptions
The export options
Declaration
public ExchangeExportOptions ExportOptions { get; }
Property Value
| Type | Description |
|---|---|
| ExchangeExportOptions |
HttpClient
The payroll http client
Declaration
public PayrollHttpClient HttpClient { get; }
Property Value
| Type | Description |
|---|---|
| PayrollHttpClient |
Namespace
The export namespace
Declaration
public string Namespace { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
ExportAsync(IEnumerable<int>)
Export tenants to exchange
Declaration
public Task<Exchange> ExportAsync(IEnumerable<int> tenantIds)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<int> | tenantIds |
Returns
| Type | Description |
|---|---|
| Task<Exchange> | The exchange model |
ExportAsync(int)
Export tenant to exchange
Declaration
public Task<Exchange> ExportAsync(int tenantId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId |
Returns
| Type | Description |
|---|---|
| Task<Exchange> | The exchange model |