Class: Xrechnung::AdditionalDocumentReference
- Inherits:
-
Object
- Object
- Xrechnung::AdditionalDocumentReference
show all
- Includes:
- MemberContainer
- Defined in:
- lib/xrechnung/additional_document_reference.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
#[], #[]=, included, #initialize
Instance Attribute Details
21
|
# File 'lib/xrechnung/additional_document_reference.rb', line 21
member :attachment, type: Xrechnung::Attachment, optional: true
|
#document_description ⇒ String
17
|
# File 'lib/xrechnung/additional_document_reference.rb', line 17
member :document_description, type: String, optional: true
|
#document_type ⇒ String
13
|
# File 'lib/xrechnung/additional_document_reference.rb', line 13
member :document_type, type: String, optional: true
|
#id ⇒ String
9
|
# File 'lib/xrechnung/additional_document_reference.rb', line 9
member :id, type: String
|
Instance Method Details
#to_xml(xml) ⇒ Object
24
25
26
27
28
29
30
31
32
|
# File 'lib/xrechnung/additional_document_reference.rb', line 24
def to_xml(xml)
xml.cac :AdditionalDocumentReference do
xml.cbc :ID, id
xml.cbc :DocumentType, document_type
xml.cbc :DocumentDescription, document_description
attachment&.to_xml(xml)
end
end
|