Class: EInvoiceAPI::Models::ValidateValidatePeppolIDResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- EInvoiceAPI::Models::ValidateValidatePeppolIDResponse
- Defined in:
- lib/e_invoice_api/models/validate_validate_peppol_id_response.rb
Overview
Defined Under Namespace
Classes: BusinessCard
Instance Attribute Summary collapse
-
#business_card ⇒ EInvoiceAPI::Models::ValidateValidatePeppolIDResponse::BusinessCard?
Business card information for the Peppol ID.
-
#business_card_valid ⇒ Boolean
Whether a business card is set at the SMP.
-
#dns_valid ⇒ Boolean
Whether the DNS resolves to a valid SMP.
-
#is_valid ⇒ Boolean
Whether the Peppol ID is valid and registered in the Peppol network.
- #supported_document_types ⇒ Array<String>?
Instance Method Summary collapse
-
#initialize(business_card: , business_card_valid: , dns_valid: , is_valid: , supported_document_types: nil) ⇒ Object
constructor
Response for a Peppol ID validation request.
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(business_card: , business_card_valid: , dns_valid: , is_valid: , supported_document_types: nil) ⇒ Object
Response for a Peppol ID validation request.
This model represents the validation result of a Peppol ID in the Peppol network, including whether the ID is valid and what document types it supports.
|
|
# File 'lib/e_invoice_api/models/validate_validate_peppol_id_response.rb', line 38
|
Instance Attribute Details
#business_card ⇒ EInvoiceAPI::Models::ValidateValidatePeppolIDResponse::BusinessCard?
Business card information for the Peppol ID
11 12 13 |
# File 'lib/e_invoice_api/models/validate_validate_peppol_id_response.rb', line 11 required :business_card, -> { EInvoiceAPI::Models::ValidateValidatePeppolIDResponse::BusinessCard }, nil?: true |
#business_card_valid ⇒ Boolean
Whether a business card is set at the SMP
19 |
# File 'lib/e_invoice_api/models/validate_validate_peppol_id_response.rb', line 19 required :business_card_valid, EInvoiceAPI::Internal::Type::Boolean |
#dns_valid ⇒ Boolean
Whether the DNS resolves to a valid SMP
25 |
# File 'lib/e_invoice_api/models/validate_validate_peppol_id_response.rb', line 25 required :dns_valid, EInvoiceAPI::Internal::Type::Boolean |
#is_valid ⇒ Boolean
Whether the Peppol ID is valid and registered in the Peppol network
31 |
# File 'lib/e_invoice_api/models/validate_validate_peppol_id_response.rb', line 31 required :is_valid, EInvoiceAPI::Internal::Type::Boolean |
#supported_document_types ⇒ Array<String>?
36 |
# File 'lib/e_invoice_api/models/validate_validate_peppol_id_response.rb', line 36 optional :supported_document_types, EInvoiceAPI::Internal::Type::ArrayOf[String] |