LoyaltyListener
Interface implemented on the customer facing side.
This extends an interface which adds: Interface implemented on the customer facing side to:
- Via onMessage(), receive messages from the merchant facing side, or
- Via sendMessage(), send messages back to the merchant facing side
Since
4.1.0
Functions
Link copied to clipboard
public abstract void onLoyaltyDataLoaded(List<LoyaltyDataConfig> configs, CustomerInfo customerInfo)
When the implementing class connects, it will receive the current list of LoyaltyDataConfigs and current customerInfo.
Link copied to clipboard
Notified when the state of a loyalty service changes.
Link copied to clipboard
Sends a message back to the merchant facing side.