SubscriptionOfferIOS class

iOS subscription offer details. @deprecated Use the standardized SubscriptionOffer type instead for cross-platform compatibility. @see https://openiap.dev/docs/types#subscription-offer

Constructors

SubscriptionOfferIOS({required String displayPrice, required String id, required PaymentModeIOS paymentMode, required SubscriptionPeriodValueIOS period, required int periodCount, required double price, required SubscriptionOfferTypeIOS type})
const
SubscriptionOfferIOS.fromJson(Map<String, dynamic> json)
factory

Properties

displayPrice → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
paymentMode → PaymentModeIOS
final
period → SubscriptionPeriodValueIOS
final
periodCount → int
final
price → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → SubscriptionOfferTypeIOS
final

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