-
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, or Horizon when built with horizon 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 RequestPurchaseAndroidPropsandroidprivate final RequestPurchaseIosPropsappleprivate final RequestPurchaseAndroidPropsgoogleprivate final RequestPurchaseIosPropsios
-
Constructor Summary
Constructors Constructor Description RequestPurchasePropsByPlatforms(RequestPurchaseAndroidProps android, RequestPurchaseIosProps apple, RequestPurchaseAndroidProps google, RequestPurchaseIosProps ios)
-
Method Summary
Modifier and Type Method Description final RequestPurchaseAndroidPropsgetAndroid()final RequestPurchaseIosPropsgetApple()Apple-specific purchase parameters final RequestPurchaseAndroidPropsgetGoogle()Google-specific purchase parameters final RequestPurchaseIosPropsgetIos()final Map<String, Object>toJson()-
-
Constructor Detail
-
RequestPurchasePropsByPlatforms
RequestPurchasePropsByPlatforms(RequestPurchaseAndroidProps android, RequestPurchaseIosProps apple, RequestPurchaseAndroidProps google, RequestPurchaseIosProps ios)
-
-
Method Detail
-
getAndroid
final RequestPurchaseAndroidProps getAndroid()
-
getApple
final RequestPurchaseIosProps getApple()
Apple-specific purchase parameters
-
getGoogle
final RequestPurchaseAndroidProps getGoogle()
Google-specific purchase parameters
-
getIos
final RequestPurchaseIosProps getIos()
-
-
-
-