public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            if (obj == this)
            {
                return(true);
            }

            return(obj is Customer other &&
                   ((Id == null && other.Id == null) || (Id?.Equals(other.Id) == true)) &&
                   ((CreatedAt == null && other.CreatedAt == null) || (CreatedAt?.Equals(other.CreatedAt) == true)) &&
                   ((UpdatedAt == null && other.UpdatedAt == null) || (UpdatedAt?.Equals(other.UpdatedAt) == true)) &&
                   ((Cards == null && other.Cards == null) || (Cards?.Equals(other.Cards) == true)) &&
                   ((GivenName == null && other.GivenName == null) || (GivenName?.Equals(other.GivenName) == true)) &&
                   ((FamilyName == null && other.FamilyName == null) || (FamilyName?.Equals(other.FamilyName) == true)) &&
                   ((Nickname == null && other.Nickname == null) || (Nickname?.Equals(other.Nickname) == true)) &&
                   ((CompanyName == null && other.CompanyName == null) || (CompanyName?.Equals(other.CompanyName) == true)) &&
                   ((EmailAddress == null && other.EmailAddress == null) || (EmailAddress?.Equals(other.EmailAddress) == true)) &&
                   ((Address == null && other.Address == null) || (Address?.Equals(other.Address) == true)) &&
                   ((PhoneNumber == null && other.PhoneNumber == null) || (PhoneNumber?.Equals(other.PhoneNumber) == true)) &&
                   ((Birthday == null && other.Birthday == null) || (Birthday?.Equals(other.Birthday) == true)) &&
                   ((ReferenceId == null && other.ReferenceId == null) || (ReferenceId?.Equals(other.ReferenceId) == true)) &&
                   ((Note == null && other.Note == null) || (Note?.Equals(other.Note) == true)) &&
                   ((Preferences == null && other.Preferences == null) || (Preferences?.Equals(other.Preferences) == true)) &&
                   ((Groups == null && other.Groups == null) || (Groups?.Equals(other.Groups) == true)) &&
                   ((CreationSource == null && other.CreationSource == null) || (CreationSource?.Equals(other.CreationSource) == true)) &&
                   ((GroupIds == null && other.GroupIds == null) || (GroupIds?.Equals(other.GroupIds) == true)) &&
                   ((SegmentIds == null && other.SegmentIds == null) || (SegmentIds?.Equals(other.SegmentIds) == true)));
        }
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            if (obj == this)
            {
                return(true);
            }

            return(obj is CreateCustomerRequest other &&
                   ((IdempotencyKey == null && other.IdempotencyKey == null) || (IdempotencyKey?.Equals(other.IdempotencyKey) == true)) &&
                   ((GivenName == null && other.GivenName == null) || (GivenName?.Equals(other.GivenName) == true)) &&
                   ((FamilyName == null && other.FamilyName == null) || (FamilyName?.Equals(other.FamilyName) == true)) &&
                   ((CompanyName == null && other.CompanyName == null) || (CompanyName?.Equals(other.CompanyName) == true)) &&
                   ((Nickname == null && other.Nickname == null) || (Nickname?.Equals(other.Nickname) == true)) &&
                   ((EmailAddress == null && other.EmailAddress == null) || (EmailAddress?.Equals(other.EmailAddress) == true)) &&
                   ((Address == null && other.Address == null) || (Address?.Equals(other.Address) == true)) &&
                   ((PhoneNumber == null && other.PhoneNumber == null) || (PhoneNumber?.Equals(other.PhoneNumber) == true)) &&
                   ((ReferenceId == null && other.ReferenceId == null) || (ReferenceId?.Equals(other.ReferenceId) == true)) &&
                   ((Note == null && other.Note == null) || (Note?.Equals(other.Note) == true)) &&
                   ((Birthday == null && other.Birthday == null) || (Birthday?.Equals(other.Birthday) == true)));
        }
