예제 #1
0
 /// <summary>
 /// Create Or Update Employee HMRC Adjustment
 /// </summary>
 /// <remarks>
 /// Creates a recurring HMRC adjustment for an employee
 /// </remarks>
 public Task <EmployeeRecurringHmrcAdjustmentModel> CreateOrUpdateEmployeeHmrcAdjustmentAsync(int businessId, int employeeId, EmployeeRecurringHmrcAdjustmentModel model, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <EmployeeRecurringHmrcAdjustmentModel, EmployeeRecurringHmrcAdjustmentModel>($"/business/{businessId}/employee/{employeeId}/hmrcadjustment", model, Method.POST, cancellationToken));
 }
예제 #2
0
 /// <summary>
 /// Create Or Update Employee HMRC Adjustment
 /// </summary>
 /// <remarks>
 /// Creates a recurring HMRC adjustment for an employee
 /// </remarks>
 public EmployeeRecurringHmrcAdjustmentModel CreateOrUpdateEmployeeHmrcAdjustment(int businessId, int employeeId, EmployeeRecurringHmrcAdjustmentModel model)
 {
     return(ApiRequest <EmployeeRecurringHmrcAdjustmentModel, EmployeeRecurringHmrcAdjustmentModel>($"/business/{businessId}/employee/{employeeId}/hmrcadjustment", model, Method.POST));
 }