Class ProductProjection.Builder
java.lang.Object
com.commercetools.graphql.api.types.ProductProjection.Builder
- Enclosing class:
- ProductProjection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()categories(List<Category> categories) categoriesRef(List<Reference> categoriesRef) categoryOrderHints(List<CategoryOrderHintProductSearch> categoryOrderHints) createdAt(OffsetDateTime createdAt) description(String description) descriptionAllLocales(List<LocalizedString> descriptionAllLocales) hasStagedChanges(Boolean hasStagedChanges) lastModifiedAt(OffsetDateTime lastModifiedAt) masterVariant(ProductSearchVariant masterVariant) metaDescription(String metaDescription) metaDescriptionAllLocales(List<LocalizedString> metaDescriptionAllLocales) metaKeywords(String metaKeywords) metaKeywordsAllLocales(List<LocalizedString> metaKeywordsAllLocales) metaTitleAllLocales(List<LocalizedString> metaTitleAllLocales) nameAllLocales(List<LocalizedString> nameAllLocales) productType(ProductTypeDefinition productType) productTypeRef(Reference productTypeRef) reviewRatingStatistics(ReviewRatingStatistics reviewRatingStatistics) searchKeywords(List<SearchKeywordsProductSearch> searchKeywords) slugAllLocales(List<LocalizedString> slugAllLocales) taxCategory(TaxCategory taxCategory) taxCategoryRef(Reference taxCategoryRef) variants(List<ProductSearchVariant> variants)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
id
-
key
-
version
-
createdAt
-
lastModifiedAt
-
productTypeRef
-
productType
-
name
-
nameAllLocales
-
description
-
descriptionAllLocales
-
slug
-
slugAllLocales
-
categoryOrderHints
public ProductProjection.Builder categoryOrderHints(List<CategoryOrderHintProductSearch> categoryOrderHints) -
categoriesRef
-
categories
-
searchKeywords
-
metaTitle
-
metaTitleAllLocales
-
metaKeywords
-
metaKeywordsAllLocales
public ProductProjection.Builder metaKeywordsAllLocales(List<LocalizedString> metaKeywordsAllLocales) -
metaDescription
-
metaDescriptionAllLocales
public ProductProjection.Builder metaDescriptionAllLocales(List<LocalizedString> metaDescriptionAllLocales) -
hasStagedChanges
-
published
-
masterVariant
-
variants
-
taxCategoryRef
-
taxCategory
-
stateRef
-
state
-
reviewRatingStatistics
public ProductProjection.Builder reviewRatingStatistics(ReviewRatingStatistics reviewRatingStatistics)
-