Builder
Use this builder to create an instance of PaywallOptions.
Properties
Custom variables to be applied to the paywall. These allow you to dynamically set text on your paywall from your app. Keys must match the variable names defined in your paywall configuration.
Dismiss the paywall, i.e. remove the view, navigate to another screen, etc. Will be called when the close button is pressed (if enabled) or when a purchase succeeds.
Optional listener, called for various purchase and restore events.
Optional purchase logic for handling purchases and restores directly by your app instead of RevenueCat. Only used when purchasesAreCompletedBy is set to MY_APP.
Whether to display a close button on the paywall screen. Only available when using Paywall and original template paywalls. Ignored when using OriginalTemplatePaywallFooter or V2 Paywalls. Defaults to false.
Functions
Creates a PaywallOptions instance with the specified properties.