=begin #Accounting Extension #These APIs allow you to interact with HubSpot's Accounting Extension. It allows you to: * Specify the URLs that HubSpot will use when making webhook requests to your external accounting system. * Respond to webhook calls made to your external accounting system by HubSpot The version of the OpenAPI document: v3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 =end require 'spec_helper' require 'json' # Unit tests for Hubspot::Crm::Extensions::Accounting::CallbacksApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'CallbacksApi' do before do # run before each test @api_instance = Hubspot::Crm::Extensions::Accounting::CallbacksApi.new end after do # run after each test end describe 'test an instance of CallbacksApi' do it 'should create an instance of CallbacksApi' do expect(@api_instance).to be_instance_of(Hubspot::Crm::Extensions::Accounting::CallbacksApi) end end # unit tests for create_customer # Endpoint for customer creation response # Call this endpoint with the response to a customer creation request. # @param request_id The ID of the request that this response is for # @param result_id_accounting_response The ID of the created customer. # @param [Hash] opts the optional parameters # @return [nil] describe 'create_customer test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for create_exchange_rate # Endpoint for exchange rate response # Call this endpoint with the response to an exchange rate request. # @param request_id The ID of the request that this response is for # @param exchange_rate_response The result of the exchange rate request. # @param [Hash] opts the optional parameters # @return [nil] describe 'create_exchange_rate test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for create_invoice # Endpoint for invoice creation response # Call this endpoint with the response to a invoice creation request. # @param request_id The ID of the request that this response is for # @param result_id_accounting_response The ID of the created invoice. # @param [Hash] opts the optional parameters # @return [nil] describe 'create_invoice test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for create_term # Endpoint for terms search response # Call this endpoint with the response to a terms search request. # @param request_id The ID of the request that this response is for # @param terms_response The result of the terms search # @param [Hash] opts the optional parameters # @return [nil] describe 'create_term test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for do_customer_search # Endpoint for customer search response # Call this endpoint with the response to a customer search request. # @param request_id The ID of the request that this response is for # @param customer_search_response_external The result of the customer search request. # @param [Hash] opts the optional parameters # @return [nil] describe 'do_customer_search test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for do_invoice_search # Endpoint for invoice search response # Call this endpoint with the response to a invoice search request. # @param request_id The ID of the request that this response is for # @param invoice_search_response The result of the invoice search request. # @param [Hash] opts the optional parameters # @return [nil] describe 'do_invoice_search test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for do_product_search # Endpoint for product search response # Call this endpoint with the response to a product search request. # @param request_id The ID of the request that this response is for # @param product_search_response The result of the product search request. # @param [Hash] opts the optional parameters # @return [nil] describe 'do_product_search test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for do_tax_search # Endpoint for taxes search response # Call this endpoint with the response to a taxes search request. # @param request_id The ID of the request that this response is for # @param tax_search_response The result of the taxes search request. # @param [Hash] opts the optional parameters # @return [nil] describe 'do_tax_search test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_by_id # Endpoint for invoice get-by-id response # Call this endpoint with the response to a invoice get-by-id request. # @param request_id The ID of the request that this response is for # @param invoices_response_external The result of the invoice request. # @param [Hash] opts the optional parameters # @return [nil] describe 'get_by_id test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for invoice_pdf # Endpoint for PDF content of invoice # Call this endpoint with the PDF content of a requested invoice. # @param request_id The ID of the request that this response is for # @param invoice_pdf_response The bytes of the invoice PDF. # @param [Hash] opts the optional parameters # @return [nil] describe 'invoice_pdf test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end