Class: GOBL::Pay::DueDate
- Defined in:
- lib/generated/gobl/pay/due_date.rb
Overview
DueDate contains an amount that should be paid by the given date.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL DueDate structure
'https://gobl.org/draft-0/pay/terms#/$defs/DueDate'
Instance Attribute Summary collapse
-
#amount ⇒ GOBL::Num::Amount
readonly
How much needs to be paid by the date.
-
#currency ⇒ GOBL::Currency::Code
readonly
If different from the parent document’s base currency.
-
#date ⇒ GOBL::Cal::Date
readonly
When the payment is due.
-
#notes ⇒ String
readonly
Other details to take into account for the due date.
-
#percent ⇒ GOBL::Num::Percentage
readonly
Percentage of the total that should be paid by the date.
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#amount ⇒ GOBL::Num::Amount (readonly)
How much needs to be paid by the date.
29 |
# File 'lib/generated/gobl/pay/due_date.rb', line 29 property :amount, GOBL::Num::Amount |
#currency ⇒ GOBL::Currency::Code (readonly)
If different from the parent document’s base currency.
40 |
# File 'lib/generated/gobl/pay/due_date.rb', line 40 property :currency, GOBL::Currency::Code |
#date ⇒ GOBL::Cal::Date (readonly)
When the payment is due.
18 |
# File 'lib/generated/gobl/pay/due_date.rb', line 18 property :date, GOBL::Cal::Date |
#notes ⇒ String (readonly)
Other details to take into account for the due date.
24 |
# File 'lib/generated/gobl/pay/due_date.rb', line 24 property :notes, String |
#percent ⇒ GOBL::Num::Percentage (readonly)
Percentage of the total that should be paid by the date.
35 |
# File 'lib/generated/gobl/pay/due_date.rb', line 35 property :percent, GOBL::Num::Percentage |