setNumberRequested
setNumberRequested(
numberRequested
)
The
setNumberRequested
method defines the number of offers requested by the
getOffers
command.
numberRequested
—an integer defining the number of offers requested by the
getOffers
command.
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);
Copyright IBM Corporation 2012. All Rights Reserved.