class Pohoda::Parsers::Bal::HomeCurrencyType

Public Instance Methods

amount_d() click to toggle source
# File lib/pohoda/parsers/bal/home_currency_type.rb, line 15
def amount_d
  at 'bal:amountD'
end
amount_d_attributes() click to toggle source
# File lib/pohoda/parsers/bal/home_currency_type.rb, line 19
def amount_d_attributes
  attributes_at 'bal:amountD'
end
amount_md() click to toggle source
# File lib/pohoda/parsers/bal/home_currency_type.rb, line 7
def amount_md
  at 'bal:amountMD'
end
amount_md_attributes() click to toggle source
# File lib/pohoda/parsers/bal/home_currency_type.rb, line 11
def amount_md_attributes
  attributes_at 'bal:amountMD'
end
amount_remain() click to toggle source
# File lib/pohoda/parsers/bal/home_currency_type.rb, line 23
def amount_remain
  at 'bal:amountRemain'
end
amount_remain_attributes() click to toggle source
# File lib/pohoda/parsers/bal/home_currency_type.rb, line 27
def amount_remain_attributes
  attributes_at 'bal:amountRemain'
end
to_h() click to toggle source
# File lib/pohoda/parsers/bal/home_currency_type.rb, line 31
def to_h
  hash = {}
  hash[:attributes] = attributes

  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
end