All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.products.NewProduct Maven / Gradle / Ivy

There is a newer version: 1.0.0-M7
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy