Class: Payment
internal.Payment
Base abstract entity for all entities
Hierarchy
↳
Payment
Properties
amount
• amount: number
Defined in
medusa/dist/models/payment.d.ts:13
amount_refunded
• amount_refunded: number
Defined in
medusa/dist/models/payment.d.ts:16
beforeInsert
• Private
beforeInsert: any
Defined in
medusa/dist/models/payment.d.ts:23
canceled_at
• canceled_at: string
| Date
Defined in
medusa/dist/models/payment.d.ts:20
captured_at
• captured_at: string
| Date
Defined in
medusa/dist/models/payment.d.ts:19
cart
• cart: Cart
Defined in
medusa/dist/models/payment.d.ts:10
cart_id
• cart_id: string
Defined in
medusa/dist/models/payment.d.ts:9
created_at
• created_at: Date
Inherited from
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:6
currency
• currency: Currency
Defined in
medusa/dist/models/payment.d.ts:15
currency_code
• currency_code: string
Defined in
medusa/dist/models/payment.d.ts:14
data
• data: Record
<string
, unknown
>
Defined in
medusa/dist/models/payment.d.ts:18
id
• id: string
Inherited from
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:5
idempotency_key
• idempotency_key: string
Defined in
medusa/dist/models/payment.d.ts:22
metadata
• metadata: Record
<string
, unknown
>
Defined in
medusa/dist/models/payment.d.ts:21
order
• order: Order
Defined in
medusa/dist/models/payment.d.ts:12
order_id
• order_id: string
Defined in
medusa/dist/models/payment.d.ts:11
provider_id
• provider_id: string
Defined in
medusa/dist/models/payment.d.ts:17
swap
• swap: Swap
Defined in
medusa/dist/models/payment.d.ts:8
swap_id
• swap_id: string
Defined in
medusa/dist/models/payment.d.ts:7
updated_at
• updated_at: Date
Inherited from
Defined in
medusa/dist/interfaces/models/base-entity.d.ts:7