SkuDetailsWrapper class
Dart wrapper around com.android.billingclient.api.SkuDetails
.
Contains the details of an available product in Google Play Billing.
- Annotations
-
- @Deprecated("Consider using QProductStoreDetails instead")
- @JsonSerializable()
Constructors
- SkuDetailsWrapper({required String description, required String freeTrialPeriod, required String introductoryPrice, required int introductoryPriceAmountMicros, required int introductoryPriceCycles, required String introductoryPricePeriod, required String price, required int priceAmountMicros, required String priceCurrencyCode, required String sku, required String subscriptionPeriod, required String title, required SkuType type, required String originalPrice, required int originalPriceAmountMicros, required String originalJson})
- Creates a SkuDetailsWrapper with the given purchase details.
-
SkuDetailsWrapper.fromJson(Map<
String, dynamic> map) -
Constructs an instance of this from a key value map of data.
factory
Properties
- description → String
-
Textual description of the product.
final
- freeTrialPeriod → String
-
Trial period in ISO 8601 format.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- introductoryPrice → String
-
Introductory price, only applies to SkuType.subs. Formatted ("$0.99").
final
- introductoryPriceAmountMicros → int
-
Introductory price in micro-units 990000
final
- introductoryPriceCycles → int
-
The number of billing perios that introductoryPrice is valid for ("2").
final
- introductoryPricePeriod → String
-
The billing period of introductoryPrice, in ISO 8601 format.
final
- originalJson → String
-
SKU details in JSON format.
final
- originalPrice → String
-
The original price that the user purchased this product for.
final
- originalPriceAmountMicros → int
-
originalPrice in micro-units (990000).
final
- price → String
-
Formatted with currency symbol ("$0.99").
final
- priceAmountMicros → int
-
price in micro-units (990000).
final
- priceCurrencyCode → String
-
price ISO 4217 currency code.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sku → String
-
The product ID in Google Play Console.
final
- subscriptionPeriod → String
-
Applies to SkuType.subs, formatted in ISO 8601.
final
- title → String
-
The product's title.
final
- type → SkuType
-
The SkuType of the product.
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.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
override