class Pohoda::Parsers::Bnk::BankItemType
Public Instance Methods
accounting()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 47 def accounting submodel_at(Typ::RefType, 'bnk:accounting') end
activity()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 79 def activity submodel_at(Typ::RefType, 'bnk:activity') end
centre()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 75 def centre submodel_at(Typ::RefType, 'bnk:centre') end
classification_kvdph()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 55 def classification_kvdph submodel_at(Typ::RefType, 'bnk:classificationKVDPH') end
classification_vat()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 51 def classification_vat submodel_at(Typ::ClassificationVATType, 'bnk:classificationVAT') end
code_pdp()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 67 def code_pdp at 'bnk:CodePDP' end
code_pdp_attributes()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 71 def code_pdp_attributes attributes_at 'bnk:CodePDP' end
contract()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 83 def contract submodel_at(Typ::RefType, 'bnk:contract') end
foreign_currency()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 23 def foreign_currency at 'bnk:foreignCurrency' end
foreign_currency_attributes()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 27 def foreign_currency_attributes attributes_at 'bnk:foreignCurrency' end
home_currency()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 15 def home_currency at 'bnk:homeCurrency' end
home_currency_attributes()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 19 def home_currency_attributes attributes_at 'bnk:homeCurrency' end
note()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 31 def note at 'bnk:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 35 def note_attributes attributes_at 'bnk:note' end
parameters()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 87 def parameters array_of_at(Typ::ParameterDocType, ['bnk:parameters', 'typ:parameter']) end
pdp()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 59 def pdp at 'bnk:PDP' end
pdp_attributes()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 63 def pdp_attributes attributes_at 'bnk:PDP' end
sym_par()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 39 def sym_par at 'bnk:symPar' end
sym_par_attributes()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 43 def sym_par_attributes attributes_at 'bnk:symPar' end
text()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 7 def text at 'bnk:text' end
text_attributes()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 11 def text_attributes attributes_at 'bnk:text' end
to_h()
click to toggle source
# File lib/pohoda/parsers/bnk/bank_item_type.rb, line 91 def to_h hash = {} hash[:attributes] = attributes hash[:text] = text if has? 'bnk:text' hash[:text_attributes] = text_attributes if has? 'bnk:text' hash[:home_currency] = home_currency if has? 'bnk:homeCurrency' hash[:home_currency_attributes] = home_currency_attributes if has? 'bnk:homeCurrency' hash[:foreign_currency] = foreign_currency if has? 'bnk:foreignCurrency' hash[:foreign_currency_attributes] = foreign_currency_attributes if has? 'bnk:foreignCurrency' hash[:note] = note if has? 'bnk:note' hash[:note_attributes] = note_attributes if has? 'bnk:note' hash[:sym_par] = sym_par if has? 'bnk:symPar' hash[:sym_par_attributes] = sym_par_attributes if has? 'bnk:symPar' hash[:accounting] = accounting.to_h if has? 'bnk:accounting' hash[:classification_vat] = classification_vat.to_h if has? 'bnk:classificationVAT' hash[:classification_kvdph] = classification_kvdph.to_h if has? 'bnk:classificationKVDPH' hash[:pdp] = pdp if has? 'bnk:PDP' hash[:pdp_attributes] = pdp_attributes if has? 'bnk:PDP' hash[:code_pdp] = code_pdp if has? 'bnk:CodePDP' hash[:code_pdp_attributes] = code_pdp_attributes if has? 'bnk:CodePDP' hash[:centre] = centre.to_h if has? 'bnk:centre' hash[:activity] = activity.to_h if has? 'bnk:activity' hash[:contract] = contract.to_h if has? 'bnk:contract' hash[:parameters] = parameters.map(&:to_h) if has? 'bnk:parameters' hash end