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

            if (accountingTransactionWithGuest_ != null)
            {
                hash ^= AccountingTransactionWithGuest.GetHashCode();
            }
            if (guest_ != null)
            {
                hash ^= Guest.GetHashCode();
            }
            return(hash);
        }
Example #2
0
 public void MergeFrom(AssignGuestOwnerToTxnReq other)
 {
     if (other == null)
     {
         return;
     }
     if (other.accountingTransactionWithGuest_ != null)
     {
         if (accountingTransactionWithGuest_ == null)
         {
             accountingTransactionWithGuest_ = new global::HOLMS.Types.Money.Accounting.AccountingTransactionWithGuest();
         }
         AccountingTransactionWithGuest.MergeFrom(other.AccountingTransactionWithGuest);
     }
     if (other.guest_ != null)
     {
         if (guest_ == null)
         {
             guest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator();
         }
         Guest.MergeFrom(other.Guest);
     }
 }