class Pohoda::Parsers::Bal::ForeignCurrencyType
Public Instance Methods
amount()
click to toggle source
# File lib/pohoda/parsers/bal/foreign_currency_type.rb, line 43 def amount at 'bal:amount' end
amount_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/foreign_currency_type.rb, line 47 def amount_attributes attributes_at 'bal:amount' end
amount_d()
click to toggle source
# File lib/pohoda/parsers/bal/foreign_currency_type.rb, line 19 def amount_d at 'bal:amountD' end
amount_d_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/foreign_currency_type.rb, line 23 def amount_d_attributes attributes_at 'bal:amountD' end
amount_md()
click to toggle source
# File lib/pohoda/parsers/bal/foreign_currency_type.rb, line 11 def amount_md at 'bal:amountMD' end
amount_md_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/foreign_currency_type.rb, line 15 def amount_md_attributes attributes_at 'bal:amountMD' end
amount_remain()
click to toggle source
# File lib/pohoda/parsers/bal/foreign_currency_type.rb, line 27 def amount_remain at 'bal:amountRemain' end
amount_remain_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/foreign_currency_type.rb, line 31 def amount_remain_attributes attributes_at 'bal:amountRemain' end
currency()
click to toggle source
# File lib/pohoda/parsers/bal/foreign_currency_type.rb, line 7 def currency submodel_at(Typ::RefType, 'bal:currency') end
rate()
click to toggle source
# File lib/pohoda/parsers/bal/foreign_currency_type.rb, line 35 def rate at 'bal:rate' end
rate_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/foreign_currency_type.rb, line 39 def rate_attributes attributes_at 'bal:rate' end
to_h()
click to toggle source
# File lib/pohoda/parsers/bal/foreign_currency_type.rb, line 51 def to_h hash = {} hash[:attributes] = attributes hash[:currency] = currency.to_h if has? 'bal:currency' hash[:amount_md] = amount_md if has? 'bal:amountMD' hash[:amount_md_attributes] = amount_md_attributes if has? 'bal:amountMD' hash[:amount_d] = amount_d if has? 'bal:amountD' hash[:amount_d_attributes] = amount_d_attributes if has? 'bal:amountD' hash[:amount_remain] = amount_remain if has? 'bal:amountRemain' hash[:amount_remain_attributes] = amount_remain_attributes if has? 'bal:amountRemain' hash[:rate] = rate if has? 'bal:rate' hash[:rate_attributes] = rate_attributes if has? 'bal:rate' hash[:amount] = amount if has? 'bal:amount' hash[:amount_attributes] = amount_attributes if has? 'bal:amount' hash end