module Pohoda::Parsers::Pro::Groups::CreditcardPaymentGroup
Public Instance Methods
account()
click to toggle source
# File lib/pohoda/parsers/pro/groups/creditcard_payment_group.rb, line 22 def account submodel_at(Typ::AccountType, 'pro:account') end
payment_terminal()
click to toggle source
# File lib/pohoda/parsers/pro/groups/creditcard_payment_group.rb, line 6 def payment_terminal at 'pro:paymentTerminal' end
payment_terminal_attributes()
click to toggle source
# File lib/pohoda/parsers/pro/groups/creditcard_payment_group.rb, line 10 def payment_terminal_attributes attributes_at 'pro:paymentTerminal' end
sym_var()
click to toggle source
# File lib/pohoda/parsers/pro/groups/creditcard_payment_group.rb, line 14 def sym_var at 'pro:symVar' end
sym_var_attributes()
click to toggle source
# File lib/pohoda/parsers/pro/groups/creditcard_payment_group.rb, line 18 def sym_var_attributes attributes_at 'pro:symVar' end
to_h()
click to toggle source
# File lib/pohoda/parsers/pro/groups/creditcard_payment_group.rb, line 26 def to_h hash = {} hash[:attributes] = attributes hash[:payment_terminal] = payment_terminal if has? 'pro:paymentTerminal' hash[:payment_terminal_attributes] = payment_terminal_attributes if has? 'pro:paymentTerminal' hash[:sym_var] = sym_var if has? 'pro:symVar' hash[:sym_var_attributes] = sym_var_attributes if has? 'pro:symVar' hash[:account] = account.to_h if has? 'pro:account' hash end