Files
medusa-store/docs/content/references/entities/classes/Notification.md
T

3.6 KiB

displayed_sidebar
displayed_sidebar
entitiesSidebar

Class: Notification

Hierarchy

  • BaseEntity

    ↳ Notification

Constructors

constructor

• new Notification()

Inherited from

BaseEntity.constructor

Properties

created_at

• created_at: Date

Inherited from

BaseEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


customer

• customer: Customer

Defined in

models/notification.ts:36


customer_id

• customer_id: null | string

Defined in

models/notification.ts:32


data

• data: Record<string, unknown>

Defined in

models/notification.ts:42


event_name

• event_name: string

Defined in

models/notification.ts:20


id

• id: string

Inherited from

BaseEntity.id

Defined in

interfaces/models/base-entity.ts:13


parent_id

• parent_id: string

Defined in

models/notification.ts:45


parent_notification

• parent_notification: Notification

Defined in

models/notification.ts:49


provider

• provider: NotificationProvider

Defined in

models/notification.ts:59


provider_id

• provider_id: string

Defined in

models/notification.ts:55


resends

• resends: Notification[]

Defined in

models/notification.ts:52


resource_id

• resource_id: string

Defined in

models/notification.ts:28


resource_type

• resource_type: string

Defined in

models/notification.ts:24


to

• to: string

Defined in

models/notification.ts:39


updated_at

• updated_at: Date

Inherited from

BaseEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19

Methods

beforeInsert

▸ Private beforeInsert(): void

Returns

void

Defined in

models/notification.ts:61