PurchaseHistoryRecordWrapper class

Data structure representing a purchase history record.

This class includes a subset of fields in PurchaseWrapper.

This wraps com.android.billlingclient.api.PurchaseHistoryRecord

Annotations

Constructors

PurchaseHistoryRecordWrapper({required int purchaseTime, required String purchaseToken, required String signature, required List<String> products, required String originalJson, required String? developerPayload})
Creates a PurchaseHistoryRecordWrapper with the given record details.
const
PurchaseHistoryRecordWrapper.fromJson(Map<String, dynamic> map)
Factory for creating a PurchaseHistoryRecordWrapper from a Map with the record details.
factory

Properties

developerPayload String?
The payload specified by the developer when the purchase was acknowledged or consumed.
final
hashCode int
The hash code for this object.
no setteroverride
originalJson String
Details about this purchase, in JSON.
final
products List<String>
The product ID of this purchase.
final
purchaseTime int
When the purchase was made, as an epoch timestamp.
final
purchaseToken String
A unique ID for a given ProductDetailsWrapper, user, and purchase.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String
Signature of purchase data, signed with the developer's private key. Uses RSASSA-PKCS1-v1_5.
final

Methods

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

Operators

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