Method: AmzSpApi::VendorOrdersApiModel::TaxRegistrationDetails#valid?
- Defined in:
- lib/vendor-orders-api-model/models/tax_registration_details.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
108 109 110 111 112 113 114 |
# File 'lib/vendor-orders-api-model/models/tax_registration_details.rb', line 108 def valid? return false if @tax_registration_type.nil? tax_registration_type_validator = EnumAttributeValidator.new('Object', ['VAT', 'GST']) return false unless tax_registration_type_validator.valid?(@tax_registration_type) return false if @tax_registration_number.nil? true end |