class Pohoda::Parsers::Afp::AccountingFormOfPaymentHeaderType
Public Instance Methods
account()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 35 def account submodel_at(Typ::AccountType, 'afp:account') end
accounting()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 63 def accounting submodel_at(Typ::RefType, 'afp:accounting') end
accounting_destination()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 27 def accounting_destination at 'afp:accountingDestination' end
accounting_destination_attributes()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 31 def accounting_destination_attributes attributes_at 'afp:accountingDestination' end
centre()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 19 def centre submodel_at(Typ::RefType, 'afp:centre') end
credit()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 55 def credit at 'afp:credit' end
credit_attributes()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 59 def credit_attributes attributes_at 'afp:credit' end
debit()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 47 def debit at 'afp:debit' end
debit_attributes()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 51 def debit_attributes attributes_at 'afp:debit' end
ext_id()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 15 def ext_id submodel_at(Typ::ExtIdType, 'afp:extId') end
id()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 7 def id at 'afp:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 11 def id_attributes attributes_at 'afp:id' end
payment_type()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 23 def payment_type submodel_at(Typ::PaymentType, 'afp:paymentType') end
set_the_account_independently()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 39 def set_the_account_independently at 'afp:setTheAccountIndependently' end
set_the_account_independently_attributes()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 43 def set_the_account_independently_attributes attributes_at 'afp:setTheAccountIndependently' end
to_h()
click to toggle source
# File lib/pohoda/parsers/afp/accounting_form_of_payment_header_type.rb, line 67 def to_h hash = {} hash[:attributes] = attributes hash[:id] = id if has? 'afp:id' hash[:id_attributes] = id_attributes if has? 'afp:id' hash[:ext_id] = ext_id.to_h if has? 'afp:extId' hash[:centre] = centre.to_h if has? 'afp:centre' hash[:payment_type] = payment_type.to_h if has? 'afp:paymentType' hash[:accounting_destination] = accounting_destination if has? 'afp:accountingDestination' hash[:accounting_destination_attributes] = accounting_destination_attributes if has? 'afp:accountingDestination' hash[:account] = account.to_h if has? 'afp:account' hash[:set_the_account_independently] = set_the_account_independently if has? 'afp:setTheAccountIndependently' hash[:set_the_account_independently_attributes] = set_the_account_independently_attributes if has? 'afp:setTheAccountIndependently' hash[:debit] = debit if has? 'afp:debit' hash[:debit_attributes] = debit_attributes if has? 'afp:debit' hash[:credit] = credit if has? 'afp:credit' hash[:credit_attributes] = credit_attributes if has? 'afp:credit' hash[:accounting] = accounting.to_h if has? 'afp:accounting' hash end