Class: Inttegro::FinancialAccount::VerificationRequest

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/financial_account/verification_request.rb

Overview

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

#id ⇒ String? (readonly)

Value of the id field in the Inttegro API payload.

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

Returns:

  • (String, nil)


35
36
37
38
39
# File 'lib/inttegro/financial_account/verification_request.rb', line 35

class VerificationRequest < T::Struct
  const :id, T.nilable(String), default: nil
  const :mechanism, T.nilable(String), default: nil
  const :type, T.nilable(String), default: nil
end

#mechanism ⇒ String? (readonly)

Value of the mechanism field in the Inttegro API payload.

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

Returns:

  • (String, nil)


35
36
37
38
39
# File 'lib/inttegro/financial_account/verification_request.rb', line 35

class VerificationRequest < T::Struct
  const :id, T.nilable(String), default: nil
  const :mechanism, T.nilable(String), default: nil
  const :type, T.nilable(String), default: nil
end

#type ⇒ String? (readonly)

Value of the type field in the Inttegro API payload.

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

Returns:

  • (String, nil)


35
36
37
38
39
# File 'lib/inttegro/financial_account/verification_request.rb', line 35

class VerificationRequest < T::Struct
  const :id, T.nilable(String), default: nil
  const :mechanism, T.nilable(String), default: nil
  const :type, T.nilable(String), default: nil
end