Beispiel #3
0
        public string getAddressHTMLFormat()
        {
            string Address = Name + " " + LastName + "<br>";

            if (CompanyName == null || CompanyName.Equals("") || CompanyName.Equals(" "))
            {
                Address += "";
            }
            else
            {
                Address += CompanyName + "<br>";
            }
            Address += Address1 + "<br>";

            if (Address2 == null || Address2.Equals("") || Address2.Equals(" "))
            {
                Address += "";
            }
            else
            {
                Address += Address2 + "<br>";
            }

            Address += City + ", " + Stat + " " + Zip + "<br>"
                       + Country;

            return(Address);
        }
        /// <summary>
        /// Returns true if PaymentProduct840CustomerAccount instances are equal
        /// </summary>
        /// <param name="other">Instance of PaymentProduct840CustomerAccount to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(PaymentProduct840CustomerAccount other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     AccountId == other.AccountId ||
                     AccountId != null &&
                     AccountId.Equals(other.AccountId)
                     ) &&
                 (
                     BillingAgreementId == other.BillingAgreementId ||
                     BillingAgreementId != null &&
                     BillingAgreementId.Equals(other.BillingAgreementId)
                 ) &&
                 (
                     CompanyName == other.CompanyName ||
                     CompanyName != null &&
                     CompanyName.Equals(other.CompanyName)
                 ) &&
                 (
                     CountryCode == other.CountryCode ||
                     CountryCode != null &&
                     CountryCode.Equals(other.CountryCode)
                 ) &&
                 (
                     CustomerAccountStatus == other.CustomerAccountStatus ||
                     CustomerAccountStatus != null &&
                     CustomerAccountStatus.Equals(other.CustomerAccountStatus)
                 ) &&
                 (
                     CustomerAddressStatus == other.CustomerAddressStatus ||
                     CustomerAddressStatus != null &&
                     CustomerAddressStatus.Equals(other.CustomerAddressStatus)
                 ) &&
                 (
                     FirstName == other.FirstName ||
                     FirstName != null &&
                     FirstName.Equals(other.FirstName)
                 ) &&
                 (
                     PayerId == other.PayerId ||
                     PayerId != null &&
                     PayerId.Equals(other.PayerId)
                 ) &&
                 (
                     Surname == other.Surname ||
                     Surname != null &&
                     Surname.Equals(other.Surname)
                 ));
        }
Beispiel #5
0
        /// <summary>
        /// Returns true if DepartmentDocumentRequest instances are equal
        /// </summary>
        /// <param name="other">Instance of DepartmentDocumentRequest to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(DepartmentDocumentRequest other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     CheckNumber == other.CheckNumber ||
                     CheckNumber != null &&
                     CheckNumber.Equals(other.CheckNumber)
                     ) &&
                 (
                     FirstName == other.FirstName ||
                     FirstName != null &&
                     FirstName.Equals(other.FirstName)
                 ) &&
                 (
                     LastName == other.LastName ||
                     LastName != null &&
                     LastName.Equals(other.LastName)
                 ) &&
                 (
                     CompanyName == other.CompanyName ||
                     CompanyName != null &&
                     CompanyName.Equals(other.CompanyName)
                 ) &&
                 (
                     CheckAmount == other.CheckAmount ||
                     CheckAmount != null &&
                     CheckAmount.Equals(other.CheckAmount)
                 ) &&
                 (
                     CashListing == other.CashListing ||
                     CashListing != null &&
                     CashListing.Equals(other.CashListing)
                 ) &&
                 (
                     Comments == other.Comments ||
                     Comments != null &&
                     Comments.Equals(other.Comments)
                 ));
        }
        /// <summary>
        /// Returns true if MandateCustomer instances are equal
        /// </summary>
        /// <param name="other">Instance of MandateCustomer to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(MandateCustomer other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     BankAccountIban == other.BankAccountIban ||
                     BankAccountIban != null &&
                     BankAccountIban.Equals(other.BankAccountIban)
                     ) &&
                 (
                     CompanyName == other.CompanyName ||
                     CompanyName != null &&
                     CompanyName.Equals(other.CompanyName)
                 ) &&
                 (
                     ContactDetails == other.ContactDetails ||
                     ContactDetails != null &&
                     ContactDetails.Equals(other.ContactDetails)
                 ) &&
                 (
                     MandateAddress == other.MandateAddress ||
                     MandateAddress != null &&
                     MandateAddress.Equals(other.MandateAddress)
                 ) &&
                 (
                     PersonalInformation == other.PersonalInformation ||
                     PersonalInformation != null &&
                     PersonalInformation.Equals(other.PersonalInformation)
                 ));
        }
Beispiel #7
0
        /// <summary>
        /// Returns true if Customer instances are equal
        /// </summary>
        /// <param name="other">Instance of Customer to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(Customer other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     CustomerId == other.CustomerId ||
                     CustomerId != null &&
                     CustomerId.Equals(other.CustomerId)
                     ) &&
                 (
                     CustomerCode == other.CustomerCode ||
                     CustomerCode != null &&
                     CustomerCode.Equals(other.CustomerCode)
                 ) &&
                 (
                     CustomerName == other.CustomerName ||
                     CustomerName != null &&
                     CustomerName.Equals(other.CustomerName)
                 ) &&
                 (
                     Email == other.Email ||
                     Email != null &&
                     Email.Equals(other.Email)
                 ) &&
                 (
                     CompanyName == other.CompanyName ||
                     CompanyName != null &&
                     CompanyName.Equals(other.CompanyName)
                 ) &&
                 (
                     CustomerGroupId == other.CustomerGroupId ||
                     CustomerGroupId != null &&
                     CustomerGroupId.Equals(other.CustomerGroupId)
                 ) &&
                 (
                     DebitMoney == other.DebitMoney ||

                     DebitMoney.Equals(other.DebitMoney)
                 ) &&
                 (
                     Address == other.Address ||
                     Address != null &&
                     Address.Equals(other.Address)
                 ) &&
                 (
                     PhoneNumber == other.PhoneNumber ||
                     PhoneNumber != null &&
                     PhoneNumber.Equals(other.PhoneNumber)
                 ) &&
                 (
                     DateOfBirth == other.DateOfBirth ||
                     DateOfBirth != null &&
                     DateOfBirth.Equals(other.DateOfBirth)
                 ));
        }
Beispiel #8
0
        /// <summary>
        /// Returns true if DepartmentDocument instances are equal
        /// </summary>
        /// <param name="other">Instance of DepartmentDocument to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(DepartmentDocumentDto other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     DepartmentDocumentNumber == other.DepartmentDocumentNumber ||
                     DepartmentDocumentNumber != null &&
                     DepartmentDocumentNumber.Equals(other.DepartmentDocumentNumber)
                     ) &&
                 (
                     TransmittalNumber == other.TransmittalNumber ||
                     TransmittalNumber != null &&
                     TransmittalNumber.Equals(other.TransmittalNumber)
                 ) &&
                 (
                     CheckNumber == other.CheckNumber ||
                     CheckNumber != null &&
                     CheckNumber.Equals(other.CheckNumber)
                 ) &&
                 (
                     FirstName == other.FirstName ||
                     FirstName != null &&
                     FirstName.Equals(other.FirstName)
                 ) &&
                 (
                     LastName == other.LastName ||
                     LastName != null &&
                     LastName.Equals(other.LastName)
                 ) &&
                 (
                     CompanyName == other.CompanyName ||
                     CompanyName != null &&
                     CompanyName.Equals(other.CompanyName)
                 ) &&
                 (
                     CheckAmount == other.CheckAmount ||
                     CheckAmount != null &&
                     CheckAmount.Equals(other.CheckAmount)
                 ) &&
                 (
                     CashListing == other.CashListing ||
                     CashListing != null &&
                     CashListing.Equals(other.CashListing)
                 ) &&
                 (
                     Comments == other.Comments ||
                     Comments != null &&
                     Comments.Equals(other.Comments)
                 ) &&
                 (
                     DateTimeStamp == other.DateTimeStamp ||
                     DateTimeStamp != null &&
                     DateTimeStamp.Equals(other.DateTimeStamp)
                 ));
        }
