/// <summary>
 /// 获取订购数量
 /// </summary>
 /// <param name="parameters">商品匹配参数</param>
 /// <returns></returns>
 public static long GetOrderCount(this ProductMatchParameters parameters)
 {
     return(parameters.GetOrDefault <long?>("OrderCount") ?? 0);
 }
 /// <summary>
 /// 获取商品属性参数
 /// </summary>
 /// <param name="parameters">商品匹配参数</param>
 /// <returns></returns>
 public static IList <PropertyParameter> GetProperties(this ProductMatchParameters parameters)
 {
     return(parameters.GetOrDefault <IList <PropertyParameter> >("Properties"));
 }