module Pohoda::Parsers::Pro::Groups::ForeignPaymentGroup
Public Instance Methods
amount()
click to toggle source
# File lib/pohoda/parsers/pro/groups/foreign_payment_group.rb, line 14 def amount at 'pro:amount' end
amount_attributes()
click to toggle source
# File lib/pohoda/parsers/pro/groups/foreign_payment_group.rb, line 18 def amount_attributes attributes_at 'pro:amount' end
rate()
click to toggle source
# File lib/pohoda/parsers/pro/groups/foreign_payment_group.rb, line 6 def rate at 'pro:rate' end
rate_attributes()
click to toggle source
# File lib/pohoda/parsers/pro/groups/foreign_payment_group.rb, line 10 def rate_attributes attributes_at 'pro:rate' end
to_h()
click to toggle source
# File lib/pohoda/parsers/pro/groups/foreign_payment_group.rb, line 22 def to_h hash = {} hash[:attributes] = attributes hash[:rate] = rate if has? 'pro:rate' hash[:rate_attributes] = rate_attributes if has? 'pro:rate' hash[:amount] = amount if has? 'pro:amount' hash[:amount_attributes] = amount_attributes if has? 'pro:amount' hash end