Class: BusinessCentral::CustomerPayment

Inherits:
Base
  • Object
show all
Defined in:
lib/business_central/customer_payment.rb

Constant Summary collapse

API_OBJECT_PARENT =
"customerPaymentsJournal"
API_OBJECT =
"customerPayments"

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#build_url, #initialize, #process

Methods included from ApiMethods

#create, #delete, #get_child, #method_missing, #query, #query_child, #update

Constructor Details

This class inherits a constructor from BusinessCentral::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class BusinessCentral::ApiMethods

Instance Method Details

#get(customer_payments_journal_id, customer_payment_id = nil) ⇒ Object



10
11
12
# File 'lib/business_central/customer_payment.rb', line 10

def get(customer_payments_journal_id, customer_payment_id = nil)
  get_child(customer_payments_journal_id, customer_payment_id)
end