getOfferName

The getOfferName method returns the name of the offer as defined in Unica Campaign.

getOfferName()

Return value

The getOfferName method returns string.

Example

The following example prints the name of an offer.

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