=begin #Treezor #Treezor API. more info [here](https://www.treezor.com). OpenAPI spec version: 0.1.1 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.3.1 =end require 'spec_helper' require 'json' # Unit tests for TreezorClient::CardtransactionApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CardtransactionApi' do before do # run before each test @instance = TreezorClient::CardtransactionApi.new end after do # run after each test end describe 'test an instance of CardtransactionApi' do it 'should create an instance of CardtransactionApi' do expect(@instance).to be_instance_of(TreezorClient::CardtransactionApi) end end # unit tests for get_cardtransaction # get a card transaction # get a card transaction # @param id Card transactions's internal id. # @param [Hash] opts the optional parameters # @return [InlineResponse20011] describe 'get_cardtransaction 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 read_card_transaction # search for card transactions # Search for documents. # @param [Hash] opts the optional parameters # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). # @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). # @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). # @option opts [Integer] :cardtransaction_id Card transaction's Id # @option opts [Integer] :card_id Card's Id # @option opts [Integer] :wallet_id Card's wallet Id # @option opts [Integer] :merchant_id Merchant's Id # @option opts [String] :public_token Card's public token # @option opts [Integer] :payment_id Payment's Id # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists). # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists). # @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists). required: false # @return [InlineResponse20010] describe 'read_card_transaction test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end