org.ota.vehicle
Class LocDetailRS

java.lang.Object
  extended by org.ota.vehicle.LocDetailRS

public class LocDetailRS
extends java.lang.Object

Vehicle Location Detail response will allow car rental providers to return information about the location requested to assist the customer. This information includes address, phone number, informational messages, parking and counter location, services, and operating schedule of the location requested. Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="OTA_VehLocDetailRS">
   <xs:complexType>
     <xs:choice>
       <xs:sequence>
         <xs:element type="ns:SuccessType" name="Success"/>
         <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/>
         <xs:element type="ns:CompanyNameType" name="Vendor" minOccurs="0"/>
         <xs:element type="ns:VehicleLocationDetailsType" name="LocationDetail" minOccurs="0"/>
         <xs:element type="ns:VehicleLocationVehiclesType" name="Vehicles" minOccurs="0"/>
         <xs:element type="ns:VehicleLocationRequirementsType" name="Requirements" minOccurs="0"/>
         <xs:element type="ns:VehicleLocationAdditionalFeesType" name="AdditionalFees" minOccurs="0"/>
         <xs:element type="ns:VehicleLocationLiabilitiesType" name="Liabilities" minOccurs="0"/>
         <xs:element type="ns:VehicleLocationServicesOfferedType" name="ServicesOffered" minOccurs="0"/>
         <xs:element name="Date" minOccurs="0">
           <!-- Reference to inner class Date -->
         </xs:element>
         <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
       </xs:sequence>
       <xs:element type="ns:ErrorsType" name="Errors" minOccurs="0"/>
     </xs:choice>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SuccessType"/>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 


Nested Class Summary
static class LocDetailRS.Date
          The pick-up and return dates for the location information requested.
 
Constructor Summary
LocDetailRS()
           
 
Method Summary
 void clearChoiceSelect()
          Clear the choice selection.
 VehicleLocationAdditionalFees getAdditionalFees()
          Get the 'AdditionalFees' element value.
 LocDetailRS.Date getDate()
          Get the 'Date' element value.
 Errors getErrors()
          Get the 'Errors' element value.
 VehicleLocationLiabilities getLiabilities()
          Get the 'Liabilities' element value.
 VehicleLocationDetails getLocationDetail()
          Get the 'LocationDetail' element value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 VehicleLocationRequirements getRequirements()
          Get the 'Requirements' element value.
 VehicleLocationServicesOffered getServicesOffered()
          Get the 'ServicesOffered' element value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 VehicleLocationVehicles getVehicles()
          Get the 'Vehicles' element value.
 CompanyName getVendor()
          Get the 'Vendor' element value.
 Warnings getWarnings()
          Get the 'Warnings' element value.
 boolean ifErrors()
          Check if Errors is current selection for choice.
 boolean ifSuccess()
          Check if Success is current selection for choice.
 void setAdditionalFees(VehicleLocationAdditionalFees additionalFees)
          Set the 'AdditionalFees' element value.
 void setDate(LocDetailRS.Date date)
          Set the 'Date' element value.
 void setErrors(Errors errors)
          Set the 'Errors' element value.
 void setLiabilities(VehicleLocationLiabilities liabilities)
          Set the 'Liabilities' element value.
 void setLocationDetail(VehicleLocationDetails locationDetail)
          Set the 'LocationDetail' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setRequirements(VehicleLocationRequirements requirements)
          Set the 'Requirements' element value.
 void setServicesOffered(VehicleLocationServicesOffered servicesOffered)
          Set the 'ServicesOffered' element value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setVehicles(VehicleLocationVehicles vehicles)
          Set the 'Vehicles' element value.
 void setVendor(CompanyName vendor)
          Set the 'Vendor' element value.
 void setWarnings(Warnings warnings)
          Set the 'Warnings' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocDetailRS

public LocDetailRS()
Method Detail

clearChoiceSelect

public void clearChoiceSelect()
Clear the choice selection.


ifSuccess

public boolean ifSuccess()
Check if Success is current selection for choice.

Returns:
true if selection, false if not

getWarnings

public Warnings getWarnings()
Get the 'Warnings' element value.

Returns:
value

setWarnings

public void setWarnings(Warnings warnings)
Set the 'Warnings' element value.

Parameters:
warnings -

