class Pohoda::Builders::Lst::ListAccountingFormOfPaymentRequestType

Public Instance Methods

builder() click to toggle source
# File lib/pohoda/builders/lst/list_accounting_form_of_payment_request_type.rb, line 7
def builder
  root = Ox::Element.new(name)
  root = add_attributes_and_namespaces(root)

  root << build_element('lst:requestAccountingFormOfPayment', data[:request_accounting_form_of_payment], data[:request_accounting_form_of_payment_attributes]) if data.key? :request_accounting_form_of_payment

  root
end