=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::MerchantIdRestrictionGroupsApi # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'MerchantIdRestrictionGroupsApi' do before do # run before each test @instance = TreezorClient::MerchantIdRestrictionGroupsApi.new end after do # run after each test end describe 'test an instance of MerchantIdRestrictionGroupsApi' do it 'should create an instance of MerchantIdRestrictionGroupsApi' do expect(@instance).to be_instance_of(TreezorClient::MerchantIdRestrictionGroupsApi) end end # unit tests for delete_merchant_id_restriction_groups # cancel a merchant id restriction group # Cancel a merchant id restriction group from the system. # @param id Merchant ID restriction Group internal id. # @param [Hash] opts the optional parameters # @option opts [Array] :fields List of the object's properties you want to pick up. # @return [InlineResponse20015] describe 'delete_merchant_id_restriction_groups 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_merchant_id_restriction_group # search merchant id restriction groups # Get merchant ID restriction groups that match search criteria. # @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 [Array] :fields List of the object's properties you want to pick up. # @option opts [String] :filter You can filter the API response by using filter(s). Filterable fields are : - id - name - isWhitelist - status - startDate - createdDate Filters should be separated by a \";\". Example for 3 filters : FILTER1;FILTER2;FILTER3. A single filter has the following syntax : \"fieldName criterion expression\". Where : - fieldName : the name of a filterable field of this object. - expression : the values to be included or excluded (see the table below for more information) - criterion : a filter criterion. Here are the possible values for criterion : | Criteria | Description | Type | Expression Example | |----------|------------------------|------------------------------------------|--------------------| | > | greater than | alphanumeric string | 100 | | >= | greater or equal than | alphanumeric string | 100 | | < | less than | alphanumeric string | 100 | | <= | less or equal than | alphanumeric string | 100 | | != | not equal to | alphanumeric string | 100 | | like | like | alphanumeric string | 100 | | in | in | alphanumeric strings separated by commas | 100,30,25 | | == | equals | alphanumeric string | 100 | # @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). # @option opts [String] :sort_order The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists). # @return [InlineResponse20015] describe 'get_merchant_id_restriction_group 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_merchant_id_restriction_groups_id # get a merchant ID restriction group # Get a merchant ID restriction group from the system. # @param id Merchant ID restriction Group internal id. # @param [Hash] opts the optional parameters # @option opts [Array] :fields List of the object's properties you want to pick up. # @return [InlineResponse20015] describe 'get_merchant_id_restriction_groups_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 post_merchant_id_restriction_group # create a merchantIdRestrictionGroup # Create a new merchant ID restriction group in the system. # @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 [Body7] :body # @return [InlineResponse20015] describe 'post_merchant_id_restriction_group 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 put_merchant_id_restriction_groups # edit a merchant id restriction group # Edit a merchant id restriction group in the system. # @param id Merchant ID restriction group's id. # @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 [Body8] :body # @return [InlineResponse20015] describe 'put_merchant_id_restriction_groups test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end