class Pohoda::Parsers::MKasa::VatPayerWholePeriodType

Public Instance Methods

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

  hash[:tax_period] = tax_period if has? 'mKasa:taxPeriod'
  hash[:tax_period_attributes] = tax_period_attributes if has? 'mKasa:taxPeriod'

  hash
end