Class: Vatsense::Models::ValidateCheckResponse::Data::Company::EoriValidationCompany

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/vatsense/models/validate_check_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(company_address: nil, company_name: nil, country_code: nil, eori_number: nil) ⇒ Object

Parameters:

  • company_address (String) (defaults to: nil)
  • company_name (String) (defaults to: nil)
  • country_code (String) (defaults to: nil)
  • eori_number (String) (defaults to: nil)

    The EORI number (without country code prefix).



# File 'lib/vatsense/models/validate_check_response.rb', line 119

Instance Attribute Details

#company_addressString?

Returns:

  • (String, nil)


101
# File 'lib/vatsense/models/validate_check_response.rb', line 101

optional :company_address, String

#company_nameString?

Returns:

  • (String, nil)


106
# File 'lib/vatsense/models/validate_check_response.rb', line 106

optional :company_name, String

#country_codeString?

Returns:

  • (String, nil)


111
# File 'lib/vatsense/models/validate_check_response.rb', line 111

optional :country_code, String

#eori_numberString?

The EORI number (without country code prefix).

Returns:

  • (String, nil)


117
# File 'lib/vatsense/models/validate_check_response.rb', line 117

optional :eori_number, String