Method: Wallee::AbstractAccountUpdate#valid?

Defined in:
lib/wallee-ruby-sdk/models/abstract_account_update.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



87
88
89
90
91
# File 'lib/wallee-ruby-sdk/models/abstract_account_update.rb', line 87

def valid?
  return false if !@name.nil? && @name.to_s.length > 200
  return false if !@name.nil? && @name.to_s.length < 3
  true
end