Documentation of the CarRentalAgentService

OperationTime Class

This class represents an operation time for a Location within a specific OperationTimeFrame.

For a list of all members of this type, see OperationTime Members.

System.Object
   Data
      OperationTime

public class OperationTime : Data

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The operation times can be requested by a call of GetLocations - Method, for instance. Thereby the WithOperationTimeFrame-Property has to be handed over as "True". The operation times are delivered separately for each Location as array of OperationTimeFrame-objects in the OperationTimeFrame - Property. An OperationTime - object refers to the OperationTimeFrame it is referenced by, that means it is valid for one Location, the specified LocationStatus and the set of handover-types indicated by ValidForHandover-Property.

Example

The following xml suggests, that a new Reservation at the related Location will get the ReservationStatus Confirmed if the customer takes the car between 05:30 and 23:30 directly AtAirport or AtCounter. Thereby the weekday is uninteresting, because the OperationTime is valid from Monday till Sunday.

[XML]
<OperationTimeFrame LocationStatus="Open">
    <OperationTime Id="25" StartTime="2008-11-04T05:30:00" EndTime="2008-11-04T23:30:00">
        <ValidForHandover AtAirport="true" AtCounter="true" AtSpecialAddress="false" />
        <DayOfWeek>Monday</DayOfWeek>
        <DayOfWeek>Tuesday</DayOfWeek>
        <DayOfWeek>Wednesday</DayOfWeek>
        <DayOfWeek>Thursday</DayOfWeek>
        <DayOfWeek>Friday</DayOfWeek>
        <DayOfWeek>Saturday</DayOfWeek>
        <DayOfWeek>Sunday</DayOfWeek>
    </OperationTime>
</OperationTimeFrame>

Requirements

Namespace: SunnyCars.Schema.Osi.WsReservation.V4

Assembly: Sunnycars.Schema.Osi.WsReservation.V4 (in Sunnycars.Schema.Osi.WsReservation.V4.dll)

See Also

OperationTime Members | SunnyCars.Schema.Osi.WsReservation.V4 Namespace | OperationTimeFrame | Location | LocationsRequest