Class: Inttegro::Balance::SnapshotResponse

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

Overview

Typed representation of the snapshot response object in the Inttegro API.

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

#balances ⇒ Inttegro::Balance::Snapshot (readonly)

The latest GHS balance snapshot for the application.

Required in the API payload. Wire name: balances.



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

class SnapshotResponse < T::Struct
  const :balances, Inttegro::Balance::Snapshot
end