UserChoiceBillingDetails class
User Choice Billing event details (Android) Fired when a user selects alternative billing in the User Choice Billing dialog
Constructors
-
UserChoiceBillingDetails({required String externalTransactionToken, String? originalExternalTransactionId, List<
DeveloperProvidedBillingProductAndroid> ? productDetailsAndroid, required List<String> products}) -
const
-
UserChoiceBillingDetails.fromJson(Map<
String, dynamic> json) -
factory
Properties
- externalTransactionToken → String
-
Token that must be reported to Google Play within 24 hours
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- originalExternalTransactionId → String?
-
External transaction ID of the originating subscription when the user is
upgrading or downgrading a developer-billed subscription. Available in
OpenIAP Spec 2.3.0 / openiap-google 2.3.1 (requires Play Billing 9.1+).
final
-
productDetailsAndroid
→ List<
DeveloperProvidedBillingProductAndroid> ? -
Structured product details selected in the user-choice flow, including the
product type and offer token. Legacy payloads may omit this field; use
products as the product-ID fallback. Available in OpenIAP Spec 2.3.0 /
openiap-google 2.3.1 (requires Play Billing 9.1+).
final
-
products
→ List<
String> -
List of product IDs selected by the user
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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