Class ProductProjection
java.lang.Object
com.commercetools.graphql.api.types.ProductProjection
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionProductProjection(String id, String key, Long version, OffsetDateTime createdAt, OffsetDateTime lastModifiedAt, Reference productTypeRef, ProductTypeDefinition productType, String name, List<LocalizedString> nameAllLocales, String description, List<LocalizedString> descriptionAllLocales, String slug, List<LocalizedString> slugAllLocales, List<CategoryOrderHintProductSearch> categoryOrderHints, List<Reference> categoriesRef, List<Category> categories, List<SearchKeywordsProductSearch> searchKeywords, String metaTitle, List<LocalizedString> metaTitleAllLocales, String metaKeywords, List<LocalizedString> metaKeywordsAllLocales, String metaDescription, List<LocalizedString> metaDescriptionAllLocales, Boolean hasStagedChanges, Boolean published, ProductSearchVariant masterVariant, List<ProductSearchVariant> variants, Reference taxCategoryRef, TaxCategory taxCategory, Reference stateRef, State state, ReviewRatingStatistics reviewRatingStatistics) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getKey()getName()getSlug()getState()inthashCode()static ProductProjection.BuildervoidsetCategories(List<Category> categories) voidsetCategoriesRef(List<Reference> categoriesRef) voidsetCategoryOrderHints(List<CategoryOrderHintProductSearch> categoryOrderHints) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDescription(String description) voidsetDescriptionAllLocales(List<LocalizedString> descriptionAllLocales) voidsetHasStagedChanges(Boolean hasStagedChanges) voidvoidvoidsetLastModifiedAt(OffsetDateTime lastModifiedAt) voidsetMasterVariant(ProductSearchVariant masterVariant) voidsetMetaDescription(String metaDescription) voidsetMetaDescriptionAllLocales(List<LocalizedString> metaDescriptionAllLocales) voidsetMetaKeywords(String metaKeywords) voidsetMetaKeywordsAllLocales(List<LocalizedString> metaKeywordsAllLocales) voidsetMetaTitle(String metaTitle) voidsetMetaTitleAllLocales(List<LocalizedString> metaTitleAllLocales) voidvoidsetNameAllLocales(List<LocalizedString> nameAllLocales) voidsetProductType(ProductTypeDefinition productType) voidsetProductTypeRef(Reference productTypeRef) voidsetPublished(Boolean published) voidsetReviewRatingStatistics(ReviewRatingStatistics reviewRatingStatistics) voidsetSearchKeywords(List<SearchKeywordsProductSearch> searchKeywords) voidvoidsetSlugAllLocales(List<LocalizedString> slugAllLocales) voidvoidsetStateRef(Reference stateRef) voidsetTaxCategory(TaxCategory taxCategory) voidsetTaxCategoryRef(Reference taxCategoryRef) voidsetVariants(List<ProductSearchVariant> variants) voidsetVersion(Long version) toString()
-
Constructor Details
-
ProductProjection
public ProductProjection() -
ProductProjection
public ProductProjection(String id, String key, Long version, OffsetDateTime createdAt, OffsetDateTime lastModifiedAt, Reference productTypeRef, ProductTypeDefinition productType, String name, List<LocalizedString> nameAllLocales, String description, List<LocalizedString> descriptionAllLocales, String slug, List<LocalizedString> slugAllLocales, List<CategoryOrderHintProductSearch> categoryOrderHints, List<Reference> categoriesRef, List<Category> categories, List<SearchKeywordsProductSearch> searchKeywords, String metaTitle, List<LocalizedString> metaTitleAllLocales, String metaKeywords, List<LocalizedString> metaKeywordsAllLocales, String metaDescription, List<LocalizedString> metaDescriptionAllLocales, Boolean hasStagedChanges, Boolean published, ProductSearchVariant masterVariant, List<ProductSearchVariant> variants, Reference taxCategoryRef, TaxCategory taxCategory, Reference stateRef, State state, ReviewRatingStatistics reviewRatingStatistics)
-
-
Method Details
-
getId
-
setId
-
getKey
-
setKey
-
getVersion
-
setVersion
-
getCreatedAt
-
setCreatedAt
-
getLastModifiedAt
-
setLastModifiedAt
-
getProductTypeRef
-
setProductTypeRef
-
getProductType
-
setProductType
-
getName
-
setName
-
getNameAllLocales
-
setNameAllLocales
-
getDescription
-
setDescription
-
getDescriptionAllLocales
-
setDescriptionAllLocales
-
getSlug
-
setSlug
-
getSlugAllLocales
-
setSlugAllLocales
-
getCategoryOrderHints
-
setCategoryOrderHints
-
getCategoriesRef
-
setCategoriesRef
-
getCategories
-
setCategories
-
getSearchKeywords
-
setSearchKeywords
-
getMetaTitle
-
setMetaTitle
-
getMetaTitleAllLocales
-
setMetaTitleAllLocales
-
getMetaKeywords
-
setMetaKeywords
-
getMetaKeywordsAllLocales
-
setMetaKeywordsAllLocales
-
getMetaDescription
-
setMetaDescription
-
getMetaDescriptionAllLocales
-
setMetaDescriptionAllLocales
-
getHasStagedChanges
-
setHasStagedChanges
-
getPublished
-
setPublished
-
getMasterVariant
-
setMasterVariant
-
getVariants
-
setVariants
-
getTaxCategoryRef
-
setTaxCategoryRef
-
getTaxCategory
-
setTaxCategory
-
getStateRef
-
setStateRef
-
getState
-
setState
-
getReviewRatingStatistics
-
setReviewRatingStatistics
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-