SubscriptionPriceChange class

Contains the price change information for a subscription that can be used to control the user journey for the price change in the app.

This can be in the form of seeking confirmation from the user or tailoring the experience for a successful conversion.

Constructors

SubscriptionPriceChange({Price? newPrice, int? state})
SubscriptionPriceChange.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
newPrice Price?
The new price the subscription will renew with if the price change is accepted by the user.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state int?
The current state of the price change.
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