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