Class ExchangeImportVisitor
Import exchange from JSON file to Payroll API
Inherited Members
Namespace: PayrollEngine.Client.Exchange
Assembly: PayrollEngine.Client.Core.dll
Syntax
public abstract class ExchangeImportVisitor : AttachmentsLoader
Constructors
ExchangeImportVisitor(PayrollHttpClient, Exchange, IScriptParser, ExchangeImportOptions)
Initializes a new instance of the VisitorBase class
Declaration
protected ExchangeImportVisitor(PayrollHttpClient httpClient, Exchange exchange, IScriptParser scriptParser, ExchangeImportOptions importOptions = null)
Parameters
| Type | Name | Description |
|---|---|---|
| PayrollHttpClient | httpClient | The Payroll http client |
| Exchange | exchange | The exchange model |
| IScriptParser | scriptParser | The script parser |
| ExchangeImportOptions | importOptions | The import options |
Remarks
Content is loaded from the working folder
Properties
CaseDocumentLoad
Load case documents from the working folder
Declaration
protected bool CaseDocumentLoad { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HttpClient
The Payroll http client
Declaration
public PayrollHttpClient HttpClient { get; }
Property Value
| Type | Description |
|---|---|
| PayrollHttpClient |
ImportOptions
The visitor load options
Declaration
public ExchangeImportOptions ImportOptions { get; }
Property Value
| Type | Description |
|---|---|
| ExchangeImportOptions |
LookupValidation
Load report schemas from the working folder
Declaration
protected bool LookupValidation { get; }
Property Value
| Type | Description |
|---|---|
| bool |
ReportSchemaLoad
Load report templates from the working folder
Declaration
protected bool ReportSchemaLoad { get; }
Property Value
| Type | Description |
|---|---|
| bool |
ReportTemplateLoad
Load report templates from file
Declaration
protected bool ReportTemplateLoad { get; }
Property Value
| Type | Description |
|---|---|
| bool |
TargetLoad
Load target object
Declaration
protected bool TargetLoad { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
GetCalendarAsync(int, string)
Get calendar
Declaration
protected virtual Task<Calendar> GetCalendarAsync(int tenantId, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId | The tenant id |
| string | name | The calendar name |
Returns
| Type | Description |
|---|---|
| Task<Calendar> |
GetDivisionAsync(int, string)
Get division
Declaration
protected virtual Task<Division> GetDivisionAsync(int tenantId, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId | The tenant id |
| string | name | The division identifier |
Returns
| Type | Description |
|---|---|
| Task<Division> |
GetEmployeeAsync(int, string)
Get employee
Declaration
protected virtual Task<Employee> GetEmployeeAsync(int tenantId, string identifier)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId | The tenant id |
| string | identifier | The employee identifier |
Returns
| Type | Description |
|---|---|
| Task<Employee> |
GetPayrollAsync(int, string)
Get payroll
Declaration
protected virtual Task<Payroll> GetPayrollAsync(int tenantId, string payrollName)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId | The tenant id |
| string | payrollName | The payroll name |
Returns
| Type | Description |
|---|---|
| Task<Payroll> |
GetPayrunAsync(int, string)
Get payrun
Declaration
protected virtual Task<Payrun> GetPayrunAsync(int tenantId, string payrunName)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId | The tenant id |
| string | payrunName | The payrun name |
Returns
| Type | Description |
|---|---|
| Task<Payrun> |
GetPayrunJobAsync(int, int)
Get payrun job
Declaration
protected virtual Task<PayrunJob> GetPayrunJobAsync(int tenantId, int payrunJobId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId | The tenant id |
| int | payrunJobId | The payrun job name |
Returns
| Type | Description |
|---|---|
| Task<PayrunJob> |
GetPayrunParameterAsync(int, int, string)
Get payrun parameter
Declaration
protected virtual Task<PayrunParameter> GetPayrunParameterAsync(int tenantId, int payrunId, string parameterName)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId | The tenant id |
| int | payrunId | The payrun id |
| string | parameterName | The payrun parameter name |
Returns
| Type | Description |
|---|---|
| Task<PayrunParameter> |
GetRegulationAsync(int, string, int?)
Get division
Declaration
protected virtual Task<Regulation> GetRegulationAsync(int tenantId, string name, int? version = null)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId | The tenant id |
| string | name | The regulation name |
| int? | version | The regulation version |
Returns
| Type | Description |
|---|---|
| Task<Regulation> |
GetTenantAsync(string)
Get tenant
Declaration
protected virtual Task<Tenant> GetTenantAsync(string tenantIdentifier)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tenantIdentifier | The tenant identifier |
Returns
| Type | Description |
|---|---|
| Task<Tenant> |
GetUserAsync(int, string)
Get user
Declaration
protected virtual Task<User> GetUserAsync(int tenantId, string userIdentifier)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId | The tenant id |
| string | userIdentifier | The user identifier |
Returns
| Type | Description |
|---|---|
| Task<User> |
SetupCalendarAsync(IExchangeTenant, ICalendar, ICalendar)
USer setup
Declaration
protected virtual Task SetupCalendarAsync(IExchangeTenant tenant, ICalendar calendar, ICalendar targetCalendar)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
| ICalendar | calendar | The calendar |
| ICalendar | targetCalendar | The target calendar |
Returns
| Type | Description |
|---|---|
| Task |
SetupCaseChangeAsync(IExchangeTenant, IPayrollSet, ICaseChangeSetup)
Case change setup
Declaration
protected virtual Task SetupCaseChangeAsync(IExchangeTenant tenant, IPayrollSet payroll, ICaseChangeSetup caseChangeSetup)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
| IPayrollSet | payroll | The payroll |
| ICaseChangeSetup | caseChangeSetup | The case change |
Returns
| Type | Description |
|---|---|
| Task |
SetupCaseChangeDocuments(ICaseSetup)
Case change documents setup
Declaration
protected virtual void SetupCaseChangeDocuments(ICaseSetup caseSetup)
Parameters
| Type | Name | Description |
|---|---|---|
| ICaseSetup | caseSetup | The case change |
SetupCaseFieldAsync(IExchangeTenant, IRegulationSet, ICaseSet, ICaseField, ICaseField)
Case field setup
Declaration
protected virtual Task SetupCaseFieldAsync(IExchangeTenant tenant, IRegulationSet regulation, ICaseSet caseSet, ICaseField caseField, ICaseField targetCaseField)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
| IRegulationSet | regulation | The regulation |
| ICaseSet | caseSet | The case |
| ICaseField | caseField | The case field |
| ICaseField | targetCaseField | The target case field |
Returns
| Type | Description |
|---|---|
| Task |
SetupDivisionAsync(IExchangeTenant, IDivision, IDivision)
Division setup
Declaration
protected virtual Task SetupDivisionAsync(IExchangeTenant tenant, IDivision division, IDivision targetDivision)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
| IDivision | division | The division |
| IDivision | targetDivision | The target division |
Returns
| Type | Description |
|---|---|
| Task |
SetupEmployeeAsync(IExchangeTenant, IEmployeeSet, IEmployee)
Employee setup
Declaration
protected virtual Task SetupEmployeeAsync(IExchangeTenant tenant, IEmployeeSet employee, IEmployee targetEmployee)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
| IEmployeeSet | employee | The employee |
| IEmployee | targetEmployee | The target employee |
Returns
| Type | Description |
|---|---|
| Task |
SetupLookupAsync(IExchangeTenant, IRegulationSet, ILookupSet, ILookup)
Lookup setup
Declaration
protected virtual Task SetupLookupAsync(IExchangeTenant tenant, IRegulationSet regulation, ILookupSet lookup, ILookup targetLookup)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
| IRegulationSet | regulation | The regulation |
| ILookupSet | lookup | The lookup |
| ILookup | targetLookup | The target lookup |
Returns
| Type | Description |
|---|---|
| Task |
SetupLookupValueAsync(IExchangeTenant, IRegulationSet, ILookupSet, ILookupValue, ILookupValue)
Lookup value setup
Declaration
protected virtual Task SetupLookupValueAsync(IExchangeTenant tenant, IRegulationSet regulation, ILookupSet lookup, ILookupValue lookupValue, ILookupValue targetLookupValue)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
| IRegulationSet | regulation | The regulation |
| ILookupSet | lookup | The lookup |
| ILookupValue | lookupValue | The lookup value |
| ILookupValue | targetLookupValue | The target lookup value |
Returns
| Type | Description |
|---|---|
| Task |
SetupPayrollAsync(IExchangeTenant, IPayrollSet, IPayroll)
Payroll setup
Declaration
protected virtual Task SetupPayrollAsync(IExchangeTenant tenant, IPayrollSet payroll, IPayroll targetPayroll)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
| IPayrollSet | payroll | The payroll |
| IPayroll | targetPayroll | The target payroll |
Returns
| Type | Description |
|---|---|
| Task |
SetupPayrollLayerAsync(IExchangeTenant, IPayrollSet, IPayrollLayer, IPayrollLayer)
Payroll layer setup
Declaration
protected virtual Task SetupPayrollLayerAsync(IExchangeTenant tenant, IPayrollSet payroll, IPayrollLayer layer, IPayrollLayer targetLayer)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
| IPayrollSet | payroll | The payroll |
| IPayrollLayer | layer | The payroll layer |
| IPayrollLayer | targetLayer | The target payroll layer |
Returns
| Type | Description |
|---|---|
| Task |
SetupPayrunParameterAsync(IExchangeTenant, IPayrun, IPayrunParameter, IPayrunParameter)
Payrun setup
Declaration
protected virtual Task SetupPayrunParameterAsync(IExchangeTenant tenant, IPayrun payrun, IPayrunParameter parameter, IPayrunParameter targetPayrunParameter)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
| IPayrun | payrun | The payrun |
| IPayrunParameter | parameter | The payrun parameter |
| IPayrunParameter | targetPayrunParameter | The target payrun parameter |
Returns
| Type | Description |
|---|---|
| Task |
SetupRegulationAsync(IExchangeTenant, IRegulationSet, IRegulation)
Regulation setup
Declaration
protected virtual Task SetupRegulationAsync(IExchangeTenant tenant, IRegulationSet regulation, IRegulation targetRegulation)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
| IRegulationSet | regulation | The regulation |
| IRegulation | targetRegulation | The target regulation |
Returns
| Type | Description |
|---|---|
| Task |
SetupReportParameterAsync(IExchangeTenant, IRegulationSet, IReportSet, IReportParameter, IReportParameter)
Report parameter setup
Declaration
protected virtual Task SetupReportParameterAsync(IExchangeTenant tenant, IRegulationSet regulation, IReportSet report, IReportParameter parameter, IReportParameter targetParameter)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
| IRegulationSet | regulation | The regulation |
| IReportSet | report | The report |
| IReportParameter | parameter | The report parameter |
| IReportParameter | targetParameter | The target report parameter |
Returns
| Type | Description |
|---|---|
| Task |
SetupTenantAsync(IExchangeTenant, ITenant)
Tenant setup
Declaration
protected virtual Task SetupTenantAsync(IExchangeTenant tenant, ITenant targetTenant)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
| ITenant | targetTenant | The target tenant |
Returns
| Type | Description |
|---|---|
| Task |
SetupUserAsync(IExchangeTenant, IUser, IUser)
USer setup
Declaration
protected virtual Task SetupUserAsync(IExchangeTenant tenant, IUser user, IUser targetUser)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
| IUser | user | The user |
| IUser | targetUser | The target user |
Returns
| Type | Description |
|---|---|
| Task |
SetupWebhookAsync(IExchangeTenant, IWebhook, IWebhook)
Webhook setup
Declaration
protected virtual Task SetupWebhookAsync(IExchangeTenant tenant, IWebhook webhook, IWebhook targetWebhook)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
| IWebhook | webhook | The webhook |
| IWebhook | targetWebhook | The target webhook |
Returns
| Type | Description |
|---|---|
| Task |
ValidateLookup(ILookupSet)
Validate the lookup
Declaration
protected virtual void ValidateLookup(ILookupSet lookup)
Parameters
| Type | Name | Description |
|---|---|---|
| ILookupSet | lookup | The lookup |
VisitCalendarAsync(IExchangeTenant, ICalendar)
Visit the calendar
Declaration
protected override Task VisitCalendarAsync(IExchangeTenant tenant, ICalendar calendar)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| ICalendar | calendar | The calendar |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitCaseAsync(IExchangeTenant, IRegulationSet, ICaseSet)
Visit the case
Declaration
protected override Task VisitCaseAsync(IExchangeTenant tenant, IRegulationSet regulation, ICaseSet caseSet)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IRegulationSet | regulation | The regulation |
| ICaseSet | caseSet | The case |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitCaseChangeSetupAsync(IExchangeTenant, IPayrollSet, ICaseChangeSetup)
Visit the case change
Declaration
protected override Task VisitCaseChangeSetupAsync(IExchangeTenant tenant, IPayrollSet payroll, ICaseChangeSetup caseChangeSetup)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IPayrollSet | payroll | The payroll |
| ICaseChangeSetup | caseChangeSetup | The case change |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitCaseFieldAsync(IExchangeTenant, IRegulationSet, ICaseSet, ICaseField)
Visit the case field
Declaration
protected override Task VisitCaseFieldAsync(IExchangeTenant tenant, IRegulationSet regulation, ICaseSet caseSet, ICaseField caseField)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IRegulationSet | regulation | The regulation |
| ICaseSet | caseSet | The case |
| ICaseField | caseField | The case field |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitCaseRelationAsync(IExchangeTenant, IRegulationSet, ICaseRelation)
Visit the case relation
Declaration
protected override Task VisitCaseRelationAsync(IExchangeTenant tenant, IRegulationSet regulation, ICaseRelation caseRelation)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IRegulationSet | regulation | The regulation |
| ICaseRelation | caseRelation | The case relation |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitCollectorAsync(IExchangeTenant, IRegulationSet, ICollector)
Visit the collector
Declaration
protected override Task VisitCollectorAsync(IExchangeTenant tenant, IRegulationSet regulation, ICollector collector)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IRegulationSet | regulation | The regulation |
| ICollector | collector | The collector |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitDivisionAsync(IExchangeTenant, IDivision)
Visit the division
Declaration
protected override Task VisitDivisionAsync(IExchangeTenant tenant, IDivision division)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IDivision | division | The division |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitEmployeeAsync(IExchangeTenant, IEmployeeSet)
Visit the employee
Declaration
protected override Task VisitEmployeeAsync(IExchangeTenant tenant, IEmployeeSet employee)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IEmployeeSet | employee | The employee |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitExchangeTenantAsync(IExchangeTenant)
Visit the exchange tenant
Declaration
protected override Task VisitExchangeTenantAsync(IExchangeTenant tenant)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The exchange tenant |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitLookupAsync(IExchangeTenant, IRegulationSet, ILookupSet)
Visit the lookup
Declaration
protected override Task VisitLookupAsync(IExchangeTenant tenant, IRegulationSet regulation, ILookupSet lookup)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IRegulationSet | regulation | The regulation |
| ILookupSet | lookup | The lookup |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitLookupValueAsync(IExchangeTenant, IRegulationSet, ILookupSet, ILookupValue)
Visit the lookup value
Declaration
protected override Task VisitLookupValueAsync(IExchangeTenant tenant, IRegulationSet regulation, ILookupSet lookup, ILookupValue lookupValue)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IRegulationSet | regulation | The regulation |
| ILookupSet | lookup | The lookup |
| ILookupValue | lookupValue | The lookup value |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitPayrollAsync(IExchangeTenant, IPayrollSet)
Visit the payroll
Declaration
protected override Task VisitPayrollAsync(IExchangeTenant tenant, IPayrollSet payroll)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IPayrollSet | payroll | The payroll |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitPayrollLayerAsync(IExchangeTenant, IPayrollSet, IPayrollLayer)
Visit the payroll layer
Declaration
protected override Task VisitPayrollLayerAsync(IExchangeTenant tenant, IPayrollSet payroll, IPayrollLayer layer)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IPayrollSet | payroll | The payroll |
| IPayrollLayer | layer | The payroll layer |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitPayrunAsync(IExchangeTenant, IPayrun)
Visit the payrun
Declaration
protected override Task VisitPayrunAsync(IExchangeTenant tenant, IPayrun payrun)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IPayrun | payrun | The payrun |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitPayrunParameterAsync(IExchangeTenant, IPayrun, IPayrunParameter)
Visit the payrun parameter
Declaration
protected override Task VisitPayrunParameterAsync(IExchangeTenant tenant, IPayrun payrun, IPayrunParameter parameter)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IPayrun | payrun | The payrun |
| IPayrunParameter | parameter | The payrun parameter |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitRegulationAsync(IExchangeTenant, IRegulationSet)
Visit the regulation
Declaration
protected override Task VisitRegulationAsync(IExchangeTenant tenant, IRegulationSet regulation)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IRegulationSet | regulation | The regulation |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitReportAsync(IExchangeTenant, IRegulationSet, IReportSet)
Visit the script
Declaration
protected override Task VisitReportAsync(IExchangeTenant tenant, IRegulationSet regulation, IReportSet report)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IRegulationSet | regulation | The regulation |
| IReportSet | report | The report |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitReportParameterAsync(IExchangeTenant, IRegulationSet, IReportSet, IReportParameter)
Visit the report parameter
Declaration
protected override Task VisitReportParameterAsync(IExchangeTenant tenant, IRegulationSet regulation, IReportSet report, IReportParameter parameter)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IRegulationSet | regulation | The regulation |
| IReportSet | report | The report |
| IReportParameter | parameter | The report parameter |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitReportTemplateAsync(IExchangeTenant, IRegulationSet, IReportSet, IReportTemplate)
Visit the report template
Declaration
protected override Task VisitReportTemplateAsync(IExchangeTenant tenant, IRegulationSet regulation, IReportSet report, IReportTemplate template)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IRegulationSet | regulation | The regulation |
| IReportSet | report | The report |
| IReportTemplate | template | The report template |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitScriptAsync(IExchangeTenant, IRegulationSet, IScript)
Visit the script
Declaration
protected override Task VisitScriptAsync(IExchangeTenant tenant, IRegulationSet regulation, IScript script)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IRegulationSet | regulation | The regulation |
| IScript | script | The script |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitUserAsync(IExchangeTenant, IUser)
Visit the user
Declaration
protected override Task VisitUserAsync(IExchangeTenant tenant, IUser user)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IUser | user | The user |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitWageTypeAsync(IExchangeTenant, IRegulationSet, IWageType)
Visit the wage type
Declaration
protected override Task VisitWageTypeAsync(IExchangeTenant tenant, IRegulationSet regulation, IWageType wageType)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IRegulationSet | regulation | The regulation |
| IWageType | wageType | The wage type |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
VisitWebhookAsync(IExchangeTenant, IWebhookSet)
Visit the webhook
Declaration
protected override Task VisitWebhookAsync(IExchangeTenant tenant, IWebhookSet webhook)
Parameters
| Type | Name | Description |
|---|---|---|
| IExchangeTenant | tenant | The tenant |
| IWebhookSet | webhook | The webhook |
Returns
| Type | Description |
|---|---|
| Task |