Class: Inttegro::Refund::Page
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Refund::Page
- Defined in:
- lib/inttegro/refund/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. -
#refunds ⇒ Array<Inttegro::Refund>
readonly
Value of the
refundsfield in the Inttegro API payload. -
#size ⇒ Integer
readonly
Number of refunds returned in this page.
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/refund/page.rb', line 36 class Page < T::Struct const :number, Integer const :refunds, T::Array[Inttegro::Refund] const :size, Integer end |
#refunds ⇒ Array<Inttegro::Refund> (readonly)
Value of the refunds field in the Inttegro API payload.
Required in the API payload. Wire name: refunds.
36 37 38 39 40 |
# File 'lib/inttegro/refund/page.rb', line 36 class Page < T::Struct const :number, Integer const :refunds, T::Array[Inttegro::Refund] const :size, Integer end |