class Pohoda::Parsers::Ord::OrderItemType
Public Instance Methods
activity()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 151 def activity submodel_at(Typ::RefType, 'ord:activity') end
centre()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 147 def centre submodel_at(Typ::RefType, 'ord:centre') end
code()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 115 def code at 'ord:code' end
code_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 119 def code_attributes attributes_at 'ord:code' end
code_pdp()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 139 def code_pdp at 'ord:CodePDP' end
code_pdp_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 143 def code_pdp_attributes attributes_at 'ord:CodePDP' end
coefficient()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 55 def coefficient at 'ord:coefficient' end
coefficient_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 59 def coefficient_attributes attributes_at 'ord:coefficient' end
contract()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 155 def contract submodel_at(Typ::RefType, 'ord:contract') end
delivered()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 39 def delivered at 'ord:delivered' end
delivered_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 43 def delivered_attributes attributes_at 'ord:delivered' end
discount_percentage()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 87 def discount_percentage at 'ord:discountPercentage' end
discount_percentage_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 91 def discount_percentage_attributes attributes_at 'ord:discountPercentage' end
eet_item()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 159 def eet_item at 'ord:EETItem' end
eet_item_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 163 def eet_item_attributes attributes_at 'ord:EETItem' end
ext_id()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 15 def ext_id at 'ord:extId' end
ext_id_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 19 def ext_id_attributes attributes_at 'ord:extId' end
foreign_currency()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 99 def foreign_currency submodel_at(Typ::TypeCurrencyForeignItem, 'ord:foreignCurrency') end
home_currency()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 95 def home_currency submodel_at(Typ::TypeCurrencyHomeItem, 'ord:homeCurrency') end
id()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 7 def id at 'ord:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 11 def id_attributes attributes_at 'ord:id' end
link_to_stock()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 127 def link_to_stock submodel_at(Typ::LinkToStockType, 'ord:linkToStock') end
note()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 107 def note at 'ord:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 111 def note_attributes attributes_at 'ord:note' end
parameters()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 167 def parameters array_of_at(Typ::ParameterDocType, ['ord:parameters', 'typ:parameter']) end
pay_vat()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 63 def pay_vat at 'ord:payVAT' end
pay_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 67 def pay_vat_attributes attributes_at 'ord:payVAT' end
pdp()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 131 def pdp at 'ord:PDP' end
pdp_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 135 def pdp_attributes attributes_at 'ord:PDP' end
percent_vat()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 79 def percent_vat at 'ord:percentVAT' end
percent_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 83 def percent_vat_attributes attributes_at 'ord:percentVAT' end
quantity()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 31 def quantity at 'ord:quantity' end
quantity_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 35 def quantity_attributes attributes_at 'ord:quantity' end
rate_vat()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 71 def rate_vat at 'ord:rateVAT' end
rate_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 75 def rate_vat_attributes attributes_at 'ord:rateVAT' end
stock_item()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 123 def stock_item submodel_at(Typ::StockItemType, 'ord:stockItem') end
text()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 23 def text at 'ord:text' end
text_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 27 def text_attributes attributes_at 'ord:text' end
to_h()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 171 def to_h hash = {} hash[:attributes] = attributes hash[:id] = id if has? 'ord:id' hash[:id_attributes] = id_attributes if has? 'ord:id' hash[:ext_id] = ext_id if has? 'ord:extId' hash[:ext_id_attributes] = ext_id_attributes if has? 'ord:extId' hash[:text] = text if has? 'ord:text' hash[:text_attributes] = text_attributes if has? 'ord:text' hash[:quantity] = quantity if has? 'ord:quantity' hash[:quantity_attributes] = quantity_attributes if has? 'ord:quantity' hash[:delivered] = delivered if has? 'ord:delivered' hash[:delivered_attributes] = delivered_attributes if has? 'ord:delivered' hash[:unit] = unit if has? 'ord:unit' hash[:unit_attributes] = unit_attributes if has? 'ord:unit' hash[:coefficient] = coefficient if has? 'ord:coefficient' hash[:coefficient_attributes] = coefficient_attributes if has? 'ord:coefficient' hash[:pay_vat] = pay_vat if has? 'ord:payVAT' hash[:pay_vat_attributes] = pay_vat_attributes if has? 'ord:payVAT' hash[:rate_vat] = rate_vat if has? 'ord:rateVAT' hash[:rate_vat_attributes] = rate_vat_attributes if has? 'ord:rateVAT' hash[:percent_vat] = percent_vat if has? 'ord:percentVAT' hash[:percent_vat_attributes] = percent_vat_attributes if has? 'ord:percentVAT' hash[:discount_percentage] = discount_percentage if has? 'ord:discountPercentage' hash[:discount_percentage_attributes] = discount_percentage_attributes if has? 'ord:discountPercentage' hash[:home_currency] = home_currency.to_h if has? 'ord:homeCurrency' hash[:foreign_currency] = foreign_currency.to_h if has? 'ord:foreignCurrency' hash[:type_service_moss] = type_service_moss.to_h if has? 'ord:typeServiceMOSS' hash[:note] = note if has? 'ord:note' hash[:note_attributes] = note_attributes if has? 'ord:note' hash[:code] = code if has? 'ord:code' hash[:code_attributes] = code_attributes if has? 'ord:code' hash[:stock_item] = stock_item.to_h if has? 'ord:stockItem' hash[:link_to_stock] = link_to_stock.to_h if has? 'ord:linkToStock' hash[:pdp] = pdp if has? 'ord:PDP' hash[:pdp_attributes] = pdp_attributes if has? 'ord:PDP' hash[:code_pdp] = code_pdp if has? 'ord:CodePDP' hash[:code_pdp_attributes] = code_pdp_attributes if has? 'ord:CodePDP' hash[:centre] = centre.to_h if has? 'ord:centre' hash[:activity] = activity.to_h if has? 'ord:activity' hash[:contract] = contract.to_h if has? 'ord:contract' hash[:eet_item] = eet_item if has? 'ord:EETItem' hash[:eet_item_attributes] = eet_item_attributes if has? 'ord:EETItem' hash[:parameters] = parameters.map(&:to_h) if has? 'ord:parameters' hash end
type_service_moss()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 103 def type_service_moss submodel_at(Typ::MOSStype, 'ord:typeServiceMOSS') end
unit()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 47 def unit at 'ord:unit' end
unit_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_item_type.rb, line 51 def unit_attributes attributes_at 'ord:unit' end