Class: XeroKiwi::Accounting::Overpayment
- Inherits:
-
Object
- Object
- XeroKiwi::Accounting::Overpayment
- Includes:
- Resource
- Defined in:
- lib/xero_kiwi/accounting/overpayment.rb
Overview
Represents a Xero Overpayment returned by the Accounting API.
See: developer.xero.com/documentation/api/accounting/overpayments
Instance Method Summary collapse
Methods included from Resource
#==, #hash, included, #initialize, #inspect, #reference?, #to_h
Instance Method Details
#receive? ⇒ Boolean
33 |
# File 'lib/xero_kiwi/accounting/overpayment.rb', line 33 def receive? = type == "RECEIVE-OVERPAYMENT" |
#spend? ⇒ Boolean
35 |
# File 'lib/xero_kiwi/accounting/overpayment.rb', line 35 def spend? = type == "SPEND-OVERPAYMENT" |