getOfferCode
getOfferCode()
The
getOfferCode
method returns the offer code of the offer as defined in
Campaign
.
Return value
The
getOfferCode
method returns an array of strings containing the offer code of the offer.
Example
The following example prints the offer code of an offer.
for(Offer offer : offerList.getRecommendedOffers())
{
// print offer
System.out.println("Offer Code:"+offer.getOfferCode());
}
Copyright IBM Corporation 2013. All Rights Reserved.