=begin
#Fatture in Cloud API v2 - API Reference

#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy.   The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.

The version of the OpenAPI document: 2.0.7
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.0

=end

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

# Unit tests for FattureInCloud_Ruby_Sdk::ModifyClientResponse
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe FattureInCloud_Ruby_Sdk::ModifyClientResponse do
  instance = FattureInCloud_Ruby_Sdk::ModifyClientResponse.new
  instance.data = {
    code: "AE86",
    name: "Avv. Maria Rossi",
    type: "person",
    first_name: "Maria",
    last_name: "Rossi",
    contact_person: "",
    vat_number: "IT12345640962",
    tax_code: "BLTGNI5ABCDA794E",
    address_street: "Via Roma, 1",
    address_postal_code: "20900",
    address_city: "Milano",
    address_province: "MI",
    address_extra: "",
    country: "Italia",
    email: "maria.rossi@example.com",
    certified_email: "maria.rossi@pec.example.com",
    phone: "1234567890",
    fax: "",
    notes: "",
    default_payment_terms: 1,
    default_payment_terms_type: "standard",
    bank_name: "Indesa",
    bank_iban: "IT40P123456781000000123456",
    bank_swift_code: "AK86PCT",
    shipping_address: "Corso Magellano 4",
    e_invoice: true,
    ei_code: "111111",
    default_vat: {
      id: 54321,
      value: 45,
      description: "",
      is_disabled: false
    }
  }

  describe 'test an instance of ModifyClientResponse' do
    it 'should create an instance of ModifyClientResponse' do
      expect(instance).to be_instance_of(FattureInCloud_Ruby_Sdk::ModifyClientResponse)
    end
  end
  describe 'test attribute "data"' do
    it 'should work' do
      expect(instance.data).to be_a_kind_of(Object)
    end
  end

end
