org.ota.vehicle
Class CheckInRS

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

public class CheckInRS
extends java.lang.Object

This message is used to return information about the vehicle and the equipment checked in. 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_VehCheckInRS">
   <xs:complexType>
     <xs:sequence>
       <xs:choice>
         <xs:sequence>
           <xs:element type="ns:SuccessType" name="Success"/>
           <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/>
           <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
           <xs:element type="ns:CustomerPrimaryAdditionalType" name="Customer" minOccurs="0"/>
           <xs:element type="ns:VehicleRentalTransactionType" name="VehRentalTransaction"/>
           <xs:element type="ns:VehicleSegmentAdditionalInfoType" name="VehCheckInInfo" minOccurs="0"/>
           <xs:element name="Remarks" minOccurs="0">
             <!-- Reference to inner class Remarks -->
           </xs:element>
         </xs:sequence>
         <xs:element type="ns:ErrorsType" name="Errors"/>
       </xs:choice>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:RentalActionGroup"/>
   </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"/>
 


Nested Class Summary
static class CheckInRS.Remarks
          A collection of remarks.
 
Constructor Summary
CheckInRS()
           
 
Method Summary
 void clearChoiceSelect()
          Clear the choice selection.
 CustomerPrimaryAdditional getCustomer()
          Get the 'Customer' element value.
 Errors getErrors()
          Get the 'Errors' element value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 CheckInRS.Remarks getRemarks()
          Get the 'Remarks' element value.
 RentalActionGroup getRentalActionGroup()
          Get the 'RentalActionGroup' attributeGroup value.
 VehicleSegmentAdditionalInfo getVehCheckInInfo()
          Get the 'VehCheckInInfo' element value.
 VehicleRentalTransaction getVehRentalTransaction()
          Get the 'VehRentalTransaction' 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 setCustomer(CustomerPrimaryAdditional customer)
          Set the 'Customer' element value.
 void setErrors(Errors errors)
          Set the 'Errors' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setRemarks(CheckInRS.Remarks remarks)
          Set the 'Remarks' element value.
 void setRentalActionGroup(RentalActionGroup rentalActionGroup)
          Set the 'RentalActionGroup' attributeGroup value.
 void setVehCheckInInfo(VehicleSegmentAdditionalInfo vehCheckInInfo)
          Set the 'VehCheckInInfo' element value.
 void setVehRentalTransaction(VehicleRentalTransaction vehRentalTransaction)
          Set the 'VehRentalTransaction' 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

CheckInRS

public CheckInRS()
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 -

getPOS

public POS getPOS()
Get the 'POS' element value.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value.

Parameters:
POS -

getCustomer

public CustomerPrimaryAdditional getCustomer()
Get the 'Customer' element value.

Returns:
value

setCustomer

public void setCustomer(CustomerPrimaryAdditional customer)
Set the 'Customer' element value.

Parameters:
customer -

getVehRentalTransaction

public VehicleRentalTransaction getVehRentalTransaction()
Get the 'VehRentalTransaction' element value.

Returns:
value

setVehRentalTransaction

public void setVehRentalTransaction(VehicleRentalTransaction vehRentalTransaction)
Set the 'VehRentalTransaction' element value.

Parameters:
vehRentalTransaction -

getVehCheckInInfo

public VehicleSegmentAdditionalInfo getVehCheckInInfo()
Get the 'VehCheckInInfo' element value.

Returns:
value

setVehCheckInInfo

public void setVehCheckInInfo(VehicleSegmentAdditionalInfo vehCheckInInfo)
Set the 'VehCheckInInfo' element value.

Parameters:
vehCheckInInfo -

getRemarks

public CheckInRS.Remarks getRemarks()
Get the 'Remarks' element value.

Returns:
value

setRemarks

public void setRemarks(CheckInRS.Remarks remarks)
Set the 'Remarks' element value.

Parameters:
remarks -

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 -

getRentalActionGroup

public RentalActionGroup getRentalActionGroup()
Get the 'RentalActionGroup' attributeGroup value. This typically echoes back the RentalActionCode from the request and may provide an updated RentalAgreementStatusCode based on the request message.

Returns:
value

setRentalActionGroup

public void setRentalActionGroup(RentalActionGroup rentalActionGroup)
Set the 'RentalActionGroup' attributeGroup value. This typically echoes back the RentalActionCode from the request and may provide an updated RentalAgreementStatusCode based on the request message.

Parameters:
rentalActionGroup -