class Pohoda::Parsers::Inv::InvoiceItemType
Public Instance Methods
accounting()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 147 def accounting submodel_at(Typ::RefType, 'inv:accounting') end
activity()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 179 def activity submodel_at(Typ::RefType, 'inv:activity') end
centre()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 175 def centre submodel_at(Typ::RefType, 'inv:centre') end
classification_kvdph()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 155 def classification_kvdph submodel_at(Typ::RefType, 'inv:classificationKVDPH') end
classification_vat()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 151 def classification_vat submodel_at(Typ::ClassificationVATType, 'inv:classificationVAT') end
code()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 115 def code at 'inv:code' end
code_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 119 def code_attributes attributes_at 'inv:code' end
code_pdp()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 167 def code_pdp at 'inv:CodePDP' end
code_pdp_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 171 def code_pdp_attributes attributes_at 'inv:CodePDP' end
coefficient()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 55 def coefficient at 'inv:coefficient' end
coefficient_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 59 def coefficient_attributes attributes_at 'inv:coefficient' end
contract()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 183 def contract submodel_at(Typ::RefType, 'inv:contract') end
discount_percentage()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 87 def discount_percentage at 'inv:discountPercentage' end
discount_percentage_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 91 def discount_percentage_attributes attributes_at 'inv:discountPercentage' end
eet_item()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 199 def eet_item at 'inv:EETItem' end
eet_item_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 203 def eet_item_attributes attributes_at 'inv:EETItem' end
expiration_date()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 187 def expiration_date at 'inv:expirationDate' end
expiration_date_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 191 def expiration_date_attributes attributes_at 'inv:expirationDate' end
ext_id()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 23 def ext_id at 'inv:extId' end
ext_id_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 27 def ext_id_attributes attributes_at 'inv:extId' end
foreign_currency()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 99 def foreign_currency submodel_at(Typ::TypeCurrencyForeignItem, 'inv:foreignCurrency') end
guarantee()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 123 def guarantee at 'inv:guarantee' end
guarantee_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 127 def guarantee_attributes attributes_at 'inv:guarantee' end
guarantee_type()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 131 def guarantee_type at 'inv:guaranteeType' end
guarantee_type_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 135 def guarantee_type_attributes attributes_at 'inv:guaranteeType' end
home_currency()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 95 def home_currency submodel_at(Typ::TypeCurrencyHomeItem, 'inv:homeCurrency') end
id()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 15 def id at 'inv:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 19 def id_attributes attributes_at 'inv:id' end
intrastat_item()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 195 def intrastat_item submodel_at(Inv::IntrastatItemType, 'inv:intrastatItem') end
link()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 7 def link submodel_at(Typ::LinkItemType, 'inv:link') end
link_to_stock()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 143 def link_to_stock submodel_at(Typ::LinkToStockType, 'inv:linkToStock') end
linked_document()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 11 def linked_document submodel_at(Typ::LinkedDocumentType, 'inv:linkedDocument') end
note()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 107 def note at 'inv:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 111 def note_attributes attributes_at 'inv:note' end
parameters()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 207 def parameters array_of_at(Typ::ParameterDocType, ['inv:parameters', 'typ:parameter']) end
pay_vat()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 63 def pay_vat at 'inv:payVAT' end
pay_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 67 def pay_vat_attributes attributes_at 'inv:payVAT' end
pdp()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 159 def pdp at 'inv:PDP' end
pdp_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 163 def pdp_attributes attributes_at 'inv:PDP' end
percent_vat()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 79 def percent_vat at 'inv:percentVAT' end
percent_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 83 def percent_vat_attributes attributes_at 'inv:percentVAT' end
quantity()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 39 def quantity at 'inv:quantity' end
quantity_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 43 def quantity_attributes attributes_at 'inv:quantity' end
rate_vat()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 71 def rate_vat at 'inv:rateVAT' end
rate_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 75 def rate_vat_attributes attributes_at 'inv:rateVAT' end
stock_item()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 139 def stock_item submodel_at(Typ::StockItemType, 'inv:stockItem') end
text()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 31 def text at 'inv:text' end
text_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 35 def text_attributes attributes_at 'inv:text' end
to_h()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 211 def to_h hash = {} hash[:attributes] = attributes hash[:link] = link.to_h if has? 'inv:link' hash[:linked_document] = linked_document.to_h if has? 'inv:linkedDocument' hash[:id] = id if has? 'inv:id' hash[:id_attributes] = id_attributes if has? 'inv:id' hash[:ext_id] = ext_id if has? 'inv:extId' hash[:ext_id_attributes] = ext_id_attributes if has? 'inv:extId' hash[:text] = text if has? 'inv:text' hash[:text_attributes] = text_attributes if has? 'inv:text' hash[:quantity] = quantity if has? 'inv:quantity' hash[:quantity_attributes] = quantity_attributes if has? 'inv:quantity' hash[:unit] = unit if has? 'inv:unit' hash[:unit_attributes] = unit_attributes if has? 'inv:unit' hash[:coefficient] = coefficient if has? 'inv:coefficient' hash[:coefficient_attributes] = coefficient_attributes if has? 'inv:coefficient' hash[:pay_vat] = pay_vat if has? 'inv:payVAT' hash[:pay_vat_attributes] = pay_vat_attributes if has? 'inv:payVAT' hash[:rate_vat] = rate_vat if has? 'inv:rateVAT' hash[:rate_vat_attributes] = rate_vat_attributes if has? 'inv:rateVAT' hash[:percent_vat] = percent_vat if has? 'inv:percentVAT' hash[:percent_vat_attributes] = percent_vat_attributes if has? 'inv:percentVAT' hash[:discount_percentage] = discount_percentage if has? 'inv:discountPercentage' hash[:discount_percentage_attributes] = discount_percentage_attributes if has? 'inv:discountPercentage' hash[:home_currency] = home_currency.to_h if has? 'inv:homeCurrency' hash[:foreign_currency] = foreign_currency.to_h if has? 'inv:foreignCurrency' hash[:type_service_moss] = type_service_moss.to_h if has? 'inv:typeServiceMOSS' hash[:note] = note if has? 'inv:note' hash[:note_attributes] = note_attributes if has? 'inv:note' hash[:code] = code if has? 'inv:code' hash[:code_attributes] = code_attributes if has? 'inv:code' hash[:guarantee] = guarantee if has? 'inv:guarantee' hash[:guarantee_attributes] = guarantee_attributes if has? 'inv:guarantee' hash[:guarantee_type] = guarantee_type if has? 'inv:guaranteeType' hash[:guarantee_type_attributes] = guarantee_type_attributes if has? 'inv:guaranteeType' hash[:stock_item] = stock_item.to_h if has? 'inv:stockItem' hash[:link_to_stock] = link_to_stock.to_h if has? 'inv:linkToStock' hash[:accounting] = accounting.to_h if has? 'inv:accounting' hash[:classification_vat] = classification_vat.to_h if has? 'inv:classificationVAT' hash[:classification_kvdph] = classification_kvdph.to_h if has? 'inv:classificationKVDPH' hash[:pdp] = pdp if has? 'inv:PDP' hash[:pdp_attributes] = pdp_attributes if has? 'inv:PDP' hash[:code_pdp] = code_pdp if has? 'inv:CodePDP' hash[:code_pdp_attributes] = code_pdp_attributes if has? 'inv:CodePDP' hash[:centre] = centre.to_h if has? 'inv:centre' hash[:activity] = activity.to_h if has? 'inv:activity' hash[:contract] = contract.to_h if has? 'inv:contract' hash[:expiration_date] = expiration_date if has? 'inv:expirationDate' hash[:expiration_date_attributes] = expiration_date_attributes if has? 'inv:expirationDate' hash[:intrastat_item] = intrastat_item.to_h if has? 'inv:intrastatItem' hash[:eet_item] = eet_item if has? 'inv:EETItem' hash[:eet_item_attributes] = eet_item_attributes if has? 'inv:EETItem' hash[:parameters] = parameters.map(&:to_h) if has? 'inv:parameters' hash end
type_service_moss()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 103 def type_service_moss submodel_at(Typ::MOSStype, 'inv:typeServiceMOSS') end
unit()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 47 def unit at 'inv:unit' end
unit_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_item_type.rb, line 51 def unit_attributes attributes_at 'inv:unit' end