class Pohoda::Parsers::Ofr::OfferHeaderType
Public Instance Methods
accounting_period_moss()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 87 def accounting_period_moss at 'ofr:accountingPeriodMOSS' end
accounting_period_moss_attributes()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 91 def accounting_period_moss_attributes attributes_at 'ofr:accountingPeriodMOSS' end
activity()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 67 def activity submodel_at(Typ::RefType, 'ofr:activity') end
centre()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 63 def centre submodel_at(Typ::RefType, 'ofr:centre') end
contract()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 71 def contract submodel_at(Typ::RefType, 'ofr:contract') end
date()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 27 def date at 'ofr:date' end
date_attributes()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 31 def date_attributes attributes_at 'ofr:date' end
details()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 103 def details at 'ofr:details' end
details_attributes()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 107 def details_attributes attributes_at 'ofr:details' end
evidentiary_resources_moss()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 83 def evidentiary_resources_moss array_of_at(String, ['ofr:evidentiaryResourcesMOSS', 'typ:ids']) end
hist_rate()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 127 def hist_rate at 'ofr:histRate' end
hist_rate_attributes()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 131 def hist_rate_attributes attributes_at 'ofr:histRate' end
id()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 7 def id at 'ofr:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 11 def id_attributes attributes_at 'ofr:id' end
int_note()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 119 def int_note at 'ofr:intNote' end
int_note_attributes()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 123 def int_note_attributes attributes_at 'ofr:intNote' end
is_executed()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 95 def is_executed at 'ofr:isExecuted' end
is_executed_attributes()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 99 def is_executed_attributes attributes_at 'ofr:isExecuted' end
labels()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 143 def labels array_of_at(Typ::LabelType, ['ofr:labels', 'typ:label']) end
mark_record()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 135 def mark_record at 'ofr:markRecord' end
mark_record_attributes()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 139 def mark_record_attributes attributes_at 'ofr:markRecord' end
moss()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 79 def moss submodel_at(Typ::MOSStype, 'ofr:MOSS') end
my_identity()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 55 def my_identity submodel_at(Typ::MyAddress, 'ofr:myIdentity') end
note()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 111 def note at 'ofr:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 115 def note_attributes attributes_at 'ofr:note' end
number()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 23 def number submodel_at(Typ::NumberType, 'ofr:number') end
offer_type()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 15 def offer_type at 'ofr:offerType' end
offer_type_attributes()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 19 def offer_type_attributes attributes_at 'ofr:offerType' end
parameters()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 147 def parameters array_of_at(Typ::ParameterDocType, ['ofr:parameters', 'typ:parameter']) end
partner_identity()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 51 def partner_identity submodel_at(Typ::Address, 'ofr:partnerIdentity') end
price_level()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 59 def price_level submodel_at(Typ::RefType, 'ofr:priceLevel') end
reg_va_tin_eu()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 75 def reg_va_tin_eu submodel_at(Typ::RefTypeRegVATinEU, 'ofr:regVATinEU') end
text()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 43 def text at 'ofr:text' end
text_attributes()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 47 def text_attributes attributes_at 'ofr:text' end
to_h()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 151 def to_h hash = {} hash[:attributes] = attributes hash[:id] = id if has? 'ofr:id' hash[:id_attributes] = id_attributes if has? 'ofr:id' hash[:offer_type] = offer_type if has? 'ofr:offerType' hash[:offer_type_attributes] = offer_type_attributes if has? 'ofr:offerType' hash[:number] = number.to_h if has? 'ofr:number' hash[:date] = date if has? 'ofr:date' hash[:date_attributes] = date_attributes if has? 'ofr:date' hash[:valid_till] = valid_till if has? 'ofr:validTill' hash[:valid_till_attributes] = valid_till_attributes if has? 'ofr:validTill' hash[:text] = text if has? 'ofr:text' hash[:text_attributes] = text_attributes if has? 'ofr:text' hash[:partner_identity] = partner_identity.to_h if has? 'ofr:partnerIdentity' hash[:my_identity] = my_identity.to_h if has? 'ofr:myIdentity' hash[:price_level] = price_level.to_h if has? 'ofr:priceLevel' hash[:centre] = centre.to_h if has? 'ofr:centre' hash[:activity] = activity.to_h if has? 'ofr:activity' hash[:contract] = contract.to_h if has? 'ofr:contract' hash[:reg_va_tin_eu] = reg_va_tin_eu.to_h if has? 'ofr:regVATinEU' hash[:moss] = moss.to_h if has? 'ofr:MOSS' hash[:evidentiary_resources_moss] = evidentiary_resources_moss if has? 'ofr:evidentiaryResourcesMOSS' hash[:accounting_period_moss] = accounting_period_moss if has? 'ofr:accountingPeriodMOSS' hash[:accounting_period_moss_attributes] = accounting_period_moss_attributes if has? 'ofr:accountingPeriodMOSS' hash[:is_executed] = is_executed if has? 'ofr:isExecuted' hash[:is_executed_attributes] = is_executed_attributes if has? 'ofr:isExecuted' hash[:details] = details if has? 'ofr:details' hash[:details_attributes] = details_attributes if has? 'ofr:details' hash[:note] = note if has? 'ofr:note' hash[:note_attributes] = note_attributes if has? 'ofr:note' hash[:int_note] = int_note if has? 'ofr:intNote' hash[:int_note_attributes] = int_note_attributes if has? 'ofr:intNote' hash[:hist_rate] = hist_rate if has? 'ofr:histRate' hash[:hist_rate_attributes] = hist_rate_attributes if has? 'ofr:histRate' hash[:mark_record] = mark_record if has? 'ofr:markRecord' hash[:mark_record_attributes] = mark_record_attributes if has? 'ofr:markRecord' hash[:labels] = labels.map(&:to_h) if has? 'ofr:labels' hash[:parameters] = parameters.map(&:to_h) if has? 'ofr:parameters' hash end
valid_till()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 35 def valid_till at 'ofr:validTill' end
valid_till_attributes()
click to toggle source
# File lib/pohoda/parsers/ofr/offer_header_type.rb, line 39 def valid_till_attributes attributes_at 'ofr:validTill' end