Method: Wallee::AbstractAccountUpdate#list_invalid_properties
- Defined in:
- lib/wallee-ruby-sdk/models/abstract_account_update.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'lib/wallee-ruby-sdk/models/abstract_account_update.rb', line 72 def list_invalid_properties invalid_properties = Array.new if !@name.nil? && @name.to_s.length > 200 invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 200.') end if !@name.nil? && @name.to_s.length < 3 invalid_properties.push('invalid value for "name", the character length must be great than or equal to 3.') end invalid_properties end |