Exemplo n.º 1
0
 /// <summary>
 /// Gets the currencies for a specific store that are allowed in the current payment country region. Will fallback to current payment country.
 /// </summary>
 /// <param name="storeId">Id of the store.</param>
 /// <param name="onlyAllowed">If <c>true</c> - only currencies allowed in the current session state will be returned.</param>
 /// <returns>A collection of currency objects.</returns>
 public static IEnumerable <Currency> GetCurrencies(long storeId, bool onlyAllowed = true)
 {
     return(TeaCommerceHelper.GetCurrencies(storeId, onlyAllowed));
 }