vnwalletui / com.venuenext.vnwalletui.model / BenefitsAndAwardsListItem / <init>

<init>

BenefitsAndAwardsListItem(name: String, description: String?, imageUrl: String?, amount: Int, awardThreshold: Int = INVALID_AWARD_THRESHOLD, amountForNextAward: Int = INVALID_AMOUNT_FOR_NEXT_AWARD, action: () -> Unit)

Parameters

awardThreshold - : if INVALID_AWARD_THRESHOLD, then value was not present in API call. Usually, this means that the item is not a cash back award rule. However, if it is a cash back award rule and the value is null, that means it was incorrectly configured.

amountForNextAward - : if INVALID_AMOUNT_FOR_NEXT_AWARD, then value was not present in API call. Usually, this means that the item is not a cash back award rule. However, if it is a cash back award rule and the value is null, that means it was incorrectly configured.