getOfferList
getOfferList()

The getOfferList method returns the OfferList object of a Response object.

The getOffers method populates the OfferList object of a Response object.

Return value

The Response object returns an OfferList object.

Example

The following example is an excerpt from a method which processes the response object for getOffers.

OfferList offerList=response.getOfferList();
if(offerList.getRecommendedOffers() != null)
{
for(Offer offer : offerList.getRecommendedOffers())
{
// print offer
System.out.println("Offer Name:"+offer.getOfferName());
}
}


IBM Unica Interact
 
8.5.0
For more information, see our support and community site: Customer Central