Exemplo n.º 1
0
 /// <summary>
 /// Gets a collection of all shipping methods that are allowed in the current shipping country and shipping country region. Fallback to payment country and payment country region.
 /// </summary>
 /// <param name="storeId">Id of the store.</param>
 /// <param name="onlyAllowed">If <c>true</c> - only shipping methods allowed in the current session state will be returned.</param>
 /// <returns>A collection of shipping method objects.</returns>
 public static IEnumerable <ShippingMethod> GetShippingMethods(long storeId, bool onlyAllowed = true)
 {
     return(TeaCommerceHelper.GetShippingMethods(storeId, onlyAllowed));
 }