Class: Refund
Hierarchy
BaseEntity
↳
Refund
Constructors
constructor
• new Refund()
Inherited from
BaseEntity.constructor
Properties
amount
• amount: number
Defined in
created_at
• created_at: Date
Inherited from
BaseEntity.created_at
Defined in
interfaces/models/base-entity.ts:16
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
note
• note: string
Defined in
order
• order: Order
Defined in
order_id
• order_id: string
Defined in
payment
• payment: Payment
Defined in
payment_id
• payment_id: string
Defined in
reason
• reason: 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