Skip to main content

Class: Return

Hierarchy

  • BaseEntity

    Return

Constructors

constructor

new Return()

Inherited from

BaseEntity.constructor

Properties

claim_order

claim_order: ClaimOrder

Defined in

models/return.ts:57


claim_order_id

claim_order_id: string

Defined in

models/return.ts:53


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/return.ts:88


items

items: ReturnItem[]

Defined in

models/return.ts:41


metadata

metadata: Record<string, unknown>

Defined in

models/return.ts:85


no_notification

no_notification: boolean

Defined in

models/return.ts:82


order

order: Order

Defined in

models/return.ts:65


order_id

order_id: string

Defined in

models/return.ts:61


received_at

received_at: Date

Defined in

models/return.ts:79


refund_amount

refund_amount: number

Defined in

models/return.ts:76


shipping_data

shipping_data: Record<string, unknown>

Defined in

models/return.ts:73


shipping_method

shipping_method: ShippingMethod

Defined in

models/return.ts:70


status

status: ReturnStatus

Defined in

models/return.ts:35


swap

swap: Swap

Defined in

models/return.ts:49


swap_id

swap_id: string

Defined in

models/return.ts:45


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/return.ts:90