Sha256: 81ca8ab93989a2897f28e53a2625e9139bc38bce0d157368a5254bce0bcea4d0

Contents?: true

Size: 1.7 KB

Versions: 1

Compression:

Stored size: 1.7 KB

Contents

=begin
#Payment Gateway API Specification.

#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.

The version of the OpenAPI document: 6.14.0.20201015.001

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.1.1

=end

require 'spec_helper'
require 'json'
require 'date'

# Unit tests for OpenapiClient::ChinaDomesticPaymentMethodAllOf
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'ChinaDomesticPaymentMethodAllOf' do
  before do
    # run before each test
    @instance = OpenapiClient::ChinaDomesticPaymentMethodAllOf.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of ChinaDomesticPaymentMethodAllOf' do
    it 'should create an instance of ChinaDomesticPaymentMethodAllOf' do
      expect(@instance).to be_instance_of(OpenapiClient::ChinaDomesticPaymentMethodAllOf)
    end
  end
  describe 'test attribute "china_domestic"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "brand"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
      # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ALIPAY_DOMESTIC", "CUP_DOMESTIC", "WECHAT_DOMESTIC"])
      # validator.allowable_values.each do |value|
      #   expect { @instance.brand = value }.not_to raise_error
      # end
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
first_data_gateway-1.9.0 spec/models/china_domestic_payment_method_all_of_spec.rb