class Pohoda::Parsers::MKasa::ChangeOfModeInCalendarYearType

Public Instance Methods

identified_person() click to toggle source
# File lib/pohoda/parsers/m_kasa/change_of_mode_in_calendar_year_type.rb, line 7
def identified_person
  at 'mKasa:identifiedPerson'
end
identified_person_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/change_of_mode_in_calendar_year_type.rb, line 11
def identified_person_attributes
  attributes_at 'mKasa:identifiedPerson'
end
mode_calendar() click to toggle source
# File lib/pohoda/parsers/m_kasa/change_of_mode_in_calendar_year_type.rb, line 23
def mode_calendar
  at 'mKasa:modeCalendar'
end
mode_calendar_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/change_of_mode_in_calendar_year_type.rb, line 27
def mode_calendar_attributes
  attributes_at 'mKasa:modeCalendar'
end
tax_period() click to toggle source
# File lib/pohoda/parsers/m_kasa/change_of_mode_in_calendar_year_type.rb, line 15
def tax_period
  at 'mKasa:taxPeriod'
end
tax_period_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/change_of_mode_in_calendar_year_type.rb, line 19
def tax_period_attributes
  attributes_at 'mKasa:taxPeriod'
end
to_h() click to toggle source
# File lib/pohoda/parsers/m_kasa/change_of_mode_in_calendar_year_type.rb, line 31
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[:tax_period] = tax_period if has? 'mKasa:taxPeriod'
  hash[:tax_period_attributes] = tax_period_attributes if has? 'mKasa:taxPeriod'
  hash[:mode_calendar] = mode_calendar if has? 'mKasa:modeCalendar'
  hash[:mode_calendar_attributes] = mode_calendar_attributes if has? 'mKasa:modeCalendar'

  hash
end