Documentation of the CarRentalAgentService

ValidateRateRequest Class

Use this class to create a Request for an operation to validate a formerly requested Rate.

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

System.Object
   Request
      ValidateRateRequest

public class ValidateRateRequest : Request

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

An instance of this class has to be used for a call to SOAP-Implementation of ValidateRate - Method.

The ValidateRate - Method was designed for use on offer-detail page of your booking module. To allow the user to change essential price-relevant parameters, formerly used to request the offers by a call of GetRates - Method. So it offers more possibilities and user-friendlyness, if the user of your booking module is able to change the Departure-/Arrival-Region, the Departure-/Arrival-Location, the Departure-/Arrival-DateTime or simply to add a PromotionCode, on offer-detail page of your booking module. As you can easily imagine, the named parameters are price-relevant of course. At the worst, the change of Departure-/Arrival-DateTime by a few hours may cause the whole Rate to be invalid. Furthermore it's possible that the price for the same car and the same duration changes only because of a changed Departure-/Arrival-DateTime which is related to another sales-season. Without the ValidateRate - Method, the user has to fill his personal and payment data before the Booking-Request(see: BookingRequestType) can be performed, wich will cause the unavailability or the new price to be shown in your booking module. Certainly it is possible to step backwards and do another call of the GetRates - Method, whenever the user changes price-relevant parameters, but its not that user-friendly if only a new PromotionCode has to be taken into account, for example.

Requirements

Namespace: SunnyCars.Schema.Osi.WsReservation.V4

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

See Also

ValidateRateRequest Members | SunnyCars.Schema.Osi.WsReservation.V4 Namespace | Rate | ValidateRateResponse