Class: Inttegro::OTP::InitiateResponse

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/otp/initiate_response.rb

Overview

Typed representation of the initiate 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

#transaction ⇒ Inttegro::OTP::Transaction (readonly)

OTP transaction object returned by initiate, verify, and lookup endpoints

Required in the API payload. Wire name: transaction.



24
25
26
# File 'lib/inttegro/otp/initiate_response.rb', line 24

class InitiateResponse < T::Struct
  const :transaction, Inttegro::OTP::Transaction
end