class Pohoda::Parsers::Dat::DataPackItemType

Public Instance Methods

addressbook() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 7
def addressbook
  submodel_at(Adb::AddressbookType, 'adb:addressbook')
end
category_detail() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 75
def category_detail
  submodel_at(Ctg::CategoryDetailType, 'ctg:categoryDetail')
end
contract() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 59
def contract
  submodel_at(Con::ContractType, 'con:contract')
end
create_accounting_double_entry() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 143
def create_accounting_double_entry
  submodel_at(Lst::CreateAccountingDoubleEntryType, 'lst:createAccountingDoubleEntry')
end
enquiry() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 11
def enquiry
  submodel_at(Enq::EnquiryType, 'enq:enquiry')
end
gdpr() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 95
def gdpr
  submodel_at(Gdp::GDPRType, 'gdp:GDPR')
end
group_stocks() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 67
def group_stocks
  submodel_at(Gr::GroupStocksType, 'grs:groupStocks')
end
int_doc() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 15
def int_doc
  submodel_at(Int::IntDocType, 'int:intDoc')
end
int_param_detail() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 83
def int_param_detail
  submodel_at(Ipm::IntParamDetailType, 'ipm:intParamDetail')
end
inventory_lists() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 87
def inventory_lists
  submodel_at(Ilt::InventoryListsType, 'ilt:inventoryLists')
end
invoice() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 19
def invoice
  submodel_at(Inv::InvoiceType, 'inv:invoice')
end
list_account_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 163
def list_account_request
  submodel_at(Lst::ListRequestType, 'lst:listAccountRequest')
end
list_accountancy_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 99
def list_accountancy_request
  submodel_at(Lst::ListAccountancyRequestType, 'lst:listAccountancyRequest')
end
list_accounting_double_entry_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 155
def list_accounting_double_entry_request
  submodel_at(Lst::ListRequestAgendasType, 'lst:listAccountingDoubleEntryRequest')
end
list_accounting_single_entry_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 159
def list_accounting_single_entry_request
  submodel_at(Lst::ListRequestAgendasType, 'lst:listAccountingSingleEntryRequest')
end
list_accounting_unit_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 151
def list_accounting_unit_request
  submodel_at(Lst::ListRequestType, 'acu:listAccountingUnitRequest')
end
list_action_price_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 223
def list_action_price_request
  submodel_at(Lst::ListActionPriceRequestType, 'lst:listActionPriceRequest')
end
list_activity_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 167
def list_activity_request
  submodel_at(Lst::ListRequestType, 'lst:listActivityRequest')
end
list_address_book_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 103
def list_address_book_request
  submodel_at(LAdb::ListAddressBookRequestType, 'lAdb:listAddressBookRequest')
end
list_balance_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 139
def list_balance_request
  submodel_at(Lst::ListBalanceRequestType, 'lst:listBalanceRequest')
end
list_bank_account_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 179
def list_bank_account_request
  submodel_at(Lst::ListBankAccountRequestType, 'lst:listBankAccountRequest')
end
list_cash_register_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 175
def list_cash_register_request
  submodel_at(Lst::ListCashRegisterRequestType, 'lst:listCashRegisterRequest')
end
list_cash_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 171
def list_cash_request
  submodel_at(Lst::ListRequestType, 'lst:listCashRequest')
end
list_category_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 207
def list_category_request
  submodel_at(Lst::ListCategoryRequestType, 'lst:listCategoryRequest')
end
list_centre_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 187
def list_centre_request
  submodel_at(Lst::ListRequestType, 'lst:listCentreRequest')
end
list_contract_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 183
def list_contract_request
  submodel_at(LCon::ListRequestContractType, 'lCon:listContractRequest')
end
list_enquiry_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 111
def list_enquiry_request
  submodel_at(Lst::ListEnquiryRequestType, 'lst:listEnquiryRequest')
end
list_establishment_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 239
def list_establishment_request
  submodel_at(Lst::ListEstablishmentRequestType, 'lst:listEstablishmentRequest')
end
list_gdpr_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 235
def list_gdpr_request
  submodel_at(Lst::ListGDPRRequestType, 'lst:listGDPRRequest')
end
list_group_stocks_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 219
def list_group_stocks_request
  submodel_at(Lst::ListGroupStocksRequestType, 'lst:listGroupStocksRequest')
end
list_int_param_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 211
def list_int_param_request
  submodel_at(Lst::ListIntParamRequestType, 'lst:listIntParamRequest')
end
list_invoice_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 107
def list_invoice_request
  submodel_at(Lst::ListInvoiceRequestType, 'lst:listInvoiceRequest')
end
list_numeric_series_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 191
def list_numeric_series_request
  submodel_at(Lst::ListRequestAgendasType, 'lst:listNumericSeriesRequest')
end
list_numerical_series_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 231
def list_numerical_series_request
  submodel_at(Lst::ListNumericalSeriesRequestType, 'lst:listNumericalSeriesRequest')
