class MoneyS3::Parsers::MsgFaktDpptype
Public Instance Methods
dod_odb()
click to toggle source
# File lib/money_s3/parsers/msg_fakt_dpptype.rb, line 6 def dod_odb submodel_at(MsgFirmaType, 'DodOdb') end
polozka()
click to toggle source
# File lib/money_s3/parsers/msg_fakt_dpptype.rb, line 10 def polozka array_of_at(MsgFaktPolozType, ['Polozka']) end
to_h()
click to toggle source
Calls superclass method
MoneyS3::Parsers::MessageType#to_h
# File lib/money_s3/parsers/msg_fakt_dpptype.rb, line 14 def to_h hash = {} hash[:attributes] = attributes hash[:dod_odb] = dod_odb.to_h if has? 'DodOdb' hash[:polozka] = polozka.map(&:to_h) if has? 'Polozka' hash super.merge(hash) end