Beispiel #9
0
        /// <inheritdoc />
        /// <summary>
        /// Returns true if UpdateSpeakerDraftParameters instances are equal
        /// </summary>
        /// <param name="other">Instance of UpdateSpeakerDraftParameters to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(UpdateSpeakerDraftParameters other)
        {
#pragma warning disable IDE0041 // Use 'is null' check
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

#pragma warning disable CA1309                  // Use ordinal stringcomparison
#pragma warning disable CA1307                  // Specify StringComparison
#pragma warning disable SA1515                  // Single-line comment must be preceded by blank line
#pragma warning disable SA1009                  // Closing parenthesis must be spaced correctly
            return
                (#pragma warning disable SA1119 // Statement must not use unnecessary parenthesis
                 (
                     // ReSharper disable once RedundantNameQualifier
                     string.Equals(FirstName, other.FirstName) ||
                     (FirstName != null && FirstName.Equals(other.FirstName))
                 ) &&
                 (
                     // ReSharper disable once RedundantNameQualifier
                     string.Equals(LastName, other.LastName) ||
                     (LastName != null && LastName.Equals(other.LastName))
                 ) &&
                 (
                     // ReSharper disable once RedundantNameQualifier
                     string.Equals(CompanyName, other.CompanyName) ||
                     (CompanyName != null && CompanyName.Equals(other.CompanyName))
                 ) &&
                 (
                     // ReSharper disable once RedundantNameQualifier
                     string.Equals(CompanyUrl, other.CompanyUrl) ||
                     (CompanyUrl != null && CompanyUrl.Equals(other.CompanyUrl))
                 ) &&
                 (
                     // ReSharper disable once RedundantNameQualifier
                     string.Equals(Description, other.Description) ||
                     (Description != null && Description.Equals(other.Description))
                 ) &&
                 (
                     // ReSharper disable once RedundantNameQualifier
                     string.Equals(BlogsUrl, other.BlogsUrl) ||
                     (BlogsUrl != null && BlogsUrl.Equals(other.BlogsUrl))
                 ) &&
                 (
                     // ReSharper disable once RedundantNameQualifier
                     string.Equals(ContactsUrl, other.ContactsUrl) ||
                     (ContactsUrl != null && ContactsUrl.Equals(other.ContactsUrl))
                 ) &&
                 (
                     // ReSharper disable once RedundantNameQualifier
                     string.Equals(TwitterUrl, other.TwitterUrl) ||
                     (TwitterUrl != null && TwitterUrl.Equals(other.TwitterUrl))
                 ) &&
                 (
                     // ReSharper disable once RedundantNameQualifier
                     string.Equals(HabrUrl, other.HabrUrl) ||
                     (HabrUrl != null && HabrUrl.Equals(other.HabrUrl))
                 ) &&
                 (
                     // ReSharper disable once RedundantNameQualifier
                     string.Equals(GitHubUrl, other.GitHubUrl) ||
                     (GitHubUrl != null && GitHubUrl.Equals(other.GitHubUrl))
                 ) &&
                 (
                     MeetupIds == other.MeetupIds ||
                     (MeetupIds != null && MeetupIds.SequenceEqual(other.MeetupIds))
                 ) &&
                 (
                     TalkIds == other.TalkIds ||
                     (TalkIds != null && TalkIds.SequenceEqual(other.TalkIds))
                 ) &&
                 (
                     VenueIds == other.VenueIds ||
                     (VenueIds != null && VenueIds.SequenceEqual(other.VenueIds))
                 ));

#pragma warning restore SA1119 // Statement must not use unnecessary parenthesis
#pragma warning restore SA1009 // Closing parenthesis must be spaced correctly
#pragma warning restore SA1515 // Single-line comment must be preceded by blank line
#pragma warning restore CA1307 // Specify StringComparison
#pragma warning restore CA1309 // Use ordinal stringcomparison
        }
