package com.revenuecat.purchases.react.ui.events import com.revenuecat.purchases.react.ui.PaywallEventKey import com.revenuecat.purchases.react.ui.PaywallEventName internal class OnRestoreCompletedEvent( surfaceId: Int, viewTag: Int, private val customerInfo: Map, ) : PaywallEvent(surfaceId, viewTag) { override fun getPaywallEventName() = PaywallEventName.ON_RESTORE_COMPLETED override fun getPayload() = mapOf(PaywallEventKey.CUSTOMER_INFO to customerInfo) }