Skip to main content

Class: PaymentSession

internal.PaymentSession

Base abstract entity for all entities

Hierarchy​

Properties​

amount​

• amount: number

Defined in​

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


beforeInsert​

• Private beforeInsert: any

Defined in​

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


cart​

• cart: Cart

Defined in​

medusa/dist/models/payment-session.d.ts:12


cart_id​

• cart_id: string

Defined in​

medusa/dist/models/payment-session.d.ts:11


created_at​

• created_at: Date

Inherited from​

BaseEntity.created_at

Defined in​

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


data​

• data: Record<string, unknown>

Defined in​

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


id​

• id: string

Inherited from​

BaseEntity.id

Defined in​

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


idempotency_key​

• idempotency_key: string

Defined in​

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


is_selected​

• is_selected: null | boolean

Defined in​

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


payment_authorized_at​

• payment_authorized_at: Date

Defined in​

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


provider_id​

• provider_id: string

Defined in​

medusa/dist/models/payment-session.d.ts:13


status​

• status: string

Defined in​

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


updated_at​

• updated_at: Date

Inherited from​

BaseEntity.updated_at

Defined in​

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

Was this section helpful?