class Pohoda::Parsers::MKasa::KasaInfoType
Public Instance Methods
centre()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 43 def centre submodel_at(Typ::RefType, 'mKasa:centre') end
default_payment_type()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 55 def default_payment_type submodel_at(Typ::RefType, 'mKasa:defaultPaymentType') end
default_selling_price()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 51 def default_selling_price submodel_at(Typ::RefType, 'mKasa:defaultSellingPrice') end
default_store()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 47 def default_store submodel_at(Typ::RefType, 'mKasa:defaultStore') end
description()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 23 def description at 'mKasa:description' end
description_attributes()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 27 def description_attributes attributes_at 'mKasa:description' end
device_guid()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 31 def device_guid at 'mKasa:deviceGuid' end
device_guid_attributes()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 35 def device_guid_attributes attributes_at 'mKasa:deviceGuid' end
establishment()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 39 def establishment submodel_at(MKasa::KasaEstablishmentType, 'mKasa:establishment') end
id()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 7 def id at 'mKasa:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 11 def id_attributes attributes_at 'mKasa:id' end
name()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 15 def name at 'mKasa:name' end
name_attributes()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 19 def name_attributes attributes_at 'mKasa:name' end
pay_vat()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 75 def pay_vat at 'mKasa:payVat' end
pay_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 79 def pay_vat_attributes attributes_at 'mKasa:payVat' end
text()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 59 def text at 'mKasa:text' end
text_attributes()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 63 def text_attributes attributes_at 'mKasa:text' end
to_h()
click to toggle source
# File lib/pohoda/parsers/m_kasa/kasa_info_type.rb, line 83 def to_h hash = {} hash[:attributes] = attributes hash[:id] = id if has? 'mKasa:id' hash[:id_attributes] = id_attributes if has? 'mKasa:id' hash[:name] = name if has? 'mKasa:name' hash[:name_attributes] = name_attributes if has? 'mKasa:name' hash[:description] = description if has? 'mKasa:description' hash[:description_attributes] = description_attributes if has? 'mKasa:description' hash[:device_guid] = device_guid if has? 'mKasa:deviceGuid' hash[:device_guid_attributes] = device_guid_attributes if has? 'mKasa:deviceGuid' hash[:establishment] = establishment.to_h if has? 'mKasa:establishment' hash[:centre] = centre.to_h if has? 'mKasa:centre' hash[:default_store] = default_store.to_h if has? 'mKasa:defaultStore' hash[:default_selling_price] = default_selling_price.to_h if has? 'mKasa:defaultSellingPrice' hash[:default_payment_type] = default_payment_type.to_h if has? 'mKasa:defaultPaymentType' hash[:text] = text if has? 'mKasa:text' hash[:text_attributes] = text_attributes if has? 'mKasa:text' hash[:footer] = footer if has? 'mKasa:footer' hash[:footer_attributes] = footer_attributes if has? 'mKasa:footer' hash[:pay_vat] = pay_vat if has? 'mKasa:payVat' hash[:pay_vat_attributes] = pay_vat_attributes if has? 'mKasa:payVat' hash end