Class: Plaid::ProtectReportType

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

Constant Summary collapse

USER_ACCOUNT_TAKEOVER =
"USER_ACCOUNT_TAKEOVER".freeze
FALSE_IDENTITY =
"FALSE_IDENTITY".freeze
STOLEN_IDENTITY =
"STOLEN_IDENTITY".freeze
SYNTHETIC_IDENTITY =
"SYNTHETIC_IDENTITY".freeze
MULTIPLE_USER_ACCOUNTS =
"MULTIPLE_USER_ACCOUNTS".freeze
SCAM_VICTIM =
"SCAM_VICTIM".freeze
BANK_ACCOUNT_TAKEOVER =
"BANK_ACCOUNT_TAKEOVER".freeze
BANK_CONNECTION_REVOKED =
"BANK_CONNECTION_REVOKED".freeze
CARD_TESTING =
"CARD_TESTING".freeze
UNAUTHORIZED_TRANSACTION =
"UNAUTHORIZED_TRANSACTION".freeze
CARD_CHARGEBACK =
"CARD_CHARGEBACK".freeze
ACH_RETURN =
"ACH_RETURN".freeze
DISPUTE =
"DISPUTE".freeze
FIRST_PARTY_FRAUD =
"FIRST_PARTY_FRAUD".freeze
MISSED_PAYMENT =
"MISSED_PAYMENT".freeze
LOAN_STACKING =
"LOAN_STACKING".freeze
MONEY_LAUNDERING =
"MONEY_LAUNDERING".freeze
NO_FRAUD =
"NO_FRAUD".freeze
OTHER =
"OTHER".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



41
42
43
# File 'lib/plaid/models/protect_report_type.rb', line 41

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



48
49
50
51
52
53
# File 'lib/plaid/models/protect_report_type.rb', line 48

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