PromotionalOffer class

The signed discount applied to a payment

Constructors

PromotionalOffer(String identifier, String keyIdentifier, String nonce, String signature, int timestamp)
const
PromotionalOffer.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
identifier → String
Identifier agreed upon with the App Store for a discount of your choosing.
final
keyIdentifier → String
The identifier of the public/private key pair agreed upon with the App Store when the keys were generated.
final
nonce → String
One-time use random entropy-adding value for security.
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signature → String
The cryptographic signature generated by your private key.
final
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
timestamp → int
Timestamp of when the signature is created.
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