Class: GOBL::Bill::Payment

Inherits:
Object show all
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

Method Summary

Methods inherited from Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#advancesArray<GOBL::Pay::Advance> (readonly)

Any amounts that have been paid in advance and should be deducted from the amount due.

Returns:



28
# File 'lib/generated/gobl/bill/payment.rb', line 28

property :advances, [GOBL::Pay::Advance]

#instructionsGOBL::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

#payeeGOBL::Org::Party (readonly)

The party responsible for receiving payment of the invoice, if not the supplier.

Returns:



18
# File 'lib/generated/gobl/bill/payment.rb', line 18

property :payee, GOBL::Org::Party

#termsGOBL::Pay::Terms (readonly)

Payment terms or conditions.

Returns:



23
# File 'lib/generated/gobl/bill/payment.rb', line 23

property :terms, GOBL::Pay::Terms