class PostFinanceCheckout::AccountState
Constants
- ACTIVE
- CREATE
- DELETED
- DELETING
- INACTIVE
- RESTRICTED_ACTIVE
Public Instance Methods
build_from_hash(value)
click to toggle source
Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value
# File lib/postfinancecheckout-ruby-sdk/models/account_state.rb, line 33 def build_from_hash(value) constantValues = AccountState.constants.select { |c| AccountState::const_get(c) == value } raise "Invalid ENUM value #{value} for class #AccountState" if constantValues.empty? value end