RequestVerifyPurchaseWithIapkitResult class

Constructors

RequestVerifyPurchaseWithIapkitResult({IapkitProductClientPayload? clientPayload, required bool isValid, String? productId, required IapkitPurchaseState state, required IapStore store})
const
RequestVerifyPurchaseWithIapkitResult.fromJson(Map<String, dynamic> json)
factory

Properties

clientPayload IapkitProductClientPayload?
Available in OpenIAP Spec 2.4.0 / openiap-apple 2.4.1 / openiap-google 2.4.1. Public product payload when includeClientPayload was requested, the Apple or Google receipt is valid, and a payload exists for that product.
final
hashCode int
The hash code for this object.
no setterinherited
isValid bool
True when the purchase is valid and actionable. Only entitled, pending-acknowledgment, or ready-to-consume return true. Callers must still match productId and use the platform plus app-owned product type to choose the fulfillment path.
final
productId String?
Available in OpenIAP Spec 2.4.0 / openiap-apple 2.4.1 / openiap-google 2.4.1. Store-verified product identifier when the provider returns one.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state IapkitPurchaseState
The current state of the purchase.
final
store IapStore
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited