SK2SubscriptionOfferSignature class

This class encapsulates the metadata required to validate a promotional offer, as specified in the Apple StoreKit documentation: https://developer.apple.com/documentation/storekit/product/subscriptionoffer/signature

Constructors

SK2SubscriptionOfferSignature({required String keyID, required String nonce, required int timestamp, required String signature})
Creates a new SK2SubscriptionOfferSignature object.

Properties

hashCode → int
The hash code for this object.
no setterinherited
keyID → String
The key ID of the private key used to generate the signature.
final
nonce → String
The nonce used in the signature (a UUID).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signature → String
The cryptographic signature of the offer parameters (Base64-encoded string).
final
timestamp → int
The timestamp when the signature was generated, in milliseconds since 1970.
final

Methods

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

Operators

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