Package com.hybris.merchandising.model
Class ProductImage
java.lang.Object
com.hybris.merchandising.model.ProductImage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the main image URL.Gets the thumbnail image URL.voidsetMainImage(String mainImage) Sets the main image URL.voidsetThumbnailImage(String thumbnailImage) Sets the thumbnail image URL.
-
Constructor Details
-
ProductImage
public ProductImage()
-
-
Method Details
-
getMainImage
Gets the main image URL.- Returns:
- the main image URL - this is a large image.
-
setMainImage
Sets the main image URL.- Parameters:
mainImage- the URL for the main image to show.
-
getThumbnailImage
Gets the thumbnail image URL.- Returns:
- the thumbnail image URL.
-
setThumbnailImage
Sets the thumbnail image URL.- Parameters:
thumbnailImage- the thumbnail image URL to show.
-