Class Link


  • public final class Link
    extends Object
    Returns link related to the product.
    • Constructor Detail

      • Link

        public Link()
    • Method Detail

      • linkType

        public LinkType linkType()
        Get the linkType property: Type of link.
        Returns:
        the linkType value.
      • linkUrl

        public String linkUrl()
        Get the linkUrl property: Url of the link.
        Returns:
        the linkUrl value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.