io.sphere.sdk.products.NewProduct Maven / Gradle / Ivy
package io.sphere.sdk.products;
import java.util.Optional;
import io.sphere.sdk.categories.Category;
import io.sphere.sdk.models.LocalizedString;
import io.sphere.sdk.models.MetaAttributes;
import io.sphere.sdk.models.Reference;
import io.sphere.sdk.models.WithLocalizedSlug;
import io.sphere.sdk.producttypes.ProductType;
import java.util.List;
/**
A template for a new {@link io.sphere.sdk.products.Product}.
@see io.sphere.sdk.products.NewProductBuilder
@see io.sphere.sdk.products.commands.ProductCreateCommand
*/
public interface NewProduct extends WithLocalizedSlug, MetaAttributes {
Reference getProductType();
LocalizedString getName();
LocalizedString getSlug();
Optional getDescription();
List> getCategories();
Optional getMetaTitle();
Optional getMetaDescription();
Optional getMetaKeywords();
NewProductVariant getMasterVariant();
List getVariants();
}