public override int GetHashCode()
        {
            int hash = 1;

            if (postedAt_ != null)
            {
                hash ^= PostedAt.GetHashCode();
            }
            if (amount_ != null)
            {
                hash ^= Amount.GetHashCode();
            }
            if (Narration.Length != 0)
            {
                hash ^= Narration.GetHashCode();
            }
            if (PaymentType != 0)
            {
                hash ^= PaymentType.GetHashCode();
            }
            if (IsCancellable != false)
            {
                hash ^= IsCancellable.GetHashCode();
            }
            if (sale_ != null)
            {
                hash ^= Sale.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (card_ != null)
            {
                hash ^= Card.GetHashCode();
            }
            if (State != 0)
            {
                hash ^= State.GetHashCode();
            }
            if (amount_ != null)
            {
                hash ^= Amount.GetHashCode();
            }
            if (postedAt_ != null)
            {
                hash ^= PostedAt.GetHashCode();
            }
            if (receivedBy_ != null)
            {
                hash ^= ReceivedBy.GetHashCode();
            }
            if (refund_ != null)
            {
                hash ^= Refund.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (amount_ != null)
            {
                hash ^= Amount.GetHashCode();
            }
            if (IsCanceled != false)
            {
                hash ^= IsCanceled.GetHashCode();
            }
            if (PaymentType != 0)
            {
                hash ^= PaymentType.GetHashCode();
            }
            if (receivedBy_ != null)
            {
                hash ^= ReceivedBy.GetHashCode();
            }
            if (postedAt_ != null)
            {
                hash ^= PostedAt.GetHashCode();
            }
            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            return(hash);
        }
示例#4
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);
        }
示例#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);
        }