Skip to main content

Class: Payment

Hierarchy

  • BaseEntityCopy to Clipboard

    PaymentCopy to Clipboard

Constructors

constructor

new Payment()

Inherited from

BaseEntity.constructor

Properties

amount

amount: numberCopy to Clipboard

Defined in

models/payment.ts:51


amount_refunded

amount_refunded: numberCopy to Clipboard

Defined in

models/payment.ts:62


canceled_at

canceled_at: stringCopy to Clipboard | DateCopy to Clipboard

Defined in

models/payment.ts:75


captured_at

captured_at: stringCopy to Clipboard | DateCopy to Clipboard

Defined in

models/payment.ts:72


cart

cart: CartCopy to Clipboard

Defined in

models/payment.ts:40


cart_id

cart_id: stringCopy to Clipboard

Defined in

models/payment.ts:36


created_at

created_at: DateCopy to Clipboard

Inherited from

BaseEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


currency

currency: CurrencyCopy to Clipboard

Defined in

models/payment.ts:59


currency_code

currency_code: stringCopy to Clipboard

Defined in

models/payment.ts:55


data

data: RecordCopy to Clipboard<stringCopy to Clipboard, unknownCopy to Clipboard>

Defined in

models/payment.ts:69


id

id: stringCopy to Clipboard

Inherited from

BaseEntity.id

Defined in

interfaces/models/base-entity.ts:13


idempotency_key

idempotency_key: stringCopy to Clipboard

Defined in

models/payment.ts:81


metadata

metadata: RecordCopy to Clipboard<stringCopy to Clipboard, unknownCopy to Clipboard>

Defined in

models/payment.ts:78


order

order: OrderCopy to Clipboard

Defined in

models/payment.ts:48


order_id

order_id: stringCopy to Clipboard

Defined in

models/payment.ts:44


provider_id

provider_id: stringCopy to Clipboard

Defined in

models/payment.ts:66


swap

swap: SwapCopy to Clipboard

Defined in

models/payment.ts:32


swap_id

swap_id: stringCopy to Clipboard

Defined in

models/payment.ts:28


updated_at

updated_at: DateCopy to Clipboard

Inherited from

BaseEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19

Methods

beforeInsert

PrivateCopy to Clipboard beforeInsert(): voidCopy to Clipboard

Returns

voidCopy to Clipboard

Defined in

models/payment.ts:83