Skip to main content

Class: Refund

internal.Refund

Base abstract entity for all entities

Hierarchy

Properties

amount

amount: number

Defined in

medusa/dist/models/refund.d.ts:16


beforeInsert

Private beforeInsert: any

Defined in

medusa/dist/models/refund.d.ts:21


created_at

created_at: Date

Inherited from

BaseEntity.created_at

Defined in

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


id

id: string

Inherited from

BaseEntity.id

Defined in

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


idempotency_key

idempotency_key: string

Defined in

medusa/dist/models/refund.d.ts:20


metadata

metadata: Record<string, unknown>

Defined in

medusa/dist/models/refund.d.ts:19


note

note: string

Defined in

medusa/dist/models/refund.d.ts:17


order

order: Order

Defined in

medusa/dist/models/refund.d.ts:14


order_id

order_id: string

Defined in

medusa/dist/models/refund.d.ts:12


payment

payment: Payment

Defined in

medusa/dist/models/refund.d.ts:15


payment_id

payment_id: string

Defined in

medusa/dist/models/refund.d.ts:13


reason

reason: string

Defined in

medusa/dist/models/refund.d.ts:18


updated_at

updated_at: Date

Inherited from

BaseEntity.updated_at

Defined in

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

Was this page helpful?