class Pohoda::Parsers::Int::IntDocItemType
Public Instance Methods
accounting()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 107 def accounting submodel_at(Typ::RefType, 'int:accounting') end
activity()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 139 def activity submodel_at(Typ::RefType, 'int:activity') end
centre()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 135 def centre submodel_at(Typ::RefType, 'int:centre') end
classification_kvdph()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 115 def classification_kvdph submodel_at(Typ::RefType, 'int:classificationKVDPH') end
classification_vat()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 111 def classification_vat submodel_at(Typ::ClassificationVATType, 'int:classificationVAT') end
code()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 91 def code at 'int:code' end
code_attributes()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 95 def code_attributes attributes_at 'int:code' end
code_pdp()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 127 def code_pdp at 'int:CodePDP' end
code_pdp_attributes()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 131 def code_pdp_attributes attributes_at 'int:CodePDP' end
coefficient()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 31 def coefficient at 'int:coefficient' end
coefficient_attributes()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 35 def coefficient_attributes attributes_at 'int:coefficient' end
contract()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 143 def contract submodel_at(Typ::RefType, 'int:contract') end
discount_percentage()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 63 def discount_percentage at 'int:discountPercentage' end
discount_percentage_attributes()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 67 def discount_percentage_attributes attributes_at 'int:discountPercentage' end
foreign_currency()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 75 def foreign_currency submodel_at(Typ::TypeCurrencyForeignItem, 'int:foreignCurrency') end
home_currency()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 71 def home_currency submodel_at(Typ::TypeCurrencyHomeItem, 'int:homeCurrency') end
note()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 83 def note at 'int:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 87 def note_attributes attributes_at 'int:note' end
parameters()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 147 def parameters array_of_at(Typ::ParameterDocType, ['int:parameters', 'typ:parameter']) end
pay_vat()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 39 def pay_vat at 'int:payVAT' end
pay_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 43 def pay_vat_attributes attributes_at 'int:payVAT' end
pdp()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 119 def pdp at 'int:PDP' end
pdp_attributes()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 123 def pdp_attributes attributes_at 'int:PDP' end
percent_vat()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 55 def percent_vat at 'int:percentVAT' end
percent_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 59 def percent_vat_attributes attributes_at 'int:percentVAT' end
quantity()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 15 def quantity at 'int:quantity' end
quantity_attributes()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 19 def quantity_attributes attributes_at 'int:quantity' end
rate_vat()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 47 def rate_vat at 'int:rateVAT' end
rate_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 51 def rate_vat_attributes attributes_at 'int:rateVAT' end
sym_par()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 99 def sym_par at 'int:symPar' end
sym_par_attributes()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 103 def sym_par_attributes attributes_at 'int:symPar' end
text()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 7 def text at 'int:text' end
text_attributes()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 11 def text_attributes attributes_at 'int:text' end
to_h()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 151 def to_h hash = {} hash[:attributes] = attributes hash[:text] = text if has? 'int:text' hash[:text_attributes] = text_attributes if has? 'int:text' hash[:quantity] = quantity if has? 'int:quantity' hash[:quantity_attributes] = quantity_attributes if has? 'int:quantity' hash[:unit] = unit if has? 'int:unit' hash[:unit_attributes] = unit_attributes if has? 'int:unit' hash[:coefficient] = coefficient if has? 'int:coefficient' hash[:coefficient_attributes] = coefficient_attributes if has? 'int:coefficient' hash[:pay_vat] = pay_vat if has? 'int:payVAT' hash[:pay_vat_attributes] = pay_vat_attributes if has? 'int:payVAT' hash[:rate_vat] = rate_vat if has? 'int:rateVAT' hash[:rate_vat_attributes] = rate_vat_attributes if has? 'int:rateVAT' hash[:percent_vat] = percent_vat if has? 'int:percentVAT' hash[:percent_vat_attributes] = percent_vat_attributes if has? 'int:percentVAT' hash[:discount_percentage] = discount_percentage if has? 'int:discountPercentage' hash[:discount_percentage_attributes] = discount_percentage_attributes if has? 'int:discountPercentage' hash[:home_currency] = home_currency.to_h if has? 'int:homeCurrency' hash[:foreign_currency] = foreign_currency.to_h if has? 'int:foreignCurrency' hash[:type_service_moss] = type_service_moss.to_h if has? 'int:typeServiceMOSS' hash[:note] = note if has? 'int:note' hash[:note_attributes] = note_attributes if has? 'int:note' hash[:code] = code if has? 'int:code' hash[:code_attributes] = code_attributes if has? 'int:code' hash[:sym_par] = sym_par if has? 'int:symPar' hash[:sym_par_attributes] = sym_par_attributes if has? 'int:symPar' hash[:accounting] = accounting.to_h if has? 'int:accounting' hash[:classification_vat] = classification_vat.to_h if has? 'int:classificationVAT' hash[:classification_kvdph] = classification_kvdph.to_h if has? 'int:classificationKVDPH' hash[:pdp] = pdp if has? 'int:PDP' hash[:pdp_attributes] = pdp_attributes if has? 'int:PDP' hash[:code_pdp] = code_pdp if has? 'int:CodePDP' hash[:code_pdp_attributes] = code_pdp_attributes if has? 'int:CodePDP' hash[:centre] = centre.to_h if has? 'int:centre' hash[:activity] = activity.to_h if has? 'int:activity' hash[:contract] = contract.to_h if has? 'int:contract' hash[:parameters] = parameters.map(&:to_h) if has? 'int:parameters' hash end
type_service_moss()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 79 def type_service_moss submodel_at(Typ::MOSStype, 'int:typeServiceMOSS') end
unit()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 23 def unit at 'int:unit' end
unit_attributes()
click to toggle source
# File lib/pohoda/parsers/int/int_doc_item_type.rb, line 27 def unit_attributes attributes_at 'int:unit' end