class MoneyS3::Parsers::MsgFaktPolozType

Public Instance Methods

skl_polozka() click to toggle source
# File lib/money_s3/parsers/msg_fakt_poloz_type.rb, line 6
def skl_polozka
  submodel_at(MsgPolozType, 'SklPolozka')
end
to_h() click to toggle source
Calls superclass method MoneyS3::Parsers::MessageType#to_h
# File lib/money_s3/parsers/msg_fakt_poloz_type.rb, line 10
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:skl_polozka] = skl_polozka.to_h if has? 'SklPolozka'

  hash
  super.merge(hash)
end