end
list_offer_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 115
def list_offer_request
  submodel_at(Lst::ListOfferRequestType, 'lst:listOfferRequest')
end
list_order_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 119
def list_order_request
  submodel_at(Lst::ListOrderRequestType, 'lst:listOrderRequest')
end
list_parameter_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 127
def list_parameter_request
  submodel_at(Lst::ListParameterRequestType, 'lst:listParameterRequest')
end
list_payment_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 227
def list_payment_request
  submodel_at(Lst::ListPaymentRequestType, 'lst:listPaymentRequest')
end
list_prijemka_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 135
def list_prijemka_request
  submodel_at(Lst::ListPrijemkaRequestType, 'lst:listPrijemkaRequest')
end
list_selling_price_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 203
def list_selling_price_request
  submodel_at(Lst::ListRequestType, 'lst:listSellingPriceRequest')
end
list_stock_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 123
def list_stock_request
  submodel_at(LStk::ListRequestStockType, 'lStk:listStockRequest')
end
list_storage_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 199
def list_storage_request
  submodel_at(Lst::ListRequestStoresType, 'lst:listStorageRequest')
end
list_store_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 215
def list_store_request
  submodel_at(Lst::ListStoreRequestType, 'lst:listStoreRequest')
end
list_user_code() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 147
def list_user_code
  submodel_at(Lst::ListUserCodeType, 'lst:listUserCode')
end
list_user_code_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 195
def list_user_code_request
  submodel_at(Lst::ListUserCodeRequestType, 'lst:listUserCodeRequest')
end
list_vydejka_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 131
def list_vydejka_request
  submodel_at(Lst::ListVydejkaRequestType, 'lst:listVydejkaRequest')
end
m_kasa_request() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 251
def m_kasa_request
  submodel_at(MKasa::MKasaRequestType, 'mKasa:mKasaRequest')
end
numerical_series() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 91
def numerical_series
  submodel_at(Nm::NumericalSeriesType, 'nms:numericalSeries')
end
offer() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 23
def offer
  submodel_at(Ofr::OfferType, 'ofr:offer')
end
order() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 27
def order
  submodel_at(Ord::OrderType, 'ord:order')
end
parameter() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 79
def parameter
  submodel_at(Prm::ParameterType, 'prm:parameter')
end
prevodka() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 39
def prevodka
  submodel_at(Pre::PrevodkaType, 'pre:prevodka')
end
prijemka() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 35
def prijemka
  submodel_at(Pri::PrijemkaType, 'pri:prijemka')
end
print() click to toggle source
prodejka() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 31
def prodejka
  submodel_at(Pro::ProdejkaType, 'pro:prodejka')
end
send_eet() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 259
def send_eet
  submodel_at(SEET::SendEETType, 'sEET:sendEET')
end
stock() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 43
def stock
  submodel_at(Stk::StockType, 'stk:stock')
end
storage() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 71
def storage
  submodel_at(Str::StorageType, 'str:storage')
end
store() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 63
def store
  submodel_at(Sto::StoreType, 'sto:store')
