class Pohoda::Parsers::Typ::LiquidationType
Public Instance Methods
amount_foreign()
click to toggle source
# File lib/pohoda/parsers/typ/liquidation_type.rb, line 23 def amount_foreign at 'typ:amountForeign' end
amount_foreign_attributes()
click to toggle source
# File lib/pohoda/parsers/typ/liquidation_type.rb, line 27 def amount_foreign_attributes attributes_at 'typ:amountForeign' end
amount_home()
click to toggle source
# File lib/pohoda/parsers/typ/liquidation_type.rb, line 15 def amount_home at 'typ:amountHome' end
amount_home_attributes()
click to toggle source
# File lib/pohoda/parsers/typ/liquidation_type.rb, line 19 def amount_home_attributes attributes_at 'typ:amountHome' end
date()
click to toggle source
# File lib/pohoda/parsers/typ/liquidation_type.rb, line 7 def date at 'typ:date' end
date_attributes()
click to toggle source
# File lib/pohoda/parsers/typ/liquidation_type.rb, line 11 def date_attributes attributes_at 'typ:date' end
to_h()
click to toggle source
# File lib/pohoda/parsers/typ/liquidation_type.rb, line 31 def to_h hash = {} hash[:attributes] = attributes hash[:date] = date if has? 'typ:date' hash[:date_attributes] = date_attributes if has? 'typ:date' hash[:amount_home] = amount_home if has? 'typ:amountHome' hash[:amount_home_attributes] = amount_home_attributes if has? 'typ:amountHome' hash[:amount_foreign] = amount_foreign if has? 'typ:amountForeign' hash[:amount_foreign_attributes] = amount_foreign_attributes if has? 'typ:amountForeign' hash end