PromotionalOffer class
The signed discount applied to a payment
- Annotations
-
- @freezed
Constructors
- PromotionalOffer(String identifier, String keyIdentifier, String nonce, String signature, int timestamp)
-
constfactory
-
PromotionalOffer.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $PromotionalOfferCopyWith<
PromotionalOffer> -
no setterinherited
- 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.
no setterinherited
- keyIdentifier → String
-
The identifier of the public/private key pair agreed upon with the
App Store when the keys were generated.
no setterinherited
- nonce → String
-
One-time use random entropy-adding value for security.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature → String
-
The cryptographic signature generated by your private key.
no setterinherited
- timestamp → int
-
Timestamp of when the signature is created.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited