import { CardModel } from './card.model'; import { ButtonModel } from '../button/button.model'; /** * Class representing the product card */ export declare class ProductCardModel extends CardModel { /** *
The name of the product.
*/ name: string; /** *It is the price of the product.
*/ price: string; /** *The amount of the item in the stocks.
*/ amount: number; /** *It represents the buy action button for the product.
*/ buy: ButtonModel; /** *It represents the add to Cart action button for a product.
*/ addToCart: ButtonModel; /** *Function to be called when the user press Buy.
*/ onBuy: any; /** *Function to be called when the user press Add to Cart.
*/ onAdd: any; /** * It is the constructor for the card component. It takes the required string values to create the card object */ constructor(values?: Object); }