public static interface KitIntegration.CommerceListener
Modifier and Type | Method and Description |
---|---|
java.util.List<ReportingMessage> |
logEvent(CommerceEvent event)
The mParticle SDK exposes a rich eCommerce API, allowing developers to keep track of purchases and many other
product-related interactions.
|
java.util.List<ReportingMessage> |
logLtvIncrease(java.math.BigDecimal valueIncreased,
java.math.BigDecimal valueTotal,
java.lang.String eventName,
java.util.Map<java.lang.String,java.lang.String> contextInfo)
The mParticle SDK exposes a basic lifetime-value-increase API.
|
java.util.List<ReportingMessage> logLtvIncrease(java.math.BigDecimal valueIncreased, java.math.BigDecimal valueTotal, java.lang.String eventName, java.util.Map<java.lang.String,java.lang.String> contextInfo)
valueIncreased
- the amount that the LTV should be increased by.valueTotal
- the total value that mParticle now associates with the user after this increaseeventName
- an optional name to associate with the LTV increasecontextInfo
- an optional Map of attributes to associate with the LTV increasejava.util.List<ReportingMessage> logEvent(CommerceEvent event)
event
- the CommerceEvent that was logged