Class Offer
java.lang.Object
com.adobe.marketing.mobile.optimize.Offer
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidDispatches an event for the Edge network extension to send an Experience Event to the Edge network with the display interaction data for the givenOptimizePropositionoffer.booleanGenerates a map containing XDM formatted data forExperience Event - OptimizeProposition Interactionsfield group from thisOptimizePropositionitem.Generates a map containing XDM formatted data forExperience Event - OptimizeProposition Interactionsfield group from thisOptimizePropositionoffer.Gets theOffercharacteristics.Gets theOffercontent.getEtag()Gets theOfferetag.getId()Gets theOfferidentifier.Gets theOfferlanguage.getMeta()Gets theOffermetadata.Gets the containingOptimizePropositionfor thisOffer.Gets theOfferschema.intgetScore()Gets theOfferscore.getType()Gets theOffertype.inthashCode()voidtapped()Dispatches an event for the Edge network extension to send an Experience Event to the Edge network with the tap interaction data for the givenOptimizePropositionoffer.
-
Method Details
-
getId
Gets theOfferidentifier. -
getEtag
Gets theOfferetag. -
getScore
public int getScore()Gets theOfferscore.- Returns:
intcontaining theOfferscore.
-
getSchema
Gets theOfferschema. -
getMeta
Gets theOffermetadata.- Returns:
Map<String, Object>containing theOffermetadata.
-
getType
Gets theOffertype. -
getLanguage
Gets theOfferlanguage.- Returns:
List<String>containing the supportedOfferlanguage.
-
getContent
Gets theOffercontent. -
getCharacteristics
Gets theOffercharacteristics.- Returns:
Map<String, String>containing theOffercharacteristics.
-
getProposition
Gets the containingOptimizePropositionfor thisOffer.- Returns:
OptimizePropositioninstance.
-
displayed
public void displayed()Dispatches an event for the Edge network extension to send an Experience Event to the Edge network with the display interaction data for the givenOptimizePropositionoffer.- See Also:
-
trackWithData(Map)
-
tapped
public void tapped()Dispatches an event for the Edge network extension to send an Experience Event to the Edge network with the tap interaction data for the givenOptimizePropositionoffer.- See Also:
-
trackWithData(Map)
-
generateDisplayInteractionXdm
Generates a map containing XDM formatted data forExperience Event - OptimizeProposition Interactionsfield group from thisOptimizePropositionitem.The returned XDM data does contain the
eventTypefor the Experience Event with valuedecisioning.propositionDisplay.Note: The Edge sendEvent API can be used to dispatch this data in an Experience Event along with any additional XDM, free-form data, and override dataset identifier.
- Returns:
Map<String, Object>containing the XDM data for the proposition interaction.- See Also:
-
generateInteractionXdm(String)
-
generateTapInteractionXdm
Generates a map containing XDM formatted data forExperience Event - OptimizeProposition Interactionsfield group from thisOptimizePropositionoffer.The returned XDM data contains the
eventTypefor the Experience Event with valuedecisioning.propositionInteract.Note: The Edge sendEvent API can be used to dispatch this data in an Experience Event along with any additional XDM, free-form data, and override dataset identifier.
- Returns:
Map<String, Object>containing the XDM data for the proposition interaction.- See Also:
-
generateInteractionXdm(String)
-
equals
-
hashCode
public int hashCode()
-