Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (paymentsAccountId_ != null)
            {
                hash ^= PaymentsAccountId.GetHashCode();
            }
            if (name_ != null)
            {
                hash ^= Name.GetHashCode();
            }
            if (currencyCode_ != null)
            {
                hash ^= CurrencyCode.GetHashCode();
            }
            if (paymentsProfileId_ != null)
            {
                hash ^= PaymentsProfileId.GetHashCode();
            }
            if (secondaryPaymentsProfileId_ != null)
            {
                hash ^= SecondaryPaymentsProfileId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (paymentsAccountId_ != null)
                    {
                        hash ^= PaymentsAccountId.GetHashCode();
                    }
                    if (paymentsAccountName_ != null)
                    {
                        hash ^= PaymentsAccountName.GetHashCode();
                    }
                    if (paymentsProfileId_ != null)
                    {
                        hash ^= PaymentsProfileId.GetHashCode();
                    }
                    if (paymentsProfileName_ != null)
                    {
                        hash ^= PaymentsProfileName.GetHashCode();
                    }
                    if (secondaryPaymentsProfileId_ != null)
                    {
                        hash ^= SecondaryPaymentsProfileId.GetHashCode();
                    }
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }
Ejemplo n.º 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (HasPaymentsAccountId)
            {
                hash ^= PaymentsAccountId.GetHashCode();
            }
            if (HasName)
            {
                hash ^= Name.GetHashCode();
            }
            if (HasCurrencyCode)
            {
                hash ^= CurrencyCode.GetHashCode();
            }
            if (HasPaymentsProfileId)
            {
                hash ^= PaymentsProfileId.GetHashCode();
            }
            if (HasSecondaryPaymentsProfileId)
            {
                hash ^= SecondaryPaymentsProfileId.GetHashCode();
            }
            if (HasPayingManagerCustomer)
            {
                hash ^= PayingManagerCustomer.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }