Sha256: 4727389fe7dd98f459dcc8a3c8aab8e0f5327d8d36d819a2de3b9616e0228222

Contents?: true

Size: 1.87 KB

Versions: 17

Compression:

Stored size: 1.87 KB

Contents

=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.11
Contact: info@fattureincloud.it
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.4.0

=end

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

# Unit tests for FattureInCloud_Ruby_Sdk::EInvoiceRejectionReason
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe FattureInCloud_Ruby_Sdk::EInvoiceRejectionReason do
  instance = FattureInCloud_Ruby_Sdk::EInvoiceRejectionReason.new
  instance.reason = "invalid date"
  instance.ei_status = "rejected"
  instance.solution = "set a valid date"
  instance.code = "c01"
  instance.date = Date.new(2022, 2, 2)

  describe 'test an instance of EInvoiceRejectionReason' do
    it 'should create an instance of EInvoiceRejectionReason' do
      expect(instance).to be_instance_of(FattureInCloud_Ruby_Sdk::EInvoiceRejectionReason)
    end
  end
  describe 'test attribute "reason"' do
    it 'should work' do
      expect(instance.reason).to be_a_kind_of(String)
    end
  end

  describe 'test attribute "ei_status"' do
    it 'should work' do
      expect(instance.ei_status).to be_a_kind_of(String)
    end
  end

  describe 'test attribute "solution"' do
    it 'should work' do
      expect(instance.solution).to be_a_kind_of(String)
    end
  end

  describe 'test attribute "code"' do
    it 'should work' do
      expect(instance.code).to be_a_kind_of(String)
    end
  end

  describe 'test attribute "date"' do
    it 'should work' do
      expect(instance.date).to be_a_kind_of(Date)
    end
  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
fattureincloud_ruby_sdk-2.1.1 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.1.0 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.0.20 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.0.19 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.0.18 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.0.17 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.0.16 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.0.15 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.0.14 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.0.13 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.0.12 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.0.11 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.0.10 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.0.9 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.0.8 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.0.7 spec/models/e_invoice_rejection_reason_spec.rb
fattureincloud_ruby_sdk-2.0.6 spec/models/e_invoice_rejection_reason_spec.rb