class Pohoda::Parsers::Ord::OrderSummaryType
Public Instance Methods
foreign_currency()
click to toggle source
# File lib/pohoda/parsers/ord/order_summary_type.rb, line 35 def foreign_currency submodel_at(Typ::TypeCurrencyForeign, 'ord:foreignCurrency') end
home_currency()
click to toggle source
# File lib/pohoda/parsers/ord/order_summary_type.rb, line 31 def home_currency submodel_at(Typ::TypeCurrencyHome, 'ord:homeCurrency') end
rounding_document()
click to toggle source
# File lib/pohoda/parsers/ord/order_summary_type.rb, line 7 def rounding_document at 'ord:roundingDocument' end
rounding_document_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_summary_type.rb, line 11 def rounding_document_attributes attributes_at 'ord:roundingDocument' end
rounding_vat()
click to toggle source
# File lib/pohoda/parsers/ord/order_summary_type.rb, line 15 def rounding_vat at 'ord:roundingVAT' end
rounding_vat_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_summary_type.rb, line 19 def rounding_vat_attributes attributes_at 'ord:roundingVAT' end
to_h()
click to toggle source
# File lib/pohoda/parsers/ord/order_summary_type.rb, line 39 def to_h hash = {} hash[:attributes] = attributes hash[:rounding_document] = rounding_document if has? 'ord:roundingDocument' hash[:rounding_document_attributes] = rounding_document_attributes if has? 'ord:roundingDocument' hash[:rounding_vat] = rounding_vat if has? 'ord:roundingVAT' hash[:rounding_vat_attributes] = rounding_vat_attributes if has? 'ord:roundingVAT' hash[:type_calculate_vat_inclusive_price] = type_calculate_vat_inclusive_price if has? 'ord:typeCalculateVATInclusivePrice' hash[:type_calculate_vat_inclusive_price_attributes] = type_calculate_vat_inclusive_price_attributes if has? 'ord:typeCalculateVATInclusivePrice' hash[:home_currency] = home_currency.to_h if has? 'ord:homeCurrency' hash[:foreign_currency] = foreign_currency.to_h if has? 'ord:foreignCurrency' hash end
type_calculate_vat_inclusive_price()
click to toggle source
# File lib/pohoda/parsers/ord/order_summary_type.rb, line 23 def type_calculate_vat_inclusive_price at 'ord:typeCalculateVATInclusivePrice' end
type_calculate_vat_inclusive_price_attributes()
click to toggle source
# File lib/pohoda/parsers/ord/order_summary_type.rb, line 27 def type_calculate_vat_inclusive_price_attributes attributes_at 'ord:typeCalculateVATInclusivePrice' end