Purchase Flow
This class is responsible for tracking app performance during purchase flows.
This class is thread-safe.
Functions
Link copied to clipboard
public boolean addToCartComplete(String momentId, Map<String, Object> properties)
Content copied to clipboard
Ends a particular add-to-cart moment instance and generates an info log message that indicates that adding to the cart completed.
Link copied to clipboard
Link copied to clipboard
Fails all started instances of the specified custom moment and generates an error log message for each failed moment instance.
public boolean momentFail( String momentName, String momentId, String msg)
Content copied to clipboard
public boolean momentFail( String momentName, String momentId, String msg, Map<String, Object> properties)
Content copied to clipboard
Fails a started instance of the custom moment specified by the moment identifier and sends an error log message for the failed moment instance.
Link copied to clipboard
Link copied to clipboard
Ends the purchase moment and generates an info log message that indicates that the purchase completed.
Link copied to clipboard
Ends the purchase moment and generates an error log message that indicates that the purchase failed.
Link copied to clipboard