class Pohoda::Parsers::Sup::SupplierItemType
Public Instance Methods
action_type()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 7 def action_type submodel_at(Typ::ActionTypeItem, 'sup:actionType') end
currency()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 47 def currency submodel_at(Typ::RefType, 'sup:currency') end
delivery_period()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 107 def delivery_period submodel_at(Typ::RefType, 'sup:deliveryPeriod') end
delivery_time()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 99 def delivery_time at 'sup:deliveryTime' end
delivery_time_attributes()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 103 def delivery_time_attributes attributes_at 'sup:deliveryTime' end
ean()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 67 def ean at 'sup:ean' end
ean_attributes()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 71 def ean_attributes attributes_at 'sup:ean' end
id()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 11 def id at 'sup:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 15 def id_attributes attributes_at 'sup:id' end
min_quantity()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 111 def min_quantity at 'sup:minQuantity' end
min_quantity_attributes()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 115 def min_quantity_attributes attributes_at 'sup:minQuantity' end
note()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 127 def note at 'sup:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 131 def note_attributes attributes_at 'sup:note' end
order_code()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 23 def order_code at 'sup:orderCode' end
order_code_attributes()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 27 def order_code_attributes attributes_at 'sup:orderCode' end
order_name()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 31 def order_name at 'sup:orderName' end
order_name_attributes()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 35 def order_name_attributes attributes_at 'sup:orderName' end
pay_vat()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 59 def pay_vat at 'sup:payVAT' end
pay_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 63 def pay_vat_attributes attributes_at 'sup:payVAT' end
print_ean()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 75 def print_ean at 'sup:printEAN' end
print_ean_attributes()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 79 def print_ean_attributes attributes_at 'sup:printEAN' end
purchasing_price()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 39 def purchasing_price at 'sup:purchasingPrice' end
purchasing_price_attributes()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 43 def purchasing_price_attributes attributes_at 'sup:purchasingPrice' end
rate()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 51 def rate at 'sup:rate' end
rate_attributes()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 55 def rate_attributes attributes_at 'sup:rate' end
ref_ad()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 19 def ref_ad submodel_at(Typ::RefTypeSupplierAddress, 'sup:refAd') end
to_h()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 135 def to_h hash = {} hash[:attributes] = attributes hash[:action_type] = action_type.to_h if has? 'sup:actionType' hash[:id] = id if has? 'sup:id' hash[:id_attributes] = id_attributes if has? 'sup:id' hash[:ref_ad] = ref_ad.to_h if has? 'sup:refAd' hash[:order_code] = order_code if has? 'sup:orderCode' hash[:order_code_attributes] = order_code_attributes if has? 'sup:orderCode' hash[:order_name] = order_name if has? 'sup:orderName' hash[:order_name_attributes] = order_name_attributes if has? 'sup:orderName' hash[:purchasing_price] = purchasing_price if has? 'sup:purchasingPrice' hash[:purchasing_price_attributes] = purchasing_price_attributes if has? 'sup:purchasingPrice' hash[:currency] = currency.to_h if has? 'sup:currency' hash[:rate] = rate if has? 'sup:rate' hash[:rate_attributes] = rate_attributes if has? 'sup:rate' hash[:pay_vat] = pay_vat if has? 'sup:payVAT' hash[:pay_vat_attributes] = pay_vat_attributes if has? 'sup:payVAT' hash[:ean] = ean if has? 'sup:ean' hash[:ean_attributes] = ean_attributes if has? 'sup:ean' hash[:print_ean] = print_ean if has? 'sup:printEAN' hash[:print_ean_attributes] = print_ean_attributes if has? 'sup:printEAN' hash[:unit_ean] = unit_ean if has? 'sup:unitEAN' hash[:unit_ean_attributes] = unit_ean_attributes if has? 'sup:unitEAN' hash[:unit_coef_ean] = unit_coef_ean if has? 'sup:unitCoefEAN' hash[:unit_coef_ean_attributes] = unit_coef_ean_attributes if has? 'sup:unitCoefEAN' hash[:delivery_time] = delivery_time if has? 'sup:deliveryTime' hash[:delivery_time_attributes] = delivery_time_attributes if has? 'sup:deliveryTime' hash[:delivery_period] = delivery_period.to_h if has? 'sup:deliveryPeriod' hash[:min_quantity] = min_quantity if has? 'sup:minQuantity' hash[:min_quantity_attributes] = min_quantity_attributes if has? 'sup:minQuantity' hash[:unit] = unit if has? 'sup:unit' hash[:unit_attributes] = unit_attributes if has? 'sup:unit' hash[:note] = note if has? 'sup:note' hash[:note_attributes] = note_attributes if has? 'sup:note' hash end
unit()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 119 def unit at 'sup:unit' end
unit_attributes()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 123 def unit_attributes attributes_at 'sup:unit' end
unit_coef_ean()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 91 def unit_coef_ean at 'sup:unitCoefEAN' end
unit_coef_ean_attributes()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 95 def unit_coef_ean_attributes attributes_at 'sup:unitCoefEAN' end
unit_ean()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 83 def unit_ean at 'sup:unitEAN' end
unit_ean_attributes()
click to toggle source
# File lib/pohoda/parsers/sup/supplier_item_type.rb, line 87 def unit_ean_attributes attributes_at 'sup:unitEAN' end