Active Perks Ecode
data class ActivePerksEcode(val ecodeId: Int, val description: String?, val logoUrl: String?, val cashbackPercentage: Double, val isRangeEcode: Boolean, val minimumAmount: Double?, val maximumAmount: Double?, val fixedDenominations: List<Double>)
Digital gift card (ecode) purchase options of a merchant.
Constructors
Properties
Link copied to clipboard
Cashback percentage as a number.
Link copied to clipboard
Product description.
Link copied to clipboard
Allowed fixed amounts; empty for range ecodes.
Link copied to clipboard
true when the member picks a free amount between minimumAmount and maximumAmount; false when only fixedDenominations are offered.
Link copied to clipboard
Highest allowed amount of a range ecode; null for a fixed-denomination ecode, which has no bounds.
Link copied to clipboard
Lowest allowed amount of a range ecode; null for a fixed-denomination ecode, which has no bounds.
Functions
Link copied to clipboard
Validates amount against what this ecode actually sells.