Class: EInvoiceAPI::Models::LookupRetrieveResponse::ServiceMetadata::Endpoint::Process::Endpoint

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(endpoints: , process_id: ) ⇒ Object

Process information in the Peppol network.

Parameters:



396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
# File 'lib/e_invoice_api/models/lookup_retrieve_response.rb', line 396

class Endpoint < EInvoiceAPI::Internal::Type::BaseModel
  # @!attribute address
  #   URL or address of the endpoint
  #
  #   @return [String]
  required :address, String

  # @!attribute transport_profile
  #   Transport profile used by this endpoint
  #
  #   @return [String]
  required :transport_profile, String, api_name: :transportProfile

  # @!attribute certificate
  #   Certificate information for a Peppol endpoint.
  #
  #   @return [EInvoiceAPI::Models::Certificate, nil]
  optional :certificate, -> { EInvoiceAPI::Certificate }, nil?: true

  # @!attribute service_activation_date
  #   ISO 8601 date when the service was activated
  #
  #   @return [String, nil]
  optional :service_activation_date, String, api_name: :serviceActivationDate, nil?: true

  # @!attribute service_description
  #   Human-readable description of the service
  #
  #   @return [String, nil]
  optional :service_description, String, api_name: :serviceDescription, nil?: true

  # @!attribute service_expiration_date
  #   ISO 8601 date when the service will expire
  #
  #   @return [String, nil]
  optional :service_expiration_date, String, api_name: :serviceExpirationDate, nil?: true

  # @!attribute technical_contact_url
  #   URL for technical contact information
  #
  #   @return [String, nil]
  optional :technical_contact_url, String, api_name: :technicalContactUrl, nil?: true

  # @!attribute technical_information_url
  #   URL for technical documentation
  #
  #   @return [String, nil]
  optional :technical_information_url, String, api_name: :technicalInformationUrl, nil?: true

  # @!method initialize(address:, transport_profile:, certificate: nil, service_activation_date: nil, service_description: nil, service_expiration_date: nil, technical_contact_url: nil, technical_information_url: nil)
  #   Endpoint information for a specific Peppol process.
  #
  #   @param address [String] URL or address of the endpoint
  #
  #   @param transport_profile [String] Transport profile used by this endpoint
  #
  #   @param certificate [EInvoiceAPI::Models::Certificate, nil] Certificate information for a Peppol endpoint.
  #
  #   @param service_activation_date [String, nil] ISO 8601 date when the service was activated
  #
  #   @param service_description [String, nil] Human-readable description of the service
  #
  #   @param service_expiration_date [String, nil] ISO 8601 date when the service will expire
  #
  #   @param technical_contact_url [String, nil] URL for technical contact information
  #
  #   @param technical_information_url [String, nil] URL for technical documentation
end

Instance Attribute Details

#addressString

URL or address of the endpoint

Returns:

  • (String)


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

required :address, String

#certificateEInvoiceAPI::Models::Certificate?

Certificate information for a Peppol endpoint.



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

optional :certificate, -> { EInvoiceAPI::Certificate }, nil?: true

#service_activation_dateString?

ISO 8601 date when the service was activated

Returns:

  • (String, nil)


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

optional :service_activation_date, String, api_name: :serviceActivationDate, nil?: true

#service_descriptionString?

Human-readable description of the service

Returns:

  • (String, nil)


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

optional :service_description, String, api_name: :serviceDescription, nil?: true

#service_expiration_dateString?

ISO 8601 date when the service will expire

Returns:

  • (String, nil)


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

optional :service_expiration_date, String, api_name: :serviceExpirationDate, nil?: true

#technical_contact_urlString?

URL for technical contact information

Returns:

  • (String, nil)


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

optional :technical_contact_url, String, api_name: :technicalContactUrl, nil?: true

#technical_information_urlString?

URL for technical documentation

Returns:

  • (String, nil)


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

optional :technical_information_url, String, api_name: :technicalInformationUrl, nil?: true

#transport_profileString

Transport profile used by this endpoint

Returns:

  • (String)


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

required :transport_profile, String, api_name: :transportProfile