SubscriptionOffer class
A single, temporary offer
Constructors
-
SubscriptionOffer({String? basePlanId, String? offerId, List<
OfferTag> ? offerTags, OtherRegionsSubscriptionOfferConfig? otherRegionsConfig, String? packageName, List<SubscriptionOfferPhase> ? phases, String? productId, List<RegionalSubscriptionOfferConfig> ? regionalConfigs, String? state, SubscriptionOfferTargeting? targeting}) - SubscriptionOffer.fromJson(Map json_)
Properties
- basePlanId ↔ String?
-
The ID of the base plan to which this offer is an extension.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- offerId ↔ String?
-
Unique ID of this subscription offer.
getter/setter pair
-
offerTags
↔ List<
OfferTag> ? -
List of up to 20 custom tags specified for this offer, and returned to the
app through the billing library.
getter/setter pair
- otherRegionsConfig ↔ OtherRegionsSubscriptionOfferConfig?
-
The configuration for any new locations Play may launch in the future.
getter/setter pair
- packageName ↔ String?
-
The package name of the app the parent subscription belongs to.
getter/setter pair
-
phases
↔ List<
SubscriptionOfferPhase> ? -
The phases of this subscription offer.
getter/setter pair
- productId ↔ String?
-
The ID of the parent subscription this offer belongs to.
getter/setter pair
-
regionalConfigs
↔ List<
RegionalSubscriptionOfferConfig> ? -
The region-specific configuration of this offer.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ String?
-
The current state of this offer.
getter/setter pair
- targeting ↔ SubscriptionOfferTargeting?
-
The requirements that users need to fulfil to be eligible for this offer.
getter/setter pair
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 ==(
Object other) → bool -
The equality operator.
inherited