getAllOfferLists
getAllOfferLists()

The getAllOfferLists method returns an array of all OfferLists of a Response object.

This is used by the getOffersForMultipleInteractionPoints method that populates the OfferList array object of a Response object.

Return value

The Response object returns an OfferList array.

Example

[[replace this 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