Files
medusa-store/www/apps/docs/content/references/entities/classes/PaymentCollection.md
2023-10-09 18:51:55 +03:00

4.4 KiB

displayed_sidebar
displayed_sidebar
entitiesSidebar

Class: PaymentCollection

Hierarchy

  • SoftDeletableEntity

    PaymentCollection

Constructors

constructor

new PaymentCollection()

Inherited from

SoftDeletableEntity.constructor

Properties

amount

amount: number

Defined in

models/payment-collection.ts:41


authorized_amount

authorized_amount: null | number

Defined in

models/payment-collection.ts:44


created_at

created_at: Date

Inherited from

SoftDeletableEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


created_by

created_by: string

Defined in

models/payment-collection.ts:94


currency

currency: Currency

Defined in

models/payment-collection.ts:60


currency_code

currency_code: string

Defined in

models/payment-collection.ts:56


deleted_at

deleted_at: null | Date

Inherited from

SoftDeletableEntity.deleted_at

Defined in

interfaces/models/soft-deletable-entity.ts:7


description

description: null | string

Defined in

models/payment-collection.ts:38


id

id: string

Inherited from

SoftDeletableEntity.id

Defined in

interfaces/models/base-entity.ts:13


metadata

metadata: Record<string, unknown>

Defined in

models/payment-collection.ts:91


payment_sessions

payment_sessions: PaymentSession[]

Defined in

models/payment-collection.ts:74


payments

payments: Payment[]

Defined in

models/payment-collection.ts:88


region

region: Region

Defined in

models/payment-collection.ts:52


region_id

region_id: string

Defined in

models/payment-collection.ts:48


status

status: PaymentCollectionStatus

Defined in

models/payment-collection.ts:35


type

type: ORDER_EDIT

Defined in

models/payment-collection.ts:32


updated_at

updated_at: Date

Inherited from

SoftDeletableEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19

Methods

beforeInsert

Private beforeInsert(): void

Returns

void

Defined in

models/payment-collection.ts:97