LoyaltyPointTransaction

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.

profileId

Loyalty profile ID.

loyaltyPoint

Loyalty point type and amount for this transaction.

source

Source of the transaction (e.g. credit, debit, quest-completed).

createdAt

Timestamp when the transaction was created in the form of Calendar.

userQuestId

ID of the user quest that triggered this transaction.

transactedById

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>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard