Class: Inttegro::BalanceTransaction::Page
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::BalanceTransaction::Page
- Defined in:
- lib/inttegro/balance_transaction/page.rb
Overview
Typed representation of the page 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
-
#number ⇒ Integer
readonly
Value of the
numberfield in the Inttegro API payload. -
#size ⇒ Integer
readonly
Value of the
sizefield in the Inttegro API payload. -
#transactions ⇒ Array<Inttegro::BalanceTransaction>?
readonly
Newest transactions first.
Instance Attribute Details
#number ⇒ Integer (readonly)
Value of the number field in the Inttegro API payload.
Required in the API payload. Wire name: number.
36 37 38 39 40 |
# File 'lib/inttegro/balance_transaction/page.rb', line 36 class Page < T::Struct const :number, Integer const :size, Integer const :transactions, T.nilable(T::Array[Inttegro::BalanceTransaction]), default: nil end |
#size ⇒ Integer (readonly)
Value of the size field in the Inttegro API payload.
Required in the API payload. Wire name: size.
36 37 38 39 40 |
# File 'lib/inttegro/balance_transaction/page.rb', line 36 class Page < T::Struct const :number, Integer const :size, Integer const :transactions, T.nilable(T::Array[Inttegro::BalanceTransaction]), default: nil end |
#transactions ⇒ Array<Inttegro::BalanceTransaction>? (readonly)
Newest transactions first. Omitted when the page is empty.
Optional in the API payload; omitted values default to nil. Wire name: transactions.
36 37 38 39 40 |
# File 'lib/inttegro/balance_transaction/page.rb', line 36 class Page < T::Struct const :number, Integer const :size, Integer const :transactions, T.nilable(T::Array[Inttegro::BalanceTransaction]), default: nil end |