AdaptyProductDiscount class

Constructors

AdaptyProductDiscount.fromJson(Map<String, dynamic> json)

Properties

hashCode int
The hash code for this object.
no setterinherited
identifier String?
An identifier of the discount offer for the product.
final
localizedNumberOfPeriods String?
The formatted number of periods of the discount for the user's localization.
final
localizedPrice String?
The formatted price of the discount for the user's localization.
final
localizedSubscriptionPeriod String?
The formatted subscription period of the discount for the user's localization.
final
numberOfPeriods int
An integer that indicates the number of periods the product discount is available.
final
paymentMode AdaptyPaymentMode
The payment mode for this product discount. The possible values are: free_trial, pay_as_you_go, pay_up_front.
final
price double
The discount price of the product in the user's local currency.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptionPeriod AdaptyPeriod
A AdaptyPeriod object that defines the period for the product discount.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited