getDescription

The getDescription method returns the description of the offer defined in Unica Campaign.

getDescription()

Return value

The getDescription method returns a string.

Example

The following example prints the description of an offer.

for(Offer offer : offerList.getRecommendedOffers())
{
    // print offer
     System.out.println("Offer Description:"+offer.getDescription());
}