Class: Xrechnung::PaymentMandate
- Inherits:
-
Object
- Object
- Xrechnung::PaymentMandate
- Includes:
- MemberContainer
- Defined in:
- lib/xrechnung/payment_mandate.rb
Overview
<cac:PaymentMandate>
<cbc:ID>SEPA-MANDAT-123</cbc:ID>
<cac:PayerFinancialAccount>
<cbc:ID>DE02500105170137075030</cbc:ID>
</cac:PayerFinancialAccount>
</cac:PaymentMandate>
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#to_xml(xml) ⇒ Object
noinspection RubyResolve.
Methods included from MemberContainer
#[], #[]=, included, #initialize
Instance Attribute Details
#id ⇒ String
13 |
# File 'lib/xrechnung/payment_mandate.rb', line 13 member :id, type: String |
#payer_financial_account_id ⇒ String
17 |
# File 'lib/xrechnung/payment_mandate.rb', line 17 member :payer_financial_account_id, type: String |
Instance Method Details
#to_xml(xml) ⇒ Object
noinspection RubyResolve
20 21 22 23 24 25 26 27 |
# File 'lib/xrechnung/payment_mandate.rb', line 20 def to_xml(xml) xml.cac :PaymentMandate do xml.cbc :ID, id xml.cac :PayerFinancialAccount do xml.cbc :ID, payer_financial_account_id end end end |