Class: EInvoiceAPI::Models::LookupRetrieveResponse::ServiceMetadata::Endpoint::DocumentType

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/e_invoice_api/models/lookup_retrieve_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(document_types:, status:, url:, error: nil, processes: nil) ⇒ Object

Information about a Peppol participant’s endpoint.

Parameters:



352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
# File 'lib/e_invoice_api/models/lookup_retrieve_response.rb', line 352

class DocumentType < EInvoiceAPI::Internal::Type::BaseModel
  # @!attribute scheme
  #   Scheme of the document type identifier
  #
  #   @return [String]
  required :scheme, String

  # @!attribute value
  #   Value of the document type identifier
  #
  #   @return [String]
  required :value, String

  # @!method initialize(scheme:, value:)
  #   Document type supported by a Peppol participant.
  #
  #   @param scheme [String] Scheme of the document type identifier
  #
  #   @param value [String] Value of the document type identifier
end

Instance Attribute Details

#schemeString

Scheme of the document type identifier

Returns:

  • (String)


357
# File 'lib/e_invoice_api/models/lookup_retrieve_response.rb', line 357

required :scheme, String

#valueString

Value of the document type identifier

Returns:

  • (String)


363
# File 'lib/e_invoice_api/models/lookup_retrieve_response.rb', line 363

required :value, String