Class: Inttegro::Payout::Page
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Payout::Page
- Defined in:
- lib/inttegro/payout/page.rb
Overview
A page of payouts ordered from newest to oldest.
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
-
#number ⇒ Integer
readonly
Page number returned.
-
#payouts ⇒ Array<Inttegro::Payout>?
readonly
Value of the
payoutsfield in the Inttegro API payload. -
#size ⇒ Integer
readonly
Number of payouts returned.
Instance Attribute Details
#number ⇒ Integer (readonly)
Page number returned.
Required in the API payload. Wire name: number.
36 37 38 39 40 |
# File 'lib/inttegro/payout/page.rb', line 36 class Page < T::Struct const :number, Integer const :size, Integer const :payouts, T.nilable(T::Array[Inttegro::Payout]), default: nil end |
#payouts ⇒ Array<Inttegro::Payout>? (readonly)
Value of the payouts field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: payouts.
36 37 38 39 40 |
# File 'lib/inttegro/payout/page.rb', line 36 class Page < T::Struct const :number, Integer const :size, Integer const :payouts, T.nilable(T::Array[Inttegro::Payout]), default: nil end |
#size ⇒ Integer (readonly)
Number of payouts returned.
Required in the API payload. Wire name: size.
36 37 38 39 40 |
# File 'lib/inttegro/payout/page.rb', line 36 class Page < T::Struct const :number, Integer const :size, Integer const :payouts, T.nilable(T::Array[Inttegro::Payout]), default: nil end |