public static ProductCanonicalCondition createCanonicalCondition(
      @Nullable ProductCanonicalConditionCondition condition) {
    ProductCanonicalCondition productCanonicalCondition = new ProductCanonicalCondition();
    productCanonicalCondition.setCondition(condition);
    return productCanonicalCondition;
  }
public static ProductCanonicalCondition createCanonicalCondition ( @ Nullable ProductCanonicalConditionCondition condition ) { ProductCanonicalCondition productCanonicalCondition = new ProductCanonicalCondition ( ) ; productCanonicalCondition . setCondition ( condition ) ; return productCanonicalCondition ; }
Creates a new ProductCanonicalCondition.

@param condition may be null if creating an "other" dimension