Class: Plaid::PayPeriodDetailsPayFrequency

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

Constant Summary collapse

PAY_FREQUENCY_UNKNOWN =
"PAY_FREQUENCY_UNKNOWN".freeze
PAY_FREQUENCY_WEEKLY =
"PAY_FREQUENCY_WEEKLY".freeze
PAY_FREQUENCY_BIWEEKLY =
"PAY_FREQUENCY_BIWEEKLY".freeze
PAY_FREQUENCY_SEMIMONTHLY =
"PAY_FREQUENCY_SEMIMONTHLY".freeze
PAY_FREQUENCY_MONTHLY =
"PAY_FREQUENCY_MONTHLY".freeze
NULL =
"null".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



28
29
30
# File 'lib/plaid/models/pay_period_details_pay_frequency.rb', line 28

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



35
36
37
38
39
40
# File 'lib/plaid/models/pay_period_details_pay_frequency.rb', line 35

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