OneTimePurchaseOfferDetailsWrapper class
Dart wrapper around com.android.billingclient.api.ProductDetails.OneTimePurchaseOfferDetails
.
Represents the offer details to buy a one-time purchase product.
- Annotations
-
- @JsonSerializable()
- @immutable
Constructors
- OneTimePurchaseOfferDetailsWrapper({required String formattedPrice, required int priceAmountMicros, required String priceCurrencyCode})
-
Creates a OneTimePurchaseOfferDetailsWrapper.
const
-
OneTimePurchaseOfferDetailsWrapper.fromJson(Map<
String, dynamic> map) -
Factory for creating a OneTimePurchaseOfferDetailsWrapper from a Map
with the offer details.
factory
Properties
- formattedPrice → String
-
Formatted price for the payment, including its currency sign.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- priceAmountMicros → int
-
The price for the payment in micro-units, where 1,000,000 micro-units
equal one unit of the currency.
final
- priceCurrencyCode → String
-
The ISO 4217 currency code for price.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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