|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.vehicle.ExchangeRS
public class ExchangeRS
This message is used to return information about the vehicles involved in the exchange as well as a recap of the rate information. 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_VehExchangeRS">
<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:UniqueID_Type" name="ConfID" minOccurs="0"/>
<xs:element type="ns:UniqueID_Type" name="ContractID" minOccurs="0"/>
<xs:element type="ns:CustomerPrimaryAdditionalType" name="Customer" minOccurs="0"/>
<xs:element type="ns:VehicleRentalCoreType" name="PickUpReturnDetails" minOccurs="0"/>
<xs:element name="ExchangeLocationDetails" minOccurs="0">
<!-- Reference to inner class ExchangeLocationDetails -->
</xs:element>
<xs:element name="Vehicle" maxOccurs="9">
<!-- Reference to inner class Vehicle -->
</xs:element>
<xs:element name="AdjustmentDetails" minOccurs="0">
<!-- Reference to inner class AdjustmentDetails -->
</xs:element>
<xs:element type="ns:VehicleRentalRateType" name="RentalRate" minOccurs="0"/>
<xs:element name="Fees" minOccurs="0">
<!-- Reference to inner class Fees -->
</xs:element>
<xs:element name="TotalCharge" minOccurs="0">
<xs:complexType>
<xs:attributeGroup ref="ns:VehicleTotalChargeGroup"/>
</xs:complexType>
</xs:element>
<xs:element name="PricedCoverages" minOccurs="0">
<!-- Reference to inner class PricedCoverages -->
</xs:element>
<xs:element type="ns:ParagraphType" name="ExchangeReason" 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: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 |
ExchangeRS.AdjustmentDetails
Collection of adjustments. |
static class |
ExchangeRS.ExchangeLocationDetails
Provides location details where the vehicle was exchanged. |
static class |
ExchangeRS.Fees
A collection of fees associated with this rental. |
static class |
ExchangeRS.PricedCoverages
A collection of coverages associated with this vehicle. |
static class |
ExchangeRS.Remarks
A collection of remarks. |
static class |
ExchangeRS.Vehicle
Vehicle info including size, class, make/model, vehicle asset number, etc. |
| Constructor Summary | |
|---|---|
ExchangeRS()
|
|
| Method Summary | |
|---|---|
void |
addVehicle(ExchangeRS.Vehicle item)
Add a 'Vehicle' element item. |
void |
clearChoiceSelect()
Clear the choice selection. |
void |
clearVehicles()
Remove all 'Vehicle' element items. |
ExchangeRS.AdjustmentDetails |
getAdjustmentDetails()
Get the 'AdjustmentDetails' element value. |
UniqueID |
getConfID()
Get the 'ConfID' element value. |
UniqueID |
getContractID()
Get the 'ContractID' element value. |
CustomerPrimaryAdditional |
getCustomer()
Get the 'Customer' element value. |
Errors |
getErrors()
Get the 'Errors' element value. |
ExchangeRS.ExchangeLocationDetails |
getExchangeLocationDetails()
Get the 'ExchangeLocationDetails' element value. |
Paragraph |
getExchangeReason()
Get the 'ExchangeReason' element value. |
ExchangeRS.Fees |
getFees()
Get the 'Fees' element value. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
VehicleRentalCore |
getPickUpReturnDetails()
Get the 'PickUpReturnDetails' element value. |
ExchangeRS.PricedCoverages |
getPricedCoverages()
Get the 'PricedCoverages' element value. |
ExchangeRS.Remarks |
getRemarks()
Get the 'Remarks' element value. |
RentalActionGroup |
getRentalActionGroup()
Get the 'RentalActionGroup' attributeGroup value. |
VehicleRentalRate |
getRentalRate()
Get the 'RentalRate' element value. |
VehicleTotalChargeGroup |
getTotalCharge()
Get the 'VehicleTotalChargeGroup' attributeGroup value. |
ExchangeRS.Vehicle |
getVehicle(int index)
Get 'Vehicle' element item by position. |
java.util.List<ExchangeRS.Vehicle> |
getVehicles()
Get the list of 'Vehicle' element items. |
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 |
setAdjustmentDetails(ExchangeRS.AdjustmentDetails adjustmentDetails)
Set the 'AdjustmentDetails' element value. |
void |
setConfID(UniqueID confID)
Set the 'ConfID' element value. |
void |
setContractID(UniqueID contractID)
Set the 'ContractID' element value. |
void |
setCustomer(CustomerPrimaryAdditional customer)
Set the 'Customer' element value. |
void |
setErrors(Errors errors)
Set the 'Errors' element value. |
void |
setExchangeLocationDetails(ExchangeRS.ExchangeLocationDetails exchangeLocationDetails)
Set the 'ExchangeLocationDetails' element value. |
void |
setExchangeReason(Paragraph exchangeReason)
Set the 'ExchangeReason' element value. |
void |
setFees(ExchangeRS.Fees fees)
Set the 'Fees' element value. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setPickUpReturnDetails(VehicleRentalCore pickUpReturnDetails)
Set the 'PickUpReturnDetails' element value. |
void |
setPricedCoverages(ExchangeRS.PricedCoverages pricedCoverages)
Set the 'PricedCoverages' element value. |
void |
setRemarks(ExchangeRS.Remarks remarks)
Set the 'Remarks' element value. |
void |
setRentalActionGroup(RentalActionGroup rentalActionGroup)
Set the 'RentalActionGroup' attributeGroup value. |
void |
setRentalRate(VehicleRentalRate rentalRate)
Set the 'RentalRate' element value. |
void |
setTotalCharge(VehicleTotalChargeGroup totalCharge)
Set the 'VehicleTotalChargeGroup' attributeGroup value. |
void |
setVehicles(java.util.List<ExchangeRS.Vehicle> list)
Set the list of 'Vehicle' element items. |
void |
setWarnings(Warnings warnings)
Set the 'Warnings' element value. |
int |
sizeVehicles()
Get the number of 'Vehicle' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExchangeRS()
| Method Detail |
|---|
public void clearChoiceSelect()
public boolean ifSuccess()
true if selection, false if notpublic Warnings getWarnings()
public void setWarnings(Warnings warnings)
warnings - public UniqueID getConfID()
public void setConfID(UniqueID confID)
confID - public UniqueID getContractID()
public void setContractID(UniqueID contractID)
contractID - public CustomerPrimaryAdditional getCustomer()
public void setCustomer(CustomerPrimaryAdditional customer)
customer - public VehicleRentalCore getPickUpReturnDetails()
public void setPickUpReturnDetails(VehicleRentalCore pickUpReturnDetails)
pickUpReturnDetails - public ExchangeRS.ExchangeLocationDetails getExchangeLocationDetails()
public void setExchangeLocationDetails(ExchangeRS.ExchangeLocationDetails exchangeLocationDetails)
exchangeLocationDetails - public java.util.List<ExchangeRS.Vehicle> getVehicles()
public void setVehicles(java.util.List<ExchangeRS.Vehicle> list)
list - public int sizeVehicles()
public void addVehicle(ExchangeRS.Vehicle item)
item - public ExchangeRS.Vehicle getVehicle(int index)
index -
public void clearVehicles()
public ExchangeRS.AdjustmentDetails getAdjustmentDetails()
public void setAdjustmentDetails(ExchangeRS.AdjustmentDetails adjustmentDetails)
adjustmentDetails - public VehicleRentalRate getRentalRate()
public void setRentalRate(VehicleRentalRate rentalRate)
rentalRate - public ExchangeRS.Fees getFees()
public void setFees(ExchangeRS.Fees fees)
fees - public VehicleTotalChargeGroup getTotalCharge()
public void setTotalCharge(VehicleTotalChargeGroup totalCharge)
totalCharge - public ExchangeRS.PricedCoverages getPricedCoverages()
public void setPricedCoverages(ExchangeRS.PricedCoverages pricedCoverages)
pricedCoverages - public Paragraph getExchangeReason()
public void setExchangeReason(Paragraph exchangeReason)
exchangeReason - public ExchangeRS.Remarks getRemarks()
public void setRemarks(ExchangeRS.Remarks remarks)
remarks - public boolean ifErrors()
true if selection, false if notpublic Errors getErrors()
public void setErrors(Errors errors)
errors - public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
OTAPayloadStdAttributes - public RentalActionGroup getRentalActionGroup()
public void setRentalActionGroup(RentalActionGroup rentalActionGroup)
rentalActionGroup -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||