SubscriptionPromotionSpec class

Describes the spec for one promotion.

Constructors

SubscriptionPromotionSpec.new({Duration? freeTrialDuration, PromotionIntroductoryPricingDetails? introductoryPricingDetails, String? promotion, String? type})
SubscriptionPromotionSpec.fromJson(Map json_)

Properties

freeTrialDuration Duration?
The duration of the free trial if the promotion is of type FREE_TRIAL.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
introductoryPricingDetails PromotionIntroductoryPricingDetails?
The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING.
getter/setter pair
promotion String?
Promotion resource name that identifies a promotion.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
The type of the promotion for the spec.
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