Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Product

Represent a single ecommerce product

Hierarchy

  • Product

Index

Constructors

constructor

  • new Product(__namedParameters: object): Product

Properties

attributes

attributes: object

Type declaration

  • [key: string]: string

description

description: string

id

id: string

precision

precision: number = null

title

title: string

value

value: number

Accessors

price

  • get price(): string

Methods

setAttributes

setPrecision

  • setPrecision(precision: number): void

Generated using TypeDoc