Class: GOBL::Pay::Terms
Overview
Terms defines when we expect the customer to pay, or have paid, for the contents of the document.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL Terms structure
'https://gobl.org/draft-0/pay/terms'
Constants included from Hashme
Instance Attribute Summary collapse
-
#detail ⇒ String
readonly
Text detail of the chosen payment terms.
-
#due_dates ⇒ Array<DueDate>
readonly
Set of dates for agreed payments.
-
#key ⇒ TermKey
readonly
Type of terms to be applied.
-
#notes ⇒ String
readonly
Description of the conditions for payment.
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#detail ⇒ String (readonly)
Text detail of the chosen payment terms.
25 |
# File 'lib/gobl/pay/terms.rb', line 25 property :detail, String |
#due_dates ⇒ Array<DueDate> (readonly)
Set of dates for agreed payments.
30 |
# File 'lib/gobl/pay/terms.rb', line 30 property :due_dates, [DueDate] |
#key ⇒ TermKey (readonly)
Type of terms to be applied.
19 |
# File 'lib/gobl/pay/terms.rb', line 19 property :key, TermKey |
#notes ⇒ String (readonly)
Description of the conditions for payment.
35 |
# File 'lib/gobl/pay/terms.rb', line 35 property :notes, String |