class Pohoda::Parsers::Pay::PaymentTypeRoot

Public Instance Methods

payment_header() click to toggle source
# File lib/pohoda/parsers/pay/payment_type_root.rb, line 7
def payment_header
  submodel_at(Pay::PaymentHeaderType, 'pay:paymentHeader')
end
to_h() click to toggle source
# File lib/pohoda/parsers/pay/payment_type_root.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:payment_header] = payment_header.to_h if has? 'pay:paymentHeader'

  hash
end