Skip to main content

Class: PaymentSession

Hierarchy

  • BaseEntity

    PaymentSession

Constructors

constructor

new PaymentSession()

Inherited from

BaseEntity.constructor

Properties

amount

amount: number

Defined in

models/payment-session.ts:57


cart

cart: Cart

Defined in

models/payment-session.ts:36


cart_id

cart_id: string

Defined in

models/payment-session.ts:32


created_at

created_at: Date

Inherited from

BaseEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


data

data: Record<string, unknown>

Defined in

models/payment-session.ts:49


id

id: string

Inherited from

BaseEntity.id

Defined in

interfaces/models/base-entity.ts:13


idempotency_key

idempotency_key: string

Defined in

models/payment-session.ts:52


is_selected

is_selected: null | boolean

Defined in

models/payment-session.ts:43


payment_authorized_at

payment_authorized_at: Date

Defined in

models/payment-session.ts:62


provider_id

provider_id: string

Defined in

models/payment-session.ts:40


status

status: string

Defined in

models/payment-session.ts:46


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/payment-session.ts:64