getVendor

public CompanyName getVendor()
Get the 'Vendor' element value. Information on the vendor associated with this rental location.

Returns:
value

setVendor

public void setVendor(CompanyName vendor)
Set the 'Vendor' element value. Information on the vendor associated with this rental location.

Parameters:
vendor -

getLocationDetail

public VehicleLocationDetails getLocationDetail()
Get the 'LocationDetail' element value. Information on the rental location, including address, telephone, directions, hours of operations, etc.

Returns:
value

setLocationDetail

public void setLocationDetail(VehicleLocationDetails locationDetail)
Set the 'LocationDetail' element value. Information on the rental location, including address, telephone, directions, hours of operations, etc.

Parameters:
locationDetail -

getVehicles

public VehicleLocationVehicles getVehicles()
Get the 'Vehicles' element value. Information on the vehicles that are offered for rental at this facility.

Returns:
value

setVehicles

public void setVehicles(VehicleLocationVehicles vehicles)
Set the 'Vehicles' element value. Information on the vehicles that are offered for rental at this facility.

Parameters:
vehicles -

getRequirements

public VehicleLocationRequirements getRequirements()
Get the 'Requirements' element value. Information on the requirements that are in place with regard to the renting of a vehicle. Such requirements include license requirements, age requirements, payment options, etc. These are requirement that typically must be met by the renter before a rental may commence. This element may also be used to provide Information on the restrictions that are in place with regard to the renting of a vehicle. Such restrictions include geographic restrictions on the use of the vehicle, restrictions on where the vehicle may be returned, etc.

Returns:
value

setRequirements

public void setRequirements(VehicleLocationRequirements requirements)
Set the 'Requirements' element value. Information on the requirements that are in place with regard to the renting of a vehicle. Such requirements include license requirements, age requirements, payment options, etc. These are requirement that typically must be met by the renter before a rental may commence. This element may also be used to provide Information on the restrictions that are in place with regard to the renting of a vehicle. Such restrictions include geographic restrictions on the use of the vehicle, restrictions on where the vehicle may be returned, etc.

Parameters:
requirements -

getAdditionalFees

public VehicleLocationAdditionalFees getAdditionalFees()
Get the 'AdditionalFees' element value. Information on additional fees, taxes and surcharges that are included in the cost of a rental, when renting from this facility. Different facilities are required to impose different fees and surcharges based upon location and local laws.

Returns:
value

setAdditionalFees

public void setAdditionalFees(VehicleLocationAdditionalFees additionalFees)
Set the 'AdditionalFees' element value. Information on additional fees, taxes and surcharges that are included in the cost of a rental, when renting from this facility. Different facilities are required to impose different fees and surcharges based upon location and local laws.

Parameters:
additionalFees -

getLiabilities

public VehicleLocationLiabilities getLiabilities()
Get the 'Liabilities' element value. Information on the financial liabilities assumed by the renter when renting from this facility, along with optional coverage to reduce the financial liabilities.

Returns:
value

setLiabilities

public void setLiabilities(VehicleLocationLiabilities liabilities)
Set the 'Liabilities' element value. Information on the financial liabilities assumed by the renter when renting from this facility, along with optional coverage to reduce the financial liabilities.

Parameters:
liabilities -

getServicesOffered

public VehicleLocationServicesOffered getServicesOffered()
Get the 'ServicesOffered' element value. Information on the services offered at the rental location. Services can be either on-location or off-location, and may include the rental of special equipment.

Returns:
value

setServicesOffered

public void setServicesOffered(VehicleLocationServicesOffered servicesOffered)
Set the 'ServicesOffered' element value. Information on the services offered at the rental location. Services can be either on-location or off-location, and may include the rental of special equipment.

Parameters:
servicesOffered -

getDate

public LocDetailRS.Date getDate()
Get the 'Date' element value.

Returns:
value

setDate

public void setDate(LocDetailRS.Date date)
Set the 'Date' element value.

Parameters:
date -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

ifErrors

public boolean ifErrors()
Check if Errors is current selection for choice.

Returns:
true if selection, false if not

getErrors

public Errors getErrors()
Get the 'Errors' element value.

Returns:
value

setErrors

public void setErrors(Errors errors)
Set the 'Errors' element value.

Parameters:
errors -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -