Class: Inttegro::FinancialAccount::NameEnquiry

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

Overview

Evidence that the provider resolved the bank account holder name before the account was persisted. This confirms account resolution, not ownership.

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

#completed_at ⇒ Time (readonly)

Value of the completed_at field in the Inttegro API payload.

Required in the API payload. Wire name: completed_at.

Returns:

  • (Time)


36
37
38
39
40
# File 'lib/inttegro/financial_account/name_enquiry.rb', line 36

class NameEnquiry < T::Struct
  const :completed_at, Time
  const :provider_id, String
  const :provider_reference, T.nilable(String), default: nil
end

#provider_id ⇒ String (readonly)

Value of the provider_id field in the Inttegro API payload.

Required in the API payload. Wire name: provider_id.

Returns:

  • (String)


36
37
38
39
40
# File 'lib/inttegro/financial_account/name_enquiry.rb', line 36

class NameEnquiry < T::Struct
  const :completed_at, Time
  const :provider_id, String
  const :provider_reference, T.nilable(String), default: nil
end

#provider_reference ⇒ String? (readonly)

Value of the provider_reference field in the Inttegro API payload.

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

Returns:

  • (String, nil)


36
37
38
39
40
# File 'lib/inttegro/financial_account/name_enquiry.rb', line 36

class NameEnquiry < T::Struct
  const :completed_at, Time
  const :provider_id, String
  const :provider_reference, T.nilable(String), default: nil
end