Skip to main content

Class: PaymentCollection

internal.PaymentCollection

Base abstract entity for all entities

Hierarchy

Properties

amount

amount: number

Defined in

medusa/dist/models/payment-collection.d.ts:17


authorized_amount

authorized_amount: null | number

Defined in

medusa/dist/models/payment-collection.d.ts:18


beforeInsert

Private beforeInsert: any

Defined in

medusa/dist/models/payment-collection.d.ts:27


created_at

created_at: Date

Inherited from

SoftDeletableEntity.created_at

Defined in

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


created_by

created_by: string

Defined in

medusa/dist/models/payment-collection.d.ts:26


currency

currency: Currency

Defined in

medusa/dist/models/payment-collection.d.ts:22


currency_code

currency_code: string

Defined in

medusa/dist/models/payment-collection.d.ts:21


deleted_at

deleted_at: null | Date

Inherited from

SoftDeletableEntity.deleted_at

Defined in

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


description

description: null | string

Defined in

medusa/dist/models/payment-collection.d.ts:16


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/payment-collection.d.ts:25


payment_sessions

payment_sessions: PaymentSession[]

Defined in

medusa/dist/models/payment-collection.d.ts:23


payments

payments: Payment[]

Defined in

medusa/dist/models/payment-collection.d.ts:24


region

region: Region

Defined in

medusa/dist/models/payment-collection.d.ts:20


region_id

region_id: string

Defined in

medusa/dist/models/payment-collection.d.ts:19


status

status: PaymentCollectionStatus

Defined in

medusa/dist/models/payment-collection.d.ts:15


type

type: ORDER_EDIT

Defined in

medusa/dist/models/payment-collection.d.ts:14


updated_at

updated_at: Date

Inherited from

SoftDeletableEntity.updated_at

Defined in

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