Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 713 Bytes

File metadata and controls

24 lines (18 loc) · 713 Bytes

Komoju::Transaction

Properties

Name Type Description Notes
id String A unique 25-character alphanumeric resource identifier.
type String Type of ledger transaction (e.g. "payment", "fee", "disbursement").
amount_cents Integer Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD).
happened_at Time Timestamp when this ledger transaction occurred.

Example

require 'komoju-sdk'

instance = Komoju::Transaction.new(
  id: null,
  type: null,
  amount_cents: null,
  happened_at: null
)