Package 

Class PaywallDialogOptions.Builder

    • Constructor Detail

      • PaywallDialogOptions.Builder

        PaywallDialogOptions.Builder()
    • Method Detail

      • setShouldDisplayBlock

         final <ERROR CLASS> setShouldDisplayBlock(Function1<CustomerInfo, Boolean> shouldDisplayBlock)

        Allows to configure whether to display the paywall dialog depending on operations on the CustomerInfo

      • setRequiredEntitlementIdentifier

         final <ERROR CLASS> setRequiredEntitlementIdentifier(String requiredEntitlementIdentifier)

        Allows to configure whether to display the paywall dialog depending on the presence of a specific entitlement

      • setOffering

         final <ERROR CLASS> setOffering(Offering offering)
      • setShouldDisplayDismissButton

         final <ERROR CLASS> setShouldDisplayDismissButton(Boolean shouldDisplayDismissButton)

        Sets whether to display a close button on the paywall screen. Only available for original template paywalls. Ignored for v2 Paywalls. Defaults to true.

      • setFontProvider

         final <ERROR CLASS> setFontProvider(FontProvider fontProvider)

        Sets a font provider to provide the paywall with your custom fonts. Only available for original template paywalls. Ignored for v2 Paywalls.