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