Class: XeroKiwi::Accounting::CreditNote
- Inherits:
-
Object
- Object
- XeroKiwi::Accounting::CreditNote
- Includes:
- Resource
- Defined in:
- lib/xero_kiwi/accounting/credit_note.rb
Overview
Represents a Xero Credit Note returned by the Accounting API.
See: developer.xero.com/documentation/api/accounting/creditnotes
Instance Method Summary collapse
Methods included from Resource
#==, #hash, included, #initialize, #inspect, #reference?, #to_h
Instance Method Details
#accounts_payable? ⇒ Boolean
39 |
# File 'lib/xero_kiwi/accounting/credit_note.rb', line 39 def accounts_payable? = type == "ACCPAYCREDIT" |
#accounts_receivable? ⇒ Boolean
37 |
# File 'lib/xero_kiwi/accounting/credit_note.rb', line 37 def accounts_receivable? = type == "ACCRECCREDIT" |