-
public final class PurchaseOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPurchaseOptions.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BooleanalsoPublishToEventListenerIOSprivate final BooleanincludeSuspendedAndroidprivate final BooleanonlyIncludeActiveItemsIOS
-
Constructor Summary
Constructors Constructor Description PurchaseOptions(Boolean alsoPublishToEventListenerIOS, Boolean includeSuspendedAndroid, Boolean onlyIncludeActiveItemsIOS)
-
Method Summary
Modifier and Type Method Description final BooleangetAlsoPublishToEventListenerIOS()Also emit results through the iOS event listeners final BooleangetIncludeSuspendedAndroid()Include suspended subscriptions in the result (Android 8.1+). final BooleangetOnlyIncludeActiveItemsIOS()Limit to currently active items on iOS final Map<String, Object>toJson()-
-
Method Detail
-
getAlsoPublishToEventListenerIOS
final Boolean getAlsoPublishToEventListenerIOS()
Also emit results through the iOS event listeners
-
getIncludeSuspendedAndroid
final Boolean getIncludeSuspendedAndroid()
Include suspended subscriptions in the result (Android 8.1+). Suspended subscriptions have isSuspendedAndroid=true and should NOT be granted entitlements. Users should be directed to the subscription center to resolve payment issues. Default: false (only active subscriptions are returned)
-
getOnlyIncludeActiveItemsIOS
final Boolean getOnlyIncludeActiveItemsIOS()
Limit to currently active items on iOS
-
-
-
-