/* 
 * TSE Cloud - CO
 *
 * This is Swagger Docs for Document WebApi Teamsystemn Enterprise Cloud, more detail at [https://swagger.io](https://swagger.io).
 *
 * OpenAPI spec version: v2025.3000
 * 
 * Generated by: https://github.com/swagger-api/swagger-codegen.git
 */
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
    /// <summary>
    /// Parameters for calculating deadlines
    /// </summary>
    [DataContract]
        public partial class InstalmentCalculationParametersDTO :  IEquatable<InstalmentCalculationParametersDTO>, IValidatableObject
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="InstalmentCalculationParametersDTO" /> class.
        /// </summary>
        /// <param name="art62">art62.</param>
        /// <param name="cambio">cambio.</param>
        /// <param name="idCliFor">idCliFor.</param>
        /// <param name="codPag">codPag.</param>
        /// <param name="dataBolla">dataBolla.</param>
        /// <param name="dataConsegna">dataConsegna.</param>
        /// <param name="dataDoc">dataDoc.</param>
        /// <param name="dataOrdine">dataOrdine.</param>
        /// <param name="dataRichiesta">dataRichiesta.</param>
        /// <param name="escludiScaglioniPagamento">escludiScaglioniPagamento.</param>
        /// <param name="idBancaAziendale">idBancaAziendale.</param>
        /// <param name="idBancaCliFor">idBancaCliFor.</param>
        /// <param name="idCodPag">idCodPag.</param>
        /// <param name="importoFissoEuro">importoFissoEuro.</param>
        /// <param name="importoFissoValuta">importoFissoValuta.</param>
        /// <param name="isIvaSplitPayment">isIvaSplitPayment.</param>
        /// <param name="modalitaImportoFisso">modalitaImportoFisso.</param>
        /// <param name="sottotipoSpesa">sottotipoSpesa.</param>
        /// <param name="tipoCF">tipoCF.</param>
        /// <param name="totImponibileEuro">totImponibileEuro.</param>
        /// <param name="totImponibileValuta">totImponibileValuta.</param>
        /// <param name="totIvaEuro">totIvaEuro.</param>
        /// <param name="totIvaValuta">totIvaValuta.</param>
        /// <param name="totNonSoggEuro">totNonSoggEuro.</param>
        /// <param name="totNonSoggValuta">totNonSoggValuta.</param>
        /// <param name="totRitenuteEuro">totRitenuteEuro.</param>
        /// <param name="totRitenuteValuta">totRitenuteValuta.</param>
        /// <param name="valuta">valuta.</param>
        /// <param name="additionalData">additionalData.</param>
        /// <param name="pluginData">pluginData.</param>
        public InstalmentCalculationParametersDTO(bool? art62 = default(bool?), double? cambio = default(double?), int? idCliFor = default(int?), string codPag = default(string), DateTime? dataBolla = default(DateTime?), DateTime? dataConsegna = default(DateTime?), DateTime? dataDoc = default(DateTime?), DateTime? dataOrdine = default(DateTime?), DateTime? dataRichiesta = default(DateTime?), bool? escludiScaglioniPagamento = default(bool?), long? idBancaAziendale = default(long?), int? idBancaCliFor = default(int?), long? idCodPag = default(long?), double? importoFissoEuro = default(double?), double? importoFissoValuta = default(double?), bool? isIvaSplitPayment = default(bool?), int? modalitaImportoFisso = default(int?), int? sottotipoSpesa = default(int?), int? tipoCF = default(int?), double? totImponibileEuro = default(double?), double? totImponibileValuta = default(double?), double? totIvaEuro = default(double?), double? totIvaValuta = default(double?), double? totNonSoggEuro = default(double?), double? totNonSoggValuta = default(double?), double? totRitenuteEuro = default(double?), double? totRitenuteValuta = default(double?), string valuta = default(string), Dictionary<string, Object> additionalData = default(Dictionary<string, Object>), Dictionary<string, Object> pluginData = default(Dictionary<string, Object>))
        {
            this.Art62 = art62;
            this.Cambio = cambio;
            this.IdCliFor = idCliFor;
            this.CodPag = codPag;
            this.DataBolla = dataBolla;
            this.DataConsegna = dataConsegna;
            this.DataDoc = dataDoc;
            this.DataOrdine = dataOrdine;
            this.DataRichiesta = dataRichiesta;
            this.EscludiScaglioniPagamento = escludiScaglioniPagamento;
            this.IdBancaAziendale = idBancaAziendale;
            this.IdBancaCliFor = idBancaCliFor;
            this.IdCodPag = idCodPag;
            this.ImportoFissoEuro = importoFissoEuro;
            this.ImportoFissoValuta = importoFissoValuta;
            this.IsIvaSplitPayment = isIvaSplitPayment;
            this.ModalitaImportoFisso = modalitaImportoFisso;
            this.SottotipoSpesa = sottotipoSpesa;
            this.TipoCF = tipoCF;
            this.TotImponibileEuro = totImponibileEuro;
            this.TotImponibileValuta = totImponibileValuta;
            this.TotIvaEuro = totIvaEuro;
            this.TotIvaValuta = totIvaValuta;
            this.TotNonSoggEuro = totNonSoggEuro;
            this.TotNonSoggValuta = totNonSoggValuta;
            this.TotRitenuteEuro = totRitenuteEuro;
            this.TotRitenuteValuta = totRitenuteValuta;
            this.Valuta = valuta;
            this.AdditionalData = additionalData;
            this.PluginData = pluginData;
        }
        
        /// <summary>
        /// Gets or Sets Art62
        /// </summary>
        [DataMember(Name="art62", EmitDefaultValue=false)]
        public bool? Art62 { get; set; }

        /// <summary>
        /// Gets or Sets Cambio
        /// </summary>
        [DataMember(Name="cambio", EmitDefaultValue=false)]
        public double? Cambio { get; set; }

        /// <summary>
        /// Gets or Sets IdCliFor
        /// </summary>
        [DataMember(Name="idCliFor", EmitDefaultValue=false)]
        public int? IdCliFor { get; set; }

        /// <summary>
        /// Gets or Sets CodPag
        /// </summary>
        [DataMember(Name="codPag", EmitDefaultValue=false)]
        public string CodPag { get; set; }

        /// <summary>
        /// Gets or Sets DataBolla
        /// </summary>
        [DataMember(Name="dataBolla", EmitDefaultValue=false)]
        public DateTime? DataBolla { get; set; }

        /// <summary>
        /// Gets or Sets DataConsegna
        /// </summary>
        [DataMember(Name="dataConsegna", EmitDefaultValue=false)]
        public DateTime? DataConsegna { get; set; }

        /// <summary>
        /// Gets or Sets DataDoc
        /// </summary>
        [DataMember(Name="dataDoc", EmitDefaultValue=false)]
        public DateTime? DataDoc { get; set; }

        /// <summary>
        /// Gets or Sets DataOrdine
        /// </summary>
        [DataMember(Name="dataOrdine", EmitDefaultValue=false)]
        public DateTime? DataOrdine { get; set; }

        /// <summary>
        /// Gets or Sets DataRichiesta
        /// </summary>
        [DataMember(Name="dataRichiesta", EmitDefaultValue=false)]
        public DateTime? DataRichiesta { get; set; }

        /// <summary>
        /// Gets or Sets EscludiScaglioniPagamento
        /// </summary>
        [DataMember(Name="escludiScaglioniPagamento", EmitDefaultValue=false)]
        public bool? EscludiScaglioniPagamento { get; set; }

        /// <summary>
        /// Gets or Sets IdBancaAziendale
        /// </summary>
        [DataMember(Name="idBancaAziendale", EmitDefaultValue=false)]
        public long? IdBancaAziendale { get; set; }

        /// <summary>
        /// Gets or Sets IdBancaCliFor
        /// </summary>
        [DataMember(Name="idBancaCliFor", EmitDefaultValue=false)]
        public int? IdBancaCliFor { get; set; }

        /// <summary>
        /// Gets or Sets IdCodPag
        /// </summary>
        [DataMember(Name="idCodPag", EmitDefaultValue=false)]
        public long? IdCodPag { get; set; }

        /// <summary>
        /// Gets or Sets ImportoFissoEuro
        /// </summary>
        [DataMember(Name="importoFissoEuro", EmitDefaultValue=false)]
        public double? ImportoFissoEuro { get; set; }

        /// <summary>
        /// Gets or Sets ImportoFissoValuta
        /// </summary>
        [DataMember(Name="importoFissoValuta", EmitDefaultValue=false)]
        public double? ImportoFissoValuta { get; set; }

        /// <summary>
        /// Gets or Sets IsIvaSplitPayment
        /// </summary>
        [DataMember(Name="isIvaSplitPayment", EmitDefaultValue=false)]
        public bool? IsIvaSplitPayment { get; set; }

        /// <summary>
        /// Gets or Sets ModalitaImportoFisso
        /// </summary>
        [DataMember(Name="modalitaImportoFisso", EmitDefaultValue=false)]
        public int? ModalitaImportoFisso { get; set; }

        /// <summary>
        /// Gets or Sets SottotipoSpesa
        /// </summary>
        [DataMember(Name="sottotipoSpesa", EmitDefaultValue=false)]
        public int? SottotipoSpesa { get; set; }

        /// <summary>
        /// Gets or Sets TipoCF
        /// </summary>
        [DataMember(Name="tipoCF", EmitDefaultValue=false)]
        public int? TipoCF { get; set; }

        /// <summary>
        /// Gets or Sets TotImponibileEuro
        /// </summary>
        [DataMember(Name="totImponibileEuro", EmitDefaultValue=false)]
        public double? TotImponibileEuro { get; set; }

        /// <summary>
        /// Gets or Sets TotImponibileValuta
        /// </summary>
        [DataMember(Name="totImponibileValuta", EmitDefaultValue=false)]
        public double? TotImponibileValuta { get; set; }

        /// <summary>
        /// Gets or Sets TotIvaEuro
        /// </summary>
        [DataMember(Name="totIvaEuro", EmitDefaultValue=false)]
        public double? TotIvaEuro { get; set; }

        /// <summary>
        /// Gets or Sets TotIvaValuta
        /// </summary>
        [DataMember(Name="totIvaValuta", EmitDefaultValue=false)]
        public double? TotIvaValuta { get; set; }

        /// <summary>
        /// Gets or Sets TotNonSoggEuro
        /// </summary>
        [DataMember(Name="totNonSoggEuro", EmitDefaultValue=false)]
        public double? TotNonSoggEuro { get; set; }

        /// <summary>
        /// Gets or Sets TotNonSoggValuta
        /// </summary>
        [DataMember(Name="totNonSoggValuta", EmitDefaultValue=false)]
        public double? TotNonSoggValuta { get; set; }

        /// <summary>
        /// Gets or Sets TotRitenuteEuro
        /// </summary>
        [DataMember(Name="totRitenuteEuro", EmitDefaultValue=false)]
        public double? TotRitenuteEuro { get; set; }

        /// <summary>
        /// Gets or Sets TotRitenuteValuta
        /// </summary>
        [DataMember(Name="totRitenuteValuta", EmitDefaultValue=false)]
        public double? TotRitenuteValuta { get; set; }

        /// <summary>
        /// Gets or Sets Valuta
        /// </summary>
        [DataMember(Name="valuta", EmitDefaultValue=false)]
        public string Valuta { get; set; }

        /// <summary>
        /// Gets or Sets AdditionalData
        /// </summary>
        [DataMember(Name="additionalData", EmitDefaultValue=false)]
        public Dictionary<string, Object> AdditionalData { get; set; }

        /// <summary>
        /// Gets or Sets PluginData
        /// </summary>
        [DataMember(Name="pluginData", EmitDefaultValue=false)]
        public Dictionary<string, Object> PluginData { get; set; }

        /// <summary>
        /// Returns the string presentation of the object
        /// </summary>
        /// <returns>String presentation of the object</returns>
        public override string ToString()
        {
            var sb = new StringBuilder();
            sb.Append("class InstalmentCalculationParametersDTO {\n");
            sb.Append("  Art62: ").Append(Art62).Append("\n");
            sb.Append("  Cambio: ").Append(Cambio).Append("\n");
            sb.Append("  IdCliFor: ").Append(IdCliFor).Append("\n");
            sb.Append("  CodPag: ").Append(CodPag).Append("\n");
            sb.Append("  DataBolla: ").Append(DataBolla).Append("\n");
            sb.Append("  DataConsegna: ").Append(DataConsegna).Append("\n");
            sb.Append("  DataDoc: ").Append(DataDoc).Append("\n");
            sb.Append("  DataOrdine: ").Append(DataOrdine).Append("\n");
            sb.Append("  DataRichiesta: ").Append(DataRichiesta).Append("\n");
            sb.Append("  EscludiScaglioniPagamento: ").Append(EscludiScaglioniPagamento).Append("\n");
            sb.Append("  IdBancaAziendale: ").Append(IdBancaAziendale).Append("\n");
            sb.Append("  IdBancaCliFor: ").Append(IdBancaCliFor).Append("\n");
            sb.Append("  IdCodPag: ").Append(IdCodPag).Append("\n");
            sb.Append("  ImportoFissoEuro: ").Append(ImportoFissoEuro).Append("\n");
            sb.Append("  ImportoFissoValuta: ").Append(ImportoFissoValuta).Append("\n");
            sb.Append("  IsIvaSplitPayment: ").Append(IsIvaSplitPayment).Append("\n");
            sb.Append("  ModalitaImportoFisso: ").Append(ModalitaImportoFisso).Append("\n");
            sb.Append("  SottotipoSpesa: ").Append(SottotipoSpesa).Append("\n");
            sb.Append("  TipoCF: ").Append(TipoCF).Append("\n");
            sb.Append("  TotImponibileEuro: ").Append(TotImponibileEuro).Append("\n");
            sb.Append("  TotImponibileValuta: ").Append(TotImponibileValuta).Append("\n");
            sb.Append("  TotIvaEuro: ").Append(TotIvaEuro).Append("\n");
            sb.Append("  TotIvaValuta: ").Append(TotIvaValuta).Append("\n");
            sb.Append("  TotNonSoggEuro: ").Append(TotNonSoggEuro).Append("\n");
            sb.Append("  TotNonSoggValuta: ").Append(TotNonSoggValuta).Append("\n");
            sb.Append("  TotRitenuteEuro: ").Append(TotRitenuteEuro).Append("\n");
            sb.Append("  TotRitenuteValuta: ").Append(TotRitenuteValuta).Append("\n");
            sb.Append("  Valuta: ").Append(Valuta).Append("\n");
            sb.Append("  AdditionalData: ").Append(AdditionalData).Append("\n");
            sb.Append("  PluginData: ").Append(PluginData).Append("\n");
            sb.Append("}\n");
            return sb.ToString();
        }
  
        /// <summary>
        /// Returns the JSON string presentation of the object
        /// </summary>
        /// <returns>JSON string presentation of the object</returns>
        public virtual string ToJson()
        {
            return JsonConvert.SerializeObject(this, Formatting.Indented);
        }

        /// <summary>
        /// Returns true if objects are equal
        /// </summary>
        /// <param name="input">Object to be compared</param>
        /// <returns>Boolean</returns>
        public override bool Equals(object input)
        {
            return this.Equals(input as InstalmentCalculationParametersDTO);
        }

        /// <summary>
        /// Returns true if InstalmentCalculationParametersDTO instances are equal
        /// </summary>
        /// <param name="input">Instance of InstalmentCalculationParametersDTO to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(InstalmentCalculationParametersDTO input)
        {
            if (input == null)
                return false;

            return 
                (
                    this.Art62 == input.Art62 ||
                    (this.Art62 != null &&
                    this.Art62.Equals(input.Art62))
                ) && 
                (
                    this.Cambio == input.Cambio ||
                    (this.Cambio != null &&
                    this.Cambio.Equals(input.Cambio))
                ) && 
                (
                    this.IdCliFor == input.IdCliFor ||
                    (this.IdCliFor != null &&
                    this.IdCliFor.Equals(input.IdCliFor))
                ) && 
                (
                    this.CodPag == input.CodPag ||
                    (this.CodPag != null &&
                    this.CodPag.Equals(input.CodPag))
                ) && 
                (
                    this.DataBolla == input.DataBolla ||
                    (this.DataBolla != null &&
                    this.DataBolla.Equals(input.DataBolla))
                ) && 
                (
                    this.DataConsegna == input.DataConsegna ||
                    (this.DataConsegna != null &&
                    this.DataConsegna.Equals(input.DataConsegna))
                ) && 
                (
                    this.DataDoc == input.DataDoc ||
                    (this.DataDoc != null &&
                    this.DataDoc.Equals(input.DataDoc))
                ) && 
                (
                    this.DataOrdine == input.DataOrdine ||
                    (this.DataOrdine != null &&
                    this.DataOrdine.Equals(input.DataOrdine))
                ) && 
                (
                    this.DataRichiesta == input.DataRichiesta ||
                    (this.DataRichiesta != null &&
                    this.DataRichiesta.Equals(input.DataRichiesta))
                ) && 
                (
                    this.EscludiScaglioniPagamento == input.EscludiScaglioniPagamento ||
                    (this.EscludiScaglioniPagamento != null &&
                    this.EscludiScaglioniPagamento.Equals(input.EscludiScaglioniPagamento))
                ) && 
                (
                    this.IdBancaAziendale == input.IdBancaAziendale ||
                    (this.IdBancaAziendale != null &&
                    this.IdBancaAziendale.Equals(input.IdBancaAziendale))
                ) && 
                (
                    this.IdBancaCliFor == input.IdBancaCliFor ||
                    (this.IdBancaCliFor != null &&
                    this.IdBancaCliFor.Equals(input.IdBancaCliFor))
                ) && 
                (
                    this.IdCodPag == input.IdCodPag ||
                    (this.IdCodPag != null &&
                    this.IdCodPag.Equals(input.IdCodPag))
                ) && 
                (
                    this.ImportoFissoEuro == input.ImportoFissoEuro ||
                    (this.ImportoFissoEuro != null &&
                    this.ImportoFissoEuro.Equals(input.ImportoFissoEuro))
                ) && 
                (
                    this.ImportoFissoValuta == input.ImportoFissoValuta ||
                    (this.ImportoFissoValuta != null &&
                    this.ImportoFissoValuta.Equals(input.ImportoFissoValuta))
                ) && 
                (
                    this.IsIvaSplitPayment == input.IsIvaSplitPayment ||
                    (this.IsIvaSplitPayment != null &&
                    this.IsIvaSplitPayment.Equals(input.IsIvaSplitPayment))
                ) && 
                (
                    this.ModalitaImportoFisso == input.ModalitaImportoFisso ||
                    (this.ModalitaImportoFisso != null &&
                    this.ModalitaImportoFisso.Equals(input.ModalitaImportoFisso))
                ) && 
                (
                    this.SottotipoSpesa == input.SottotipoSpesa ||
                    (this.SottotipoSpesa != null &&
                    this.SottotipoSpesa.Equals(input.SottotipoSpesa))
                ) && 
                (
                    this.TipoCF == input.TipoCF ||
                    (this.TipoCF != null &&
                    this.TipoCF.Equals(input.TipoCF))
                ) && 
                (
                    this.TotImponibileEuro == input.TotImponibileEuro ||
                    (this.TotImponibileEuro != null &&
                    this.TotImponibileEuro.Equals(input.TotImponibileEuro))
                ) && 
                (
                    this.TotImponibileValuta == input.TotImponibileValuta ||
                    (this.TotImponibileValuta != null &&
                    this.TotImponibileValuta.Equals(input.TotImponibileValuta))
                ) && 
                (
                    this.TotIvaEuro == input.TotIvaEuro ||
                    (this.TotIvaEuro != null &&
                    this.TotIvaEuro.Equals(input.TotIvaEuro))
                ) && 
                (
                    this.TotIvaValuta == input.TotIvaValuta ||
                    (this.TotIvaValuta != null &&
                    this.TotIvaValuta.Equals(input.TotIvaValuta))
                ) && 
                (
                    this.TotNonSoggEuro == input.TotNonSoggEuro ||
                    (this.TotNonSoggEuro != null &&
                    this.TotNonSoggEuro.Equals(input.TotNonSoggEuro))
                ) && 
                (
                    this.TotNonSoggValuta == input.TotNonSoggValuta ||
                    (this.TotNonSoggValuta != null &&
                    this.TotNonSoggValuta.Equals(input.TotNonSoggValuta))
                ) && 
                (
                    this.TotRitenuteEuro == input.TotRitenuteEuro ||
                    (this.TotRitenuteEuro != null &&
                    this.TotRitenuteEuro.Equals(input.TotRitenuteEuro))
                ) && 
                (
                    this.TotRitenuteValuta == input.TotRitenuteValuta ||
                    (this.TotRitenuteValuta != null &&
                    this.TotRitenuteValuta.Equals(input.TotRitenuteValuta))
                ) && 
                (
                    this.Valuta == input.Valuta ||
                    (this.Valuta != null &&
                    this.Valuta.Equals(input.Valuta))
                ) && 
                (
                    this.AdditionalData == input.AdditionalData ||
                    this.AdditionalData != null &&
                    input.AdditionalData != null &&
                    this.AdditionalData.SequenceEqual(input.AdditionalData)
                ) && 
                (
                    this.PluginData == input.PluginData ||
                    this.PluginData != null &&
                    input.PluginData != null &&
                    this.PluginData.SequenceEqual(input.PluginData)
                );
        }

        /// <summary>
        /// Gets the hash code
        /// </summary>
        /// <returns>Hash code</returns>
        public override int GetHashCode()
        {
            unchecked // Overflow is fine, just wrap
            {
                int hashCode = 41;
                if (this.Art62 != null)
                    hashCode = hashCode * 59 + this.Art62.GetHashCode();
                if (this.Cambio != null)
                    hashCode = hashCode * 59 + this.Cambio.GetHashCode();
                if (this.IdCliFor != null)
                    hashCode = hashCode * 59 + this.IdCliFor.GetHashCode();
                if (this.CodPag != null)
                    hashCode = hashCode * 59 + this.CodPag.GetHashCode();
                if (this.DataBolla != null)
                    hashCode = hashCode * 59 + this.DataBolla.GetHashCode();
                if (this.DataConsegna != null)
                    hashCode = hashCode * 59 + this.DataConsegna.GetHashCode();
                if (this.DataDoc != null)
                    hashCode = hashCode * 59 + this.DataDoc.GetHashCode();
                if (this.DataOrdine != null)
                    hashCode = hashCode * 59 + this.DataOrdine.GetHashCode();
                if (this.DataRichiesta != null)
                    hashCode = hashCode * 59 + this.DataRichiesta.GetHashCode();
                if (this.EscludiScaglioniPagamento != null)
                    hashCode = hashCode * 59 + this.EscludiScaglioniPagamento.GetHashCode();
                if (this.IdBancaAziendale != null)
                    hashCode = hashCode * 59 + this.IdBancaAziendale.GetHashCode();
                if (this.IdBancaCliFor != null)
                    hashCode = hashCode * 59 + this.IdBancaCliFor.GetHashCode();
                if (this.IdCodPag != null)
                    hashCode = hashCode * 59 + this.IdCodPag.GetHashCode();
                if (this.ImportoFissoEuro != null)
                    hashCode = hashCode * 59 + this.ImportoFissoEuro.GetHashCode();
                if (this.ImportoFissoValuta != null)
                    hashCode = hashCode * 59 + this.ImportoFissoValuta.GetHashCode();
                if (this.IsIvaSplitPayment != null)
                    hashCode = hashCode * 59 + this.IsIvaSplitPayment.GetHashCode();
                if (this.ModalitaImportoFisso != null)
                    hashCode = hashCode * 59 + this.ModalitaImportoFisso.GetHashCode();
                if (this.SottotipoSpesa != null)
                    hashCode = hashCode * 59 + this.SottotipoSpesa.GetHashCode();
                if (this.TipoCF != null)
                    hashCode = hashCode * 59 + this.TipoCF.GetHashCode();
                if (this.TotImponibileEuro != null)
                    hashCode = hashCode * 59 + this.TotImponibileEuro.GetHashCode();
                if (this.TotImponibileValuta != null)
                    hashCode = hashCode * 59 + this.TotImponibileValuta.GetHashCode();
                if (this.TotIvaEuro != null)
                    hashCode = hashCode * 59 + this.TotIvaEuro.GetHashCode();
                if (this.TotIvaValuta != null)
                    hashCode = hashCode * 59 + this.TotIvaValuta.GetHashCode();
                if (this.TotNonSoggEuro != null)
                    hashCode = hashCode * 59 + this.TotNonSoggEuro.GetHashCode();
                if (this.TotNonSoggValuta != null)
                    hashCode = hashCode * 59 + this.TotNonSoggValuta.GetHashCode();
                if (this.TotRitenuteEuro != null)
                    hashCode = hashCode * 59 + this.TotRitenuteEuro.GetHashCode();
                if (this.TotRitenuteValuta != null)
                    hashCode = hashCode * 59 + this.TotRitenuteValuta.GetHashCode();
                if (this.Valuta != null)
                    hashCode = hashCode * 59 + this.Valuta.GetHashCode();
                if (this.AdditionalData != null)
                    hashCode = hashCode * 59 + this.AdditionalData.GetHashCode();
                if (this.PluginData != null)
                    hashCode = hashCode * 59 + this.PluginData.GetHashCode();
                return hashCode;
            }
        }

        /// <summary>
        /// To validate all properties of the instance
        /// </summary>
        /// <param name="validationContext">Validation context</param>
        /// <returns>Validation Result</returns>
        IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
        {
            yield break;
        }
    }
}
