Class: Xrechnung::InvoicePeriod
- Inherits:
-
Object
- Object
- Xrechnung::InvoicePeriod
show all
- Includes:
- MemberContainer
- Defined in:
- lib/xrechnung/invoice_period.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
#[], #[]=, included, #initialize
Instance Attribute Details
#end_date ⇒ Date
11
|
# File 'lib/xrechnung/invoice_period.rb', line 11
member :end_date, type: Date
|
#start_date ⇒ Date
7
|
# File 'lib/xrechnung/invoice_period.rb', line 7
member :start_date, type: Date
|
Instance Method Details
#to_xml(xml) ⇒ Object
13
14
15
16
17
18
|
# File 'lib/xrechnung/invoice_period.rb', line 13
def to_xml(xml)
xml.cac :InvoicePeriod do
xml.cbc :StartDate, start_date
xml.cbc :EndDate, end_date
end
end
|