-
public final class RequestPurchasePropsByPlatformsPlatform-specific purchase request parameters.
Note: "Platforms" refers to the SDK/OS level (apple, google), not the store.
apple: Always targets App Store
google: Targets Play Store by default, Horizon when built with horizon flavor, or Fire OS when built with amazon flavor (determined at build time, not runtime)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRequestPurchasePropsByPlatforms.Companion
-
Field Summary
Fields Modifier and Type Field Description private final RequestPurchaseIosPropsappleprivate final RequestPurchaseAndroidPropsgoogle
-
Constructor Summary
Constructors Constructor Description RequestPurchasePropsByPlatforms(RequestPurchaseIosProps apple, RequestPurchaseAndroidProps google)
-
Method Summary
Modifier and Type Method Description final RequestPurchaseIosPropsgetApple()Apple-specific purchase parameters final RequestPurchaseAndroidPropsgetGoogle()Google-specific purchase parameters final Map<String, Object>toJson()-
-
Constructor Detail
-
RequestPurchasePropsByPlatforms
RequestPurchasePropsByPlatforms(RequestPurchaseIosProps apple, RequestPurchaseAndroidProps google)
-
-
Method Detail
-
getApple
final RequestPurchaseIosProps getApple()
Apple-specific purchase parameters
-
getGoogle
final RequestPurchaseAndroidProps getGoogle()
Google-specific purchase parameters
-
-
-
-