Class: MoneyS3::Parsers::EkategorieType
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::EkategorieType
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/ekategorie_type.rb
Instance Method Summary collapse
- #descript ⇒ Object
- #descript_attributes ⇒ Object
- #e_shop_info ⇒ Object
- #id ⇒ Object
- #id_attributes ⇒ Object
- #in_changed ⇒ Object
- #in_changed_attributes ⇒ Object
- #name ⇒ Object
- #name_attributes ⇒ Object
- #no_public ⇒ Object
- #no_public_attributes ⇒ Object
- #seznam_podr_kategorii ⇒ Object
- #to_h ⇒ Object
Instance Method Details
#descript ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/ekategorie_type.rb', line 22 def descript at 'Descript' end |
#descript_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/ekategorie_type.rb', line 26 def descript_attributes attributes_at 'Descript' end |
#e_shop_info ⇒ Object
46 47 48 |
# File 'lib/money_s3/parsers/ekategorie_type.rb', line 46 def e_shop_info submodel_at(EShopInfo, 'eShopInfo') end |
#id ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/ekategorie_type.rb', line 6 def id at 'ID' end |
#id_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/ekategorie_type.rb', line 10 def id_attributes attributes_at 'ID' end |
#in_changed ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/ekategorie_type.rb', line 30 def in_changed at 'IN_Changed' end |
#in_changed_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/ekategorie_type.rb', line 34 def in_changed_attributes attributes_at 'IN_Changed' end |
#name ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/ekategorie_type.rb', line 14 def name at 'Name' end |
#name_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/ekategorie_type.rb', line 18 def name_attributes attributes_at 'Name' end |
#no_public ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/ekategorie_type.rb', line 38 def no_public at 'NoPublic' end |
#no_public_attributes ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/ekategorie_type.rb', line 42 def no_public_attributes attributes_at 'NoPublic' end |
#seznam_podr_kategorii ⇒ Object
50 51 52 |
# File 'lib/money_s3/parsers/ekategorie_type.rb', line 50 def seznam_podr_kategorii array_of_at(EkategorieType, ['SeznamPodrKategorii', 'eKategorie']) end |
#to_h ⇒ Object
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'lib/money_s3/parsers/ekategorie_type.rb', line 54 def to_h hash = {} hash[:attributes] = attributes hash[:id] = id if has? 'ID' hash[:id_attributes] = id_attributes if has? 'ID' hash[:name] = name if has? 'Name' hash[:name_attributes] = name_attributes if has? 'Name' hash[:descript] = descript if has? 'Descript' hash[:descript_attributes] = descript_attributes if has? 'Descript' hash[:in_changed] = in_changed if has? 'IN_Changed' hash[:in_changed_attributes] = in_changed_attributes if has? 'IN_Changed' hash[:no_public] = no_public if has? 'NoPublic' hash[:no_public_attributes] = no_public_attributes if has? 'NoPublic' hash[:e_shop_info] = e_shop_info.to_h if has? 'eShopInfo' hash[:seznam_podr_kategorii] = seznam_podr_kategorii.map(&:to_h) if has? 'SeznamPodrKategorii' hash end |