Class: Xrechnung::PayeeFinancialAccount
- Inherits:
-
Object
- Object
- Xrechnung::PayeeFinancialAccount
- Includes:
- MemberContainer
- Defined in:
- lib/xrechnung/payee_financial_account.rb
Overview
<cac:PayeeFinancialAccount>
<cbc:ID>DE12500105170648489890</cbc:ID>
<cbc:Name>Harry Hirsch</cbc:Name>
<cac:FinancialInstitutionBranch>
<cbc:ID>XUFUXHB</cbc:ID>
</cac:FinancialInstitutionBranch>
</cac:PayeeFinancialAccount>
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#to_xml(xml) ⇒ Object
noinspection RubyResolve.
Methods included from MemberContainer
#[], #[]=, included, #initialize
Instance Attribute Details
#financial_institution_branch_id ⇒ String
22 |
# File 'lib/xrechnung/payee_financial_account.rb', line 22 member :financial_institution_branch_id, type: String |
#id ⇒ String
14 |
# File 'lib/xrechnung/payee_financial_account.rb', line 14 member :id, type: String |
#name ⇒ String
18 |
# File 'lib/xrechnung/payee_financial_account.rb', line 18 member :name, type: String |
Instance Method Details
#to_xml(xml) ⇒ Object
noinspection RubyResolve
25 26 27 28 29 30 31 32 33 |
# File 'lib/xrechnung/payee_financial_account.rb', line 25 def to_xml(xml) xml.cac :PayeeFinancialAccount do xml.cbc :ID, id xml.cbc :Name, name xml.cac :FinancialInstitutionBranch do xml.cbc :ID, financial_institution_branch_id end end end |