コード例 #1
0
 /// <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));
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 /// <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);
 }