예제 #1
0
        public override int GetHashCode()
        {
            int hashCode = -1604808841;

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

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

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

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

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

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

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

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

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

            return(hashCode);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hashCode = -265874214;

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

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

            return(hashCode);
        }
예제 #3
0
        public override int GetHashCode()
        {
            int hashCode = 1490090338;

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

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

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

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

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

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

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

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

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

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

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

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

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

            return(hashCode);
        }