class PostFinanceCheckout::TokenizationMode
Constants
- ALLOW_ONE_CLICK_PAYMENT
- FORCE_CREATION
- FORCE_CREATION_WITH_ONE_CLICK_PAYMENT
- FORCE_UPDATE
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/tokenization_mode.rb, line 31 def build_from_hash(value) constantValues = TokenizationMode.constants.select { |c| TokenizationMode::const_get(c) == value } raise "Invalid ENUM value #{value} for class #TokenizationMode" if constantValues.empty? value end