Esempio n. 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = Id;
         result = (result * 397) ^ (Name != null ? Name.GetHashCode() : 0);
         result = (result * 397) ^ (GroupName != null ? GroupName.GetHashCode() : 0);
         result = (result * 397) ^ (ProjectGroupId.HasValue ? ProjectGroupId.Value : 0);
         result = (result * 397) ^ CreatedAt.GetHashCode();
         result = (result * 397) ^ UpdatedAt.GetHashCode();
         result = (result * 397) ^ (Minutes.HasValue ? Minutes.Value : 0);
         result = (result * 397) ^ (BillableMinutes.HasValue ? BillableMinutes.Value : 0);
         result = (result * 397) ^ (UnbillableMinutes.HasValue ? UnbillableMinutes.Value : 0);
         result = (result * 397) ^ (InvoicedMinutes.HasValue ? InvoicedMinutes.Value : 0);
         result = (result * 397) ^ (RemainingMinutes.HasValue ? RemainingMinutes.Value : 0);
         result = (result * 397) ^ (BudgetMinutes.HasValue ? BudgetMinutes.Value : 0);
         result = (result * 397) ^ Billable.GetHashCode();
         result = (result * 397) ^ (ImportId.HasValue ? ImportId.Value : 0);
         result = (result * 397) ^ Enabled.GetHashCode();
         result = (result * 397) ^ (ColorHex != null ? ColorHex.GetHashCode() : 0);
         result = (result * 397) ^ Stepping;
         result = (result * 397) ^ (UserId.HasValue ? UserId.Value : 0);
         result = (result * 397) ^ (Budget.HasValue ? Budget.Value : 0);
         result = (result * 397) ^ (AccountId.HasValue ? AccountId.Value : 0);
         result = (result * 397) ^ (InvoiceRecipientDetails != null ? InvoiceRecipientDetails.GetHashCode() : 0);
         result = (result * 397) ^ (CachedTags != null ? CachedTags.GetHashCode() : 0);
         return(result);
     }
 }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hashCode = 311649348;

            if (Id != null)
            {
                hashCode += Id.GetHashCode();
            }

            if (Name != null)
            {
                hashCode += Name.GetHashCode();
            }

            if (CreatedAt != null)
            {
                hashCode += CreatedAt.GetHashCode();
            }

            if (UpdatedAt != null)
            {
                hashCode += UpdatedAt.GetHashCode();
            }

            return(hashCode);
        }
