Class: Inttegro::Balance::CurrencySnapshotReserved

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/balance/currency_snapshot_reserved.rb

Overview

Funds intentionally reserved for policy, risk, or remediation purposes at the snapshot cutoff

This generated model is immutable. Construct it with .new, or decode a string-keyed API payload with .from_hash. #serialize produces a string-keyed hash using the original wire field names and serialized enum values.

Instance Attribute Summary collapse

Instance Attribute Details

#amount ⇒ Integer (readonly)

Amount in the currency's smallest unit

Required in the API payload. Wire name: amount.

Returns:

  • (Integer)


24
25
26
# File 'lib/inttegro/balance/currency_snapshot_reserved.rb', line 24

class CurrencySnapshotReserved < T::Struct
  const :amount, Integer
end