DocumentLoyaltyRewardsDto
data class DocumentLoyaltyRewardsDto(accountNumber: String?, currentBalance: BigDecimal?, nextRewardLevel: BigDecimal?, pointsAwarded: BigDecimal?, programName: String?)
Content copied to clipboard
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)
Content copied to clipboard
Loyalty rewards account number
Properties
accountNumber
Link copied to clipboard
currentBalance
Link copied to clipboard
@SerializedName(value = currentBalance)
Content copied to clipboard
nextRewardLevel
Link copied to clipboard
@SerializedName(value = nextRewardLevel)
Content copied to clipboard
pointsAwarded
Link copied to clipboard
@SerializedName(value = pointsAwarded)
Content copied to clipboard
programName
Link copied to clipboard