OfferMessageItem

data class OfferMessageItem(val label: String, val variant: OfferMessageVariant = OfferMessageVariant.Subtle, val showBullet: Boolean = true)

Offer message to highlight an offer for the product.

Constructors

Link copied to clipboard
constructor(label: String, variant: OfferMessageVariant = OfferMessageVariant.Subtle, showBullet: Boolean = true)

Properties

Link copied to clipboard

The text label

Link copied to clipboard
val showBullet: Boolean = true

If the leading triangle bullet icon should be sown or not. Note: All combinations of 'IkeaFamilyPrice' will be always be displayed in 'blue' and all combinations of 'New' ie. PriceOfferType.New, PriceOfferType.NewTimeRestrictedOffer, PriceOfferType.NewBTI will only be displayed as subtle. The rest uses a 'red' color as emphasised.

Link copied to clipboard

The variant to changes the color with subtle as default with black color.