Class: Payment
Hierarchy
BaseEntity
↳
Payment
Constructors
constructor
• new Payment()
Inherited from
BaseEntity.constructor
Properties
amount
• amount: number
Defined in
amount_refunded
• amount_refunded: number
Defined in
canceled_at
• canceled_at: string
| Date
Defined in
captured_at
• captured_at: string
| Date
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
currency
• currency: Currency
Defined in
currency_code
• currency_code: string
Defined in
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
metadata
• metadata: Record
<string
, unknown
>
Defined in
order
• order: Order
Defined in
order_id
• order_id: string
Defined in
provider_id
• provider_id: string
Defined in
swap
• swap: Swap
Defined in
swap_id
• swap_id: 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
Defined in
Was this page helpful?