public void MergeFrom(CheckoutCandidateViability 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.DateAcceptibility != 0) { DateAcceptibility = other.DateAcceptibility; } if (other.folioBalance_ != null) { if (folioBalance_ == null) { folioBalance_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } FolioBalance.MergeFrom(other.FolioBalance); } if (other.FolioBalanceAcceptibleForCheckout != false) { FolioBalanceAcceptibleForCheckout = other.FolioBalanceAcceptibleForCheckout; } }
public void MergeFrom(TaxedReservationQuote other) { if (other == null) { return; } lodgingQuotes_.Add(other.lodgingQuotes_); incidentalQuotes_.Add(other.incidentalQuotes_); if (other.pretaxLodgingPriceSubtotal_ != null) { if (pretaxLodgingPriceSubtotal_ == null) { pretaxLodgingPriceSubtotal_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } PretaxLodgingPriceSubtotal.MergeFrom(other.PretaxLodgingPriceSubtotal); } if (other.pretaxIncidentalPriceSubtotal_ != null) { if (pretaxIncidentalPriceSubtotal_ == null) { pretaxIncidentalPriceSubtotal_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } PretaxIncidentalPriceSubtotal.MergeFrom(other.PretaxIncidentalPriceSubtotal); } taxAssessments_.Add(other.taxAssessments_); if (other.reservation_ != null) { if (reservation_ == null) { reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator(); } Reservation.MergeFrom(other.Reservation); } reservationTags_.Add(other.reservationTags_); }
public void MergeFrom(TaxedIncidentalReservationNightlyQuote other) { if (other == null) { return; } if (other.opsdate_ != null) { if (opsdate_ == null) { opsdate_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } Opsdate.MergeFrom(other.Opsdate); } if (other.pretaxIncidentalPrice_ != null) { if (pretaxIncidentalPrice_ == null) { pretaxIncidentalPrice_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } PretaxIncidentalPrice.MergeFrom(other.PretaxIncidentalPrice); } taxEstimates_.Add(other.taxEstimates_); if (other.incidentalItem_ != null) { if (incidentalItem_ == null) { incidentalItem_ = new global::HOLMS.Types.Supply.IncidentalItems.IncidentalItemIndicator(); } IncidentalItem.MergeFrom(other.IncidentalItem); } }
public void MergeFrom(PriceOverrideNight other) { if (other == null) { return; } if (other.date_ != null) { if (date_ == null) { date_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } Date.MergeFrom(other.Date); } if (other.price_ != null) { if (price_ == null) { price_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } Price.MergeFrom(other.Price); } if (other.Action != 0) { Action = other.Action; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (id_ == null) { id_ = new global::HOLMS.Types.Supply.RateScheduleIndicator(); } input.ReadMessage(id_); break; } case 18: { Name = input.ReadString(); break; } case 26: { Description = input.ReadString(); break; } case 34: { if (additionalPersonNightlyCharge_ == null) { additionalPersonNightlyCharge_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(additionalPersonNightlyCharge_); break; } case 42: { if (mustBookBefore_ == null) { mustBookBefore_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(mustBookBefore_); break; } case 50: { if (overlaidOn_ == null) { overlaidOn_ = new global::HOLMS.Types.Supply.RateScheduleIndicator(); } input.ReadMessage(overlaidOn_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (amount_ == null) { amount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(amount_); break; } case 16: { IsCanceled = input.ReadBool(); break; } case 24: { paymentType_ = (global::HOLMS.Types.Folio.PaymentType)input.ReadEnum(); break; } case 34: { if (receivedBy_ == null) { receivedBy_ = new global::HOLMS.Types.IAM.StaffMemberIndicator(); } input.ReadMessage(receivedBy_); break; } case 42: { if (postedAt_ == null) { postedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(postedAt_); break; } case 50: { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.Folio.FolioCheckCashPaymentIndicator(); } input.ReadMessage(entityId_); break; } } } }
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; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (roomType_ == null) { roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator(); } input.ReadMessage(roomType_); break; } case 18: { if (date_ == null) { date_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } input.ReadMessage(date_); break; } case 24: { Available = input.ReadInt32(); break; } case 34: { if (rateSchedule_ == null) { rateSchedule_ = new global::HOLMS.Types.Supply.RateScheduleIndicator(); } input.ReadMessage(rateSchedule_); break; } case 42: { if (nightlyPrice_ == null) { nightlyPrice_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(nightlyPrice_); break; } case 50: { requiredTags_.AddEntriesFrom(input, _repeated_requiredTags_codec); break; } } } }
public void MergeFrom(PaymentCardAuthorizationIncrease other) { if (other == null) { return; } if (other.increaseAmount_ != null) { if (increaseAmount_ == null) { increaseAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } IncreaseAmount.MergeFrom(other.IncreaseAmount); } if (other.HostReferenceNumber.Length != 0) { HostReferenceNumber = other.HostReferenceNumber; } if (other.Result != 0) { Result = other.Result; } if (other.postedAt_ != null) { if (postedAt_ == null) { postedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } PostedAt.MergeFrom(other.PostedAt); } }
public void MergeFrom(OverridePricing other) { if (other == null) { return; } if (other.roomType_ != null) { if (roomType_ == null) { roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator(); } RoomType.MergeFrom(other.RoomType); } if (other.date_ != null) { if (date_ == null) { date_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } Date.MergeFrom(other.Date); } if (other.overridePrice_ != null) { if (overridePrice_ == null) { overridePrice_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } OverridePrice.MergeFrom(other.OverridePrice); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { Description = input.ReadString(); break; } case 18: { if (amount_ == null) { amount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(amount_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (penaltyAmount_ == null) { penaltyAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(penaltyAmount_); break; } case 18: { if (reservation_ == null) { reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator(); } input.ReadMessage(reservation_); break; } } } }
public void MergeFrom(FolioState other) { if (other == null) { return; } chargeCredits_.Add(other.chargeCredits_); cardSales_.Add(other.cardSales_); payments_.Add(other.payments_); refunds_.Add(other.refunds_); if (other.grossPayments_ != null) { if (grossPayments_ == null) { grossPayments_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } GrossPayments.MergeFrom(other.GrossPayments); } if (other.grossRefunds_ != null) { if (grossRefunds_ == null) { grossRefunds_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } GrossRefunds.MergeFrom(other.GrossRefunds); } if (other.availablePaymentAuthorizationBalance_ != null) { if (availablePaymentAuthorizationBalance_ == null) { availablePaymentAuthorizationBalance_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } AvailablePaymentAuthorizationBalance.MergeFrom(other.AvailablePaymentAuthorizationBalance); } if (other.availableGuaranteeAuthorizationBalance_ != null) { if (availableGuaranteeAuthorizationBalance_ == null) { availableGuaranteeAuthorizationBalance_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } AvailableGuaranteeAuthorizationBalance.MergeFrom(other.AvailableGuaranteeAuthorizationBalance); } if (other.masterFolio_ != null) { if (masterFolio_ == null) { masterFolio_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator(); } MasterFolio.MergeFrom(other.MasterFolio); } clientFolios_.Add(other.clientFolios_); if (other.MasterAccruesLodging != false) { MasterAccruesLodging = other.MasterAccruesLodging; } if (other.MasterAccruesIncidentals != false) { MasterAccruesIncidentals = other.MasterAccruesIncidentals; } }
public void MergeFrom(PriceUpdateRequest other) { if (other == null) { return; } if (other.date_ != null) { if (date_ == null) { date_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } Date.MergeFrom(other.Date); } if (other.roomType_ != null) { if (roomType_ == null) { roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator(); } RoomType.MergeFrom(other.RoomType); } if (other.monetaryAmount_ != null) { if (monetaryAmount_ == null) { monetaryAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } MonetaryAmount.MergeFrom(other.MonetaryAmount); } }
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 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; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (tax_ == null) { tax_ = new global::HOLMS.Types.Folio.TaxFee(); } input.ReadMessage(tax_); break; } case 18: { if (estimatedTaxAmount_ == null) { estimatedTaxAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(estimatedTaxAmount_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (remainingAmount_ == null) { remainingAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(remainingAmount_); break; } case 16: { IsDue = input.ReadBool(); break; } } } }
public void MergeFrom(PostedChargeCreditFolioSwap other) { if (other == null) { return; } if (other.Description.Length != 0) { Description = other.Description; } if (other.amount_ != null) { if (amount_ == null) { amount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } Amount.MergeFrom(other.Amount); } if (other.originatingFolio_ != null) { if (originatingFolio_ == null) { originatingFolio_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator(); } OriginatingFolio.MergeFrom(other.OriginatingFolio); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (opsdate_ == null) { opsdate_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } input.ReadMessage(opsdate_); break; } case 18: { if (lodgingPrice_ == null) { lodgingPrice_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(lodgingPrice_); break; } } } }
public void MergeFrom(PaymentCardRefund other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardRefundIndicator(); } EntityId.MergeFrom(other.EntityId); } if (other.merchantId_ != null) { if (merchantId_ == null) { merchantId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator(); } MerchantId.MergeFrom(other.MerchantId); } if (other.refundedAmount_ != null) { if (refundedAmount_ == null) { refundedAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } RefundedAmount.MergeFrom(other.RefundedAmount); } if (other.HostReferenceNumber.Length != 0) { HostReferenceNumber = other.HostReferenceNumber; } if (other.FolioBookingNumber.Length != 0) { FolioBookingNumber = other.FolioBookingNumber; } if (other.paymentCard_ != null) { if (paymentCard_ == null) { paymentCard_ = new global::HOLMS.Types.Money.Cards.GuestPaymentCard(); } PaymentCard.MergeFrom(other.PaymentCard); } if (other.postedAt_ != null) { if (postedAt_ == null) { postedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } PostedAt.MergeFrom(other.PostedAt); } if (other.State != 0) { State = other.State; } }
public void MergeFrom(AccountingTransactionLine other) { if (other == null) { return; } if (other.debitAmount_ != null) { if (debitAmount_ == null) { debitAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } DebitAmount.MergeFrom(other.DebitAmount); } if (other.creditAmount_ != null) { if (creditAmount_ == null) { creditAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } CreditAmount.MergeFrom(other.CreditAmount); } if (other.Narration.Length != 0) { Narration = other.Narration; } if (other.account_ != null) { if (account_ == null) { account_ = new global::HOLMS.Types.Money.Accounting.AccountIndicator(); } Account.MergeFrom(other.Account); } if (other.AccountName.Length != 0) { AccountName = other.AccountName; } if (other.AccountType != 0) { AccountType = other.AccountType; } if (other.Designation != 0) { Designation = other.Designation; } if (other.TransferIndication != 0) { TransferIndication = other.TransferIndication; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.Money.Accounting.AccountingTransactionLineIndicator(); } EntityId.MergeFrom(other.EntityId); } }
public void MergeFrom(PaymentCardAuthorization other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardAuthorizationIndicator(); } EntityId.MergeFrom(other.EntityId); } if (other.authorizationAmount_ != null) { if (authorizationAmount_ == null) { authorizationAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } AuthorizationAmount.MergeFrom(other.AuthorizationAmount); } if (other.Result != 0) { Result = other.Result; } if (other.EntryMethod != 0) { EntryMethod = other.EntryMethod; } if (other.HostReferenceNumber.Length != 0) { HostReferenceNumber = other.HostReferenceNumber; } if (other.ApprovalCode.Length != 0) { ApprovalCode = other.ApprovalCode; } if (other.ApplicationLabel.Length != 0) { ApplicationLabel = other.ApplicationLabel; } if (other.ApplicationCrypto.Length != 0) { ApplicationCrypto = other.ApplicationCrypto; } if (other.AID.Length != 0) { AID = other.AID; } if (other.postedAt_ != null) { if (postedAt_ == null) { postedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } PostedAt.MergeFrom(other.PostedAt); } }
public void MergeFrom(ReservationCheckInNotification other) { if (other == null) { return; } if (other.JWToken.Length != 0) { JWToken = other.JWToken; } if (other.reservation_ != null) { if (reservation_ == null) { reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator(); } Reservation.MergeFrom(other.Reservation); } if (other.checkInDate_ != null) { if (checkInDate_ == null) { checkInDate_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } CheckInDate.MergeFrom(other.CheckInDate); } if (other.roomId_ != null) { if (roomId_ == null) { roomId_ = new global::HOLMS.Types.Operations.Rooms.RoomIndicator(); } RoomId.MergeFrom(other.RoomId); } if (other.guestId_ != null) { if (guestId_ == null) { guestId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } GuestId.MergeFrom(other.GuestId); } if (other.averageRate_ != null) { if (averageRate_ == null) { averageRate_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } AverageRate.MergeFrom(other.AverageRate); } if (other.ReservationBookingNumber.Length != 0) { ReservationBookingNumber = other.ReservationBookingNumber; } if (other.KeepGuaranteeRequested != false) { KeepGuaranteeRequested = other.KeepGuaranteeRequested; } }
public void MergeFrom(NotPresentPaymentCard other) { if (other == null) { return; } if (other.CardNumber.Length != 0) { CardNumber = other.CardNumber; } if (other.Cvc.Length != 0) { Cvc = other.Cvc; } if (other.ExpiryMonth != 0) { ExpiryMonth = other.ExpiryMonth; } if (other.FourDigitExpiryYear != 0) { FourDigitExpiryYear = other.FourDigitExpiryYear; } if (other.Zipcode.Length != 0) { Zipcode = other.Zipcode; } if (other.CardholderName.Length != 0) { CardholderName = other.CardholderName; } if (other.IsVirtualCard != false) { IsVirtualCard = other.IsVirtualCard; } if (other.virtualCardLimit_ != null) { if (virtualCardLimit_ == null) { virtualCardLimit_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } VirtualCardLimit.MergeFrom(other.VirtualCardLimit); } if (other.virtualCardAvailableOn_ != null) { if (virtualCardAvailableOn_ == null) { virtualCardAvailableOn_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } VirtualCardAvailableOn.MergeFrom(other.VirtualCardAvailableOn); } if (other.virtualCardExpiresOn_ != null) { if (virtualCardExpiresOn_ == null) { virtualCardExpiresOn_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } VirtualCardExpiresOn.MergeFrom(other.VirtualCardExpiresOn); } }
public void MergeFrom(ClosedMerchantBatch other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.Money.Cards.Transactions.ClosedMerchantBatchIndicator(); } EntityId.MergeFrom(other.EntityId); } if (other.merchantId_ != null) { if (merchantId_ == null) { merchantId_ = new global::HOLMS.Types.Money.Cards.CardMerchantIndicator(); } MerchantId.MergeFrom(other.MerchantId); } if (other.MerchantName.Length != 0) { MerchantName = other.MerchantName; } if (other.Result != 0) { Result = other.Result; } if (other.ProcessorBatchId != 0) { ProcessorBatchId = other.ProcessorBatchId; } if (other.TransactionCount != 0) { TransactionCount = other.TransactionCount; } if (other.totalAmount_ != null) { if (totalAmount_ == null) { totalAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } TotalAmount.MergeFrom(other.TotalAmount); } if (other.createdAt_ != null) { if (createdAt_ == null) { createdAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } CreatedAt.MergeFrom(other.CreatedAt); } captures_.Add(other.captures_); refunds_.Add(other.refunds_); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { Description = input.ReadString(); break; } case 16: { chargeCreditType_ = (global::HOLMS.Types.Folio.ChargeCreditType)input.ReadEnum(); break; } case 26: { if (untaxedAmount_ == null) { untaxedAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(untaxedAmount_); break; } case 32: { TaxExempt = input.ReadBool(); break; } case 42: { if (incidentalItem_ == null) { incidentalItem_ = new global::HOLMS.Types.Supply.IncidentalItems.IncidentalItemIndicator(); } input.ReadMessage(incidentalItem_); break; } case 50: { if (chargeOpsdate_ == null) { chargeOpsdate_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } input.ReadMessage(chargeOpsdate_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (postedAt_ == null) { postedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(postedAt_); break; } case 18: { if (amount_ == null) { amount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(amount_); break; } case 26: { Narration = input.ReadString(); break; } case 32: { paymentType_ = (global::HOLMS.Types.Folio.PaymentType)input.ReadEnum(); break; } case 40: { IsCancellable = input.ReadBool(); break; } case 50: { if (sale_ == null) { sale_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardSaleIndicator(); } input.ReadMessage(sale_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (groupBookingIndicator_ == null) { groupBookingIndicator_ = new global::HOLMS.Types.Booking.Indicators.GroupBookingIndicator(); } input.ReadMessage(groupBookingIndicator_); break; } case 18: { if (paymentId_ == null) { paymentId_ = new global::HOLMS.Types.Primitive.Uuid(); } input.ReadMessage(paymentId_); break; } case 26: { PaymentDate = input.ReadString(); break; } case 34: { PaymentReference = input.ReadString(); break; } case 42: { PaymentType = input.ReadString(); break; } case 50: { if (creditAmount_ == null) { creditAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(creditAmount_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { JWToken = input.ReadString(); break; } case 18: { if (reservation_ == null) { reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator(); } input.ReadMessage(reservation_); break; } case 26: { if (guestId_ == null) { guestId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } input.ReadMessage(guestId_); break; } case 34: { if (penalty_ == null) { penalty_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(penalty_); break; } case 40: { DaysBeforeReservationStart = input.ReadInt32(); break; } case 50: { RequestingParty = input.ReadString(); break; } } } }