Class: Inttegro::Payout::PageResponse

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/payout/page_response.rb

Overview

Response envelope containing a page of payouts.

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

#page ⇒ Inttegro::Payout::Page? (readonly)

A page of payouts ordered from newest to oldest.

Optional in the API payload; omitted values default to nil. Wire name: page.

Returns:



24
25
26
# File 'lib/inttegro/payout/page_response.rb', line 24

class PageResponse < T::Struct
  const :page, T.nilable(Inttegro::Payout::Page), default: nil
end