Class ProductSearchVariant
java.lang.Object
com.commercetools.graphql.api.types.ProductSearchVariant
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionProductSearchVariant(Integer id, String key, String sku, List<ProductPriceSearch> prices, ProductPriceSearch price, List<ImageProductSearch> images, List<Asset> assets, ProductSearchVariantAvailabilityWithChannels availability, List<RawProductSearchAttribute> attributesRaw, Boolean isMatchingVariant, ScopedPrice scopedPrice, Boolean scopedPriceDiscounted) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis field contains raw attributes datagetId()getKey()getPrice()Returns a single price based on the price selection rules.getSku()inthashCode()static ProductSearchVariant.BuildervoidvoidsetAttributesRaw(List<RawProductSearchAttribute> attributesRaw) voidsetAvailability(ProductSearchVariantAvailabilityWithChannels availability) voidvoidsetImages(List<ImageProductSearch> images) voidsetIsMatchingVariant(Boolean isMatchingVariant) voidvoidsetPrice(ProductPriceSearch price) voidsetPrices(List<ProductPriceSearch> prices) voidsetScopedPrice(ScopedPrice scopedPrice) voidsetScopedPriceDiscounted(Boolean scopedPriceDiscounted) voidtoString()
-
Constructor Details
-
ProductSearchVariant
public ProductSearchVariant() -
ProductSearchVariant
public ProductSearchVariant(Integer id, String key, String sku, List<ProductPriceSearch> prices, ProductPriceSearch price, List<ImageProductSearch> images, List<Asset> assets, ProductSearchVariantAvailabilityWithChannels availability, List<RawProductSearchAttribute> attributesRaw, Boolean isMatchingVariant, ScopedPrice scopedPrice, Boolean scopedPriceDiscounted)
-
-
Method Details
-
getId
-
setId
-
getKey
-
setKey
-
getSku
-
setSku
-
getPrices
-
setPrices
-
getPrice
Returns a single price based on the price selection rules. -
setPrice
-
getImages
-
setImages
-
getAssets
-
setAssets
-
getAvailability
-
setAvailability
-
getAttributesRaw
This field contains raw attributes data -
setAttributesRaw
-
getIsMatchingVariant
-
setIsMatchingVariant
-
getScopedPrice
-
setScopedPrice
-
getScopedPriceDiscounted
-
setScopedPriceDiscounted
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-