/// <summary> /// Update an existing Gains or profits employee share plan /// </summary> /// <remarks> /// Update an existing gains or profits employee share plan. /// </remarks> public void UpdateAnExistingGainsOrProfitsEmployeeSharePlan(int businessId, int employeeId, int id, SgGainsOrProfitsEmployeeSharePlanModel request) { ApiRequest($"/business/{businessId}/employee/{employeeId}/gainsorprofitsemployeeshareplan/{id}", request, Method.PUT); }
/// <summary> /// Create Gains or profits employee share plan /// </summary> /// <remarks> /// Creates a new gains or profits employee share plan /// </remarks> public void CreateGainsOrProfitsEmployeeSharePlan(int businessId, int employeeId, SgGainsOrProfitsEmployeeSharePlanModel model) { ApiRequest($"/business/{businessId}/employee/{employeeId}/gainsorprofitsemployeeshareplan", model, Method.POST); }
/// <summary> /// Create Gains or profits employee share plan /// </summary> /// <remarks> /// Creates a new gains or profits employee share plan /// </remarks> public Task CreateGainsOrProfitsEmployeeSharePlanAsync(int businessId, int employeeId, SgGainsOrProfitsEmployeeSharePlanModel model, CancellationToken cancellationToken = default) { return(ApiRequestAsync($"/business/{businessId}/employee/{employeeId}/gainsorprofitsemployeeshareplan", model, Method.POST, cancellationToken)); }
/// <summary> /// Update an existing Gains or profits employee share plan /// </summary> /// <remarks> /// Update an existing gains or profits employee share plan. /// </remarks> public Task UpdateAnExistingGainsOrProfitsEmployeeSharePlanAsync(int businessId, int employeeId, int id, SgGainsOrProfitsEmployeeSharePlanModel request, CancellationToken cancellationToken = default) { return(ApiRequestAsync($"/business/{businessId}/employee/{employeeId}/gainsorprofitsemployeeshareplan/{id}", request, Method.PUT, cancellationToken)); }