Result

sealed class Result

Result of the redemption of a RevenueCat Web purchase.

Inheritors

Types

Link copied to clipboard

Indicates that the web purchase has already been redeemed and can't be redeemed again.

Link copied to clipboard

Indicates that an unknown error occurred during the redemption.

Link copied to clipboard
data class Expired(val obfuscatedEmail: String) : RedeemWebPurchaseListener.Result

Indicates that the redemption token has expired. An email with a new redemption token might be sent if a new one wasn't already sent recently. The email where it will be sent is indicated by the obfuscatedEmail.

Link copied to clipboard

Indicates that the redemption token is invalid.

Link copied to clipboard
data class Success(val customerInfo: CustomerInfo) : RedeemWebPurchaseListener.Result

Indicates that the web purchase was redeemed successfully.

Properties

Link copied to clipboard

Whether the redemption was successful or not.