DocumentLoyaltyRewardsDto

data class DocumentLoyaltyRewardsDto(val accountNumber: String? = null, val currentBalance: BigDecimal? = null, val nextRewardLevel: BigDecimal? = null, val pointsAwarded: BigDecimal? = null, val programName: String? = null)

Describes loyalty rewards read from the receipt.

Parameters

accountNumber

Loyalty rewards account number

currentBalance

The current balance of the rewards program after adding the number of loyalty points.

nextRewardLevel

The milestone number of points needed to reach the next level of the rewards program.

pointsAwarded

The total number of points awarded for a given receipt or line item.

programName

Loyalty rewards program name.

Constructors

Link copied to clipboard
constructor(accountNumber: String? = null, currentBalance: BigDecimal? = null, nextRewardLevel: BigDecimal? = null, pointsAwarded: BigDecimal? = null, programName: String? = null)

Properties

Link copied to clipboard
@SerializedName(value = "accountNumber")
val accountNumber: String? = null
Link copied to clipboard
@SerializedName(value = "currentBalance")
val currentBalance: BigDecimal? = null
Link copied to clipboard
@SerializedName(value = "nextRewardLevel")
val nextRewardLevel: BigDecimal? = null
Link copied to clipboard
@SerializedName(value = "pointsAwarded")
val pointsAwarded: BigDecimal? = null
Link copied to clipboard
@SerializedName(value = "programName")
val programName: String? = null