SubscriptionOfferDetailsWrapper class

Dart wrapper around com.android.billingclient.api.ProductDetails.SubscriptionOfferDetails.

Represents the available purchase plans to buy a subscription product.

Annotations

Constructors

SubscriptionOfferDetailsWrapper({required String basePlanId, String? offerId, required List<String> offerTags, required String offerIdToken, required List<PricingPhaseWrapper> pricingPhases})
Creates a SubscriptionOfferDetailsWrapper.
const
SubscriptionOfferDetailsWrapper.fromJson(Map<String, dynamic> map)
Factory for creating a SubscriptionOfferDetailsWrapper from a Map with the offer details.
factory

Properties

basePlanId String
The base plan id associated with the subscription product.
final
hashCode int
The hash code for this object.
no setteroverride
offerId String?
The offer id associated with the subscription product.
final
offerIdToken String
The offer token required to pass in BillingClient.launchBillingFlow to purchase the subscription product with these pricingPhases.
final
offerTags List<String>
The offer tags associated with this Subscription Offer.
final
pricingPhases List<PricingPhaseWrapper>
The pricing phases for the subscription product.
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