PriceModel

data class PriceModel(val icon: ImageVector? = null, val iconSize: IconSize = KPIconSize.XXSmall, val iconTint: Color? = null, val upperInfoText: String? = null, val upperInfoTextStyle: TextStyle? = null, val salePriceText: String? = null, val salePriceTextStyle: TextStyle? = null, val marketPriceText: String? = null, val marketPriceTextStyle: TextStyle? = null, val bottomInfoText: String? = null, val bottomInfoTextStyle: TextStyle? = null, val isPriceViewVertical: Boolean = false)

Parameters

icon

If you need an icon in your campaign text, you can set it in this parameter.

iconSize

If you need an icon size in your campaign text, you can set it in this parameter.

iconTint

If you need an iconTint in your campaign text, you can set it in this parameter.

upperInfoText

If you need a upperInfo like campaign text, you can set it in this parameter.

upperInfoTextStyle

If you need a textStyle in your upperInfo text, you can set it in this parameter.

salePriceText

If you need a salePrice, you can set it in this parameter.

salePriceTextStyle

If you need a textStyle in your salePriceText, you can set it in this parameter.

marketPriceText

If you need a marketPrice, you can set it in this parameter.

marketPriceTextStyle

If you need a textStyle in your marketPriceText, you can set it in this parameter.

bottomInfoText

If you need a bottomInfo like unit price, you can set it in this parameter.

bottomInfoTextStyle

If you need a textStyle in your bottomInfoText, you can set it in this parameter.

isPriceViewVertical

If you want to get a vertically price view for dual price styles, you can set it as true in this parameter.This parameter will not be expected in single price styles that do not include market price.

Constructors

Link copied to clipboard
constructor(icon: ImageVector? = null, iconSize: IconSize = KPIconSize.XXSmall, iconTint: Color? = null, upperInfoText: String? = null, upperInfoTextStyle: TextStyle? = null, salePriceText: String? = null, salePriceTextStyle: TextStyle? = null, marketPriceText: String? = null, marketPriceTextStyle: TextStyle? = null, bottomInfoText: String? = null, bottomInfoTextStyle: TextStyle? = null, isPriceViewVertical: Boolean = false)

Properties

Link copied to clipboard
val bottomInfoText: String? = null
Link copied to clipboard
Link copied to clipboard
val icon: ImageVector? = null
Link copied to clipboard
Link copied to clipboard
val iconTint: Color? = null
Link copied to clipboard
Link copied to clipboard
val marketPriceText: String? = null
Link copied to clipboard
Link copied to clipboard
val salePriceText: String? = null
Link copied to clipboard
Link copied to clipboard
val upperInfoText: String? = null
Link copied to clipboard