Skip to main content

Class: Refund

Hierarchy

  • BaseEntity

    Refund

Constructors

constructor

new Refund()

Inherited from

BaseEntity.constructor

Properties

amount

amount: number

Defined in

models/refund.ts:50


created_at

created_at: Date

Inherited from

BaseEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


id

id: string

Inherited from

BaseEntity.id

Defined in

interfaces/models/base-entity.ts:13


idempotency_key

idempotency_key: string

Defined in

models/refund.ts:62


metadata

metadata: Record<string, unknown>

Defined in

models/refund.ts:59


note

note: string

Defined in

models/refund.ts:53


order

order: Order

Defined in

models/refund.ts:41


order_id

order_id: string

Defined in

models/refund.ts:31


payment

payment: Payment

Defined in

models/refund.ts:47


payment_id

payment_id: string

Defined in

models/refund.ts:37


reason

reason: string

Defined in

models/refund.ts:56


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/refund.ts:64

Was this page helpful?