class Pohoda::Parsers::Csh::CashRegisterHeaderType
Public Instance Methods
account()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 35 def account submodel_at(Typ::RefType, 'csh:account') end
cancelled()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 47 def cancelled at 'csh:cancelled' end
cancelled_attributes()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 51 def cancelled_attributes attributes_at 'csh:cancelled' end
cashier()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 39 def cashier submodel_at(Typ::RefType, 'csh:cashier') end
currency_cash_register()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 43 def currency_cash_register submodel_at(Csh::CurrencyCashRegisterType, 'csh:currencyCashRegister') end
ext_id()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 15 def ext_id submodel_at(Typ::ExtIdType, 'csh:extId') end
fm()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 55 def fm at 'csh:FM' end
fm_attributes()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 59 def fm_attributes attributes_at 'csh:FM' end
id()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 7 def id at 'csh:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 11 def id_attributes attributes_at 'csh:id' end
ids()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 19 def ids at 'csh:ids' end
ids_attributes()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 23 def ids_attributes attributes_at 'csh:ids' end
name()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 27 def name at 'csh:name' end
name_attributes()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 31 def name_attributes attributes_at 'csh:name' end
note()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 63 def note at 'csh:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 67 def note_attributes attributes_at 'csh:note' end
to_h()
click to toggle source
# File lib/pohoda/parsers/csh/cash_register_header_type.rb, line 71 def to_h hash = {} hash[:attributes] = attributes hash[:id] = id if has? 'csh:id' hash[:id_attributes] = id_attributes if has? 'csh:id' hash[:ext_id] = ext_id.to_h if has? 'csh:extId' hash[:ids] = ids if has? 'csh:ids' hash[:ids_attributes] = ids_attributes if has? 'csh:ids' hash[:name] = name if has? 'csh:name' hash[:name_attributes] = name_attributes if has? 'csh:name' hash[:account] = account.to_h if has? 'csh:account' hash[:cashier] = cashier.to_h if has? 'csh:cashier' hash[:currency_cash_register] = currency_cash_register.to_h if has? 'csh:currencyCashRegister' hash[:cancelled] = cancelled if has? 'csh:cancelled' hash[:cancelled_attributes] = cancelled_attributes if has? 'csh:cancelled' hash[:fm] = fm if has? 'csh:FM' hash[:fm_attributes] = fm_attributes if has? 'csh:FM' hash[:note] = note if has? 'csh:note' hash[:note_attributes] = note_attributes if has? 'csh:note' hash end