Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Agent
- {
- public string Name { get; set; }
- public string City { get; set; }
- public string Region { get; set; }
- public string Phone { get; set; }
- public string Email { get; set; }
- }
- public class RelatedGroupRequest
- {
- public string Id { get; set; }
- public string Name { get; set; }
- }
- public class Airport
- {
- public string Code { get; set; }
- public string CountryName { get; set; }
- public string CityName { get; set; }
- public string Iso { get; set; }
- public string Iata { get; set; }
- }
- public class Flight
- {
- public string Name { get; set; }
- public string Number { get; set; }
- public string FromCode { get { return Name.Substring(0, 3); } }
- public string ToCode { get { return Name.Substring(3, 3); } }
- public Airport From { get; set; }
- public Airport To { get; set; }
- }
- public class RouteSegment
- {
- public string Id { get; set; }
- public Flight Flight { get; set; }
- public DateTimeOffset? FromDate { get; set; }
- public DateTimeOffset? ToDate { get; set; }
- public string RBD { get; set; }
- }
- public class AgentRequestRoute
- {
- public string BookingNumber { get; set; }
- public int PaxCount { get; set; }
- public List<RouteSegment> RouteSegments { get; set; }
- }
- public enum OversizedBaggageSizeType
- {
- /// <summary>
- /// <= 203 cm
- /// </summary>
- Small,
- /// <summary>
- /// >= 204 cm
- /// </summary>
- Big
- }
- public enum OversizedBaggageWeightType
- {
- /// <summary>
- /// 0 - 23 kg
- /// </summary>
- Light,
- /// <summary>
- /// 24 - 32 kg
- /// </summary>
- Medium,
- /// <summary>
- /// 33 - 50 kg
- /// </summary>
- Heavy
- }
- public class OversizedBaggageUnit
- {
- public int PlaceCount { get; set; }
- public string BaggageType { get; set; }
- public OversizedBaggageSizeType BaggageSizeType { get; set; }
- public OversizedBaggageWeightType baggageWeightType { get; set; }
- public string RouteSegmentId { get; set; }
- }
- public class AgentRequestAdditionalInformation
- {
- public bool FlightToWorldCup { get; set; }
- public string TripPurpose { get; set; }
- public DateTimeOffset? AdditionalInfoDate { get; set; }
- public bool AllowChangeTravelDates { get; set; }
- public bool AllowSplitGroup { get; set; }
- public bool AllowPrepay { get; set; }
- }
- public class AgentRequest
- {
- public Agent Agent { get; set; }
- public string RequestName { get; set; }
- public List<RelatedAgentRequest> RelatedRequests { get; set; }
- public bool IsUrgently { get; set; }
- public AgentRequestRoute Route { get; set; }
- public List<OversizedBaggageUnit> OversizedBaggage { get; set; }
- public AgentRequestAdditionalInformation AdditionalInformation { get; set; }
- public string Comment { get; set; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement