DiscountOfferIOS class

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

Constructors

DiscountOfferIOS({required String identifier, required String keyIdentifier, required String nonce, required String signature, required double timestamp})
const
DiscountOfferIOS.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
identifier → String
Discount identifier
final
keyIdentifier → String
Key identifier for validation
final
nonce → String
Cryptographic nonce
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signature → String
Signature for validation
final
timestamp → double
Timestamp of discount offer
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