Method: AmzSpApi::VendorOrdersApiModel::TaxRegistrationDetails#list_invalid_properties
- Defined in:
- lib/vendor-orders-api-model/models/tax_registration_details.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
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 |