Skip to main content

Class: ProductOption

internal.ProductOption

Base abstract entity for all entities

Hierarchy​

Properties​

beforeInsert​

• Private beforeInsert: any

Defined in​

medusa/dist/models/product-option.d.ts:10


created_at​

• created_at: Date

Inherited from​

SoftDeletableEntity.created_at

Defined in​

medusa/dist/interfaces/models/base-entity.d.ts:6


deleted_at​

• deleted_at: null | Date

Inherited from​

SoftDeletableEntity.deleted_at

Defined in​

medusa/dist/interfaces/models/soft-deletable-entity.d.ts:3


id​

• id: string

Inherited from​

SoftDeletableEntity.id

Defined in​

medusa/dist/interfaces/models/base-entity.d.ts:5


metadata​

• metadata: Record<string, unknown>

Defined in​

medusa/dist/models/product-option.d.ts:9


product​

• product: Product

Defined in​

medusa/dist/models/product-option.d.ts:8


product_id​

• product_id: string

Defined in​

medusa/dist/models/product-option.d.ts:7


title​

• title: string

Defined in​

medusa/dist/models/product-option.d.ts:5


updated_at​

• updated_at: Date

Inherited from​

SoftDeletableEntity.updated_at

Defined in​

medusa/dist/interfaces/models/base-entity.d.ts:7


values​

• values: ProductOptionValue[]

Defined in​

medusa/dist/models/product-option.d.ts:6

Was this section helpful?