Пример #1
0
 /// <summary>
 /// Adds or updates a collection of custom order properties on the current order. If the customer does not have a current order a new one will be created.
 /// </summary>
 /// <param name="storeId">Id of the store.</param>
 /// <param name="properties">A dictionary where keys will be the new property's alias and the value will be the value of the new property.</param>
 /// <returns>A collection of the added or updated custom order properties.</returns>
 public static IEnumerable <CustomProperty> AddOrUpdateOrderProperties(long storeId, IDictionary <string, string> properties)
 {
     return(TeaCommerceHelper.AddOrUpdateOrderProperties(storeId, properties));
 }