Class ProductData.Builder
java.lang.Object
com.commercetools.graphql.api.types.ProductData.Builder
- Enclosing class:
- ProductData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallVariants(List<ProductVariant> allVariants) build()categories(List<Category> categories) categoriesRef(List<Reference> categoriesRef) categoryOrderHint(String categoryOrderHint) categoryOrderHints(List<CategoryOrderHint> categoryOrderHints) description(String description) descriptionAllLocales(List<LocalizedString> descriptionAllLocales) masterVariant(ProductVariant masterVariant) metaDescription(String metaDescription) metaDescriptionAllLocales(List<LocalizedString> metaDescriptionAllLocales) metaKeywords(String metaKeywords) metaKeywordsAllLocales(List<LocalizedString> metaKeywordsAllLocales) metaTitleAllLocales(List<LocalizedString> metaTitleAllLocales) nameAllLocales(List<LocalizedString> nameAllLocales) searchKeyword(List<SearchKeyword> searchKeyword) searchKeywords(List<SearchKeywords> searchKeywords) slugAllLocales(List<LocalizedString> slugAllLocales) variant(ProductVariant variant) variants(List<ProductVariant> variants)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
name
-
description
-
nameAllLocales
-
descriptionAllLocales
-
slug
-
slugAllLocales
-
categoryOrderHint
-
categoryOrderHints
-
categoriesRef
-
categories
-
searchKeyword
-
searchKeywords
-
metaTitle
-
metaTitleAllLocales
-
metaKeywords
-
metaKeywordsAllLocales
-
metaDescription
-
metaDescriptionAllLocales
public ProductData.Builder metaDescriptionAllLocales(List<LocalizedString> metaDescriptionAllLocales) -
masterVariant
-
variants
-
allVariants
-
variant
-
skus
-