class Pohoda::Parsers::Inv::InvoiceRetentionsType

Public Instance Methods

invoice_retention() click to toggle source
# File lib/pohoda/parsers/inv/invoice_retentions_type.rb, line 7
def invoice_retention
  array_of_at(Inv::InvoiceRetentionType, ['inv:invoiceRetention'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/inv/invoice_retentions_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:invoice_retention] = invoice_retention.map(&:to_h) if has? 'inv:invoiceRetention'

  hash
end