Purchase class final
Модель покупки. Имеет переопределенные методы equals(), hashcode(), toString().
Constructors
- Purchase({required String purchaseId, required String productId, required String invoiceId, String? orderId, required PurchaseType purchaseType, required ProductType productType, required String description, String? purchaseTime, required int price, required String amountLabel, required String currency, required int quantity, required PurchaseStatus status, String? subscriptionToken, String? developerPayload})
Properties
- amountLabel → String
-
final
- currency → String
-
final
- description → String
-
final
- developerPayload → String?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- invoiceId → String
-
final
- orderId → String?
-
final
- price → int
-
final
- productId → String
-
final
- productType → ProductType
-
final
- purchaseId → String
-
final
- purchaseTime → String?
-
final
- purchaseType → PurchaseType
-
final
- quantity → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → PurchaseStatus
-
final
- subscriptionToken → 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.
override
Operators
-
operator ==(
covariant Purchase other) → bool -
The equality operator.
override