/// <summary> /// Create Earnings line split /// </summary> /// <remarks> /// Creates a new earnings line split for the employee. /// </remarks> public Task CreateEarningsLineSplitAsync(int businessId, int employeeId, EarningsLineSplitEditModel earningsLineSplit, CancellationToken cancellationToken = default) { return(ApiRequestAsync($"/business/{businessId}/employee/{employeeId}/earningslinesplit", earningsLineSplit, Method.POST, cancellationToken)); }
/// <summary> /// Update Earnings line split /// </summary> /// <remarks> /// Updates the employee's earnings line split for the specified location ID. /// </remarks> public void UpdateEarningsLineSplit(int businessId, int employeeId, int locationId, EarningsLineSplitEditModel earningsLineSplit) { ApiRequest($"/business/{businessId}/employee/{employeeId}/earningslinesplit/{locationId}", earningsLineSplit, Method.PUT); }
/// <summary> /// Create Earnings line split /// </summary> /// <remarks> /// Creates a new earnings line split for the employee. /// </remarks> public void CreateEarningsLineSplit(int businessId, int employeeId, EarningsLineSplitEditModel earningsLineSplit) { ApiRequest($"/business/{businessId}/employee/{employeeId}/earningslinesplit", earningsLineSplit, Method.POST); }