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