Class: FinchAPI::Models::Provider::AuthenticationMethod::SupportedFields::Individual

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/provider.rb

Defined Under Namespace

Classes: Emails, PhoneNumbers, Residence

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data: nil, type: nil) ⇒ Individual

Returns a new instance of Individual.

Parameters:

  • data (Boolean) (defaults to: nil)
  • type (Boolean) (defaults to: nil)


15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/finch-api/models/provider.rb', line 15

def initialize(
  id: nil,
  dob: nil,
  emails: nil,
  encrypted_ssn: nil,
  ethnicity: nil,
  first_name: nil,
  gender: nil,
  last_name: nil,
  middle_name: nil,
  phone_numbers: nil,
  preferred_name: nil,
  residence: nil,
  ssn: nil,
  **
)
  super
end

Instance Attribute Details

#dobBoolean?

Returns:

  • (Boolean, nil)


1134
# File 'lib/finch-api/models/provider.rb', line 1134

optional :dob, FinchAPI::BooleanModel

#encrypted_ssnBoolean?

Returns:

  • (Boolean, nil)


1153
# File 'lib/finch-api/models/provider.rb', line 1153

optional :encrypted_ssn, FinchAPI::BooleanModel

#ethnicityBoolean?

Returns:

  • (Boolean, nil)


1162
# File 'lib/finch-api/models/provider.rb', line 1162

optional :ethnicity, FinchAPI::BooleanModel

#first_nameBoolean?

Returns:

  • (Boolean, nil)


1171
# File 'lib/finch-api/models/provider.rb', line 1171

optional :first_name, FinchAPI::BooleanModel

#genderBoolean?

Returns:

  • (Boolean, nil)


1180
# File 'lib/finch-api/models/provider.rb', line 1180

optional :gender, FinchAPI::BooleanModel

#idBoolean?

Returns:

  • (Boolean, nil)


1125
# File 'lib/finch-api/models/provider.rb', line 1125

optional :id, FinchAPI::BooleanModel

#last_nameBoolean?

Returns:

  • (Boolean, nil)


1189
# File 'lib/finch-api/models/provider.rb', line 1189

optional :last_name, FinchAPI::BooleanModel

#middle_nameBoolean?

Returns:

  • (Boolean, nil)


1198
# File 'lib/finch-api/models/provider.rb', line 1198

optional :middle_name, FinchAPI::BooleanModel

#preferred_nameBoolean?

Returns:

  • (Boolean, nil)


1217
# File 'lib/finch-api/models/provider.rb', line 1217

optional :preferred_name, FinchAPI::BooleanModel

#ssnBoolean?

Returns:

  • (Boolean, nil)


1236
# File 'lib/finch-api/models/provider.rb', line 1236

optional :ssn, FinchAPI::BooleanModel

#type=(value) ⇒ Boolean (writeonly)

Returns:

  • (Boolean)


2
3
4
# File 'lib/finch-api/models/provider.rb', line 2

def type=(value)
  @type = value
end