Class: GOBL::Bill::Payment
- Defined in:
- lib/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'
Constants included from Hashme
Instance Attribute Summary collapse
-
#advances ⇒ Advances
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.
-
#payer ⇒ GOBL::Org::Party
readonly
The party responsible for paying for the invoice, if not the customer.
-
#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 ⇒ Advances (readonly)
Any amounts that have been paid in advance and should be deducted from the amount due.
29 |
# File 'lib/gobl/bill/payment.rb', line 29 property :advances, Advances |
#instructions ⇒ GOBL::Pay::Instructions (readonly)
Details on how payment should be made.
34 |
# File 'lib/gobl/bill/payment.rb', line 34 property :instructions, GOBL::Pay::Instructions |
#payer ⇒ GOBL::Org::Party (readonly)
The party responsible for paying for the invoice, if not the customer.
19 |
# File 'lib/gobl/bill/payment.rb', line 19 property :payer, GOBL::Org::Party |
#terms ⇒ GOBL::Pay::Terms (readonly)
Payment terms or conditions.
24 |
# File 'lib/gobl/bill/payment.rb', line 24 property :terms, GOBL::Pay::Terms |