Esempio n. 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ChatIDBytes.Length != 0)
            {
                hash ^= ChatIDBytes.GetHashCode();
            }
            if (messageTypeCase_ == MessageTypeOneofCase.EncryptedMessage)
            {
                hash ^= EncryptedMessage.GetHashCode();
            }
            if (messageTypeCase_ == MessageTypeOneofCase.ServerMessage)
            {
                hash ^= ServerMessage.GetHashCode();
            }
            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            hash ^= (int)messageTypeCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (FolderId.Length != 0)
            {
                hash ^= FolderId.GetHashCode();
            }
            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            if (DefaultSecurityGroupId.Length != 0)
            {
                hash ^= DefaultSecurityGroupId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 5
0
 protected override int GetHashCodeCore()
 {
     return(Color.GetHashCode() ^ 123 &
            Type.GetHashCode() ^ 223 &
            CreatedAt.GetHashCode() ^ 523 &
            UpdatedAt.GetHashCode() ^ 623);
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (RepositoryId.Length != 0)
            {
                hash ^= RepositoryId.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (Status != global::Yandex.Cloud.Containerregistry.V1.LifecyclePolicy.Types.Status.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            hash ^= rules_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 7
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            if (Subject.Length != 0)
            {
                hash ^= Subject.GetHashCode();
            }
            if (Body.Length != 0)
            {
                hash ^= Body.GetHashCode();
            }
            if (sender_ != null)
            {
                hash ^= Sender.GetHashCode();
            }
            hash ^= recipients_.GetHashCode();
            if (viewedAt_ != null)
            {
                hash ^= ViewedAt.GetHashCode();
            }
            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            if (MessageId.Length != 0)
            {
                hash ^= MessageId.GetHashCode();
            }
            return(hash);
        }
Esempio n. 8
0
        public override int GetHashCode()
        {
            int hashCode = 519070351;

            hashCode += Id.GetHashCode();

            if (Title != null)
            {
                hashCode += Title.GetHashCode();
            }

            if (Body != null)
            {
                hashCode += Body.GetHashCode();
            }
            hashCode += UserId.GetHashCode();

            if (CreatedAt != null)
            {
                hashCode += CreatedAt.GetHashCode();
            }

            if (UpdatedAt != null)
            {
                hashCode += UpdatedAt.GetHashCode();
            }

            return(hashCode);
        }
Esempio n. 9
0
        public override int GetHashCode()
        {
            int hashCode = -1678042621;

            hashCode += Id.GetHashCode();

            if (Name != null)
            {
                hashCode += Name.GetHashCode();
            }

            if (Email != null)
            {
                hashCode += Email.GetHashCode();
            }

            if (CreatedAt != null)
            {
                hashCode += CreatedAt.GetHashCode();
            }

            if (UpdatedAt != null)
            {
                hashCode += UpdatedAt.GetHashCode();
            }

            return(hashCode);
        }
Esempio n. 10
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            if (Status.Length != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (TrainingStatus.Length != 0)
            {
                hash ^= TrainingStatus.GetHashCode();
            }
            if (TrainingStatusMessage.Length != 0)
            {
                hash ^= TrainingStatusMessage.GetHashCode();
            }
            if (finishTime_ != null)
            {
                hash ^= FinishTime.GetHashCode();
            }
            if (dataset_ != null)
            {
                hash ^= Dataset.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 11
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (FolderId.Length != 0)
            {
                hash ^= FolderId.GetHashCode();
            }
            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            if (SourceClusterId.Length != 0)
            {
                hash ^= SourceClusterId.GetHashCode();
            }
            if (startedAt_ != null)
            {
                hash ^= StartedAt.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 12
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            if (Side != 0)
            {
                hash ^= Side.GetHashCode();
            }
            if (Price != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Price);
            }
            if (Size != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Size);
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 14
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (CloudId.Length != 0)
            {
                hash ^= CloudId.GetHashCode();
            }
            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            if (Status != global::Yandex.Cloud.Resourcemanager.V1.Folder.Types.Status.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 15
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Id.GetHashCode();
         hashCode = (hashCode * 397) ^ (Hash != null ? Hash.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ShopifyCustomerId != null ? ShopifyCustomerId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Email != null ? Email.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ CreatedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ UpdatedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ (FirstName != null ? FirstName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (LastName != null ? LastName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BillingAddress1 != null ? BillingAddress1.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BillingAddress2 != null ? BillingAddress2.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BillingZip != null ? BillingZip.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BillingCity != null ? BillingCity.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BillingCompany != null ? BillingCompany.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BillingProvince != null ? BillingProvince.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BillingCountry != null ? BillingCountry.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BillingPhone != null ? BillingPhone.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ProcessorType != null ? ProcessorType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Status != null ? Status.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ HasValidPaymentMethod.GetHashCode();
         hashCode = (hashCode * 397) ^ (ReasonPaymentMethodNotValid != null ? ReasonPaymentMethodNotValid.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ HasCardErrorInDunning.GetHashCode();
         hashCode = (hashCode * 397) ^ NumberActiveSubscriptions.GetHashCode();
         hashCode = (hashCode * 397) ^ NumberSubscriptions.GetHashCode();
         hashCode = (hashCode * 397) ^ (FirstChargeProcessedAt != null ? FirstChargeProcessedAt.GetHashCode() : 0);
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ObjectUuid.Length != 0)
            {
                hash ^= ObjectUuid.GetHashCode();
            }
            if (Client.Length != 0)
            {
                hash ^= Client.GetHashCode();
            }
            if (PortfolioName.Length != 0)
            {
                hash ^= PortfolioName.GetHashCode();
            }
            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            if (receivedAt_ != null)
            {
                hash ^= ReceivedAt.GetHashCode();
            }
            if (value_ != null)
            {
                hash ^= Value.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hashCode = 1770802231;

            if (Id != null)
            {
                hashCode += Id.GetHashCode();
            }
            hashCode += Points.GetHashCode();

            if (Name != null)
            {
                hashCode += Name.GetHashCode();
            }

            if (Definition != null)
            {
                hashCode += Definition.GetHashCode();
            }

            if (CreatedAt != null)
            {
                hashCode += CreatedAt.GetHashCode();
            }

            if (PricingRuleReference != null)
            {
                hashCode += PricingRuleReference.GetHashCode();
            }

            return(hashCode);
        }
Esempio n. 18
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Id.GetHashCode();
         hashCode = (hashCode * 397) ^ (TransactionId != null ? TransactionId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ChargeStatus != null ? ChargeStatus.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (PaymentProcessor != null ? PaymentProcessor.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ AddressIsActive.GetHashCode();
         hashCode = (hashCode * 397) ^ (Status != null ? Status.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Type != null ? Type.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ChargeId.GetHashCode();
         hashCode = (hashCode * 397) ^ AddressId.GetHashCode();
         hashCode = (hashCode * 397) ^ (ShopifyId != null ? ShopifyId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ShopifyOrderId != null ? ShopifyOrderId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ShopifyOrderNumber.GetHashCode();
         hashCode = (hashCode * 397) ^ (ShopifyCartToken != null ? ShopifyCartToken.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ ShippingDate.GetHashCode();
         hashCode = (hashCode * 397) ^ ScheduledAt.GetHashCode();
         hashCode = (hashCode * 397) ^ ShippedDate.GetHashCode();
         hashCode = (hashCode * 397) ^ ProcessedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ CustomerId.GetHashCode();
         hashCode = (hashCode * 397) ^ (FirstName != null ? FirstName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (LastName != null ? LastName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Hash != null ? Hash.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ IsPrepaid.GetHashCode();
         hashCode = (hashCode * 397) ^ CreatedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ UpdatedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ (Email != null ? Email.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (TotalPrice != null ? TotalPrice.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ShippingAddress != null ? ShippingAddress.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BillingAddress != null ? BillingAddress.GetHashCode() : 0);
         return(hashCode);
     }
 }
Esempio n. 19
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (FolderId.Length != 0)
            {
                hash ^= FolderId.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Status != global::Yandex.Cloud.Containerregistry.V1.Registry.Types.Status.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            hash ^= Labels.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 20
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Id.GetHashCode();
         hashCode = (hashCode * 397) ^ (Code != null ? Code.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Value.GetHashCode();
         hashCode = (hashCode * 397) ^ EndsAt.GetHashCode();
         hashCode = (hashCode * 397) ^ StartsAt.GetHashCode();
         hashCode = (hashCode * 397) ^ (Status != null ? Status.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ UsageLimit.GetHashCode();
         hashCode = (hashCode * 397) ^ AppliesToId.GetHashCode();
         hashCode = (hashCode * 397) ^ (DiscountType != null ? DiscountType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (AppliesTo != null ? AppliesTo.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (AppliesToResource != null ? AppliesToResource.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ TimesUsed.GetHashCode();
         hashCode = (hashCode * 397) ^ (Duration != null ? Duration.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ DurationUsageLimit.GetHashCode();
         hashCode = (hashCode * 397) ^ (AppliesToProductType != null ? AppliesToProductType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ CreatedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ UpdatedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ OncePerCustomer.GetHashCode();
         return(hashCode);
     }
 }
Esempio n. 21
0
        /// <summary>
        /// Gets the hash code
        /// </summary>
        /// <returns>Hash code</returns>
        public override int GetHashCode()
        {
            unchecked // Overflow is fine, just wrap
            {
                var hashCode = 41;
                // Suitable nullity checks etc, of course :)
                if (Name != null)
                {
                    hashCode = hashCode * 59 + Name.GetHashCode();
                }
                if (Description != null)
                {
                    hashCode = hashCode * 59 + Description.GetHashCode();
                }
                if (CreatedBy != null)
                {
                    hashCode = hashCode * 59 + CreatedBy.GetHashCode();
                }
                if (CreatedAt != null)
                {
                    hashCode = hashCode * 59 + CreatedAt.GetHashCode();
                }
                if (Id != null)
                {
                    hashCode = hashCode * 59 + Id.GetHashCode();
                }
                if (Secret != null)
                {
                    hashCode = hashCode * 59 + Secret.GetHashCode();
                }

                hashCode = hashCode * 59 + Enabled.GetHashCode();
                return(hashCode);
            }
        }
Esempio n. 22
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Version != 0L)
            {
                hash ^= Version.GetHashCode();
            }
            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            if (DatasetSize != 0)
            {
                hash ^= DatasetSize.GetHashCode();
            }
            if (TrainingSize != 0)
            {
                hash ^= TrainingSize.GetHashCode();
            }
            hash ^= confidenceScores_.GetHashCode();
            if (InputType != global::Asgt.Type.Model.Types.InputType.FeatureTensors)
            {
                hash ^= InputType.GetHashCode();
            }
            if (DatasetType.Length != 0)
            {
                hash ^= DatasetType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 23
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PageLimit != 0L)
            {
                hash ^= PageLimit.GetHashCode();
            }
            if (OrderByAsc != false)
            {
                hash ^= OrderByAsc.GetHashCode();
            }
            if (filterCase_ == FilterOneofCase.Lang)
            {
                hash ^= Lang.GetHashCode();
            }
            if (filterCase_ == FilterOneofCase.CreatedAt)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            if (filterCase_ == FilterOneofCase.Count)
            {
                hash ^= Count.GetHashCode();
            }
            if (Cursor.Length != 0)
            {
                hash ^= Cursor.GetHashCode();
            }
            hash ^= (int)filterCase_;
            return(hash);
        }
Esempio n. 24
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Id != null ? Id.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ CreatedAt.GetHashCode();
         return(hashCode);
     }
 }
Esempio n. 25
0
        public override int GetHashCode()
        {
            int hashCode = -1607883077;

            if (Id != null)
            {
                hashCode += Id.GetHashCode();
            }

            if (FirstName != null)
            {
                hashCode += FirstName.GetHashCode();
            }

            if (LastName != null)
            {
                hashCode += LastName.GetHashCode();
            }

            if (Email != null)
            {
                hashCode += Email.GetHashCode();
            }

            if (PhoneNumber != null)
            {
                hashCode += PhoneNumber.GetHashCode();
            }

            if (LocationIds != null)
            {
                hashCode += LocationIds.GetHashCode();
            }

            if (Status != null)
            {
                hashCode += Status.GetHashCode();
            }

            if (IsOwner != null)
            {
                hashCode += IsOwner.GetHashCode();
            }

            if (CreatedAt != null)
            {
                hashCode += CreatedAt.GetHashCode();
            }

            if (UpdatedAt != null)
            {
                hashCode += UpdatedAt.GetHashCode();
            }

            return(hashCode);
        }
Esempio n. 26
0
        public override int GetHashCode()
        {
            int hashCode = -772282082;

            if (Id != null)
            {
                hashCode += Id.GetHashCode();
            }

            if (LocationId != null)
            {
                hashCode += LocationId.GetHashCode();
            }

            if (TransactionId != null)
            {
                hashCode += TransactionId.GetHashCode();
            }

            if (TenderId != null)
            {
                hashCode += TenderId.GetHashCode();
            }

            if (CreatedAt != null)
            {
                hashCode += CreatedAt.GetHashCode();
            }

            if (Reason != null)
            {
                hashCode += Reason.GetHashCode();
            }

            if (AmountMoney != null)
            {
                hashCode += AmountMoney.GetHashCode();
            }

            if (Status != null)
            {
                hashCode += Status.GetHashCode();
            }

            if (ProcessingFeeMoney != null)
            {
                hashCode += ProcessingFeeMoney.GetHashCode();
            }

            if (AdditionalRecipients != null)
            {
                hashCode += AdditionalRecipients.GetHashCode();
            }

            return(hashCode);
        }
Esempio n. 27
0
        public override int GetHashCode()
        {
            int hashCode = 226628405;

            if (Id != null)
            {
                hashCode += Id.GetHashCode();
            }

            if (LocationId != null)
            {
                hashCode += LocationId.GetHashCode();
            }

            if (CreatedAt != null)
            {
                hashCode += CreatedAt.GetHashCode();
            }

            if (Tenders != null)
            {
                hashCode += Tenders.GetHashCode();
            }

            if (Refunds != null)
            {
                hashCode += Refunds.GetHashCode();
            }

            if (ReferenceId != null)
            {
                hashCode += ReferenceId.GetHashCode();
            }

            if (Product != null)
            {
                hashCode += Product.GetHashCode();
            }

            if (ClientId != null)
            {
                hashCode += ClientId.GetHashCode();
            }

            if (ShippingAddress != null)
            {
                hashCode += ShippingAddress.GetHashCode();
            }

            if (OrderId != null)
            {
                hashCode += OrderId.GetHashCode();
            }

            return(hashCode);
        }
Esempio n. 28
0
        public override int GetHashCode()
        {
            int hashCode = 1629433824;

            if (Id != null)
            {
                hashCode += Id.GetHashCode();
            }

            if (CheckoutPageUrl != null)
            {
                hashCode += CheckoutPageUrl.GetHashCode();
            }

            if (AskForShippingAddress != null)
            {
                hashCode += AskForShippingAddress.GetHashCode();
            }

            if (MerchantSupportEmail != null)
            {
                hashCode += MerchantSupportEmail.GetHashCode();
            }

            if (PrePopulateBuyerEmail != null)
            {
                hashCode += PrePopulateBuyerEmail.GetHashCode();
            }

            if (PrePopulateShippingAddress != null)
            {
                hashCode += PrePopulateShippingAddress.GetHashCode();
            }

            if (RedirectUrl != null)
            {
                hashCode += RedirectUrl.GetHashCode();
            }

            if (Order != null)
            {
                hashCode += Order.GetHashCode();
            }

            if (CreatedAt != null)
            {
                hashCode += CreatedAt.GetHashCode();
            }

            if (AdditionalRecipients != null)
            {
                hashCode += AdditionalRecipients.GetHashCode();
            }

            return(hashCode);
        }
Esempio n. 29
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = Id.GetHashCode();
         hashCode = (hashCode * 397) ^ CreatedAt.GetHashCode();
         hashCode = (hashCode * 397) ^ UpdatedAt.GetHashCode();
         return(hashCode);
     }
 }
Esempio n. 30
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Name != null ? Name.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Uri != null ? Uri.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ CreatedAt.GetHashCode();
         return(hashCode);
     }
 }