Class: GOBL::Bill::Payment

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

Hashme::Boolean

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

#advancesAdvances (readonly)

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

Returns:



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

property :advances, Advances

#instructionsGOBL::Pay::Instructions (readonly)

Details on how payment should be made.



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

property :instructions, GOBL::Pay::Instructions

#payerGOBL::Org::Party (readonly)

The party responsible for paying for the invoice, if not the customer.

Returns:



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

property :payer, GOBL::Org::Party

#termsGOBL::Pay::Terms (readonly)

Payment terms or conditions.

Returns:



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

property :terms, GOBL::Pay::Terms