Class: Vatsense::Models::ValidateCheckResponse::Data::Company::ValidationCompany

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

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 ⇒ Object



101
# File 'sig/vatsense/models/validate_check_response.rbs', line 101

def initialize: (

Instance Attribute Details

#company_address ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :company_address, String

#company_name ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :company_name, String

#country_code ⇒ String?

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :country_code, String

#vat_number ⇒ String?

The VAT number (without country code prefix).

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :vat_number, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


108
# File 'sig/vatsense/models/validate_check_response.rbs', line 108

def to_hash: -> {