end
to_h() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 263
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:addressbook] = addressbook.to_h if has? 'adb:addressbook'
  hash[:enquiry] = enquiry.to_h if has? 'enq:enquiry'
  hash[:int_doc] = int_doc.to_h if has? 'int:intDoc'
  hash[:invoice] = invoice.to_h if has? 'inv:invoice'
  hash[:offer] = offer.to_h if has? 'ofr:offer'
  hash[:order] = order.to_h if has? 'ord:order'
  hash[:prodejka] = prodejka.to_h if has? 'pro:prodejka'
  hash[:prijemka] = prijemka.to_h if has? 'pri:prijemka'
  hash[:prevodka] = prevodka.to_h if has? 'pre:prevodka'
  hash[:stock] = stock.to_h if has? 'stk:stock'
  hash[:voucher] = voucher.to_h if has? 'vch:voucher'
  hash[:vydejka] = vydejka.to_h if has? 'vyd:vydejka'
  hash[:vyroba] = vyroba.to_h if has? 'vyr:vyroba'
  hash[:contract] = contract.to_h if has? 'con:contract'
  hash[:store] = store.to_h if has? 'sto:store'
  hash[:group_stocks] = group_stocks.to_h if has? 'grs:groupStocks'
  hash[:storage] = storage.to_h if has? 'str:storage'
  hash[:category_detail] = category_detail.to_h if has? 'ctg:categoryDetail'
  hash[:parameter] = parameter.to_h if has? 'prm:parameter'
  hash[:int_param_detail] = int_param_detail.to_h if has? 'ipm:intParamDetail'
  hash[:inventory_lists] = inventory_lists.to_h if has? 'ilt:inventoryLists'
  hash[:numerical_series] = numerical_series.to_h if has? 'nms:numericalSeries'
  hash[:gdpr] = gdpr.to_h if has? 'gdp:GDPR'
  hash[:list_accountancy_request] = list_accountancy_request.to_h if has? 'lst:listAccountancyRequest'
  hash[:list_address_book_request] = list_address_book_request.to_h if has? 'lAdb:listAddressBookRequest'
  hash[:list_invoice_request] = list_invoice_request.to_h if has? 'lst:listInvoiceRequest'
  hash[:list_enquiry_request] = list_enquiry_request.to_h if has? 'lst:listEnquiryRequest'
  hash[:list_offer_request] = list_offer_request.to_h if has? 'lst:listOfferRequest'
  hash[:list_order_request] = list_order_request.to_h if has? 'lst:listOrderRequest'
  hash[:list_stock_request] = list_stock_request.to_h if has? 'lStk:listStockRequest'
  hash[:list_parameter_request] = list_parameter_request.to_h if has? 'lst:listParameterRequest'
  hash[:list_vydejka_request] = list_vydejka_request.to_h if has? 'lst:listVydejkaRequest'
  hash[:list_prijemka_request] = list_prijemka_request.to_h if has? 'lst:listPrijemkaRequest'
  hash[:list_balance_request] = list_balance_request.to_h if has? 'lst:listBalanceRequest'
  hash[:create_accounting_double_entry] = create_accounting_double_entry.to_h if has? 'lst:createAccountingDoubleEntry'
  hash[:list_user_code] = list_user_code.to_h if has? 'lst:listUserCode'
  hash[:list_accounting_unit_request] = list_accounting_unit_request.to_h if has? 'acu:listAccountingUnitRequest'
  hash[:list_accounting_double_entry_request] = list_accounting_double_entry_request.to_h if has? 'lst:listAccountingDoubleEntryRequest'
  hash[:list_accounting_single_entry_request] = list_accounting_single_entry_request.to_h if has? 'lst:listAccountingSingleEntryRequest'
  hash[:list_account_request] = list_account_request.to_h if has? 'lst:listAccountRequest'
  hash[:list_activity_request] = list_activity_request.to_h if has? 'lst:listActivityRequest'
  hash[:list_cash_request] = list_cash_request.to_h if has? 'lst:listCashRequest'
  hash[:list_cash_register_request] = list_cash_register_request.to_h if has? 'lst:listCashRegisterRequest'
  hash[:list_bank_account_request] = list_bank_account_request.to_h if has? 'lst:listBankAccountRequest'
  hash[:list_contract_request] = list_contract_request.to_h if has? 'lCon:listContractRequest'
  hash[:list_centre_request] = list_centre_request.to_h if has? 'lst:listCentreRequest'
  hash[:list_numeric_series_request] = list_numeric_series_request.to_h if has? 'lst:listNumericSeriesRequest'
  hash[:list_user_code_request] = list_user_code_request.to_h if has? 'lst:listUserCodeRequest'
  hash[:list_storage_request] = list_storage_request.to_h if has? 'lst:listStorageRequest'
  hash[:list_selling_price_request] = list_selling_price_request.to_h if has? 'lst:listSellingPriceRequest'
  hash[:list_category_request] = list_category_request.to_h if has? 'lst:listCategoryRequest'
  hash[:list_int_param_request] = list_int_param_request.to_h if has? 'lst:listIntParamRequest'
  hash[:list_store_request] = list_store_request.to_h if has? 'lst:listStoreRequest'
  hash[:list_group_stocks_request] = list_group_stocks_request.to_h if has? 'lst:listGroupStocksRequest'
  hash[:list_action_price_request] = list_action_price_request.to_h if has? 'lst:listActionPriceRequest'
  hash[:list_payment_request] = list_payment_request.to_h if has? 'lst:listPaymentRequest'
  hash[:list_numerical_series_request] = list_numerical_series_request.to_h if has? 'lst:listNumericalSeriesRequest'
  hash[:list_gdpr_request] = list_gdpr_request.to_h if has? 'lst:listGDPRRequest'
  hash[:list_establishment_request] = list_establishment_request.to_h if has? 'lst:listEstablishmentRequest'
  hash[:list_centre_request] = list_centre_request.to_h if has? 'lCen:listCentreRequest'
  hash[:list_activity_request] = list_activity_request.to_h if has? 'lAcv:listActivityRequest'
  hash[:m_kasa_request] = m_kasa_request.to_h if has? 'mKasa:mKasaRequest'
  hash[:print] = print.to_h if has? 'prn:print'
  hash[:send_eet] = send_eet.to_h if has? 'sEET:sendEET'

  hash
end
voucher() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 47
def voucher
  submodel_at(Vch::VoucherType, 'vch:voucher')
end
vydejka() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 51
def vydejka
  submodel_at(Vyd::VydejkaType, 'vyd:vydejka')
end
vyroba() click to toggle source
# File lib/pohoda/parsers/dat/data_pack_item_type.rb, line 55
def vyroba
  submodel_at(Vyr::VyrobaType, 'vyr:vyroba')
end