Class NativePromoCard

java.lang.Object
com.my.target.nativeads.banners.NativePromoCard

public class NativePromoCard extends Object
A data class for Native ads card.
  • Method Details

    • getTitle

      public String getTitle()
      Returns:
      Card title
    • getDescription

      public String getDescription()
      Returns:
      Card description
    • getCtaText

      public String getCtaText()
      Returns:
      Call-to-action text of card
    • getImage

      public ImageData getImage()
      Returns:
      Card image
    • getDiscount

      public String getDiscount()
      Returns:
      Discount text for the card.
    • getPrice

      public String getPrice()
      Returns:
      Price text for the card.
    • getOldPrice

      public String getOldPrice()
      Returns:
      Old price text for the card.
    • getCurrency

      public String getCurrency()
      Returns:
      Currency text for the card.