setInteractionPoint
The setInteractionPoint method defines the name of the interaction point used by the getOffers and postEvent commands.
setInteractionPoint(interactionPoint)
- interactionPoint-a string containing the interaction point name.
Important: The interactionPoint must
match the name of the interaction point as defined in the interactive
channel exactly. It is case-sensitive.
Return value
None.
Example
The following example is an excerpt from an executeBatch method calling getOffers.
String interactionPoint = "Overview Page Banner 1";
int numberRequested=1;
Command getOffersCommand = new CommandImpl();
getOffersCommand.setMethodIdentifier(Command.COMMAND_GETOFFERS);
getOffersCommand.setInteractionPoint(interactionPoint);
getOffersCommand.setNumberRequested(numberRequested);