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