TMPre Purchase Favorites Delegate
interface TMPrePurchaseFavoritesDelegate
Interface for handling favorite-related operations in the prepurchase flow.
Functions
Link copied to clipboard
Link copied to clipboard
abstract fun prePurchaseIsEntityAlreadyFavorite(entity: DiscoveryAbstractEntity, isFavoriteForMarketHost: TMMarketDomain, completed: (Boolean) -> Unit, context: Context)
Checks if an entity is already marked as a favorite for a specific market.
Link copied to clipboard
abstract fun prePurchaseRemoveEntityFromFavorite(abstractEntity: DiscoveryAbstractEntity, completed: (Boolean) -> Unit, context: Context)
Removes an entity from the user's favorites.