Class Product
java.lang.Object
com.commercetools.graphql.api.types.Product
- All Implemented Interfaces:
ReferenceExpandable,ReviewTarget,Versioned
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionProduct()Product(String id, String key, Long version, Reference productTypeRef, ProductTypeDefinition productType, ProductCatalogData masterData, List<String> skus, OffsetDateTime createdAt, OffsetDateTime lastModifiedAt, Reference stateRef, State state, PriceMode priceMode, Reference taxCategoryRef, TaxCategory taxCategory, ReviewRatingStatistics reviewRatingStatistics, SelectionOfProductQueryResult productSelectionRefs, Initiator createdBy, Initiator lastModifiedBy) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getKey()getSkus()getState()inthashCode()static Product.BuildervoidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(Initiator createdBy) voidvoidvoidsetLastModifiedAt(OffsetDateTime lastModifiedAt) voidsetLastModifiedBy(Initiator lastModifiedBy) voidsetMasterData(ProductCatalogData masterData) voidsetPriceMode(PriceMode priceMode) voidsetProductSelectionRefs(SelectionOfProductQueryResult productSelectionRefs) voidsetProductType(ProductTypeDefinition productType) voidsetProductTypeRef(Reference productTypeRef) voidsetReviewRatingStatistics(ReviewRatingStatistics reviewRatingStatistics) voidvoidvoidsetStateRef(Reference stateRef) voidsetTaxCategory(TaxCategory taxCategory) voidsetTaxCategoryRef(Reference taxCategoryRef) voidsetVersion(Long version) toString()
-
Constructor Details
-
Product
public Product() -
Product
public Product(String id, String key, Long version, Reference productTypeRef, ProductTypeDefinition productType, ProductCatalogData masterData, List<String> skus, OffsetDateTime createdAt, OffsetDateTime lastModifiedAt, Reference stateRef, State state, PriceMode priceMode, Reference taxCategoryRef, TaxCategory taxCategory, ReviewRatingStatistics reviewRatingStatistics, SelectionOfProductQueryResult productSelectionRefs, Initiator createdBy, Initiator lastModifiedBy)
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceReferenceExpandable- Specified by:
getIdin interfaceReviewTarget- Specified by:
getIdin interfaceVersioned
-
setId
- Specified by:
setIdin interfaceReferenceExpandable- Specified by:
setIdin interfaceReviewTarget- Specified by:
setIdin interfaceVersioned
-
getKey
-
setKey
-
getVersion
- Specified by:
getVersionin interfaceVersioned
-
setVersion
- Specified by:
setVersionin interfaceVersioned
-
getProductTypeRef
-
setProductTypeRef
-
getProductType
-
setProductType
-
getMasterData
-
setMasterData
-
getSkus
-
setSkus
-
getCreatedAt
- Specified by:
getCreatedAtin interfaceVersioned
-
setCreatedAt
- Specified by:
setCreatedAtin interfaceVersioned
-
getLastModifiedAt
- Specified by:
getLastModifiedAtin interfaceVersioned
-
setLastModifiedAt
- Specified by:
setLastModifiedAtin interfaceVersioned
-
getStateRef
-
setStateRef
-
getState
-
setState
-
getPriceMode
-
setPriceMode
-
getTaxCategoryRef
-
setTaxCategoryRef
-
getTaxCategory
-
setTaxCategory
-
getReviewRatingStatistics
-
setReviewRatingStatistics
-
getProductSelectionRefs
-
setProductSelectionRefs
-
getCreatedBy
- Specified by:
getCreatedByin interfaceVersioned
-
setCreatedBy
- Specified by:
setCreatedByin interfaceVersioned
-
getLastModifiedBy
- Specified by:
getLastModifiedByin interfaceVersioned
-
setLastModifiedBy
- Specified by:
setLastModifiedByin interfaceVersioned
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-