Example #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            if (merchantId_ != null)
            {
                hash ^= MerchantId.GetHashCode();
            }
            if (capturedAmount_ != null)
            {
                hash ^= CapturedAmount.GetHashCode();
            }
            if (HostReferenceNumber.Length != 0)
            {
                hash ^= HostReferenceNumber.GetHashCode();
            }
            if (FolioBookingNumber.Length != 0)
            {
                hash ^= FolioBookingNumber.GetHashCode();
            }
            if (paymentCard_ != null)
            {
                hash ^= PaymentCard.GetHashCode();
            }
            if (AuthorizationApprovalCode.Length != 0)
            {
                hash ^= AuthorizationApprovalCode.GetHashCode();
            }
            if (AuthorizationHostReferenceNumber.Length != 0)
            {
                hash ^= AuthorizationHostReferenceNumber.GetHashCode();
            }
            if (authorizationAmount_ != null)
            {
                hash ^= AuthorizationAmount.GetHashCode();
            }
            if (postedAt_ != null)
            {
                hash ^= PostedAt.GetHashCode();
            }
            if (sale_ != null)
            {
                hash ^= Sale.GetHashCode();
            }
            if (SaleState != 0)
            {
                hash ^= SaleState.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            if (merchantId_ != null)
            {
                hash ^= MerchantId.GetHashCode();
            }
            if (paymentCard_ != null)
            {
                hash ^= PaymentCard.GetHashCode();
            }
            if (authorizedAmount_ != null)
            {
                hash ^= AuthorizedAmount.GetHashCode();
            }
            if (capturedAmount_ != null)
            {
                hash ^= CapturedAmount.GetHashCode();
            }
            if (HostReferenceNumber.Length != 0)
            {
                hash ^= HostReferenceNumber.GetHashCode();
            }
            if (EntryMethod != 0)
            {
                hash ^= EntryMethod.GetHashCode();
            }
            if (authorization_ != null)
            {
                hash ^= Authorization.GetHashCode();
            }
            if (State != 0)
            {
                hash ^= State.GetHashCode();
            }
            hash ^= increases_.GetHashCode();
            hash ^= reversals_.GetHashCode();
            hash ^= captures_.GetHashCode();
            hash ^= voids_.GetHashCode();
            if (FolioBookingNumber.Length != 0)
            {
                hash ^= FolioBookingNumber.GetHashCode();
            }
            return(hash);
        }
Example #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            if (authorizationAmount_ != null)
            {
                hash ^= AuthorizationAmount.GetHashCode();
            }
            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (EntryMethod != 0)
            {
                hash ^= EntryMethod.GetHashCode();
            }
            if (HostReferenceNumber.Length != 0)
            {
                hash ^= HostReferenceNumber.GetHashCode();
            }
            if (ApprovalCode.Length != 0)
            {
                hash ^= ApprovalCode.GetHashCode();
            }
            if (ApplicationLabel.Length != 0)
            {
                hash ^= ApplicationLabel.GetHashCode();
            }
            if (ApplicationCrypto.Length != 0)
            {
                hash ^= ApplicationCrypto.GetHashCode();
            }
            if (AID.Length != 0)
            {
                hash ^= AID.GetHashCode();
            }
            if (postedAt_ != null)
            {
                hash ^= PostedAt.GetHashCode();
            }
            return(hash);
        }
Example #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HostReferenceNumber.Length != 0)
            {
                hash ^= HostReferenceNumber.GetHashCode();
            }
            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (postedAt_ != null)
            {
                hash ^= PostedAt.GetHashCode();
            }
            return(hash);
        }
Example #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            if (merchantId_ != null)
            {
                hash ^= MerchantId.GetHashCode();
            }
            if (refundedAmount_ != null)
            {
                hash ^= RefundedAmount.GetHashCode();
            }
            if (HostReferenceNumber.Length != 0)
            {
                hash ^= HostReferenceNumber.GetHashCode();
            }
            if (FolioBookingNumber.Length != 0)
            {
                hash ^= FolioBookingNumber.GetHashCode();
            }
            if (paymentCard_ != null)
            {
                hash ^= PaymentCard.GetHashCode();
            }
            if (postedAt_ != null)
            {
                hash ^= PostedAt.GetHashCode();
            }
            if (State != 0)
            {
                hash ^= State.GetHashCode();
            }
            return(hash);
        }