/// <summary>
 /// Updates a customerGroup.
 /// </summary>
 /// <param name="customerGroup">CustomerGroup</param>
 /// <param name="actions">The list of update actions to be performed on the customerGroup.</param>
 /// <returns>CustomerGroup</returns>
 public Task <Response <CustomerGroup> > UpdateCustomerGroupAsync(CustomerGroup customerGroup,
                                                                  List <UpdateAction> actions)
 {
     return(UpdateCustomerGroupAsync(customerGroup.Id, customerGroup.Version, actions));
 }
 /// <summary>
 /// Deletes a customerGroup.
 /// </summary>
 /// <param name="customerGroup">CustomerGroup</param>
 /// <returns>CustomerGroup</returns>
 public Task <Response <CustomerGroup> > DeleteCustomerGroupAsync(CustomerGroup customerGroup)
 {
     return(DeleteCustomerGroupAsync(customerGroup.Id, customerGroup.Version));
 }
 /// <summary>
 /// Updates a customerGroup.
 /// </summary>
 /// <param name="customerGroup">CustomerGroup</param>
 /// <param name="action">The update action to be performed on the customerGroup.</param>
 /// <returns>CustomerGroup</returns>
 public Task <Response <CustomerGroup> > UpdateCustomerGroupAsync(CustomerGroup customerGroup, UpdateAction action)
 {
     return(UpdateCustomerGroupAsync(customerGroup.Id, customerGroup.Version, new List <UpdateAction> {
         action
     }));
 }