ActivePerksEcode

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

Link copied to clipboard
constructor(ecodeId: Int, description: String?, logoUrl: String?, cashbackPercentage: Double, isRangeEcode: Boolean, minimumAmount: Double?, maximumAmount: Double?, fixedDenominations: List<Double>)

Properties

Link copied to clipboard

Cashback percentage as a number.

Link copied to clipboard

Product description.

Link copied to clipboard

Server id of the ecode product - required for checkout.

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

Product logo URL.

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.