DocumentLoyaltyRewardsDto

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

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

DocumentLoyaltyRewardsDto
Link copied to clipboard
fun DocumentLoyaltyRewardsDto(accountNumber: String? = null, currentBalance: BigDecimal? = null, nextRewardLevel: BigDecimal? = null, pointsAwarded: BigDecimal? = null, programName: String? = null)
Loyalty rewards account number

Properties

accountNumber
Link copied to clipboard
@SerializedName(value = accountNumber)
val accountNumber: String? = null
Loyalty rewards account number
currentBalance
Link copied to clipboard
@SerializedName(value = currentBalance)
val currentBalance: BigDecimal? = null
The current balance of the rewards program after adding the number of loyalty points.
nextRewardLevel
Link copied to clipboard
@SerializedName(value = nextRewardLevel)
val nextRewardLevel: BigDecimal? = null
The milestone number of points needed to reach the next level of the rewards program.
pointsAwarded
Link copied to clipboard
@SerializedName(value = pointsAwarded)
val pointsAwarded: BigDecimal? = null
The total number of points awarded for a given receipt or line item.
programName
Link copied to clipboard
@SerializedName(value = programName)
val programName: String? = null
Loyalty rewards program name.