Package com.hybris.merchandising.model
Class ProductImage
- java.lang.Object
-
- com.hybris.merchandising.model.ProductImage
-
public class ProductImage extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProductImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMainImage()Gets the main image URL.java.lang.StringgetThumbnailImage()Gets the thumbnail image URL.voidsetMainImage(java.lang.String mainImage)Sets the main image URL.voidsetThumbnailImage(java.lang.String thumbnailImage)Sets the thumbnail image URL.
-
-
-
Method Detail
-
getMainImage
public java.lang.String getMainImage()
Gets the main image URL.- Returns:
- the main image URL - this is a large image.
-
setMainImage
public void setMainImage(java.lang.String mainImage)
Sets the main image URL.- Parameters:
mainImage- the URL for the main image to show.
-
getThumbnailImage
public java.lang.String getThumbnailImage()
Gets the thumbnail image URL.- Returns:
- the thumbnail image URL.
-
setThumbnailImage
public void setThumbnailImage(java.lang.String thumbnailImage)
Sets the thumbnail image URL.- Parameters:
thumbnailImage- the thumbnail image URL to show.
-
-