public void MergeFrom(ResGSvcTenderCheckGuaranteeRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.reservation_ != null)
     {
         if (reservation_ == null)
         {
             reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         Reservation.MergeFrom(other.Reservation);
     }
     if (other.amountTendered_ != null)
     {
         if (amountTendered_ == null)
         {
             amountTendered_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         AmountTendered.MergeFrom(other.AmountTendered);
     }
     if (other.CheckNumber.Length != 0)
     {
         CheckNumber = other.CheckNumber;
     }
 }
Ejemplo n.º 2
0
 public void MergeFrom(TaxAssessmentSvcHypotheticalReservationFolioAdjustment other)
 {
     if (other == null)
     {
         return;
     }
     if (other.reservation_ != null)
     {
         if (reservation_ == null)
         {
             reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         Reservation.MergeFrom(other.Reservation);
     }
     if (other.amountTendered_ != null)
     {
         if (amountTendered_ == null)
         {
             amountTendered_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         AmountTendered.MergeFrom(other.AmountTendered);
     }
     if (other.Type != 0)
     {
         Type = other.Type;
     }
 }
Ejemplo n.º 3
0
 public void MergeFrom(TaxAssessmentSvcHypotheticalGroupBookingFolioAdjustment other)
 {
     if (other == null)
     {
         return;
     }
     if (other.groupBooking_ != null)
     {
         if (groupBooking_ == null)
         {
             groupBooking_ = new global::HOLMS.Types.Booking.Indicators.GroupBookingIndicator();
         }
         GroupBooking.MergeFrom(other.GroupBooking);
     }
     if (other.amountTendered_ != null)
     {
         if (amountTendered_ == null)
         {
             amountTendered_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         AmountTendered.MergeFrom(other.AmountTendered);
     }
     if (other.Type != 0)
     {
         Type = other.Type;
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (reservation_ != null)
            {
                hash ^= Reservation.GetHashCode();
            }
            if (amountTendered_ != null)
            {
                hash ^= AmountTendered.GetHashCode();
            }
            if (CheckNumber.Length != 0)
            {
                hash ^= CheckNumber.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (reservation_ != null)
            {
                hash ^= Reservation.GetHashCode();
            }
            if (amountTendered_ != null)
            {
                hash ^= AmountTendered.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (groupBooking_ != null)
            {
                hash ^= GroupBooking.GetHashCode();
            }
            if (amountTendered_ != null)
            {
                hash ^= AmountTendered.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            return(hash);
        }