Wapi.js Docs / ProductListSection

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:40

Properties

products

products: Product[]

Implementation of

ProductListSectionInterface.products

Source

packages/wapi.js/src/structures/multi-product/index.ts:37


title

title: string

Implementation of

ProductListSectionInterface.title

Source

packages/wapi.js/src/structures/multi-product/index.ts:38

Methods

addProduct()

addProduct(product): void

Parameters

product: Product

Returns

void

Implementation of

ProductListSectionInterface.addProduct

Source

packages/wapi.js/src/structures/multi-product/index.ts:45