setInteractionPoint

setInteractionPoint メソッドは、getOffers コマンドおよび postEvent コマンドで使用するインタラクション・ポイントの名前を定義します。

setInteractionPoint(interactionPoint)
  • 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);