Class: Xrechnung::PaymentMandate

Inherits:
Object
  • Object
show all
Includes:
MemberContainer
Defined in:
lib/xrechnung/payment_mandate.rb

Overview

cac:PaymentMandate cbc:IDSEPA-MANDAT-123</cbc:ID> cac:PayerFinancialAccount cbc:IDDE02500105170137075030</cbc:ID> </cac:PayerFinancialAccount> </cac:PaymentMandate>

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from MemberContainer

#[], #[]=, included, #initialize

Instance Attribute Details

#idString

Returns:

  • (String)


13
# File 'lib/xrechnung/payment_mandate.rb', line 13

member :id, type: String

#payer_financial_account_idString

Returns:

  • (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, 
    end
  end
end