Beispiel #10
0
        /// <summary>
        /// Returns true if Item instances are equal
        /// </summary>
        /// <param name="other">Instance of Item to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(Item other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Upc == other.Upc ||
                     Upc != null &&
                     Upc.Equals(other.Upc)
                     ) &&
                 (
                     Ean == other.Ean ||
                     Ean != null &&
                     Ean.Equals(other.Ean)
                 ) &&
                 (
                     Isbn == other.Isbn ||
                     Isbn != null &&
                     Isbn.Equals(other.Isbn)
                 ) &&
                 (
                     Asin == other.Asin ||
                     Asin != null &&
                     Asin.Equals(other.Asin)
                 ) &&
                 (
                     Title == other.Title ||
                     Title != null &&
                     Title.Equals(other.Title)
                 ) &&
                 (
                     Sku == other.Sku ||
                     Sku != null &&
                     Sku.Equals(other.Sku)
                 ) &&
                 (
                     Mpn == other.Mpn ||
                     Mpn != null &&
                     Mpn.Equals(other.Mpn)
                 ) &&
                 (
                     PartNumber == other.PartNumber ||
                     PartNumber != null &&
                     PartNumber.Equals(other.PartNumber)
                 ) &&
                 (
                     Upcs == other.Upcs ||
                     Upcs != null &&
                     other.Upcs != null &&
                     Upcs.SequenceEqual(other.Upcs)
                 ) &&
                 (
                     Description == other.Description ||
                     Description != null &&
                     Description.Equals(other.Description)
                 ) &&
                 (
                     Brand == other.Brand ||
                     Brand != null &&
                     Brand.Equals(other.Brand)
                 ) &&
                 (
                     Manufacturer == other.Manufacturer ||
                     Manufacturer != null &&
                     Manufacturer.Equals(other.Manufacturer)
                 ) &&
                 (
                     Color == other.Color ||
                     Color != null &&
                     Color.Equals(other.Color)
                 ) &&
                 (
                     NewPrice == other.NewPrice ||

                     NewPrice.Equals(other.NewPrice)
                 ) &&
                 (
                     UsedPrice == other.UsedPrice ||

                     UsedPrice.Equals(other.UsedPrice)
                 ) &&
                 (
                     CurrencyCode == other.CurrencyCode ||
                     CurrencyCode != null &&
                     CurrencyCode.Equals(other.CurrencyCode)
                 ) &&
                 (
                     Url == other.Url ||
                     Url != null &&
                     Url.Equals(other.Url)
                 ) &&
                 (
                     Features == other.Features ||
                     Features != null &&
                     other.Features != null &&
                     Features.SequenceEqual(other.Features)
                 ) &&
                 (
                     Dimensions == other.Dimensions ||
                     Dimensions != null &&
                     other.Dimensions != null &&
                     Dimensions.SequenceEqual(other.Dimensions)
                 ) &&
                 (
                     Images == other.Images ||
                     Images != null &&
                     other.Images != null &&
                     Images.SequenceEqual(other.Images)
                 ) &&
                 (
                     MatchedItems == other.MatchedItems ||
                     MatchedItems != null &&
                     other.MatchedItems != null &&
                     MatchedItems.SequenceEqual(other.MatchedItems)
                 ) &&
                 (
                     IsoCountryCodes == other.IsoCountryCodes ||
                     IsoCountryCodes != null &&
                     other.IsoCountryCodes != null &&
                     IsoCountryCodes.SequenceEqual(other.IsoCountryCodes)
                 ) &&
                 (
                     CompanyName == other.CompanyName ||
                     CompanyName != null &&
                     CompanyName.Equals(other.CompanyName)
                 ) &&
                 (
                     CompanyAddress == other.CompanyAddress ||
                     CompanyAddress != null &&
                     CompanyAddress.Equals(other.CompanyAddress)
                 ) &&
                 (
                     Categories == other.Categories ||
                     Categories != null &&
                     other.Categories != null &&
                     Categories.SequenceEqual(other.Categories)
                 ) &&
                 (
                     CategoryHierarchies == other.CategoryHierarchies ||
                     CategoryHierarchies != null &&
                     other.CategoryHierarchies != null &&
                     CategoryHierarchies.SequenceEqual(other.CategoryHierarchies)
                 ));
        }
