class Xrechnung::PaymentMeans

<cac:PaymentMeans>

<cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>
<cac:PayeeFinancialAccount>
  <cbc:ID>DE12500105170648489890</cbc:ID>
  <cbc:Name>Harry Hirsch</cbc:Name>
  <cac:FinancialInstitutionBranch>
    <cbc:ID>XUFUXHB</cbc:ID>
  </cac:FinancialInstitutionBranch>
</cac:PayeeFinancialAccount>

</cac:PaymentMeans>

Public Instance Methods

to_xml(xml) click to toggle source

noinspection RubyResolve

# File lib/xrechnung/payment_means.rb, line 24
def to_xml(xml)
  xml.cbc :PaymentMeansCode, payment_means_code
  payee_financial_account&.to_xml(xml)
end