class Wallee::CriteriaOperator

Constants

CONTAINS
EQUALS
EQUALS_IGNORE_CASE
GREATER_THAN
GREATER_THAN_OR_EQUAL
IS_NOT_NULL
IS_NULL
LESS_THAN
LESS_THAN_OR_EQUAL
NOT_CONTAINS
NOT_EQUALS
NOT_EQUALS_IGNORE_CASE

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/wallee-ruby-sdk/models/criteria_operator.rb, line 39
def build_from_hash(value)
  constantValues = CriteriaOperator.constants.select { |c| CriteriaOperator::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #CriteriaOperator" if constantValues.empty?
  value
end