PriceModel

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)

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.