Files
medusa-store/docs/content/references/entities/classes/PaymentCollection.md
2022-10-11 16:11:35 +03:00

4.6 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:48


authorized_amount

authorized_amount: number

Defined in

models/payment-collection.ts:51


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:104


currency

currency: Currency

Defined in

models/payment-collection.ts:70


currency_code

currency_code: string

Defined in

models/payment-collection.ts:66


deleted_at

deleted_at: null | Date

Inherited from

SoftDeletableEntity.deleted_at

Defined in

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


description

description: string

Defined in

models/payment-collection.ts:45


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:101


payment_sessions

payment_sessions: PaymentSession[]

Defined in

models/payment-collection.ts:84


payments

payments: Payment[]

Defined in

models/payment-collection.ts:98


refunded_amount

refunded_amount: number

Defined in

models/payment-collection.ts:54


region

region: Region

Defined in

models/payment-collection.ts:62


region_id

region_id: string

Defined in

models/payment-collection.ts:58


status

status: PaymentCollectionStatus

Defined in

models/payment-collection.ts:42


type

type: ORDER_EDIT

Defined in

models/payment-collection.ts:39


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:106