コード例 #1
0
        public GroupBookingBuilder(GroupBookingIndicator id, GroupBookingStatus status,
                                   bool taxExempt, string taxId, bool groupPaysLodging, bool groupPaysIncidentals,
                                   string additionalNotes, string customerBookingId, InclusiveOpsdateRange bookingDates,
                                   RateScheduleIndicator rs, GroupIndicator g, Guid?groupBookingMethodId,
                                   Guid?reservationSourceId, Guid?travelAgentId, Guid?cancellationPolicy,
                                   string groupName, bool surpressratecheck, string taxCatgeory, PropertyIndicator property)
        {
            _gbi                  = id;
            _gbs                  = status;
            _taxExempt            = taxExempt;
            _taxId                = taxId;
            _taxCategory          = taxCatgeory;
            _groupPaysLodging     = groupPaysLodging;
            _groupPaysIncidentals = groupPaysIncidentals;
            _additionalNotes      = additionalNotes;
            _customerBookingId    = customerBookingId;
            _rateSchedule         = rs;
            _group                = g;
            _property             = property;

            // Nullables
            _bookingDates         = bookingDates;
            _groupBookingMethodId = groupBookingMethodId;
            _reservationSourceId  = reservationSourceId;
            _travelAgent          = travelAgentId;
            _cancellationPolicy   = cancellationPolicy;
            _groupName            = groupName;
            _surpressratecheck    = surpressratecheck;
        }
コード例 #2
0
 public GroupBookingExtBuilder(GroupBooking gb, string groupName,
                               string groupNumber, string groupContactName, GroupType groupType,
                               PropertyIndicator property, IEnumerable <GroupBookingRoomTypeQuantity> qty)
 {
     _gb               = gb;
     _groupName        = groupName;
     _groupNumber      = groupNumber;
     _groupContactName = groupContactName;
     _groupType        = groupType;
     _property         = property;
     _quantities       = qty;
 }
コード例 #3
0
 public Group(GroupIndicator g, string name, GroupType gt, string number,
              DollarCents creditLimit, bool active, ContactInformation contactInfo,
              PropertyIndicator p)
 {
     EntityId    = g;
     Name        = name;
     GroupType   = gt;
     GroupNumber = number;
     CreditLimit = creditLimit.ToPb;
     Active      = active;
     ContactInfo = new ContactInformation(contactInfo);
     Property    = p;
 }
コード例 #4
0
 public static JobDataMap MakeMap(PropertyIndicator pi) =>
 new JobDataMap(new Dictionary <string, string> {
     { PropIndicatorKey, pi.GuidID.ToString() }
 });
コード例 #5
0
 public static string JobName(PropertyIndicator pi) => $"CheckinChime.{pi.GuidID}";