public void MergeFrom(FolioSvcAuthorizationModificationRequest other) { if (other == null) { return; } if (other.sale_ != null) { if (sale_ == null) { sale_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardSaleIndicator(); } Sale.MergeFrom(other.Sale); } if (other.changeAmount_ != null) { if (changeAmount_ == null) { changeAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } ChangeAmount.MergeFrom(other.ChangeAmount); } if (other.purpose_ != null) { if (purpose_ == null) { purpose_ = new global::HOLMS.Types.Money.Cards.CardSalePurpose(); } Purpose.MergeFrom(other.Purpose); } if (other.reservation_ != null) { if (reservation_ == null) { reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator(); } Reservation.MergeFrom(other.Reservation); } }