class Pohoda::Parsers::MKasa::NonVatPayerWholePeriodType

Public Instance Methods

identified_person() click to toggle source
# File lib/pohoda/parsers/m_kasa/non_vat_payer_whole_period_type.rb, line 7
def identified_person
  at 'mKasa:identifiedPerson'
end
identified_person_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/non_vat_payer_whole_period_type.rb, line 11
def identified_person_attributes
  attributes_at 'mKasa:identifiedPerson'
end
to_h() click to toggle source
# File lib/pohoda/parsers/m_kasa/non_vat_payer_whole_period_type.rb, line 15
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:identified_person] = identified_person if has? 'mKasa:identifiedPerson'
  hash[:identified_person_attributes] = identified_person_attributes if has? 'mKasa:identifiedPerson'

  hash
end