PurchaseInfo class
An object which keeps all information about a purchase. After a purchase transaction, all the information created is kept in PurchaseInfo objects.
Constructors
- PurchaseInfo(String? userId, String? uspAppId, String? productId, String? orderId, String? purchaseTime, int? purchaseStatus, String? purchaseToken, bool? autoRenew, String? developerPayload, String? platform, bool? sandbox, String? purchaseType, int? consumed, String? country, String? currency, String? price, String? subGroupId, String? cancelReason, String? expireTime, String? lastOrderId, bool? inTrialPeriod, String? introductoryPrice, String? renewPrice, String? graceExpireTime, int? renewTime, int? discountRenewTime, String? nextRenewTime, SubscriptionPriceChange? priceChange, String? autoResumeTime, String? linkedPurchasedToken, String? receiptData)
-
PurchaseInfo.fromJson(Map<
String, dynamic> json)
Properties
- autoRenew → bool?
-
final
- autoResumeTime → String?
-
final
- cancelReason → String?
-
final
- consumed → int?
-
final
- country → String?
-
final
- currency → String?
-
final
- developerPayload → String?
-
final
- discountRenewTime → int?
-
final
- expireTime → String?
-
final
- graceExpireTime → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inTrialPeriod → bool?
-
final
- introductoryPrice → String?
-
final
- lastOrderId → String?
-
final
- linkedPurchasedToken → String?
-
final
- nextRenewTime → String?
-
final
- orderId → String?
-
final
- platform → String?
-
final
- price → String?
-
final
- priceChange → SubscriptionPriceChange?
-
final
- productId → String?
-
final
- purchaseStatus → int?
-
final
- purchaseTime → String?
-
final
- purchaseToken → String?
-
final
- purchaseType → String?
-
final
- receiptData → String?
-
final
- renewPrice → String?
-
final
- renewTime → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sandbox → bool?
-
final
- subGroupId → String?
-
final
- userId → String?
-
final
- uspAppId → String?
-
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.
inherited