Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ValidateOnly != false)
            {
                hash ^= ValidateOnly.GetHashCode();
            }
            if (ProductId.Length != 0)
            {
                hash ^= ProductId.GetHashCode();
            }
            hash ^= usageRecords_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
 public Parameters()
 {
     this.postingPeriodField = PostingPeriod.C;
     this.ignoreWarningsField = IgnoreWarnings.N;
     this.applyIfEntireDocumentValidField = ApplyIfEntireDocumentValid.Y;
     this.validateOnlyField = ValidateOnly.N;
     this.postZeroAdjustmentsField = PostZeroAdjustments.N;
     this.ledgerDistributionCurrencyField = LedgerDistributionCurrency.L;
     this.automaticTaxCalculationField = AutomaticTaxCalculation.N;
     this.ignoreAnalysisField = ParametersIgnoreAnalysis.Y;
 }