Class: EInvoiceAPI::Models::ValidateValidatePeppolIDResponse::BusinessCard

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/e_invoice_api/models/validate_validate_peppol_id_response.rb

Overview

See Also:

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(country_code: nil, name: nil, registration_date: nil) ⇒ Object

Business card information for the Peppol ID

Parameters:

  • country_code (String, nil) (defaults to: nil)
  • name (String, nil) (defaults to: nil)
  • registration_date (Date, nil) (defaults to: nil)


# File 'lib/e_invoice_api/models/validate_validate_peppol_id_response.rb', line 71

Instance Attribute Details

#country_codeString?

Returns:

  • (String, nil)


59
# File 'lib/e_invoice_api/models/validate_validate_peppol_id_response.rb', line 59

optional :country_code, String, nil?: true

#nameString?

Returns:

  • (String, nil)


64
# File 'lib/e_invoice_api/models/validate_validate_peppol_id_response.rb', line 64

optional :name, String, nil?: true

#registration_dateDate?

Returns:

  • (Date, nil)


69
# File 'lib/e_invoice_api/models/validate_validate_peppol_id_response.rb', line 69

optional :registration_date, Date, nil?: true