-
public final class RequestVerifyPurchaseWithIapkitPropsPlatform-specific verification parameters for IAPKit.
apple: Verifies via App Store (JWS token)
google: Verifies via Play Store (purchase token)
amazon: Verifies via Amazon Appstore RVS (userId + receiptId)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRequestVerifyPurchaseWithIapkitProps.Companion
-
Field Summary
Fields Modifier and Type Field Description private BooleanincludeClientPayloadprivate final RequestVerifyPurchaseWithIapkitAmazonPropsamazonprivate final StringapiKeyprivate final RequestVerifyPurchaseWithIapkitApplePropsappleprivate final StringbaseUrlprivate final RequestVerifyPurchaseWithIapkitGooglePropsgoogle
-
Constructor Summary
Constructors Constructor Description RequestVerifyPurchaseWithIapkitProps(RequestVerifyPurchaseWithIapkitAmazonProps amazon, String apiKey, RequestVerifyPurchaseWithIapkitAppleProps apple, String baseUrl, RequestVerifyPurchaseWithIapkitGoogleProps google, Boolean includeClientPayload)RequestVerifyPurchaseWithIapkitProps(RequestVerifyPurchaseWithIapkitAmazonProps amazon, String apiKey, RequestVerifyPurchaseWithIapkitAppleProps apple, String baseUrl, RequestVerifyPurchaseWithIapkitGoogleProps google)
-
Method Summary
Modifier and Type Method Description final BooleangetIncludeClientPayload()Available in OpenIAP Spec 2.4.0 / openiap-apple 2.4.1 / openiap-google 2.4.1. final UnitsetIncludeClientPayload(Boolean includeClientPayload)final RequestVerifyPurchaseWithIapkitAmazonPropsgetAmazon()Amazon Appstore verification parameters. final StringgetApiKey()API key used for the Authorization header (Bearer {apiKey}). final RequestVerifyPurchaseWithIapkitApplePropsgetApple()Apple App Store verification parameters. final StringgetBaseUrl()Available in OpenIAP Spec 2.3.1 / openiap-apple 2.4.0 / openiap-google 2.4.0. final RequestVerifyPurchaseWithIapkitGooglePropsgetGoogle()Google Play Store verification parameters. final Map<String, Object>toJson()-
-
Constructor Detail
-
RequestVerifyPurchaseWithIapkitProps
RequestVerifyPurchaseWithIapkitProps(RequestVerifyPurchaseWithIapkitAmazonProps amazon, String apiKey, RequestVerifyPurchaseWithIapkitAppleProps apple, String baseUrl, RequestVerifyPurchaseWithIapkitGoogleProps google, Boolean includeClientPayload)
-
RequestVerifyPurchaseWithIapkitProps
RequestVerifyPurchaseWithIapkitProps(RequestVerifyPurchaseWithIapkitAmazonProps amazon, String apiKey, RequestVerifyPurchaseWithIapkitAppleProps apple, String baseUrl, RequestVerifyPurchaseWithIapkitGoogleProps google)
-
-
Method Detail
-
getIncludeClientPayload
final Boolean getIncludeClientPayload()
Available in OpenIAP Spec 2.4.0 / openiap-apple 2.4.1 / openiap-google 2.4.1. Include the product's public IAPKit client payload in a valid Apple or Google verification response. Defaults to false so existing response shapes and bandwidth remain unchanged.
-
setIncludeClientPayload
final Unit setIncludeClientPayload(Boolean includeClientPayload)
-
getAmazon
final RequestVerifyPurchaseWithIapkitAmazonProps getAmazon()
Amazon Appstore verification parameters.
-
getApple
final RequestVerifyPurchaseWithIapkitAppleProps getApple()
Apple App Store verification parameters.
-
getBaseUrl
final String getBaseUrl()
Available in OpenIAP Spec 2.3.1 / openiap-apple 2.4.0 / openiap-google 2.4.0. Base URL for the IAPKit server. Defaults to https://kit.openiap.dev. Set this to a reachable HTTP(S) origin when self-hosting or testing a local IAPKit server. The apiKey must be issued by the same IAPKit/Convex deployment as this server.
-
getGoogle
final RequestVerifyPurchaseWithIapkitGoogleProps getGoogle()
Google Play Store verification parameters.
-
-
-
-