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.


SubscriptionPriceChange.fromJson(Map _json)


hashCode int
The hash code for this object. [...]
read-only, inherited
newPrice Price
The new price the subscription will renew with if the price change is accepted by the user.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state int
The current state of the price change. Possible values are: 0. Outstanding: State for a pending price change waiting for the user to agree. In this state, you can optionally seek confirmation from the user using the In-App API. 1. Accepted: State for an accepted price change that the subscription will renew with unless it's canceled. The price change takes effect on a future date when the subscription renews. Note that the change might not occur when the subscription is renewed next.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]