IReceiptItem interface
An individual item within a receipt.
Properties
image | Image to display on the card. Some channels may either send the image as a separate message or simply include a link to the image. |
price | Amount with currency. |
quantity | Number of items of given kind. |
subtitle | Subtitle appears just below Title field, differs from Title in font styling only. On some channels may be combined with the title or text. |
tap | This action will be activated when user taps on the Item bubble. Not all channels support tap actions. |
text | Text field appears just below subtitle, differs from Subtitle in font styling only. |
title | Title of the item. |
Property Details
image
Image to display on the card. Some channels may either send the image as a separate message or simply include a link to the image.
image: ICardImage
Property Value
price
Amount with currency.
price: string
Property Value
string
quantity
Number of items of given kind.
quantity: string
Property Value
string
subtitle
Subtitle appears just below Title field, differs from Title in font styling only. On some channels may be combined with the title or text.
subtitle: string
Property Value
string
tap
This action will be activated when user taps on the Item bubble. Not all channels support tap actions.
tap: ICardAction
Property Value
text
Text field appears just below subtitle, differs from Subtitle in font styling only.
text: string
Property Value
string
title
Title of the item.
title: string
Property Value
string