PurchaseAndroid constructor

const PurchaseAndroid({
  1. bool? autoRenewingAndroid,
  2. String? currentPlanId,
  3. String? dataAndroid,
  4. String? developerPayloadAndroid,
  5. required String id,
  6. List<String>? ids,
  7. bool? isAcknowledgedAndroid,
  8. required bool isAutoRenewing,
  9. String? obfuscatedAccountIdAndroid,
  10. String? obfuscatedProfileIdAndroid,
  11. String? packageNameAndroid,
  12. required IapPlatform platform,
  13. required String productId,
  14. required PurchaseState purchaseState,
  15. String? purchaseToken,
  16. required int quantity,
  17. String? signatureAndroid,
  18. required IapStore store,
  19. required double transactionDate,
  20. String? transactionId,
  21. bool? isAlternativeBilling,
})

Implementation

const PurchaseAndroid({
  this.autoRenewingAndroid,
  this.currentPlanId,
  this.dataAndroid,
  this.developerPayloadAndroid,
  required this.id,
  this.ids,
  this.isAcknowledgedAndroid,
  required this.isAutoRenewing,
  this.obfuscatedAccountIdAndroid,
  this.obfuscatedProfileIdAndroid,
  this.packageNameAndroid,
  /// @deprecated Use store instead
  required this.platform,
  required this.productId,
  required this.purchaseState,
  this.purchaseToken,
  required this.quantity,
  this.signatureAndroid,
  /// Store where purchase was made
  required this.store,
  required this.transactionDate,
  this.transactionId,
  this.isAlternativeBilling,
});