class Pohoda::Parsers::Est::EstablishmentHeaderType

Public Instance Methods

city() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 51
def city
  at 'est:city'
end
city_attributes() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 55
def city_attributes
  attributes_at 'est:city'
end
code() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 19
def code
  at 'est:code'
end
code_attributes() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 23
def code_attributes
  attributes_at 'est:code'
end
email() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 83
def email
  at 'est:email'
end
email_attributes() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 87
def email_attributes
  attributes_at 'est:email'
end
ext_id() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 15
def ext_id
  submodel_at(Typ::ExtIdType, 'est:extId')
end
fax() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 75
def fax
  at 'est:fax'
end
fax_attributes() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 79
def fax_attributes
  attributes_at 'est:fax'
end
id() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 7
def id
  at 'est:id'
end
id_attributes() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 11
def id_attributes
  attributes_at 'est:id'
end
mark_record() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 99
def mark_record
  at 'est:markRecord'
end
mark_record_attributes() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 103
def mark_record_attributes
  attributes_at 'est:markRecord'
end
mobil() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 67
def mobil
  at 'est:mobil'
end
mobil_attributes() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 71
def mobil_attributes
  attributes_at 'est:mobil'
end
name() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 27
def name
  at 'est:name'
end
name_attributes() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 31
def name_attributes
  attributes_at 'est:name'
end
note() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 91
def note
  at 'est:note'
end
note_attributes() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 95
def note_attributes
  attributes_at 'est:note'
end
phone() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 59
def phone
  at 'est:phone'
end
phone_attributes() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 63
def phone_attributes
  attributes_at 'est:phone'
end
street() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 35
def street
  at 'est:street'
end
street_attributes() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 39
def street_attributes
  attributes_at 'est:street'
end
to_h() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 107
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:id] = id if has? 'est:id'
  hash[:id_attributes] = id_attributes if has? 'est:id'
  hash[:ext_id] = ext_id.to_h if has? 'est:extId'
  hash[:code] = code if has? 'est:code'
  hash[:code_attributes] = code_attributes if has? 'est:code'
  hash[:name] = name if has? 'est:name'
  hash[:name_attributes] = name_attributes if has? 'est:name'
  hash[:street] = street if has? 'est:street'
  hash[:street_attributes] = street_attributes if has? 'est:street'
  hash[:zip] = zip if has? 'est:zip'
  hash[:zip_attributes] = zip_attributes if has? 'est:zip'
  hash[:city] = city if has? 'est:city'
  hash[:city_attributes] = city_attributes if has? 'est:city'
  hash[:phone] = phone if has? 'est:phone'
  hash[:phone_attributes] = phone_attributes if has? 'est:phone'
  hash[:mobil] = mobil if has? 'est:mobil'
  hash[:mobil_attributes] = mobil_attributes if has? 'est:mobil'
  hash[:fax] = fax if has? 'est:fax'
  hash[:fax_attributes] = fax_attributes if has? 'est:fax'
  hash[:email] = email if has? 'est:email'
  hash[:email_attributes] = email_attributes if has? 'est:email'
  hash[:note] = note if has? 'est:note'
  hash[:note_attributes] = note_attributes if has? 'est:note'
  hash[:mark_record] = mark_record if has? 'est:markRecord'
  hash[:mark_record_attributes] = mark_record_attributes if has? 'est:markRecord'

  hash
end
zip() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 43
def zip
  at 'est:zip'
end
zip_attributes() click to toggle source
# File lib/pohoda/parsers/est/establishment_header_type.rb, line 47
def zip_attributes
  attributes_at 'est:zip'
end