/// <summary>
 /// Updates a shipping method.
 /// </summary>
 /// <param name="shippingMethod">Shipping method</param>
 /// <param name="actions">The list of update actions to apply to the shipping method.</param>
 /// <returns>ShippingMethod</returns>
 /// <see href="http://dev.commercetools.com/http-api-projects-shippingMethods.html#update-shippingmethod"/>
 public Task <Response <ShippingMethod> > UpdateShippingMethodAsync(ShippingMethod shippingMethod, List <UpdateAction> actions)
 {
     return(UpdateShippingMethodAsync(shippingMethod.Id, shippingMethod.Version, actions));
 }
 /// <summary>
 /// Removes a shipping method.
 /// </summary>
 /// <param name="shippingMethod">Shipping method</param>
 /// <returns>ShippingMethod</returns>
 /// <see href="http://dev.commercetools.com/http-api-projects-shippingMethods.html#delete-shippingmethod"/>
 public Task <Response <ShippingMethod> > DeleteShippingMethodAsync(ShippingMethod shippingMethod)
 {
     return(DeleteShippingMethodAsync(shippingMethod.Id, shippingMethod.Version));
 }
 /// <summary>
 /// Updates a shipping method.
 /// </summary>
 /// <param name="shippingMethod">Shipping method</param>
 /// <param name="action">The update action to apply to the shipping method.</param>
 /// <returns>ShippingMethod</returns>
 /// <see href="http://dev.commercetools.com/http-api-projects-shippingMethods.html#update-shippingmethod"/>
 public Task <Response <ShippingMethod> > UpdateShippingMethodAsync(ShippingMethod shippingMethod, UpdateAction action)
 {
     return(UpdateShippingMethodAsync(shippingMethod.Id, shippingMethod.Version, new List <UpdateAction> {
         action
     }));
 }