Class: Plaid::Products

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

Constant Summary collapse

ASSETS =
"assets".freeze
AUTH =
"auth".freeze
BALANCE =
"balance".freeze
IDENTITY =
"identity".freeze
INVESTMENTS =
"investments".freeze
LIABILITIES =
"liabilities".freeze
PAYMENT_INITIATION =
"payment_initiation".freeze
IDENTITY_VERIFICATION =
"identity_verification".freeze
TRANSACTIONS =
"transactions".freeze
CREDIT_DETAILS =
"credit_details".freeze
INCOME =
"income".freeze
INCOME_VERIFICATION =
"income_verification".freeze
DEPOSIT_SWITCH =
"deposit_switch".freeze
STANDING_ORDERS =
"standing_orders".freeze
TRANSFER =
"transfer".freeze
EMPLOYMENT =
"employment".freeze
RECURRING_TRANSACTIONS =
"recurring_transactions".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



39
40
41
# File 'lib/plaid/models/products.rb', line 39

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



46
47
48
49
50
51
# File 'lib/plaid/models/products.rb', line 46

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