Sha256: 7110700c41fcfe82275e23c0720ca05a0602f3cb5b203c617eb01675d56710a9
Contents?: true
Size: 1.74 KB
Versions: 21
Compression:
Stored size: 1.74 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.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::ModifyProductRequest # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe FattureInCloud_Ruby_Sdk::ModifyProductRequest do instance = FattureInCloud_Ruby_Sdk::ModifyProductRequest.new instance.data = { id: 12345, name: "Tavolo di marmo", code: "TAVOLO003", net_price: 240, gross_price: 280, use_gross_price: false, net_cost: 0, measure: "", description: "Tavolo in marmo pregiato", category: "arredamento", in_stock: true, created_at: "2021-08-09", updated_at: "2021-08-15", default_vat: { id: 3, value: 22, description: "Non imponibile art. 123", notes: "IVA non imponibile ai sensi dell\'articolo 123, comma 2", is_disabled: false }, stock_initial: 123, stock_current: 123 } describe 'test an instance of ModifyProductRequest' do it 'should create an instance of ModifyProductRequest' do expect(instance).to be_instance_of(FattureInCloud_Ruby_Sdk::ModifyProductRequest) end end describe 'test attribute "data"' do it 'should work' do expect(instance.data).to be_a_kind_of(Object) end end end
Version data entries
21 entries across 21 versions & 1 rubygems