class Pohoda::Parsers::Vch::VoucherHeaderType
Public Instance Methods
accounting()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 83 def accounting submodel_at(Typ::AccountingType, 'vch:accounting') end
accounting_period_moss()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 147 def accounting_period_moss at 'vch:accountingPeriodMOSS' end
accounting_period_moss_attributes()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 151 def accounting_period_moss_attributes attributes_at 'vch:accountingPeriodMOSS' end
activity()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 127 def activity submodel_at(Typ::RefType, 'vch:activity') end
cash_account()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 35 def cash_account submodel_at(Typ::RefType, 'vch:cashAccount') end
centre()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 123 def centre submodel_at(Typ::RefType, 'vch:centre') end
classification_kvdph()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 91 def classification_kvdph submodel_at(Typ::RefType, 'vch:classificationKVDPH') end
classification_vat()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 87 def classification_vat submodel_at(Typ::ClassificationVATType, 'vch:classificationVAT') end
contract()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 131 def contract submodel_at(Typ::RefType, 'vch:contract') end
date()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 51 def date at 'vch:date' end
date_attributes()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 55 def date_attributes attributes_at 'vch:date' end
date_khdph()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 75 def date_khdph at 'vch:dateKHDPH' end
date_khdph_attributes()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 79 def date_khdph_attributes attributes_at 'vch:dateKHDPH' end
date_payment()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 59 def date_payment at 'vch:datePayment' end
date_payment_attributes()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 63 def date_payment_attributes attributes_at 'vch:datePayment' end
date_tax()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 67 def date_tax at 'vch:dateTax' end
date_tax_attributes()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 71 def date_tax_attributes attributes_at 'vch:dateTax' end
evidentiary_resources_moss()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 143 def evidentiary_resources_moss array_of_at(String, ['vch:evidentiaryResourcesMOSS', 'typ:ids']) end
ext_id()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 15 def ext_id submodel_at(Typ::ExtIdType, 'vch:extId') end
hist_rate()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 171 def hist_rate at 'vch:histRate' end
hist_rate_attributes()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 175 def hist_rate_attributes attributes_at 'vch:histRate' end
id()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 7 def id at 'vch:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 11 def id_attributes attributes_at 'vch:id' end
int_note()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 163 def int_note at 'vch:intNote' end
int_note_attributes()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 167 def int_note_attributes attributes_at 'vch:intNote' end
labels()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 187 def labels array_of_at(Typ::LabelType, ['vch:labels', 'typ:label']) end
mark_record()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 179 def mark_record at 'vch:markRecord' end
mark_record_attributes()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 183 def mark_record_attributes attributes_at 'vch:markRecord' end
moss()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 139 def moss submodel_at(Typ::MOSStype, 'vch:MOSS') end
my_identity()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 107 def my_identity submodel_at(Typ::MyAddress, 'vch:myIdentity') end
note()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 155 def note at 'vch:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 159 def note_attributes attributes_at 'vch:note' end
number()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 39 def number submodel_at(Typ::NumberType, 'vch:number') end
original_document()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 43 def original_document at 'vch:originalDocument' end
original_document_attributes()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 47 def original_document_attributes attributes_at 'vch:originalDocument' end
parameters()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 191 def parameters array_of_at(Typ::ParameterDocType, ['vch:parameters', 'typ:parameter']) end
partner_identity()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 103 def partner_identity submodel_at(Typ::Address, 'vch:partnerIdentity') end
price_level()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 119 def price_level submodel_at(Typ::RefType, 'vch:priceLevel') end
reg_va_tin_eu()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 135 def reg_va_tin_eu submodel_at(Typ::RefTypeRegVATinEU, 'vch:regVATinEU') end
storno()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 27 def storno at 'vch:storno' end
storno_attributes()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 31 def storno_attributes attributes_at 'vch:storno' end
sym_par()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 111 def sym_par at 'vch:symPar' end
sym_par_attributes()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 115 def sym_par_attributes attributes_at 'vch:symPar' end
text()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 95 def text at 'vch:text' end
text_attributes()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 99 def text_attributes attributes_at 'vch:text' end
to_h()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 199 def to_h hash = {} hash[:attributes] = attributes hash[:id] = id if has? 'vch:id' hash[:id_attributes] = id_attributes if has? 'vch:id' hash[:ext_id] = ext_id.to_h if has? 'vch:extId' hash[:voucher_type] = voucher_type if has? 'vch:voucherType' hash[:voucher_type_attributes] = voucher_type_attributes if has? 'vch:voucherType' hash[:storno] = storno if has? 'vch:storno' hash[:storno_attributes] = storno_attributes if has? 'vch:storno' hash[:cash_account] = cash_account.to_h if has? 'vch:cashAccount' hash[:number] = number.to_h if has? 'vch:number' hash[:original_document] = original_document if has? 'vch:originalDocument' hash[:original_document_attributes] = original_document_attributes if has? 'vch:originalDocument' hash[:date] = date if has? 'vch:date' hash[:date_attributes] = date_attributes if has? 'vch:date' hash[:date_payment] = date_payment if has? 'vch:datePayment' hash[:date_payment_attributes] = date_payment_attributes if has? 'vch:datePayment' hash[:date_tax] = date_tax if has? 'vch:dateTax' hash[:date_tax_attributes] = date_tax_attributes if has? 'vch:dateTax' hash[:date_khdph] = date_khdph if has? 'vch:dateKHDPH' hash[:date_khdph_attributes] = date_khdph_attributes if has? 'vch:dateKHDPH' hash[:accounting] = accounting.to_h if has? 'vch:accounting' hash[:classification_vat] = classification_vat.to_h if has? 'vch:classificationVAT' hash[:classification_kvdph] = classification_kvdph.to_h if has? 'vch:classificationKVDPH' hash[:text] = text if has? 'vch:text' hash[:text_attributes] = text_attributes if has? 'vch:text' hash[:partner_identity] = partner_identity.to_h if has? 'vch:partnerIdentity' hash[:my_identity] = my_identity.to_h if has? 'vch:myIdentity' hash[:sym_par] = sym_par if has? 'vch:symPar' hash[:sym_par_attributes] = sym_par_attributes if has? 'vch:symPar' hash[:price_level] = price_level.to_h if has? 'vch:priceLevel' hash[:centre] = centre.to_h if has? 'vch:centre' hash[:activity] = activity.to_h if has? 'vch:activity' hash[:contract] = contract.to_h if has? 'vch:contract' hash[:reg_va_tin_eu] = reg_va_tin_eu.to_h if has? 'vch:regVATinEU' hash[:moss] = moss.to_h if has? 'vch:MOSS' hash[:evidentiary_resources_moss] = evidentiary_resources_moss if has? 'vch:evidentiaryResourcesMOSS' hash[:accounting_period_moss] = accounting_period_moss if has? 'vch:accountingPeriodMOSS' hash[:accounting_period_moss_attributes] = accounting_period_moss_attributes if has? 'vch:accountingPeriodMOSS' hash[:note] = note if has? 'vch:note' hash[:note_attributes] = note_attributes if has? 'vch:note' hash[:int_note] = int_note if has? 'vch:intNote' hash[:int_note_attributes] = int_note_attributes if has? 'vch:intNote' hash[:hist_rate] = hist_rate if has? 'vch:histRate' hash[:hist_rate_attributes] = hist_rate_attributes if has? 'vch:histRate' hash[:mark_record] = mark_record if has? 'vch:markRecord' hash[:mark_record_attributes] = mark_record_attributes if has? 'vch:markRecord' hash[:labels] = labels.map(&:to_h) if has? 'vch:labels' hash[:parameters] = parameters.map(&:to_h) if has? 'vch:parameters' hash[:validate] = validate.to_h if has? 'vch:validate' hash end
validate()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 195 def validate submodel_at(Typ::TypeValidate, 'vch:validate') end
voucher_type()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 19 def voucher_type at 'vch:voucherType' end
voucher_type_attributes()
click to toggle source
# File lib/pohoda/parsers/vch/voucher_header_type.rb, line 23 def voucher_type_attributes attributes_at 'vch:voucherType' end