-
public final class VerifyPurchaseGoogleOptionsGoogle Play Store verification parameters. Used for server-side receipt validation via Google Play Developer API.
⚠️ SECURITY: Contains sensitive tokens (accessToken, purchaseToken). Do not log or persist this data.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classVerifyPurchaseGoogleOptions.Companion
-
Field Summary
Fields Modifier and Type Field Description private final StringaccessTokenprivate final BooleanisSubprivate final StringpackageNameprivate final StringpurchaseTokenprivate final Stringsku
-
Method Summary
Modifier and Type Method Description final StringgetAccessToken()Google OAuth2 access token for API authentication. final BooleangetIsSub()Whether this is a subscription purchase (affects API endpoint used) final StringgetPackageName()Android package name (e.g., com.example. final StringgetPurchaseToken()Purchase token from the purchase response. final StringgetSku()Product SKU to validate final Map<String, Object>toJson()-
-
Method Detail
-
getAccessToken
final String getAccessToken()
Google OAuth2 access token for API authentication. ⚠️ Sensitive: Do not log this value.
-
getIsSub
final Boolean getIsSub()
Whether this is a subscription purchase (affects API endpoint used)
-
getPackageName
final String getPackageName()
Android package name (e.g., com.example.app)
-
getPurchaseToken
final String getPurchaseToken()
Purchase token from the purchase response. ⚠️ Sensitive: Do not log this value.
-
-
-
-