/// <summary>
 /// Creates a new ProductBiddingCategory.
 /// </summary>
 /// <param name="productDimensionType">Type of the product dimension.</param>
 /// <param name="biddingCategoryId">The bidding category ID.</param>
 /// <returns>The product bidding category criterion.</returns>
 public static ProductBiddingCategory CreateBiddingCategory(
 ProductDimensionType productDimensionType, long biddingCategoryId)
 {
     ProductBiddingCategory retval = CreateBiddingCategory(productDimensionType);
       retval.value = biddingCategoryId;
       return retval;
 }
 /// <summary>
 /// Creates a new ProductBiddingCategory for <b>Everything else</b>
 /// case.
 /// </summary>
 /// <param name="productDimensionType">Type of the product dimension.</param>
 /// <returns>The product bidding category criterion.</returns>
 public static ProductBiddingCategory CreateBiddingCategory(
 ProductDimensionType productDimensionType)
 {
     return new ProductBiddingCategory() {
     type = productDimensionType
       };
 }
 /// <summary>
 /// Creates a new ProductType.
 /// </summary>
 /// <param name="productDimensionType">Type of the product dimension.</param>
 /// <param name="productTypeValue">The product type value. May be null if
 /// creating an "other" dimension</param>
 /// <returns>The product type criterion</returns>
 public static ProductType CreateType(ProductDimensionType productDimensionType,
     string productTypeValue) {
   return new ProductType() {
     type = productDimensionType,
     value = productTypeValue
   };
 }
 /// <summary>
 /// Creates a new ProductBiddingCategory for <b>Everything else</b>
 /// case.
 /// </summary>
 /// <param name="productDimensionType">Type of the product dimension.</param>
 /// <returns>The product bidding category criterion.</returns>
 public static ProductBiddingCategory CreateBiddingCategory(
     ProductDimensionType productDimensionType)
 {
     return(new ProductBiddingCategory()
     {
         type = productDimensionType
     });
 }
        /// <summary>
        /// Creates a new ProductBiddingCategory.
        /// </summary>
        /// <param name="productDimensionType">Type of the product dimension.</param>
        /// <param name="biddingCategoryId">The bidding category ID.</param>
        /// <returns>The product bidding category criterion.</returns>
        public static ProductBiddingCategory CreateBiddingCategory(
            ProductDimensionType productDimensionType, long biddingCategoryId)
        {
            ProductBiddingCategory retval = CreateBiddingCategory(productDimensionType);

            retval.value = biddingCategoryId;
            return(retval);
        }
 /// <summary>
 /// Creates a new ProductType.
 /// </summary>
 /// <param name="productDimensionType">Type of the product dimension.</param>
 /// <param name="productTypeValue">The product type value. May be null if
 /// creating an "other" dimension</param>
 /// <returns>The product type criterion</returns>
 public static ProductType CreateType(ProductDimensionType productDimensionType,
                                      string productTypeValue)
 {
     return(new ProductType()
     {
         type = productDimensionType,
         value = productTypeValue
     });
 }
 /// <summary>
 /// Creates a new ProductCustomAttribute for the <b>Everything else</b> case.
 /// </summary>
 /// <param name="productDimensionType">Type of the product dimension.</param>
 /// <param name="attributeValue">The attribute value.</param>
 /// <returns>The product custom attribute criterion.</returns>
 public static ProductCustomAttribute CreateCustomAttribute(
     ProductDimensionType productDimensionType, string attributeValue)
 {
     return(new ProductCustomAttribute()
     {
         type = productDimensionType,
         value = attributeValue
     });
 }
 /// <summary>
 /// Creates a new ProductType for the <b>Everything else</b> case.
 /// </summary>
 /// <param name="productDimensionType">Type of the product dimension.</param>
 /// <returns>The product type criterion.</returns>
 public static ProductType CreateType(ProductDimensionType productDimensionType)
 {
     return(CreateType(productDimensionType, null));
 }
 /// <summary>
 /// Creates a new ProductCustomAttribute for the <b>Everything else</b> case.
 /// </summary>
 /// <param name="productDimensionType">Type of the product dimension.</param>
 /// <returns>The product custom attribute criterion.</returns>
 public static ProductCustomAttribute CreateCustomAttribute(
     ProductDimensionType productDimensionType)
 {
     return(CreateCustomAttribute(productDimensionType, null));
 }
 /// <summary>
 /// Creates a new ProductType for the <b>Everything else</b> case.
 /// </summary>
 /// <param name="productDimensionType">Type of the product dimension.</param>
 /// <returns>The product type criterion.</returns>
 public static ProductType CreateType(ProductDimensionType productDimensionType)
 {
     return CreateType(productDimensionType, null);
 }
 /// <summary>
 /// Creates a new ProductCustomAttribute for the <b>Everything else</b> case.
 /// </summary>
 /// <param name="productDimensionType">Type of the product dimension.</param>
 /// <param name="attributeValue">The attribute value.</param>
 /// <returns>The product custom attribute criterion.</returns>
 public static ProductCustomAttribute CreateCustomAttribute(
 ProductDimensionType productDimensionType, string attributeValue)
 {
     return new ProductCustomAttribute() {
     type = productDimensionType,
     value = attributeValue
       };
 }
 /// <summary>
 /// Creates a new ProductCustomAttribute for the <b>Everything else</b> case.
 /// </summary>
 /// <param name="productDimensionType">Type of the product dimension.</param>
 /// <returns>The product custom attribute criterion.</returns>
 public static ProductCustomAttribute CreateCustomAttribute(
 ProductDimensionType productDimensionType)
 {
     return CreateCustomAttribute(productDimensionType, null);
 }