Class NativePromoCard


  • public class NativePromoCard
    extends java.lang.Object
    A data class for Native ads card.
    • Method Detail

      • getTitle

        @Nullable
        public java.lang.String getTitle()
        Returns:
        Card title
      • getDescription

        @Nullable
        public java.lang.String getDescription()
        Returns:
        Card description
      • getCtaText

        @Nullable
        public java.lang.String getCtaText()
        Returns:
        Call-to-action text of card
      • getImage

        @Nullable
        public ImageData getImage()
        Returns:
        Card image
      • getDiscount

        @Nullable
        public java.lang.String getDiscount()
        Returns:
        Discount text for the card.