Method: AmzSpApi::VendorOrdersApiModel::TaxRegistrationDetails#list_invalid_properties

Defined in:
lib/vendor-orders-api-model/models/tax_registration_details.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



93
94
95
96
97
98
99
100
101
102
103
104
# File 'lib/vendor-orders-api-model/models/tax_registration_details.rb', line 93

def list_invalid_properties
  invalid_properties = Array.new
  if @tax_registration_type.nil?
    invalid_properties.push('invalid value for "tax_registration_type", tax_registration_type cannot be nil.')
  end

  if @tax_registration_number.nil?
    invalid_properties.push('invalid value for "tax_registration_number", tax_registration_number cannot be nil.')
  end

  invalid_properties
end