class Pohoda::Parsers::Inv::InvoiceHeaderType
Public Instance Methods
account()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 207 def account submodel_at(Typ::AccountType, 'inv:account') end
accounting()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 135 def accounting submodel_at(Typ::AccountingType, 'inv:accounting') end
accounting_period_moss()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 279 def accounting_period_moss at 'inv:accountingPeriodMOSS' end
accounting_period_moss_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 283 def accounting_period_moss_attributes attributes_at 'inv:accountingPeriodMOSS' end
activity()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 259 def activity submodel_at(Typ::RefType, 'inv:activity') end
applied()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 311 def applied at 'inv:applied' end
applied_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 315 def applied_attributes attributes_at 'inv:applied' end
carrier()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 287 def carrier submodel_at(Typ::CarrierType, 'inv:carrier') end
centre()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 255 def centre submodel_at(Typ::RefType, 'inv:centre') end
classification_kvdph()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 143 def classification_kvdph submodel_at(Typ::RefType, 'inv:classificationKVDPH') end
classification_vat()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 139 def classification_vat submodel_at(Typ::ClassificationVATType, 'inv:classificationVAT') end
contract()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 263 def contract submodel_at(Typ::RefType, 'inv:contract') end
date()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 79 def date at 'inv:date' end
date_accounting()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 95 def date_accounting at 'inv:dateAccounting' end
date_accounting_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 99 def date_accounting_attributes attributes_at 'inv:dateAccounting' end
date_application_vat()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 119 def date_application_vat at 'inv:dateApplicationVAT' end
date_application_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 123 def date_application_vat_attributes attributes_at 'inv:dateApplicationVAT' end
date_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 83 def date_attributes attributes_at 'inv:date' end
date_delivery()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 127 def date_delivery at 'inv:dateDelivery' end
date_delivery_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 131 def date_delivery_attributes attributes_at 'inv:dateDelivery' end
date_due()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 111 def date_due at 'inv:dateDue' end
date_due_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 115 def date_due_attributes attributes_at 'inv:dateDue' end
date_khdph()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 103 def date_khdph at 'inv:dateKHDPH' end
date_khdph_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 107 def date_khdph_attributes attributes_at 'inv:dateKHDPH' end
date_of_payment_order()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 239 def date_of_payment_order at 'inv:dateOfPaymentOrder' end
date_of_payment_order_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 243 def date_of_payment_order_attributes attributes_at 'inv:dateOfPaymentOrder' end
date_order()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 191 def date_order at 'inv:dateOrder' end
date_order_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 195 def date_order_attributes attributes_at 'inv:dateOrder' end
date_tax()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 87 def date_tax at 'inv:dateTax' end
date_tax_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 91 def date_tax_attributes attributes_at 'inv:dateTax' end
evidentiary_resources_moss()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 275 def evidentiary_resources_moss array_of_at(String, ['inv:evidentiaryResourcesMOSS', 'typ:ids']) end
ext_id()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 15 def ext_id submodel_at(Typ::ExtIdType, 'inv:extId') end
hist_rate()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 319 def hist_rate at 'inv:histRate' end
hist_rate_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 323 def hist_rate_attributes attributes_at 'inv:histRate' end
id()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 7 def id at 'inv:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 11 def id_attributes attributes_at 'inv:id' end
int_note()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 299 def int_note at 'inv:intNote' end
int_note_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 303 def int_note_attributes attributes_at 'inv:intNote' end
intrastat()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 339 def intrastat submodel_at(Inv::IntrastatType, 'inv:intrastat') end
invoice_type()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 19 def invoice_type at 'inv:invoiceType' end
invoice_type_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 23 def invoice_type_attributes attributes_at 'inv:invoiceType' end
labels()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 335 def labels array_of_at(Typ::LabelType, ['inv:labels', 'typ:label']) end
liquidation()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 307 def liquidation submodel_at(Typ::LiquidationType, 'inv:liquidation') end
mark_record()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 327 def mark_record at 'inv:markRecord' end
mark_record_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 331 def mark_record_attributes attributes_at 'inv:markRecord' end
message_for_recipient()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 231 def message_for_recipient at 'inv:messageForRecipient' end
message_for_recipient_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 235 def message_for_recipient_attributes attributes_at 'inv:messageForRecipient' end
moss()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 271 def moss submodel_at(Typ::MOSStype, 'inv:MOSS') end
my_identity()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 175 def my_identity submodel_at(Typ::MyAddress, 'inv:myIdentity') end
note()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 291 def note at 'inv:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 295 def note_attributes attributes_at 'inv:note' end
number()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 43 def number submodel_at(Typ::NumberType, 'inv:number') end
number_khdph()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 147 def number_khdph at 'inv:numberKHDPH' end
number_khdph_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 151 def number_khdph_attributes attributes_at 'inv:numberKHDPH' end
number_kvdph()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 155 def number_kvdph at 'inv:numberKVDPH' end
number_kvdph_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 159 def number_kvdph_attributes attributes_at 'inv:numberKVDPH' end
number_order()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 183 def number_order at 'inv:numberOrder' end
number_order_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 187 def number_order_attributes attributes_at 'inv:numberOrder' end
order()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 179 def order submodel_at(Typ::RefType, 'inv:order') end
original_document()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 55 def original_document at 'inv:originalDocument' end
original_document_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 59 def original_document_attributes attributes_at 'inv:originalDocument' end
original_document_number()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 63 def original_document_number at 'inv:originalDocumentNumber' end
original_document_number_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 67 def original_document_number_attributes attributes_at 'inv:originalDocumentNumber' end
parameters()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 343 def parameters array_of_at(Typ::ParameterDocType, ['inv:parameters', 'typ:parameter']) end
partner_identity()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 171 def partner_identity submodel_at(Typ::Address, 'inv:partnerIdentity') end
payment_account()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 227 def payment_account submodel_at(Inv::PaymentAccount, 'inv:paymentAccount') end
payment_terminal()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 247 def payment_terminal at 'inv:paymentTerminal' end
payment_terminal_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 251 def payment_terminal_attributes attributes_at 'inv:paymentTerminal' end
payment_type()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 203 def payment_type submodel_at(Typ::PaymentType, 'inv:paymentType') end
price_level()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 199 def price_level submodel_at(Typ::RefType, 'inv:priceLevel') end
reg_va_tin_eu()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 267 def reg_va_tin_eu submodel_at(Typ::RefTypeRegVATinEU, 'inv:regVATinEU') end
sphere_type()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 35 def sphere_type at 'inv:sphereType' end
sphere_type_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 39 def sphere_type_attributes attributes_at 'inv:sphereType' end
storno()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 27 def storno at 'inv:storno' end
storno_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 31 def storno_attributes attributes_at 'inv:storno' end
sym_const()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 211 def sym_const at 'inv:symConst' end
sym_const_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 215 def sym_const_attributes attributes_at 'inv:symConst' end
sym_par()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 71 def sym_par at 'inv:symPar' end
sym_par_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 75 def sym_par_attributes attributes_at 'inv:symPar' end
sym_spec()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 219 def sym_spec at 'inv:symSpec' end
sym_spec_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 223 def sym_spec_attributes attributes_at 'inv:symSpec' end
sym_var()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 47 def sym_var at 'inv:symVar' end
sym_var_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 51 def sym_var_attributes attributes_at 'inv:symVar' end
text()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 163 def text at 'inv:text' end
text_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 167 def text_attributes attributes_at 'inv:text' end
to_h()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 351 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.to_h if has? 'inv:extId' hash[:invoice_type] = invoice_type if has? 'inv:invoiceType' hash[:invoice_type_attributes] = invoice_type_attributes if has? 'inv:invoiceType' hash[:storno] = storno if has? 'inv:storno' hash[:storno_attributes] = storno_attributes if has? 'inv:storno' hash[:sphere_type] = sphere_type if has? 'inv:sphereType' hash[:sphere_type_attributes] = sphere_type_attributes if has? 'inv:sphereType' hash[:number] = number.to_h if has? 'inv:number' hash[:sym_var] = sym_var if has? 'inv:symVar' hash[:sym_var_attributes] = sym_var_attributes if has? 'inv:symVar' hash[:original_document] = original_document if has? 'inv:originalDocument' hash[:original_document_attributes] = original_document_attributes if has? 'inv:originalDocument' hash[:original_document_number] = original_document_number if has? 'inv:originalDocumentNumber' hash[:original_document_number_attributes] = original_document_number_attributes if has? 'inv:originalDocumentNumber' hash[:sym_par] = sym_par if has? 'inv:symPar' hash[:sym_par_attributes] = sym_par_attributes if has? 'inv:symPar' hash[:date] = date if has? 'inv:date' hash[:date_attributes] = date_attributes if has? 'inv:date' hash[:date_tax] = date_tax if has? 'inv:dateTax' hash[:date_tax_attributes] = date_tax_attributes if has? 'inv:dateTax' hash[:date_accounting] = date_accounting if has? 'inv:dateAccounting' hash[:date_accounting_attributes] = date_accounting_attributes if has? 'inv:dateAccounting' hash[:date_khdph] = date_khdph if has? 'inv:dateKHDPH' hash[:date_khdph_attributes] = date_khdph_attributes if has? 'inv:dateKHDPH' hash[:date_due] = date_due if has? 'inv:dateDue' hash[:date_due_attributes] = date_due_attributes if has? 'inv:dateDue' hash[:date_application_vat] = date_application_vat if has? 'inv:dateApplicationVAT' hash[:date_application_vat_attributes] = date_application_vat_attributes if has? 'inv:dateApplicationVAT' hash[:date_delivery] = date_delivery if has? 'inv:dateDelivery' hash[:date_delivery_attributes] = date_delivery_attributes if has? 'inv:dateDelivery' 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[:number_khdph] = number_khdph if has? 'inv:numberKHDPH' hash[:number_khdph_attributes] = number_khdph_attributes if has? 'inv:numberKHDPH' hash[:number_kvdph] = number_kvdph if has? 'inv:numberKVDPH' hash[:number_kvdph_attributes] = number_kvdph_attributes if has? 'inv:numberKVDPH' hash[:text] = text if has? 'inv:text' hash[:text_attributes] = text_attributes if has? 'inv:text' hash[:partner_identity] = partner_identity.to_h if has? 'inv:partnerIdentity' hash[:my_identity] = my_identity.to_h if has? 'inv:myIdentity' hash[:order] = order.to_h if has? 'inv:order' hash[:number_order] = number_order if has? 'inv:numberOrder' hash[:number_order_attributes] = number_order_attributes if has? 'inv:numberOrder' hash[:date_order] = date_order if has? 'inv:dateOrder' hash[:date_order_attributes] = date_order_attributes if has? 'inv:dateOrder' hash[:price_level] = price_level.to_h if has? 'inv:priceLevel' hash[:payment_type] = payment_type.to_h if has? 'inv:paymentType' hash[:account] = account.to_h if has? 'inv:account' hash[:sym_const] = sym_const if has? 'inv:symConst' hash[:sym_const_attributes] = sym_const_attributes if has? 'inv:symConst' hash[:sym_spec] = sym_spec if has? 'inv:symSpec' hash[:sym_spec_attributes] = sym_spec_attributes if has? 'inv:symSpec' hash[:payment_account] = payment_account.to_h if has? 'inv:paymentAccount' hash[:message_for_recipient] = message_for_recipient if has? 'inv:messageForRecipient' hash[:message_for_recipient_attributes] = message_for_recipient_attributes if has? 'inv:messageForRecipient' hash[:date_of_payment_order] = date_of_payment_order if has? 'inv:dateOfPaymentOrder' hash[:date_of_payment_order_attributes] = date_of_payment_order_attributes if has? 'inv:dateOfPaymentOrder' hash[:payment_terminal] = payment_terminal if has? 'inv:paymentTerminal' hash[:payment_terminal_attributes] = payment_terminal_attributes if has? 'inv:paymentTerminal' 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[:reg_va_tin_eu] = reg_va_tin_eu.to_h if has? 'inv:regVATinEU' hash[:moss] = moss.to_h if has? 'inv:MOSS' hash[:evidentiary_resources_moss] = evidentiary_resources_moss if has? 'inv:evidentiaryResourcesMOSS' hash[:accounting_period_moss] = accounting_period_moss if has? 'inv:accountingPeriodMOSS' hash[:accounting_period_moss_attributes] = accounting_period_moss_attributes if has? 'inv:accountingPeriodMOSS' hash[:carrier] = carrier.to_h if has? 'inv:carrier' hash[:note] = note if has? 'inv:note' hash[:note_attributes] = note_attributes if has? 'inv:note' hash[:int_note] = int_note if has? 'inv:intNote' hash[:int_note_attributes] = int_note_attributes if has? 'inv:intNote' hash[:liquidation] = liquidation.to_h if has? 'inv:liquidation' hash[:applied] = applied if has? 'inv:applied' hash[:applied_attributes] = applied_attributes if has? 'inv:applied' hash[:hist_rate] = hist_rate if has? 'inv:histRate' hash[:hist_rate_attributes] = hist_rate_attributes if has? 'inv:histRate' hash[:mark_record] = mark_record if has? 'inv:markRecord' hash[:mark_record_attributes] = mark_record_attributes if has? 'inv:markRecord' hash[:labels] = labels.map(&:to_h) if has? 'inv:labels' hash[:intrastat] = intrastat.to_h if has? 'inv:intrastat' hash[:parameters] = parameters.map(&:to_h) if has? 'inv:parameters' hash[:validate] = validate.to_h if has? 'inv:validate' hash end
validate()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_header_type.rb, line 347 def validate submodel_at(Typ::TypeValidate, 'inv:validate') end