Class 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.String getMainImage()
      Gets the main image URL.
      java.lang.String getThumbnailImage()
      Gets the thumbnail image URL.
      void setMainImage​(java.lang.String mainImage)
      Sets the main image URL.
      void setThumbnailImage​(java.lang.String thumbnailImage)
      Sets the thumbnail image URL.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProductImage

        public ProductImage()
    • 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.