class Pohoda::Parsers::Inv::InvoiceAdvancePaymentItemType
Public Instance Methods
accounting()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 91 def accounting submodel_at(Typ::RefType, 'inv:accounting') end
activity()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 107 def activity submodel_at(Typ::RefType, 'inv:activity') end
centre()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 103 def centre submodel_at(Typ::RefType, 'inv:centre') end
classification_kvdph()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 99 def classification_kvdph submodel_at(Typ::RefType, 'inv:classificationKVDPH') end
classification_vat()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 95 def classification_vat submodel_at(Typ::ClassificationVATType, 'inv:classificationVAT') end
contract()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 111 def contract submodel_at(Typ::RefType, 'inv:contract') end
discount_percentage()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 59 def discount_percentage at 'inv:discountPercentage' end
discount_percentage_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 63 def discount_percentage_attributes attributes_at 'inv:discountPercentage' end
ext_id()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 15 def ext_id at 'inv:extId' end
ext_id_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 19 def ext_id_attributes attributes_at 'inv:extId' end
foreign_currency()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 71 def foreign_currency submodel_at(Typ::TypeCurrencyHomeItem2, 'inv:foreignCurrency') end
home_currency()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 67 def home_currency submodel_at(Typ::TypeCurrencyHomeItem2, 'inv:homeCurrency') end
id()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 7 def id at 'inv:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 11 def id_attributes attributes_at 'inv:id' end
note()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 75 def note at 'inv:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 79 def note_attributes attributes_at 'inv:note' end
parameters()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 123 def parameters array_of_at(Typ::ParameterDocType, ['inv:parameters', 'typ:parameter']) end
pay_vat()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 35 def pay_vat at 'inv:payVAT' end
pay_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 39 def pay_vat_attributes attributes_at 'inv:payVAT' end
percent_vat()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 51 def percent_vat at 'inv:percentVAT' end
percent_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 55 def percent_vat_attributes attributes_at 'inv:percentVAT' end
quantity()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 27 def quantity at 'inv:quantity' end
quantity_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 31 def quantity_attributes attributes_at 'inv:quantity' end
rate_vat()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 43 def rate_vat at 'inv:rateVAT' end
rate_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 47 def rate_vat_attributes attributes_at 'inv:rateVAT' end
source_document()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 23 def source_document submodel_at(Typ::SourceDocumentType, 'inv:sourceDocument') end
sym_par()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 83 def sym_par at 'inv:symPar' end
sym_par_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 87 def sym_par_attributes attributes_at 'inv:symPar' end
to_h()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 127 def to_h hash = {} hash[:attributes] = attributes 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[:source_document] = source_document.to_h if has? 'inv:sourceDocument' hash[:quantity] = quantity if has? 'inv:quantity' hash[:quantity_attributes] = quantity_attributes if has? 'inv:quantity' 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[:note] = note if has? 'inv:note' hash[:note_attributes] = note_attributes if has? 'inv:note' hash[:sym_par] = sym_par if has? 'inv:symPar' hash[:sym_par_attributes] = sym_par_attributes if has? 'inv:symPar' 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[: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[:voucher_eet] = voucher_eet if has? 'inv:voucherEET' hash[:voucher_eet_attributes] = voucher_eet_attributes if has? 'inv:voucherEET' hash[:parameters] = parameters.map(&:to_h) if has? 'inv:parameters' hash end
voucher_eet()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 115 def voucher_eet at 'inv:voucherEET' end
voucher_eet_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_advance_payment_item_type.rb, line 119 def voucher_eet_attributes attributes_at 'inv:voucherEET' end