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.
29 |
# File 'lib/generated/gobl/bill/payment.rb', line 29 property :advances, [GOBL::Pay::Advance] |
#instructions ⇒ GOBL::Pay::Instructions (readonly)
Details on how payment should be made.
34 |
# File 'lib/generated/gobl/bill/payment.rb', line 34 property :instructions, GOBL::Pay::Instructions |
#payee ⇒ GOBL::Org::Party (readonly)
The party responsible for receiving payment of the invoice, if not the supplier.
19 |
# File 'lib/generated/gobl/bill/payment.rb', line 19 property :payee, GOBL::Org::Party |
#terms ⇒ GOBL::Pay::Terms (readonly)
Payment terms or conditions.
24 |
# File 'lib/generated/gobl/bill/payment.rb', line 24 property :terms, GOBL::Pay::Terms |