Object OfferUtils
-
- All Implemented Interfaces:
public class OfferUtils
-
-
Field Summary
Fields Modifier and Type Field Description public final static OfferUtilsINSTANCE
-
Method Summary
Modifier and Type Method Description final static Unitdisplayed(List<Offer> $self)Dispatches an event for the Edge network extension to send an Experience Event to the Edge network with the display interaction data for the given list of Offers. final static Map<String, Object>generateDisplayInteractionXdm(List<Offer> $self)Generates a map containing XDM formatted data for Experience Event - OptimizeProposition Interactionsfield group from the given list of Offers.-
-
Method Detail
-
displayed
final static Unit displayed(List<Offer> $self)
Dispatches an event for the Edge network extension to send an Experience Event to the Edge network with the display interaction data for the given list of Offers.
This function extracts unique OptimizePropositions from the list of offers based on their proposition ID and dispatches an event with multiple propositions.
-
generateDisplayInteractionXdm
final static Map<String, Object> generateDisplayInteractionXdm(List<Offer> $self)
Generates a map containing XDM formatted data for
Experience Event - OptimizeProposition Interactionsfield group from the given list of Offers.This function extracts unique OptimizePropositions from the list of offers based on their proposition ID and generates XDM data for the interaction.
- Returns:
Map containing the XDM data for the proposition interaction, or null if the list is empty or no valid propositions are found
-
-
-
-