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

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

There is a newer version: 1.0.0-M12
Show newest version
package io.sphere.sdk.products;

import java.util.Optional;
import io.sphere.sdk.categories.Category;
import io.sphere.sdk.models.LocalizedStrings;
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 ProductDraftBuilder
  @see io.sphere.sdk.products.commands.ProductCreateCommand
 */
public interface ProductDraft extends WithLocalizedSlug, MetaAttributes {
    Reference getProductType();

    LocalizedStrings getName();

    LocalizedStrings getSlug();

    Optional getDescription();

    List> getCategories();

    Optional getMetaTitle();

    Optional getMetaDescription();

    Optional getMetaKeywords();

    ProductVariantDraft getMasterVariant();

    List getVariants();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy