getDescription
getDescription()
The
getDescription
method returns the description of the offer defined in
Campaign
.
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());
}
Copyright IBM Corporation 2013. All Rights Reserved.