=begin #Subskribe API #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.41 =end require 'spec_helper' require 'json' # Unit tests for SubskribeDevClient::RevenueRecognitionApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'RevenueRecognitionApi' do before do # run before each test @instance = SubskribeDevClient::RevenueRecognitionApi.new end after do # run after each test end describe 'test an instance of RevenueRecognitionApi' do it 'should create an instance of RevenueRecognitionApi' do expect(@instance).to be_instance_of(SubskribeDevClient::RevenueRecognitionApi) end end # unit tests for add_recognition_rule # Create a revenue recognition rule # Creates a revenue recognition rule. # @param body recognition rule details # @param [Hash] opts the optional parameters # @return [nil] describe 'add_recognition_rule 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_recognition_event # Create a revenue recognition event # Creates a revenue recognition event, only if it is different from the previous event for same subscription and charge. # @param body recognition event details # @param [Hash] opts the optional parameters # @return [nil] describe 'create_recognition_event 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 delete_rule # Delete a recognition rule # Deletes a recognition rule. Note you can't delete a recognition rule that's in use. # @param rule_id id of the recognition rule # @param [Hash] opts the optional parameters # @return [RecognitionRule] describe 'delete_rule 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_recognition_events_by_subscription_id_charge_id # Get revenue recognition events # Gets revenue recognition events for the specified subscription and charge. # @param subscription_id id of the subscription # @param charge_id id of the charge # @param [Hash] opts the optional parameters # @option opts [String] :accounting_period_id id of the accounting period to limit events to # @return [Array] describe 'get_recognition_events_by_subscription_id_charge_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 get_recognition_rule_by_id # Get revenue recognition rules # Get revenue recognition rules. # @param [Hash] opts the optional parameters # @return [nil] describe 'get_recognition_rule_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 get_recognition_rule_by_id1 # Get revenue recognition rule # Get a revenue recognition rule using id. # @param id id of the recognition rule # @param [Hash] opts the optional parameters # @return [nil] describe 'get_recognition_rule_by_id1 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_revenue_waterfall # Download waterfall report # Downloads a revenue waterfall report in csv format. # @param [Hash] opts the optional parameters # @option opts [Integer] :start_date report start date as unix timestamp # @option opts [Integer] :end_date report end date as unix timestamp # @return [nil] describe 'get_revenue_waterfall 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_revenue_waterfall_report_v2 # Download waterfall report # Downloads a revenue waterfall report in csv format. # @param [Hash] opts the optional parameters # @return [nil] describe 'get_revenue_waterfall_report_v2 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 upload_completion_events # Upload revenue events # Uploads revenue events from a csv file. The format of the file is Subscription.Id,Charge.Id,Alias.Id,RevrecEvent.PercentComplete Percent complete should be a decimal. # @param [Hash] opts the optional parameters # @option opts [File] :file # @return [nil] describe 'upload_completion_events test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end