Method: Wallee::SubscriberActive#list_invalid_properties
- Defined in:
- lib/wallee-ruby-sdk/models/subscriber_active.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 |
# File 'lib/wallee-ruby-sdk/models/subscriber_active.rb', line 160 def list_invalid_properties invalid_properties = Array.new if @id.nil? invalid_properties.push('invalid value for "id", id cannot be nil.') end if @version.nil? invalid_properties.push('invalid value for "version", version cannot be nil.') end if !@description.nil? && @description.to_s.length > 200 invalid_properties.push('invalid value for "description", the character length must be smaller than or equal to 200.') end if !@email_address.nil? && @email_address.to_s.length > 254 invalid_properties.push('invalid value for "email_address", the character length must be smaller than or equal to 254.') end if !@reference.nil? && @reference.to_s.length > 100 invalid_properties.push('invalid value for "reference", the character length must be smaller than or equal to 100.') end invalid_properties end |