示例#1
0
        public override int GetHashCode()
        {
            int hashCode = 1855433710;

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

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

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

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

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

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

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

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

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

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

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

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

            return(hashCode);
        }
        public override int GetHashCode()
        {
            int hashCode = -1408597552;

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

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

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

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

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

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

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

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

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

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

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

            return(hashCode);
        }
        public override int GetHashCode()
        {
            int hashCode = -657729285;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            return(hashCode);
        }
示例#4
0
        public override int GetHashCode()
        {
            int hashCode = 1108362053;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            return(hashCode);
        }