Class: PaymentSession
Hierarchy
BaseEntity
↳
PaymentSession
Constructors
constructor
• new PaymentSession()
Inherited from
BaseEntity.constructor
Properties
amount
• amount: number
Defined in
cart
• cart: Cart
Defined in
cart_id
• cart_id: string
Defined in
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
id
• id: string
Inherited from
BaseEntity.id
Defined in
interfaces/models/base-entity.ts:13
idempotency_key
• idempotency_key: string
Defined in
is_selected
• is_selected: null
| boolean
Defined in
payment_authorized_at
• payment_authorized_at: Date
Defined in
provider_id
• provider_id: string
Defined in
status
• status: string
Defined in
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