/// <summary> /// Update Employee Deduction /// </summary> /// <remarks> /// Updates the employee's recurring deduction with the specified ID. /// </remarks> public Task <AuEmployeeRecurringDeductionModel> UpdateEmployeeDeductionAsync(int businessId, int employeeId, int id, AuEmployeeRecurringDeductionModel model, CancellationToken cancellationToken = default) { return(ApiRequestAsync <AuEmployeeRecurringDeductionModel, AuEmployeeRecurringDeductionModel>($"/business/{businessId}/employee/{employeeId}/deduction/{id}", model, Method.PUT, cancellationToken)); }
/// <summary> /// Update Employee Deduction /// </summary> /// <remarks> /// Updates the employee's recurring deduction with the specified ID. /// </remarks> public AuEmployeeRecurringDeductionModel UpdateEmployeeDeduction(int businessId, int employeeId, int id, AuEmployeeRecurringDeductionModel model) { return(ApiRequest <AuEmployeeRecurringDeductionModel, AuEmployeeRecurringDeductionModel>($"/business/{businessId}/employee/{employeeId}/deduction/{id}", model, Method.PUT)); }