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