/**
 * Copyright(c) Microsoft Corporation.All rights reserved.
 * Licensed under the MIT License.
 */

import { CardAction } from '@microsoft/agents-activity'
import { CardImage } from './cardImage'

/**
 * Represents an item in a receipt card.
 */
export interface ReceiptItem {
  /**
   * The title of the item.
   */
  title: string
  /**
   * The subtitle of the item.
   */
  subtitle?: string
  /**
   * The text of the item.
   */
  text?: string
  /**
   * The image of the item.
   */
  image: CardImage
  /**
   * The price of the item.
   */
  price: string
  /**
   * The quantity of the item.
   */
  quantity: number
  /**
   * The tap action of the item.
   */
  tap?: CardAction
}
