class Pohoda::Parsers::Typ::CancelDocumentType

Public Instance Methods

source_document() click to toggle source
# File lib/pohoda/parsers/typ/cancel_document_type.rb, line 7
def source_document
  submodel_at(Typ::SourceDocumentType, 'typ:sourceDocument')
end
to_h() click to toggle source
# File lib/pohoda/parsers/typ/cancel_document_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:source_document] = source_document.to_h if has? 'typ:sourceDocument'

  hash
end