class Pohoda::Parsers::MKasa::CompanyInfoType
Public Instance Methods
address()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 15 def address submodel_at(Typ::AddressInternetType, 'mKasa:address') end
change_for_food_vouchers()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 59 def change_for_food_vouchers at 'mKasa:changeForFoodVouchers' end
change_for_food_vouchers_attributes()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 63 def change_for_food_vouchers_attributes attributes_at 'mKasa:changeForFoodVouchers' end
establishment()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 19 def establishment submodel_at(Typ::EstablishmentType, 'mKasa:establishment') end
key()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 7 def key at 'mKasa:key' end
key_attributes()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 11 def key_attributes attributes_at 'mKasa:key' end
register()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 47 def register at 'mKasa:register' end
register_attributes()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 51 def register_attributes attributes_at 'mKasa:register' end
state_type()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 39 def state_type at 'mKasa:stateType' end
state_type_attributes()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 43 def state_type_attributes attributes_at 'mKasa:stateType' end
suffix()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 31 def suffix at 'mKasa:suffix' end
suffix_attributes()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 35 def suffix_attributes attributes_at 'mKasa:suffix' end
to_h()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 67 def to_h hash = {} hash[:attributes] = attributes hash[:key] = key if has? 'mKasa:key' hash[:key_attributes] = key_attributes if has? 'mKasa:key' hash[:address] = address.to_h if has? 'mKasa:address' hash[:establishment] = establishment.to_h if has? 'mKasa:establishment' hash[:unit_type] = unit_type if has? 'mKasa:unitType' hash[:unit_type_attributes] = unit_type_attributes if has? 'mKasa:unitType' hash[:suffix] = suffix if has? 'mKasa:suffix' hash[:suffix_attributes] = suffix_attributes if has? 'mKasa:suffix' hash[:state_type] = state_type if has? 'mKasa:stateType' hash[:state_type_attributes] = state_type_attributes if has? 'mKasa:stateType' hash[:register] = register if has? 'mKasa:register' hash[:register_attributes] = register_attributes if has? 'mKasa:register' hash[:vat_payer] = vat_payer.to_h if has? 'mKasa:vatPayer' hash[:change_for_food_vouchers] = change_for_food_vouchers if has? 'mKasa:changeForFoodVouchers' hash[:change_for_food_vouchers_attributes] = change_for_food_vouchers_attributes if has? 'mKasa:changeForFoodVouchers' hash end
unit_type()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 23 def unit_type at 'mKasa:unitType' end
unit_type_attributes()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 27 def unit_type_attributes attributes_at 'mKasa:unitType' end
vat_payer()
click to toggle source
# File lib/pohoda/parsers/m_kasa/company_info_type.rb, line 55 def vat_payer submodel_at(MKasa::VatPayerType, 'mKasa:vatPayer') end