class Pohoda::Parsers::Stk::StockHeaderType
Public Instance Methods
acc()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 387 def acc at 'stk:acc' end
acc_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 391 def acc_attributes attributes_at 'stk:acc' end
alternative_stocks()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 567 def alternative_stocks array_of_at(Typ::OrderStockItemType, ['stk:alternativeStocks', 'stk:idStocks']) end
availability()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 483 def availability at 'stk:availability' end
availability_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 487 def availability_attributes attributes_at 'stk:availability' end
categories()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 559 def categories array_of_at(String, ['stk:categories', 'stk:idCategory']) end
class_of_stock()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 379 def class_of_stock at 'stk:classOfStock' end
class_of_stock_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 383 def class_of_stock_attributes attributes_at 'stk:classOfStock' end
classification_kvdph_issue()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 375 def classification_kvdph_issue submodel_at(Typ::RefType, 'stk:classificationKVDPHIssue') end
classification_kvdph_receipt()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 367 def classification_kvdph_receipt submodel_at(Typ::RefType, 'stk:classificationKVDPHReceipt') end
classification_vat_issue()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 371 def classification_vat_issue submodel_at(Typ::ClassificationVATType, 'stk:classificationVATIssue') end
classification_vat_receipt()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 363 def classification_vat_receipt submodel_at(Typ::ClassificationVATType, 'stk:classificationVATReceipt') end
clearance_sale()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 443 def clearance_sale at 'stk:clearanceSale' end
clearance_sale_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 447 def clearance_sale_attributes attributes_at 'stk:clearanceSale' end
code()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 27 def code at 'stk:code' end
code_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 31 def code_attributes attributes_at 'stk:code' end
code_pdp()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 423 def code_pdp at 'stk:CodePDP' end
code_pdp_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 427 def code_pdp_attributes attributes_at 'stk:CodePDP' end
coefficient2()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 139 def coefficient2 at 'stk:coefficient2' end
coefficient2_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 143 def coefficient2_attributes attributes_at 'stk:coefficient2' end
coefficient3()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 147 def coefficient3 at 'stk:coefficient3' end
coefficient3_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 151 def coefficient3_attributes attributes_at 'stk:coefficient3' end
coefficient_of_measure()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 323 def coefficient_of_measure at 'stk:coefficientOfMeasure' end
coefficient_of_measure_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 327 def coefficient_of_measure_attributes attributes_at 'stk:coefficientOfMeasure' end
control_limit_tax_liability()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 399 def control_limit_tax_liability at 'stk:controlLimitTaxLiability' end
control_limit_tax_liability_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 403 def control_limit_tax_liability_attributes attributes_at 'stk:controlLimitTaxLiability' end
cost()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 355 def cost at 'stk:cost' end
cost_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 359 def cost_attributes attributes_at 'stk:cost' end
count()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 219 def count at 'stk:count' end
count_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 223 def count_attributes attributes_at 'stk:count' end
count_issued_orders()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 263 def count_issued_orders at 'stk:countIssuedOrders' end
count_issued_orders_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 267 def count_issued_orders_attributes attributes_at 'stk:countIssuedOrders' end
count_received_orders()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 227 def count_received_orders at 'stk:countReceivedOrders' end
count_received_orders_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 231 def count_received_orders_attributes attributes_at 'stk:countReceivedOrders' end
description()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 539 def description at 'stk:description' end
description2()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 547 def description2 at 'stk:description2' end
description2_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 551 def description2_attributes attributes_at 'stk:description2' end
description_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 543 def description_attributes attributes_at 'stk:description' end
dic_pp()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 339 def dic_pp at 'stk:dicPP' end
dic_pp_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 343 def dic_pp_attributes attributes_at 'stk:dicPP' end
discount()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 467 def discount at 'stk:discount' end
discount_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 471 def discount_attributes attributes_at 'stk:discount' end
ean()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 35 def ean at 'stk:EAN' end
ean_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 39 def ean_attributes attributes_at 'stk:EAN' end
eet_item()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 331 def eet_item at 'stk:EETItem' end
eet_item_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 335 def eet_item_attributes attributes_at 'stk:EETItem' end
ext_id()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 15 def ext_id submodel_at(Typ::ExtIdType, 'stk:extId') end
foreign_name1()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 507 def foreign_name1 at 'stk:foreignName1' end
foreign_name1_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 511 def foreign_name1_attributes attributes_at 'stk:foreignName1' end
foreign_name2()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 523 def foreign_name2 at 'stk:foreignName2' end
foreign_name2_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 527 def foreign_name2_attributes attributes_at 'stk:foreignName2' end
foreign_name_complement1()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 515 def foreign_name_complement1 at 'stk:foreignNameComplement1' end
foreign_name_complement1_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 519 def foreign_name_complement1_attributes attributes_at 'stk:foreignNameComplement1' end
foreign_name_complement2()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 531 def foreign_name_complement2 at 'stk:foreignNameComplement2' end
foreign_name_complement2_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 535 def foreign_name_complement2_attributes attributes_at 'stk:foreignNameComplement2' end
guarantee()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 299 def guarantee at 'stk:guarantee' end
guarantee_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 303 def guarantee_attributes attributes_at 'stk:guarantee' end
guarantee_type()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 291 def guarantee_type at 'stk:guaranteeType' end
guarantee_type_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 295 def guarantee_type_attributes attributes_at 'stk:guaranteeType' end
handling_information()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 491 def handling_information at 'stk:handlingInformation' end
handling_information_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 495 def handling_information_attributes attributes_at 'stk:handlingInformation' end
id()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 7 def id at 'stk:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 11 def id_attributes attributes_at 'stk:id' end
int_parameters()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 571 def int_parameters array_of_at(Stk::IntParameterType, ['stk:intParameters', 'stk:intParameter']) end
intrastat()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 431 def intrastat submodel_at(Stk::InstrastatType, 'stk:intrastat') end
is_batch()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 75 def is_batch at 'stk:isBatch' end
is_batch_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 79 def is_batch_attributes attributes_at 'stk:isBatch' end
is_internet()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 67 def is_internet at 'stk:isInternet' end
is_internet_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 71 def is_internet_attributes attributes_at 'stk:isInternet' end
is_sales()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 51 def is_sales at 'stk:isSales' end
is_sales_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 55 def is_sales_attributes attributes_at 'stk:isSales' end
is_serial_number()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 59 def is_serial_number at 'stk:isSerialNumber' end
is_serial_number_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 63 def is_serial_number_attributes attributes_at 'stk:isSerialNumber' end
labels()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 591 def labels array_of_at(Typ::LabelType, ['stk:labels', 'typ:label']) end
limit_max()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 195 def limit_max at 'stk:limitMax' end
limit_max_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 199 def limit_max_attributes attributes_at 'stk:limitMax' end
limit_min()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 187 def limit_min at 'stk:limitMin' end
limit_min_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 191 def limit_min_attributes attributes_at 'stk:limitMin' end
mark_record()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 583 def mark_record at 'stk:markRecord' end
mark_record_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 587 def mark_record_attributes attributes_at 'stk:markRecord' end
mass()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 203 def mass at 'stk:mass' end
mass_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 207 def mass_attributes attributes_at 'stk:mass' end
name()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 99 def name at 'stk:name' end
name_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 103 def name_attributes attributes_at 'stk:name' end
name_complement()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 107 def name_complement at 'stk:nameComplement' end
name_complement_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 111 def name_complement_attributes attributes_at 'stk:nameComplement' end
news()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 435 def news at 'stk:news' end
news_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 439 def news_attributes attributes_at 'stk:news' end
note()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 575 def note at 'stk:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 579 def note_attributes attributes_at 'stk:note' end
order_name()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 247 def order_name at 'stk:orderName' end
order_name_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 251 def order_name_attributes attributes_at 'stk:orderName' end
order_quantity()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 255 def order_quantity at 'stk:orderQuantity' end
order_quantity_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 259 def order_quantity_attributes attributes_at 'stk:orderQuantity' end
parameters()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 595 def parameters array_of_at(Typ::ParameterDocType, ['stk:parameters', 'typ:parameter']) end
pd_pclassification_kvdph_issue()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 419 def pd_pclassification_kvdph_issue submodel_at(Typ::RefType, 'stk:PDPclassificationKVDPHIssue') end
pd_pclassification_vat_issue()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 415 def pd_pclassification_vat_issue submodel_at(Typ::ClassificationVATType, 'stk:PDPclassificationVATIssue') end
pdp()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 407 def pdp at 'stk:PDP' end
pdp_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 411 def pdp_attributes attributes_at 'stk:PDP' end
pictures()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 555 def pictures array_of_at(Stk::PictureType, ['stk:pictures', 'stk:picture']) end
plu()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 43 def plu at 'stk:PLU' end
plu_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 47 def plu_attributes attributes_at 'stk:PLU' end
prepare()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 475 def prepare at 'stk:prepare' end
prepare_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 479 def prepare_attributes attributes_at 'stk:prepare' end
producer()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 307 def producer at 'stk:producer' end
producer_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 311 def producer_attributes attributes_at 'stk:producer' end
purchasing_price()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 171 def purchasing_price at 'stk:purchasingPrice' end
purchasing_price_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 175 def purchasing_price_attributes attributes_at 'stk:purchasingPrice' end
purchasing_rate_vat()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 83 def purchasing_rate_vat at 'stk:purchasingRateVAT' end
purchasing_rate_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 87 def purchasing_rate_vat_attributes attributes_at 'stk:purchasingRateVAT' end
reclamation()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 271 def reclamation at 'stk:reclamation' end
reclamation_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 275 def reclamation_attributes attributes_at 'stk:reclamation' end
recommended()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 459 def recommended at 'stk:recommended' end
recommended_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 463 def recommended_attributes attributes_at 'stk:recommended' end
reservation()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 235 def reservation at 'stk:reservation' end
reservation_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 239 def reservation_attributes attributes_at 'stk:reservation' end
sale()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 451 def sale at 'stk:sale' end
sale_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 455 def sale_attributes attributes_at 'stk:sale' end
selling_price()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 179 def selling_price at 'stk:sellingPrice' end
selling_price_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 183 def selling_price_attributes attributes_at 'stk:sellingPrice' end
selling_rate_vat()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 91 def selling_rate_vat at 'stk:sellingRateVAT' end
selling_rate_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 95 def selling_rate_vat_attributes attributes_at 'stk:sellingRateVAT' end
short_name()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 279 def short_name at 'stk:shortName' end
short_name_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 283 def short_name_attributes attributes_at 'stk:shortName' end
stock_type()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 19 def stock_type at 'stk:stockType' end
stock_type_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 23 def stock_type_attributes attributes_at 'stk:stockType' end
storage()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 155 def storage submodel_at(Typ::RefTypeStorage, 'stk:storage') end
supplier()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 243 def supplier submodel_at(Typ::CompanyType, 'stk:supplier') end
to_h() { || ... }
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 599 def to_h hash = {} hash[:attributes] = attributes hash[:id] = id if has? 'stk:id' hash[:id_attributes] = id_attributes if has? 'stk:id' hash[:ext_id] = ext_id.to_h if has? 'stk:extId' hash[:stock_type] = stock_type if has? 'stk:stockType' hash[:stock_type_attributes] = stock_type_attributes if has? 'stk:stockType' hash[:code] = code if has? 'stk:code' hash[:code_attributes] = code_attributes if has? 'stk:code' hash[:ean] = ean if has? 'stk:EAN' hash[:ean_attributes] = ean_attributes if has? 'stk:EAN' hash[:plu] = plu if has? 'stk:PLU' hash[:plu_attributes] = plu_attributes if has? 'stk:PLU' hash[:is_sales] = is_sales if has? 'stk:isSales' hash[:is_sales_attributes] = is_sales_attributes if has? 'stk:isSales' hash[:is_serial_number] = is_serial_number if has? 'stk:isSerialNumber' hash[:is_serial_number_attributes] = is_serial_number_attributes if has? 'stk:isSerialNumber' hash[:is_internet] = is_internet if has? 'stk:isInternet' hash[:is_internet_attributes] = is_internet_attributes if has? 'stk:isInternet' hash[:is_batch] = is_batch if has? 'stk:isBatch' hash[:is_batch_attributes] = is_batch_attributes if has? 'stk:isBatch' hash[:purchasing_rate_vat] = purchasing_rate_vat if has? 'stk:purchasingRateVAT' hash[:purchasing_rate_vat_attributes] = purchasing_rate_vat_attributes if has? 'stk:purchasingRateVAT' hash[:selling_rate_vat] = selling_rate_vat if has? 'stk:sellingRateVAT' hash[:selling_rate_vat_attributes] = selling_rate_vat_attributes if has? 'stk:sellingRateVAT' hash[:name] = name if has? 'stk:name' hash[:name_attributes] = name_attributes if has? 'stk:name' hash[:name_complement] = name_complement if has? 'stk:nameComplement' hash[:name_complement_attributes] = name_complement_attributes if has? 'stk:nameComplement' hash[:unit] = unit if has? 'stk:unit' hash[:unit_attributes] = unit_attributes if has? 'stk:unit' hash[:unit2] = unit2 if has? 'stk:unit2' hash[:unit2_attributes] = unit2_attributes if has? 'stk:unit2' hash[:unit3] = unit3 if has? 'stk:unit3' hash[:unit3_attributes] = unit3_attributes if has? 'stk:unit3' hash[:coefficient2] = coefficient2 if has? 'stk:coefficient2' hash[:coefficient2_attributes] = coefficient2_attributes if has? 'stk:coefficient2' hash[:coefficient3] = coefficient3 if has? 'stk:coefficient3' hash[:coefficient3_attributes] = coefficient3_attributes if has? 'stk:coefficient3' hash[:storage] = storage.to_h if has? 'stk:storage' hash[:type_price] = type_price.to_h if has? 'stk:typePrice' hash[:weighted_purchase_price] = weighted_purchase_price if has? 'stk:weightedPurchasePrice' hash[:weighted_purchase_price_attributes] = weighted_purchase_price_attributes if has? 'stk:weightedPurchasePrice' hash[:purchasing_price] = purchasing_price if has? 'stk:purchasingPrice' hash[:purchasing_price_attributes] = purchasing_price_attributes if has? 'stk:purchasingPrice' hash[:selling_price] = selling_price if has? 'stk:sellingPrice' hash[:selling_price_attributes] = selling_price_attributes if has? 'stk:sellingPrice' hash[:limit_min] = limit_min if has? 'stk:limitMin' hash[:limit_min_attributes] = limit_min_attributes if has? 'stk:limitMin' hash[:limit_max] = limit_max if has? 'stk:limitMax' hash[:limit_max_attributes] = limit_max_attributes if has? 'stk:limitMax' hash[:mass] = mass if has? 'stk:mass' hash[:mass_attributes] = mass_attributes if has? 'stk:mass' hash[:volume] = volume if has? 'stk:volume' hash[:volume_attributes] = volume_attributes if has? 'stk:volume' hash[:count] = count if has? 'stk:count' hash[:count_attributes] = count_attributes if has? 'stk:count' hash[:count_received_orders] = count_received_orders if has? 'stk:countReceivedOrders' hash[:count_received_orders_attributes] = count_received_orders_attributes if has? 'stk:countReceivedOrders' hash[:reservation] = reservation if has? 'stk:reservation' hash[:reservation_attributes] = reservation_attributes if has? 'stk:reservation' hash[:supplier] = supplier.to_h if has? 'stk:supplier' hash[:order_name] = order_name if has? 'stk:orderName' hash[:order_name_attributes] = order_name_attributes if has? 'stk:orderName' hash[:order_quantity] = order_quantity if has? 'stk:orderQuantity' hash[:order_quantity_attributes] = order_quantity_attributes if has? 'stk:orderQuantity' hash[:count_issued_orders] = count_issued_orders if has? 'stk:countIssuedOrders' hash[:count_issued_orders_attributes] = count_issued_orders_attributes if has? 'stk:countIssuedOrders' hash[:reclamation] = reclamation if has? 'stk:reclamation' hash[:reclamation_attributes] = reclamation_attributes if has? 'stk:reclamation' hash[:short_name] = short_name if has? 'stk:shortName' hash[:short_name_attributes] = short_name_attributes if has? 'stk:shortName' hash[:type_rp] = type_rp.to_h if has? 'stk:typeRP' hash[:guarantee_type] = guarantee_type if has? 'stk:guaranteeType' hash[:guarantee_type_attributes] = guarantee_type_attributes if has? 'stk:guaranteeType' hash[:guarantee] = guarantee if has? 'stk:guarantee' hash[:guarantee_attributes] = guarantee_attributes if has? 'stk:guarantee' hash[:producer] = producer if has? 'stk:producer' hash[:producer_attributes] = producer_attributes if has? 'stk:producer' hash[:unit_of_measure] = unit_of_measure if has? 'stk:unitOfMeasure' hash[:unit_of_measure_attributes] = unit_of_measure_attributes if has? 'stk:unitOfMeasure' hash[:coefficient_of_measure] = coefficient_of_measure if has? 'stk:coefficientOfMeasure' hash[:coefficient_of_measure_attributes] = coefficient_of_measure_attributes if has? 'stk:coefficientOfMeasure' hash[:eet_item] = eet_item if has? 'stk:EETItem' hash[:eet_item_attributes] = eet_item_attributes if has? 'stk:EETItem' hash[:dic_pp] = dic_pp if has? 'stk:dicPP' hash[:dic_pp_attributes] = dic_pp_attributes if has? 'stk:dicPP' hash[:yield] = yield if has? 'stk:yield' hash[:yield_attributes] = yield_attributes if has? 'stk:yield' hash[:cost] = cost if has? 'stk:cost' hash[:cost_attributes] = cost_attributes if has? 'stk:cost' hash[:classification_vat_receipt] = classification_vat_receipt.to_h if has? 'stk:classificationVATReceipt' hash[:classification_kvdph_receipt] = classification_kvdph_receipt.to_h if has? 'stk:classificationKVDPHReceipt' hash[:classification_vat_issue] = classification_vat_issue.to_h if has? 'stk:classificationVATIssue' hash[:classification_kvdph_issue] = classification_kvdph_issue.to_h if has? 'stk:classificationKVDPHIssue' hash[:class_of_stock] = class_of_stock if has? 'stk:classOfStock' hash[:class_of_stock_attributes] = class_of_stock_attributes if has? 'stk:classOfStock' hash[:acc] = acc if has? 'stk:acc' hash[:acc_attributes] = acc_attributes if has? 'stk:acc' hash[:type_service_moss] = type_service_moss.to_h if has? 'stk:typeServiceMOSS' hash[:control_limit_tax_liability] = control_limit_tax_liability if has? 'stk:controlLimitTaxLiability' hash[:control_limit_tax_liability_attributes] = control_limit_tax_liability_attributes if has? 'stk:controlLimitTaxLiability' hash[:pdp] = pdp if has? 'stk:PDP' hash[:pdp_attributes] = pdp_attributes if has? 'stk:PDP' hash[:pd_pclassification_vat_issue] = pd_pclassification_vat_issue.to_h if has? 'stk:PDPclassificationVATIssue' hash[:pd_pclassification_kvdph_issue] = pd_pclassification_kvdph_issue.to_h if has? 'stk:PDPclassificationKVDPHIssue' hash[:code_pdp] = code_pdp if has? 'stk:CodePDP' hash[:code_pdp_attributes] = code_pdp_attributes if has? 'stk:CodePDP' hash[:intrastat] = intrastat.to_h if has? 'stk:intrastat' hash[:news] = news if has? 'stk:news' hash[:news_attributes] = news_attributes if has? 'stk:news' hash[:clearance_sale] = clearance_sale if has? 'stk:clearanceSale' hash[:clearance_sale_attributes] = clearance_sale_attributes if has? 'stk:clearanceSale' hash[:sale] = sale if has? 'stk:sale' hash[:sale_attributes] = sale_attributes if has? 'stk:sale' hash[:recommended] = recommended if has? 'stk:recommended' hash[:recommended_attributes] = recommended_attributes if has? 'stk:recommended' hash[:discount] = discount if has? 'stk:discount' hash[:discount_attributes] = discount_attributes if has? 'stk:discount' hash[:prepare] = prepare if has? 'stk:prepare' hash[:prepare_attributes] = prepare_attributes if has? 'stk:prepare' hash[:availability] = availability if has? 'stk:availability' hash[:availability_attributes] = availability_attributes if has? 'stk:availability' hash[:handling_information] = handling_information if has? 'stk:handlingInformation' hash[:handling_information_attributes] = handling_information_attributes if has? 'stk:handlingInformation' hash[:related_files] = related_files.map(&:to_h) if has? 'stk:relatedFiles' hash[:related_links] = related_links.map(&:to_h) if has? 'stk:relatedLinks' hash[:foreign_name1] = foreign_name1 if has? 'stk:foreignName1' hash[:foreign_name1_attributes] = foreign_name1_attributes if has? 'stk:foreignName1' hash[:foreign_name_complement1] = foreign_name_complement1 if has? 'stk:foreignNameComplement1' hash[:foreign_name_complement1_attributes] = foreign_name_complement1_attributes if has? 'stk:foreignNameComplement1' hash[:foreign_name2] = foreign_name2 if has? 'stk:foreignName2' hash[:foreign_name2_attributes] = foreign_name2_attributes if has? 'stk:foreignName2' hash[:foreign_name_complement2] = foreign_name_complement2 if has? 'stk:foreignNameComplement2' hash[:foreign_name_complement2_attributes] = foreign_name_complement2_attributes if has? 'stk:foreignNameComplement2' hash[:description] = description if has? 'stk:description' hash[:description_attributes] = description_attributes if has? 'stk:description' hash[:description2] = description2 if has? 'stk:description2' hash[:description2_attributes] = description2_attributes if has? 'stk:description2' hash[:pictures] = pictures.map(&:to_h) if has? 'stk:pictures' hash[:categories] = categories if has? 'stk:categories' hash[:related_stocks] = related_stocks.map(&:to_h) if has? 'stk:relatedStocks' hash[:alternative_stocks] = alternative_stocks.map(&:to_h) if has? 'stk:alternativeStocks' hash[:int_parameters] = int_parameters.map(&:to_h) if has? 'stk:intParameters' hash[:note] = note if has? 'stk:note' hash[:note_attributes] = note_attributes if has? 'stk:note' hash[:mark_record] = mark_record if has? 'stk:markRecord' hash[:mark_record_attributes] = mark_record_attributes if has? 'stk:markRecord' hash[:labels] = labels.map(&:to_h) if has? 'stk:labels' hash[:parameters] = parameters.map(&:to_h) if has? 'stk:parameters' hash end
type_price()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 159 def type_price submodel_at(Typ::RefType, 'stk:typePrice') end
type_rp()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 287 def type_rp submodel_at(Typ::RefType, 'stk:typeRP') end
type_service_moss()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 395 def type_service_moss submodel_at(Typ::MOSStype, 'stk:typeServiceMOSS') end
unit()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 115 def unit at 'stk:unit' end
unit2()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 123 def unit2 at 'stk:unit2' end
unit2_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 127 def unit2_attributes attributes_at 'stk:unit2' end
unit3()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 131 def unit3 at 'stk:unit3' end
unit3_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 135 def unit3_attributes attributes_at 'stk:unit3' end
unit_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 119 def unit_attributes attributes_at 'stk:unit' end
unit_of_measure()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 315 def unit_of_measure at 'stk:unitOfMeasure' end
unit_of_measure_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 319 def unit_of_measure_attributes attributes_at 'stk:unitOfMeasure' end
volume()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 211 def volume at 'stk:volume' end
volume_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 215 def volume_attributes attributes_at 'stk:volume' end
weighted_purchase_price()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 163 def weighted_purchase_price at 'stk:weightedPurchasePrice' end
weighted_purchase_price_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 167 def weighted_purchase_price_attributes attributes_at 'stk:weightedPurchasePrice' end
yield()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 347 def yield at 'stk:yield' end
yield_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/stock_header_type.rb, line 351 def yield_attributes attributes_at 'stk:yield' end