Files
medusa-store/docs/content/references/entities/classes/ProductCollection.md
Shahed Nasser 4a416e7fa5 docs: added entity reference (#2047)
* added entity reference

* chore: added github action

* added link to reference
2022-08-15 15:54:48 +03:00

2.4 KiB

displayed_sidebar
displayed_sidebar
entitiesSidebar

Class: ProductCollection

Hierarchy

  • SoftDeletableEntity

    ProductCollection

Constructors

constructor

new ProductCollection()

Inherited from

SoftDeletableEntity.constructor

Properties

created_at

created_at: Date

Inherited from

SoftDeletableEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


deleted_at

deleted_at: null | Date

Inherited from

SoftDeletableEntity.deleted_at

Defined in

interfaces/models/soft-deletable-entity.ts:7


handle

handle: string

Defined in

models/product-collection.ts:16


id

id: string

Inherited from

SoftDeletableEntity.id

Defined in

interfaces/models/base-entity.ts:13


metadata

metadata: Record<string, unknown>

Defined in

models/product-collection.ts:22


products

products: Product[]

Defined in

models/product-collection.ts:19


title

title: string

Defined in

models/product-collection.ts:12


updated_at

updated_at: Date

Inherited from

SoftDeletableEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19

Methods

createHandleIfNotProvided

Private createHandleIfNotProvided(): void

Returns

void

Defined in

models/product-collection.ts:24