Class: EInvoiceAPI::Models::DocumentCreate::Item::ItemAttribute
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- EInvoiceAPI::Models::DocumentCreate::Item::ItemAttribute
- Defined in:
- lib/e_invoice_api/models/document_create.rb,
sig/e_invoice_api/models/document_create.rbs
Instance Attribute Summary collapse
-
#name ⇒ String
Attribute name (BT-160).
-
#value ⇒ String?
Attribute value (BT-161).
Instance Method Summary collapse
-
#initialize ⇒ ItemAttribute
constructor
A new instance of ItemAttribute.
- #to_hash ⇒ { name: String, value: String? }
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 ⇒ ItemAttribute
Returns a new instance of ItemAttribute.
1609 |
# File 'sig/e_invoice_api/models/document_create.rbs', line 1609
def initialize: (name: String, ?value: String?) -> void
|
Instance Attribute Details
#name ⇒ String
Attribute name (BT-160).
1647 |
# File 'lib/e_invoice_api/models/document_create.rb', line 1647 required :name, String |
#value ⇒ String?
Attribute value (BT-161).
1653 |
# File 'lib/e_invoice_api/models/document_create.rb', line 1653 optional :value, String, nil?: true |
Instance Method Details
#to_hash ⇒ { name: String, value: String? }
1611 |
# File 'sig/e_invoice_api/models/document_create.rbs', line 1611
def to_hash: -> { name: String, value: String? }
|