class MoneyS3::Parsers::EshopZasobaType

Public Instance Methods

cis_karty() click to toggle source
# File lib/money_s3/parsers/eshop_zasoba_type.rb, line 30
def cis_karty
  at 'CisKarty'
end
cis_karty_attributes() click to toggle source
# File lib/money_s3/parsers/eshop_zasoba_type.rb, line 34
def cis_karty_attributes
  attributes_at 'CisKarty'
end
cis_skladu() click to toggle source
# File lib/money_s3/parsers/eshop_zasoba_type.rb, line 38
def cis_skladu
  at 'CisSkladu'
end
cis_skladu_attributes() click to toggle source
# File lib/money_s3/parsers/eshop_zasoba_type.rb, line 42
def cis_skladu_attributes
  attributes_at 'CisSkladu'
end
e_skup() click to toggle source
# File lib/money_s3/parsers/eshop_zasoba_type.rb, line 46
def e_skup
  array_of_at(EkategorieZasobaType, ['eSkup'])
end
in_changed() click to toggle source
# File lib/money_s3/parsers/eshop_zasoba_type.rb, line 14
def in_changed
  at 'IN_Changed'
end
in_changed_attributes() click to toggle source
# File lib/money_s3/parsers/eshop_zasoba_type.rb, line 18
def in_changed_attributes
  attributes_at 'IN_Changed'
end
in_deleted() click to toggle source
# File lib/money_s3/parsers/eshop_zasoba_type.rb, line 22
def in_deleted
  at 'IN_Deleted'
end
in_deleted_attributes() click to toggle source
# File lib/money_s3/parsers/eshop_zasoba_type.rb, line 26
def in_deleted_attributes
  attributes_at 'IN_Deleted'
end
in_export() click to toggle source
# File lib/money_s3/parsers/eshop_zasoba_type.rb, line 6
def in_export
  at 'IN_Export'
end
in_export_attributes() click to toggle source
# File lib/money_s3/parsers/eshop_zasoba_type.rb, line 10
def in_export_attributes
  attributes_at 'IN_Export'
end
to_h() click to toggle source
# File lib/money_s3/parsers/eshop_zasoba_type.rb, line 50
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:in_export] = in_export if has? 'IN_Export'
  hash[:in_export_attributes] = in_export_attributes if has? 'IN_Export'
  hash[:in_changed] = in_changed if has? 'IN_Changed'
  hash[:in_changed_attributes] = in_changed_attributes if has? 'IN_Changed'
  hash[:in_deleted] = in_deleted if has? 'IN_Deleted'
  hash[:in_deleted_attributes] = in_deleted_attributes if has? 'IN_Deleted'
  hash[:cis_karty] = cis_karty if has? 'CisKarty'
  hash[:cis_karty_attributes] = cis_karty_attributes if has? 'CisKarty'
  hash[:cis_skladu] = cis_skladu if has? 'CisSkladu'
  hash[:cis_skladu_attributes] = cis_skladu_attributes if has? 'CisSkladu'
  hash[:e_skup] = e_skup.map(&:to_h) if has? 'eSkup'

  hash
end