Interface ProductTailoringData


public interface ProductTailoringData

Contains all the tailored data of a Product.


Example to create an instance using the builder pattern

     ProductTailoringData productTailoringData = ProductTailoringData.builder()
             .build()
 
  • Method Details

    • getName

      @Valid @Valid LocalizedString getName()

      Tailored name of the Product.

      Returns:
      name
    • getDescription

      @Valid @Valid LocalizedString getDescription()

      Tailored description of the Product.

      Returns:
      description
    • getMetaTitle

      @Valid @Valid LocalizedString getMetaTitle()

      Tailored title of the Product used by external search engines for improved search engine performance.

      Returns:
      metaTitle
    • getMetaDescription

      @Valid @Valid LocalizedString getMetaDescription()

      Tailored description of the Product used by external search engines for improved search engine performance.

      Returns:
      metaDescription
    • getMetaKeywords

      @Valid @Valid LocalizedString getMetaKeywords()

      Tailored keywords related to the Product used by external search engines for improved search engine performance.

      Returns:
      metaKeywords
    • getSlug

      @Valid @Valid LocalizedString getSlug()

      User-defined identifier used in a deep-link URL for the ProductTailoring. Matches the pattern [a-zA-Z0-9_\\-]{2,256}.

      Returns:
      slug
    • setName

      void setName(LocalizedString name)

      Tailored name of the Product.

      Parameters:
      name - value to be set
    • setDescription

      void setDescription(LocalizedString description)

      Tailored description of the Product.

      Parameters:
      description - value to be set
    • setMetaTitle

      void setMetaTitle(LocalizedString metaTitle)

      Tailored title of the Product used by external search engines for improved search engine performance.

      Parameters:
      metaTitle - value to be set
    • setMetaDescription

      void setMetaDescription(LocalizedString metaDescription)

      Tailored description of the Product used by external search engines for improved search engine performance.

      Parameters:
      metaDescription - value to be set
    • setMetaKeywords

      void setMetaKeywords(LocalizedString metaKeywords)

      Tailored keywords related to the Product used by external search engines for improved search engine performance.

      Parameters:
      metaKeywords - value to be set
    • setSlug

      void setSlug(LocalizedString slug)

      User-defined identifier used in a deep-link URL for the ProductTailoring. Matches the pattern [a-zA-Z0-9_\\-]{2,256}.

      Parameters:
      slug - value to be set
    • of

      static ProductTailoringData of()
      factory method
      Returns:
      instance of ProductTailoringData
    • of

      factory method to create a shallow copy ProductTailoringData
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of ProductTailoringData
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static ProductTailoringDataBuilder builder()
      builder factory method for ProductTailoringData
      Returns:
      builder
    • builder

      create builder for ProductTailoringData instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withProductTailoringData

      default <T> T withProductTailoringData(Function<ProductTailoringData,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<ProductTailoringData> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference