Class: ProductListSection
Represents a product list section.Implements
Implements
Constructors
new ProductListSection()
new ProductListSection(products
,title
):ProductListSection
Parameters
• products:Product
[]
• title: string
Returns
ProductListSection
Source
packages/wapi.js/src/structures/multi-product/index.ts:40Properties
products
products: Product
[]
Implementation of
ProductListSectionInterface
.products
Source
packages/wapi.js/src/structures/multi-product/index.ts:37title
title: string
Implementation of
ProductListSectionInterface
.title
Source
packages/wapi.js/src/structures/multi-product/index.ts:38Methods
addProduct()
addProduct(product
):void
Parameters
• product:Product
Returns
void
Implementation of
ProductListSectionInterface
.addProduct