class Pohoda::Parsers::Pro::PaymentsType
Public Instance Methods
payment_item()
click to toggle source
# File lib/pohoda/parsers/pro/payments_type.rb, line 7 def payment_item array_of_at(Pro::PaymentItemType, ['pro:paymentItem']) end
to_h()
click to toggle source
# File lib/pohoda/parsers/pro/payments_type.rb, line 11 def to_h hash = {} hash[:attributes] = attributes hash[:payment_item] = payment_item.map(&:to_h) if has? 'pro:paymentItem' hash end