class Pohoda::Parsers::Acp::TypeAcpCurrencyForeign
Public Instance Methods
amount()
click to toggle source
# File lib/pohoda/parsers/acp/type_acp_currency_foreign.rb, line 19 def amount at 'acp:amount' end
amount_attributes()
click to toggle source
# File lib/pohoda/parsers/acp/type_acp_currency_foreign.rb, line 23 def amount_attributes attributes_at 'acp:amount' end
currency()
click to toggle source
# File lib/pohoda/parsers/acp/type_acp_currency_foreign.rb, line 7 def currency submodel_at(Typ::RefType, 'acp:currency') end
rate()
click to toggle source
# File lib/pohoda/parsers/acp/type_acp_currency_foreign.rb, line 11 def rate at 'acp:rate' end
rate_attributes()
click to toggle source
# File lib/pohoda/parsers/acp/type_acp_currency_foreign.rb, line 15 def rate_attributes attributes_at 'acp:rate' end
to_h()
click to toggle source
# File lib/pohoda/parsers/acp/type_acp_currency_foreign.rb, line 27 def to_h hash = {} hash[:attributes] = attributes hash[:currency] = currency.to_h if has? 'acp:currency' hash[:rate] = rate if has? 'acp:rate' hash[:rate_attributes] = rate_attributes if has? 'acp:rate' hash[:amount] = amount if has? 'acp:amount' hash[:amount_attributes] = amount_attributes if has? 'acp:amount' hash end