Module: SageoneSdk::Client::PaymentStatuses
- Included in:
- SageoneSdk::Client
- Defined in:
- lib/sageone_sdk/client/payment_statuses.rb
Overview
Represents the payment status of an invoice in Sage One. For example, Paid or Void.
Instance Method Summary collapse
-
#payment_status(id, options = {}) ⇒ object
Returns the payment status with the given id.
-
#payment_statuses(options = {}) ⇒ object
Returns all payment statuses.
Instance Method Details
#payment_status(id, options = {}) ⇒ object
Returns the payment status with the given id.
13 14 15 |
# File 'lib/sageone_sdk/client/payment_statuses.rb', line 13 def payment_status(id, = {}) get "payment_statuses/#{id}", end |
#payment_statuses(options = {}) ⇒ object
Returns all payment statuses.
8 9 10 |
# File 'lib/sageone_sdk/client/payment_statuses.rb', line 8 def payment_statuses( = {}) get "payment_statuses", end |