Class: GOBL::Bill::Payment
- Defined in:
- lib/generated/gobl/bill/payment.rb
Overview
Payment contains details as to how the invoice should be paid.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL Payment structure
'https://gobl.org/draft-0/bill/invoice#/$defs/Payment'
Instance Attribute Summary collapse
-
#advances ⇒ Array<GOBL::Pay::Advance>
readonly
Any amounts that have been paid in advance and should be deducted from the amount due.
-
#instructions ⇒ GOBL::Pay::Instructions
readonly
Details on how payment should be made.
-
#payee ⇒ GOBL::Org::Party
readonly
The party responsible for receiving payment of the invoice, if not the supplier.
-
#terms ⇒ GOBL::Pay::Terms
readonly
Payment terms or conditions.
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#advances ⇒ Array<GOBL::Pay::Advance> (readonly)
Any amounts that have been paid in advance and should be deducted from the amount due.
28 |
# File 'lib/generated/gobl/bill/payment.rb', line 28 property :advances, [GOBL::Pay::Advance] |
#instructions ⇒ GOBL::Pay::Instructions (readonly)
Details on how payment should be made.
33 |
# File 'lib/generated/gobl/bill/payment.rb', line 33 property :instructions, GOBL::Pay::Instructions |
#payee ⇒ GOBL::Org::Party (readonly)
The party responsible for receiving payment of the invoice, if not the supplier.
18 |
# File 'lib/generated/gobl/bill/payment.rb', line 18 property :payee, GOBL::Org::Party |
#terms ⇒ GOBL::Pay::Terms (readonly)
Payment terms or conditions.
23 |
# File 'lib/generated/gobl/bill/payment.rb', line 23 property :terms, GOBL::Pay::Terms |