LoyaltyEvent class

Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

LoyaltyEvent({String? locationId, LoyaltyEventType? type, String? id, String? createdAt, LoyaltyEventSource? source, String? loyaltyAccountId, LoyaltyEventAccumulatePoints? accumulatePoints, LoyaltyEventAdjustPoints? adjustPoints, LoyaltyEventCreateReward? createReward, LoyaltyEventDeleteReward? deleteReward, LoyaltyEventExpirePoints? expirePoints, LoyaltyEventOther? otherEvent, LoyaltyEventRedeemReward? redeemReward})
LoyaltyEvent.fromJson(Map<String, dynamic> json)
factory

Properties

accumulatePoints → LoyaltyEventAccumulatePoints?
final
adjustPoints → LoyaltyEventAdjustPoints?
final
createdAt → String?
final
createReward → LoyaltyEventCreateReward?
final
deleteReward → LoyaltyEventDeleteReward?
final
expirePoints → LoyaltyEventExpirePoints?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
final
locationId → String?
final
loyaltyAccountId → String?
final
otherEvent → LoyaltyEventOther?
final
redeemReward → LoyaltyEventRedeemReward?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → LoyaltyEventSource?
final
type → LoyaltyEventType?
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.
override

Operators

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