ConsumptionRequest class

The request body containing consumption information.

Annotations
  • @JsonSerializable()

Constructors

ConsumptionRequest({int? accountTenure, String? appAccountToken, int? consumptionStatus, bool? customerConsented, int? deliveryStatus, int? lifetimeDollarsPurchased, int? lifetimeDollarsRefunded, int? platform, int? playTime, bool? sampleContentProvided, int? userStatus})
const
ConsumptionRequest.fromJson(Map<String, dynamic> json)
factory

Properties

accountTenure int?
The age of the customer’s account.
final
appAccountToken String?
The UUID an app optionally generates to map a customer’s in-app purchase with its resulting App Store transaction.
final
consumptionStatus int?
A value that indicates the extent to which the customer consumed the in-app purchase.
final
customerConsented bool?
A Boolean value that indicates whether the customer consented to provide consumption data to the App Store.
final
deliveryStatus int?
A value that indicates whether the app successfully delivered an in-app purchase that works properly.
final
hashCode int
The hash code for this object.
no setterinherited
lifetimeDollarsPurchased int?
A value that indicates the dollar amount of in-app purchases the customer has made in your app, since purchasing the app, across all platforms.
final
lifetimeDollarsRefunded int?
A value that indicates the dollar amount of refunds the customer has received in your app, since purchasing the app, across all platforms.
final
platform int?
The platform on which the customer consumed the in-app purchase.
final
playTime int?
A value that indicates the amount of time that the customer used the app.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleContentProvided bool?
A Boolean value that indicates whether you provided, prior to its purchase, a free sample or trial of the content, or information about its functionality.
final
userStatus int?
The status of a customer’s account within your app.
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.
override

Operators

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