Exemple #1
0
 /// <summary>
 /// Get Employment Allowance Settings
 /// </summary>
 /// <remarks>
 /// Get employment allowance settings for the business.
 /// </remarks>
 public Task <UkEmploymentAllowanceModel> GetEmploymentAllowanceSettingsAsync(int businessId, GetEmploymentAllowanceSettingsQueryModel request, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <UkEmploymentAllowanceModel>($"/business/{businessId}/hmrcsettings/employmentallowance?financialYearEnding={request.FinancialYearEnding}", Method.GET, cancellationToken));
 }
Exemple #2
0
 /// <summary>
 /// Get Employment Allowance Settings
 /// </summary>
 /// <remarks>
 /// Get employment allowance settings for the business.
 /// </remarks>
 public UkEmploymentAllowanceModel GetEmploymentAllowanceSettings(int businessId, GetEmploymentAllowanceSettingsQueryModel request)
 {
     return(ApiRequest <UkEmploymentAllowanceModel>($"/business/{businessId}/hmrcsettings/employmentallowance?financialYearEnding={request.FinancialYearEnding}", Method.GET));
 }