Class: MoneyS3::Parsers::Doklad
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::Doklad
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/doklad.rb
Instance Method Summary collapse
- #cislo ⇒ Object
- #cislo_attributes ⇒ Object
- #dat_uc_pr ⇒ Object
- #dat_uc_pr_attributes ⇒ Object
- #druh ⇒ Object
- #druh_attributes ⇒ Object
- #guid ⇒ Object
- #guid_attributes ⇒ Object
- #plneno_dph ⇒ Object
- #plneno_dph_attributes ⇒ Object
- #prijat_dokl ⇒ Object
- #prijat_dokl_attributes ⇒ Object
- #to_h ⇒ Object
- #var_symbol ⇒ Object
- #var_symbol_attributes ⇒ Object
- #vystaveno ⇒ Object
- #vystaveno_attributes ⇒ Object
Instance Method Details
#cislo ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/doklad.rb', line 14 def cislo at 'Cislo' end |
#cislo_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/doklad.rb', line 18 def cislo_attributes attributes_at 'Cislo' end |
#dat_uc_pr ⇒ Object
54 55 56 |
# File 'lib/money_s3/parsers/doklad.rb', line 54 def dat_uc_pr at 'DatUcPr' end |
#dat_uc_pr_attributes ⇒ Object
58 59 60 |
# File 'lib/money_s3/parsers/doklad.rb', line 58 def dat_uc_pr_attributes attributes_at 'DatUcPr' end |
#druh ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/doklad.rb', line 6 def druh at 'Druh' end |
#druh_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/doklad.rb', line 10 def druh_attributes attributes_at 'Druh' end |
#guid ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/doklad.rb', line 22 def guid at 'GUID' end |
#guid_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/doklad.rb', line 26 def guid_attributes attributes_at 'GUID' end |
#plneno_dph ⇒ Object
62 63 64 |
# File 'lib/money_s3/parsers/doklad.rb', line 62 def plneno_dph at 'PlnenoDPH' end |
#plneno_dph_attributes ⇒ Object
66 67 68 |
# File 'lib/money_s3/parsers/doklad.rb', line 66 def plneno_dph_attributes attributes_at 'PlnenoDPH' end |
#prijat_dokl ⇒ Object
30 31 32 |
# File 'lib/money_s3/parsers/doklad.rb', line 30 def prijat_dokl at 'PrijatDokl' end |
#prijat_dokl_attributes ⇒ Object
34 35 36 |
# File 'lib/money_s3/parsers/doklad.rb', line 34 def prijat_dokl_attributes attributes_at 'PrijatDokl' end |
#to_h ⇒ Object
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/money_s3/parsers/doklad.rb', line 70 def to_h hash = {} hash[:attributes] = attributes hash[:druh] = druh if has? 'Druh' hash[:druh_attributes] = druh_attributes if has? 'Druh' hash[:cislo] = cislo if has? 'Cislo' hash[:cislo_attributes] = cislo_attributes if has? 'Cislo' hash[:guid] = guid if has? 'GUID' hash[:guid_attributes] = guid_attributes if has? 'GUID' hash[:prijat_dokl] = prijat_dokl if has? 'PrijatDokl' hash[:prijat_dokl_attributes] = prijat_dokl_attributes if has? 'PrijatDokl' hash[:var_symbol] = var_symbol if has? 'VarSymbol' hash[:var_symbol_attributes] = var_symbol_attributes if has? 'VarSymbol' hash[:vystaveno] = vystaveno if has? 'Vystaveno' hash[:vystaveno_attributes] = vystaveno_attributes if has? 'Vystaveno' hash[:dat_uc_pr] = dat_uc_pr if has? 'DatUcPr' hash[:dat_uc_pr_attributes] = dat_uc_pr_attributes if has? 'DatUcPr' hash[:plneno_dph] = plneno_dph if has? 'PlnenoDPH' hash[:plneno_dph_attributes] = plneno_dph_attributes if has? 'PlnenoDPH' hash end |
#var_symbol ⇒ Object
38 39 40 |
# File 'lib/money_s3/parsers/doklad.rb', line 38 def var_symbol at 'VarSymbol' end |
#var_symbol_attributes ⇒ Object
42 43 44 |
# File 'lib/money_s3/parsers/doklad.rb', line 42 def var_symbol_attributes attributes_at 'VarSymbol' end |
#vystaveno ⇒ Object
46 47 48 |
# File 'lib/money_s3/parsers/doklad.rb', line 46 def vystaveno at 'Vystaveno' end |
#vystaveno_attributes ⇒ Object
50 51 52 |
# File 'lib/money_s3/parsers/doklad.rb', line 50 def vystaveno_attributes attributes_at 'Vystaveno' end |