Class: EInvoiceAPI::Models::Certificate
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- EInvoiceAPI::Models::Certificate
- Defined in:
- lib/e_invoice_api/models/certificate.rb
Instance Attribute Summary collapse
-
#details ⇒ Hash{Symbol=>Object}?
Details about the certificate including subject, issuer, validity dates, etc.
-
#error ⇒ String?
Error message if certificate validation failed.
-
#status ⇒ String
Status of the certificate validation: ‘success’, ‘error’, or ‘pending’.
Instance Method Summary collapse
-
#initialize(status: , details: nil, error: nil) ⇒ Object
constructor
Certificate information for a Peppol endpoint.
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(status: , details: nil, error: nil) ⇒ Object
Certificate information for a Peppol endpoint.
|
|
# File 'lib/e_invoice_api/models/certificate.rb', line 24
|
Instance Attribute Details
#details ⇒ Hash{Symbol=>Object}?
Details about the certificate including subject, issuer, validity dates, etc.
16 |
# File 'lib/e_invoice_api/models/certificate.rb', line 16 optional :details, EInvoiceAPI::Internal::Type::HashOf[EInvoiceAPI::Internal::Type::Unknown], nil?: true |
#error ⇒ String?
Error message if certificate validation failed
22 |
# File 'lib/e_invoice_api/models/certificate.rb', line 22 optional :error, String, nil?: true |
#status ⇒ String
Status of the certificate validation: ‘success’, ‘error’, or ‘pending’
10 |
# File 'lib/e_invoice_api/models/certificate.rb', line 10 required :status, String |