Method: UltracartClient::ItemContent#list_invalid_properties

Defined in:
lib/ultracart_api/models/item_content.rb

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



209
210
211
212
213
214
215
216
# File 'lib/ultracart_api/models/item_content.rb', line 209

def list_invalid_properties
  invalid_properties = Array.new
  if !@extended_description.nil? && @extended_description.to_s.length > 10000
    invalid_properties.push('invalid value for "extended_description", the character length must be smaller than or equal to 10000.')
  end

  invalid_properties
end