setInteractionPoint
setInteractionPoint(
interactionPoint
)
setInteractionPoint
方法定义
getOffers
和
postEvent
命令使用的交互点的名称。
interactionPoint
- 包含交互点名称的字符串。
interactionPoint
必须与交互式渠道中定义的交互点的名称精确匹配。它是区分大小写的。
返回值
无。
示例
以下示例摘自调用
getOffers
的
executeBatch
方法。
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.