class MoneyS3::Parsers::PrepravceType

Public Instance Methods

kod_odesil() click to toggle source
# File lib/money_s3/parsers/prepravce_type.rb, line 30
def kod_odesil
  at 'KodOdesil'
end
kod_odesil_attributes() click to toggle source
# File lib/money_s3/parsers/prepravce_type.rb, line 34
def kod_odesil_attributes
  attributes_at 'KodOdesil'
end
nazev() click to toggle source
# File lib/money_s3/parsers/prepravce_type.rb, line 14
def nazev
  at 'Nazev'
end
nazev_attributes() click to toggle source
# File lib/money_s3/parsers/prepravce_type.rb, line 18
def nazev_attributes
  attributes_at 'Nazev'
end
poznamka() click to toggle source
# File lib/money_s3/parsers/prepravce_type.rb, line 22
def poznamka
  at 'Poznamka'
end
poznamka_attributes() click to toggle source
# File lib/money_s3/parsers/prepravce_type.rb, line 26
def poznamka_attributes
  attributes_at 'Poznamka'
end
to_h() click to toggle source
# File lib/money_s3/parsers/prepravce_type.rb, line 38
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:zkrat] = zkrat if has? 'Zkrat'
  hash[:zkrat_attributes] = zkrat_attributes if has? 'Zkrat'
  hash[:nazev] = nazev if has? 'Nazev'
  hash[:nazev_attributes] = nazev_attributes if has? 'Nazev'
  hash[:poznamka] = poznamka if has? 'Poznamka'
  hash[:poznamka_attributes] = poznamka_attributes if has? 'Poznamka'
  hash[:kod_odesil] = kod_odesil if has? 'KodOdesil'
  hash[:kod_odesil_attributes] = kod_odesil_attributes if has? 'KodOdesil'

  hash
end
zkrat() click to toggle source
# File lib/money_s3/parsers/prepravce_type.rb, line 6
def zkrat
  at 'Zkrat'
end
zkrat_attributes() click to toggle source
# File lib/money_s3/parsers/prepravce_type.rb, line 10
def zkrat_attributes
  attributes_at 'Zkrat'
end