Class: Plaid::WatchlistScreeningDocumentType

Inherits:
Object
  • Object
show all
Defined in:
lib/plaid/models/watchlist_screening_document_type.rb

Constant Summary collapse

BIRTH_CERTIFICATE =
"birth_certificate".freeze
DRIVERS_LICENSE =
"drivers_license".freeze
IMMIGRATION_NUMBER =
"immigration_number".freeze
MILITARY_ID =
"military_id".freeze
OTHER =
"other".freeze
PASSPORT =
"passport".freeze
PERSONAL_IDENTIFICATION =
"personal_identification".freeze
RATION_CARD =
"ration_card".freeze
SSN =
"ssn".freeze
STUDENT_ID =
"student_id".freeze
TAX_ID =
"tax_id".freeze
TRAVEL_DOCUMENT =
"travel_document".freeze
VOTER_ID =
"voter_id".freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



35
36
37
# File 'lib/plaid/models/watchlist_screening_document_type.rb', line 35

def self.build_from_hash(value)
  new.build_from_hash(value)
end

Instance Method Details

#build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



42
43
44
45
46
47
# File 'lib/plaid/models/watchlist_screening_document_type.rb', line 42

def build_from_hash(value)
  # We do not validate that the value is one of the enums set in the OpenAPI
  # file because we want to be able to add to our list of enums without
  # breaking this client library.
  value
end