LoyaltyPointTransaction

constructor(id: String, profileId: String, loyaltyPoint: LoyaltyPointInTransaction, source: String, createdAt: Calendar, userQuestId: String?, transactedById: String?, attributes: List<LoyaltyPointAttribute>)

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.