Beispiel #11
0
        /// <summary>
        /// Returns true if DepartmentDocumentSearchResponse instances are equal
        /// </summary>
        /// <param name="other">Instance of DepartmentDocumentSearchResponse to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(DepartmentDocumentSearchResponse other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     FirstName == other.FirstName ||
                     FirstName != null &&
                     FirstName.Equals(other.FirstName)
                     ) &&
                 (
                     LastName == other.LastName ||
                     LastName != null &&
                     LastName.Equals(other.LastName)
                 ) &&
                 (
                     CompanyName == other.CompanyName ||
                     CompanyName != null &&
                     CompanyName.Equals(other.CompanyName)
                 ) &&
                 (
                     DepartmentDocumentNumber == other.DepartmentDocumentNumber ||
                     DepartmentDocumentNumber != null &&
                     DepartmentDocumentNumber.Equals(other.DepartmentDocumentNumber)
                 ) &&
                 (
                     CheckNumber == other.CheckNumber ||
                     CheckNumber != null &&
                     CheckNumber.Equals(other.CheckNumber)
                 ) &&
                 (
                     CheckAmount == other.CheckAmount ||
                     CheckAmount != null &&
                     CheckAmount.Equals(other.CheckAmount)
                 ) &&
                 (
                     CheckDate == other.CheckDate ||
                     CheckDate != null &&
                     CheckDate.Equals(other.CheckDate)
                 ) &&
                 (
                     TransmittalNumber == other.TransmittalNumber ||
                     TransmittalNumber != null &&
                     TransmittalNumber.Equals(other.TransmittalNumber)
                 ) &&
                 (
                     TransmittalStatus == other.TransmittalStatus ||
                     TransmittalStatus != null &&
                     TransmittalStatus.Equals(other.TransmittalStatus)
                 ) &&
                 (
                     DepositNumber == other.DepositNumber ||
                     DepositNumber != null &&
                     DepositNumber.Equals(other.DepositNumber)
                 ) &&
                 (
                     CashListing == other.CashListing ||
                     CashListing != null &&
                     CashListing.Equals(other.CashListing)
                 ));
        }
        /// <summary>
        /// Returns true if DepartmentDocumentSearchRequest instances are equal
        /// </summary>
        /// <param name="other">Instance of DepartmentDocumentSearchRequest to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(DepartmentDocumentSearchRequest other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     FirstName == other.FirstName ||
                     FirstName != null &&
                     FirstName.Equals(other.FirstName)
                     ) &&
                 (
                     LastName == other.LastName ||
                     LastName != null &&
                     LastName.Equals(other.LastName)
                 ) &&
                 (
                     CompanyName == other.CompanyName ||
                     CompanyName != null &&
                     CompanyName.Equals(other.CompanyName)
                 ) &&
                 (
                     DepartmentDocumentNumber == other.DepartmentDocumentNumber ||
                     DepartmentDocumentNumber != null &&
                     DepartmentDocumentNumber.Equals(other.DepartmentDocumentNumber)
                 ) &&
                 (
                     DdnSearchType == other.DdnSearchType ||
                     DdnSearchType != null &&
                     DdnSearchType.Equals(other.DdnSearchType)
                 ) &&
                 (
                     CheckNumber == other.CheckNumber ||
                     CheckNumber != null &&
                     CheckNumber.Equals(other.CheckNumber)
                 ) &&
                 (
                     DepositNumber == other.DepositNumber ||
                     DepositNumber != null &&
                     DepositNumber.Equals(other.DepositNumber)
                 ) &&
                 (
                     TransmittalNumber == other.TransmittalNumber ||
                     TransmittalNumber != null &&
                     TransmittalNumber.Equals(other.TransmittalNumber)
                 ) &&
                 (
                     TransmittalStatus == other.TransmittalStatus ||
                     TransmittalStatus != null &&
                     TransmittalStatus.Equals(other.TransmittalStatus)
                 ) &&
                 (
                     CheckAmount == other.CheckAmount ||
                     CheckAmount != null &&
                     CheckAmount.Equals(other.CheckAmount)
                 ) &&
                 (
                     CashListing == other.CashListing ||
                     CashListing != null &&
                     CashListing.Equals(other.CashListing)
                 ) &&
                 (
                     EoCode == other.EoCode ||
                     EoCode != null &&
                     EoCode.Equals(other.EoCode)
                 ) &&
                 (
                     ObjectCode == other.ObjectCode ||
                     ObjectCode != null &&
                     ObjectCode.Equals(other.ObjectCode)
                 ) &&
                 (
                     DepositDateFrom == other.DepositDateFrom ||
                     DepositDateFrom != null &&
                     DepositDateFrom.Equals(other.DepositDateFrom)
                 ) &&
                 (
                     DepositDateTo == other.DepositDateTo ||
                     DepositDateTo != null &&
                     DepositDateTo.Equals(other.DepositDateTo)
                 ));
        }