Class: MoneyS3::Parsers::Eshop

Inherits:
Object
  • Object
show all
Includes:
ParserCore::BaseParser
Defined in:
lib/money_s3/parsers/eshop.rb

Instance Method Summary collapse

Instance Method Details

#in_changedObject



14
15
16
# File 'lib/money_s3/parsers/eshop.rb', line 14

def in_changed
  at 'IN_Changed'
end

#in_changed_attributesObject



18
19
20
# File 'lib/money_s3/parsers/eshop.rb', line 18

def in_changed_attributes
  attributes_at 'IN_Changed'
end

#in_exportObject



6
7
8
# File 'lib/money_s3/parsers/eshop.rb', line 6

def in_export
  at 'IN_Export'
end

#in_export_attributesObject



10
11
12
# File 'lib/money_s3/parsers/eshop.rb', line 10

def in_export_attributes
  attributes_at 'IN_Export'
end

#in_fak_cisObject



22
23
24
# File 'lib/money_s3/parsers/eshop.rb', line 22

def in_fak_cis
  at 'IN_FakCis'
end

#in_fak_cis_attributesObject



26
27
28
# File 'lib/money_s3/parsers/eshop.rb', line 26

def in_fak_cis_attributes
  attributes_at 'IN_FakCis'
end

#in_poznamkObject



54
55
56
# File 'lib/money_s3/parsers/eshop.rb', line 54

def in_poznamk
  at 'IN_Poznamk'
end

#in_poznamk_attributesObject



58
59
60
# File 'lib/money_s3/parsers/eshop.rb', line 58

def in_poznamk_attributes
  attributes_at 'IN_Poznamk'
end

#in_req_storObject



30
31
32
# File 'lib/money_s3/parsers/eshop.rb', line 30

def in_req_stor
  at 'IN_ReqStor'
end

#in_req_stor_attributesObject



34
35
36
# File 'lib/money_s3/parsers/eshop.rb', line 34

def in_req_stor_attributes
  attributes_at 'IN_ReqStor'
end

#in_shop_idObject



46
47
48
# File 'lib/money_s3/parsers/eshop.rb', line 46

def in_shop_id
  at 'IN_ShopID'
end

#in_shop_id_attributesObject



50
51
52
# File 'lib/money_s3/parsers/eshop.rb', line 50

def in_shop_id_attributes
  attributes_at 'IN_ShopID'
end

#in_yes_storObject



38
39
40
# File 'lib/money_s3/parsers/eshop.rb', line 38

def in_yes_stor
  at 'IN_YesStor'
end

#in_yes_stor_attributesObject



42
43
44
# File 'lib/money_s3/parsers/eshop.rb', line 42

def in_yes_stor_attributes
  attributes_at 'IN_YesStor'
end

#to_hObject



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'lib/money_s3/parsers/eshop.rb', line 62

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_fak_cis] = in_fak_cis if has? 'IN_FakCis'
  hash[:in_fak_cis_attributes] = in_fak_cis_attributes if has? 'IN_FakCis'
  hash[:in_req_stor] = in_req_stor if has? 'IN_ReqStor'
  hash[:in_req_stor_attributes] = in_req_stor_attributes if has? 'IN_ReqStor'
  hash[:in_yes_stor] = in_yes_stor if has? 'IN_YesStor'
  hash[:in_yes_stor_attributes] = in_yes_stor_attributes if has? 'IN_YesStor'
  hash[:in_shop_id] = in_shop_id if has? 'IN_ShopID'
  hash[:in_shop_id_attributes] = in_shop_id_attributes if has? 'IN_ShopID'
  hash[:in_poznamk] = in_poznamk if has? 'IN_Poznamk'
  hash[:in_poznamk_attributes] = in_poznamk_attributes if has? 'IN_Poznamk'

  hash
end