class Pohoda::Parsers::Inv::InvoiceRetentionType
Public Instance Methods
accounting()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_retention_type.rb, line 43 def accounting submodel_at(Typ::RefType, 'inv:accounting') end
date()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_retention_type.rb, line 7 def date at 'inv:date' end
date_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_retention_type.rb, line 11 def date_attributes attributes_at 'inv:date' end
date_due()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_retention_type.rb, line 15 def date_due at 'inv:dateDue' end
date_due_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_retention_type.rb, line 19 def date_due_attributes attributes_at 'inv:dateDue' end
home_currency()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_retention_type.rb, line 23 def home_currency at 'inv:homeCurrency' end
home_currency_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_retention_type.rb, line 27 def home_currency_attributes attributes_at 'inv:homeCurrency' end
liquidation()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_retention_type.rb, line 31 def liquidation submodel_at(Typ::LiquidationType, 'inv:liquidation') end
text()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_retention_type.rb, line 35 def text at 'inv:text' end
text_attributes()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_retention_type.rb, line 39 def text_attributes attributes_at 'inv:text' end
to_h()
click to toggle source
# File lib/pohoda/parsers/inv/invoice_retention_type.rb, line 47 def to_h hash = {} hash[:attributes] = attributes hash[:date] = date if has? 'inv:date' hash[:date_attributes] = date_attributes if has? 'inv:date' hash[:date_due] = date_due if has? 'inv:dateDue' hash[:date_due_attributes] = date_due_attributes if has? 'inv:dateDue' hash[:home_currency] = home_currency if has? 'inv:homeCurrency' hash[:home_currency_attributes] = home_currency_attributes if has? 'inv:homeCurrency' hash[:liquidation] = liquidation.to_h if has? 'inv:liquidation' hash[:text] = text if has? 'inv:text' hash[:text_attributes] = text_attributes if has? 'inv:text' hash[:accounting] = accounting.to_h if has? 'inv:accounting' hash end