Loyalty Point Transaction
data class LoyaltyPointTransaction(val id: String, val profileId: String, val loyaltyPoint: LoyaltyPointInTransaction, val source: String, val createdAt: Calendar, val userQuestId: String?, val transactedById: String?, val attributes: List<LoyaltyPointAttribute>)
Data class representing a single loyalty point transaction (debit or credit).
Parameters
id
Unique identifier of the loyalty point transaction.
profile Id
Loyalty profile ID.
loyalty Point
Loyalty point type and amount for this transaction.
source
Source of the transaction (e.g. credit, debit, quest-completed).
created At
Timestamp when the transaction was created in the form of Calendar.
user Quest Id
ID of the user quest that triggered this transaction.
transacted By Id
ID of the profile or system that triggered the transaction.
attributes
Provider-specific transaction attributes.
Constructors
Link copied to clipboard
constructor(id: String, profileId: String, loyaltyPoint: LoyaltyPointInTransaction, source: String, createdAt: Calendar, userQuestId: String?, transactedById: String?, attributes: List<LoyaltyPointAttribute>)