VerifyPurchaseGoogleOptions constructor

const VerifyPurchaseGoogleOptions({
  1. required String accessToken,
  2. bool? isSub,
  3. required String packageName,
  4. required String purchaseToken,
  5. required String sku,
})

Implementation

const VerifyPurchaseGoogleOptions({
  /// Google OAuth2 access token for API authentication.
  /// ⚠️ Sensitive: Do not log this value.
  required this.accessToken,
  /// Whether this is a subscription purchase (affects API endpoint used)
  this.isSub,
  /// Android package name (e.g., com.example.app)
  required this.packageName,
  /// Purchase token from the purchase response.
  /// ⚠️ Sensitive: Do not log this value.
  required this.purchaseToken,
  /// Product SKU to validate
  required this.sku,
});