class Pohoda::Parsers::Bal::BalanceItemType
Public Instance Methods
account_no()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 35 def account_no at 'bal:accountNo' end
account_no_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 39 def account_no_attributes attributes_at 'bal:accountNo' end
amount_d()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 91 def amount_d at 'bal:amountD' end
amount_d_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 95 def amount_d_attributes attributes_at 'bal:amountD' end
amount_md()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 83 def amount_md at 'bal:amountMD' end
amount_md_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 87 def amount_md_attributes attributes_at 'bal:amountMD' end
amount_remain()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 99 def amount_remain at 'bal:amountRemain' end
amount_remain_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 103 def amount_remain_attributes attributes_at 'bal:amountRemain' end
date()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 51 def date at 'bal:date' end
date_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 55 def date_attributes attributes_at 'bal:date' end
due_date()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 59 def due_date at 'bal:dueDate' end
due_date_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 63 def due_date_attributes attributes_at 'bal:dueDate' end
due_days()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 67 def due_days at 'bal:dueDays' end
due_days_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 71 def due_days_attributes attributes_at 'bal:dueDays' end
foreign_currency()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 111 def foreign_currency submodel_at(Bal::ForeignCurrencyType, 'bal:foreignCurrency') end
home_currency()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 107 def home_currency submodel_at(Bal::HomeCurrencyType, 'bal:homeCurrency') end
id()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 7 def id at 'bal:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 11 def id_attributes attributes_at 'bal:id' end
number()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 15 def number at 'bal:number' end
number_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 19 def number_attributes attributes_at 'bal:number' end
pair_symbol()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 43 def pair_symbol at 'bal:pairSymbol' end
pair_symbol_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 47 def pair_symbol_attributes attributes_at 'bal:pairSymbol' end
partner_identity()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 23 def partner_identity submodel_at(Typ::AddressType, 'bal:partnerIdentity') end
source_agenda()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 27 def source_agenda at 'bal:sourceAgenda' end
source_agenda_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 31 def source_agenda_attributes attributes_at 'bal:sourceAgenda' end
text()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 75 def text at 'bal:text' end
text_attributes()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 79 def text_attributes attributes_at 'bal:text' end
to_h()
click to toggle source
# File lib/pohoda/parsers/bal/balance_item_type.rb, line 115 def to_h hash = {} hash[:attributes] = attributes hash[:id] = id if has? 'bal:id' hash[:id_attributes] = id_attributes if has? 'bal:id' hash[:number] = number if has? 'bal:number' hash[:number_attributes] = number_attributes if has? 'bal:number' hash[:partner_identity] = partner_identity.to_h if has? 'bal:partnerIdentity' hash[:source_agenda] = source_agenda if has? 'bal:sourceAgenda' hash[:source_agenda_attributes] = source_agenda_attributes if has? 'bal:sourceAgenda' hash[:account_no] = account_no if has? 'bal:accountNo' hash[:account_no_attributes] = account_no_attributes if has? 'bal:accountNo' hash[:pair_symbol] = pair_symbol if has? 'bal:pairSymbol' hash[:pair_symbol_attributes] = pair_symbol_attributes if has? 'bal:pairSymbol' hash[:date] = date if has? 'bal:date' hash[:date_attributes] = date_attributes if has? 'bal:date' hash[:due_date] = due_date if has? 'bal:dueDate' hash[:due_date_attributes] = due_date_attributes if has? 'bal:dueDate' hash[:due_days] = due_days if has? 'bal:dueDays' hash[:due_days_attributes] = due_days_attributes if has? 'bal:dueDays' hash[:text] = text if has? 'bal:text' hash[:text_attributes] = text_attributes if has? 'bal:text' 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[:home_currency] = home_currency.to_h if has? 'bal:homeCurrency' hash[:foreign_currency] = foreign_currency.to_h if has? 'bal:foreignCurrency' hash end