-
public final class PaywallOptions.Builder
-
-
Constructor Summary
Constructors Constructor Description PaywallOptions.Builder(Function0<Unit> dismissRequest)
-
Method Summary
Modifier and Type Method Description final <ERROR CLASS>setOffering(Offering offering)final <ERROR CLASS>setShouldDisplayDismissButton(Boolean shouldDisplayDismissButton)Sets whether to display a close button on the paywall screen. final <ERROR CLASS>setFontProvider(FontProvider fontProvider)final <ERROR CLASS>setListener(PaywallListener listener)final <ERROR CLASS>setPurchaseLogic(PurchaseLogic purchaseLogic)final PaywallOptionsbuild()-
-
Constructor Detail
-
PaywallOptions.Builder
PaywallOptions.Builder(Function0<Unit> dismissRequest)
-
-
Method Detail
-
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 when using Paywall. Ignored when using PaywallFooter. Defaults to false.
-
setFontProvider
final <ERROR CLASS> setFontProvider(FontProvider fontProvider)
-
setListener
final <ERROR CLASS> setListener(PaywallListener listener)
-
setPurchaseLogic
final <ERROR CLASS> setPurchaseLogic(PurchaseLogic purchaseLogic)
-
build
final PaywallOptions build()
-
-
-
-