Class: FacturX::ReferencedInvoice
- Inherits:
-
Object
- Object
- FacturX::ReferencedInvoice
- Defined in:
- lib/factur_x/allowance_charge.rb
Instance Attribute Summary collapse
-
#issued_on ⇒ Object
readonly
Returns the value of attribute issued_on.
-
#number ⇒ Object
readonly
Returns the value of attribute number.
-
#type_code ⇒ Object
readonly
Returns the value of attribute type_code.
Instance Method Summary collapse
-
#initialize(number:, issued_on: nil, type_code: nil) ⇒ ReferencedInvoice
constructor
A new instance of ReferencedInvoice.
Constructor Details
#initialize(number:, issued_on: nil, type_code: nil) ⇒ ReferencedInvoice
Returns a new instance of ReferencedInvoice.
44 45 46 47 48 |
# File 'lib/factur_x/allowance_charge.rb', line 44 def initialize(number:, issued_on: nil, type_code: nil) @number = number @issued_on = issued_on @type_code = type_code end |
Instance Attribute Details
#issued_on ⇒ Object (readonly)
Returns the value of attribute issued_on.
42 43 44 |
# File 'lib/factur_x/allowance_charge.rb', line 42 def issued_on @issued_on end |
#number ⇒ Object (readonly)
Returns the value of attribute number.
42 43 44 |
# File 'lib/factur_x/allowance_charge.rb', line 42 def number @number end |
#type_code ⇒ Object (readonly)
Returns the value of attribute type_code.
42 43 44 |
# File 'lib/factur_x/allowance_charge.rb', line 42 def type_code @type_code end |