org.ota.cruise
Class PriceBookingRQ

java.lang.Object
  extended by org.ota.cruise.PriceBookingRQ

public class PriceBookingRQ
extends java.lang.Object

The Price Booking Request message requests pricing information for a given sailing with a specific Mode of Transportation/GatewayCity pair and currency and for a selected fare/category pair and a cabin number. Optional request information can include: - Guest city - Inclusive package 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_CruisePriceBookingRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element name="GuestCounts" minOccurs="0">
         <!-- Reference to inner class GuestCounts -->
       </xs:element>
       <xs:element type="ns:SailingCategoryInfoType" name="SailingInfo"/>
       <xs:element type="ns:CruiseGuestInfoType" name="ReservationInfo"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class PriceBookingRQ.GuestCounts
          Specifies guest quantity and guest types.
 
Constructor Summary
PriceBookingRQ()
           
 
Method Summary
 PriceBookingRQ.GuestCounts getGuestCounts()
          Get the 'GuestCounts' element value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 CruiseGuestInfo getReservationInfo()
          Get the 'ReservationInfo' element value.
 SailingCategoryInfo getSailingInfo()
          Get the 'SailingInfo' element value.
 void setGuestCounts(PriceBookingRQ.GuestCounts guestCounts)
          Set the 'GuestCounts' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setReservationInfo(CruiseGuestInfo reservationInfo)
          Set the 'ReservationInfo' element value.
 void setSailingInfo(SailingCategoryInfo sailingInfo)
          Set the 'SailingInfo' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PriceBookingRQ

public PriceBookingRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Point of sale object.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Point of sale object.

Parameters:
POS -

getGuestCounts

public PriceBookingRQ.GuestCounts getGuestCounts()
Get the 'GuestCounts' element value.

Returns:
value

setGuestCounts

public void setGuestCounts(PriceBookingRQ.GuestCounts guestCounts)
Set the 'GuestCounts' element value.

Parameters:
guestCounts -

getSailingInfo

public SailingCategoryInfo getSailingInfo()
Get the 'SailingInfo' element value. Contains information related to the selected sailing. Typically the selected sailing is one of the sailings returned in the previous sailing availability response. Used to request a package option that the cruise might offer with the sailing. It is quite common to request, at this stage, packages that are included in the cruise sailing offering (inclusive packages).

Returns:
value

setSailingInfo

public void setSailingInfo(SailingCategoryInfo sailingInfo)
Set the 'SailingInfo' element value. Contains information related to the selected sailing. Typically the selected sailing is one of the sailings returned in the previous sailing availability response. Used to request a package option that the cruise might offer with the sailing. It is quite common to request, at this stage, packages that are included in the cruise sailing offering (inclusive packages).

Parameters:
sailingInfo -

getReservationInfo

public CruiseGuestInfo getReservationInfo()
Get the 'ReservationInfo' element value. Specifies information about the booking.

Returns:
value

setReservationInfo

public void setReservationInfo(CruiseGuestInfo reservationInfo)
Set the 'ReservationInfo' element value. Specifies information about the booking.

Parameters:
reservationInfo -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. The standard attributes that appear on the root element for all OpenTravel Messages.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. The standard attributes that appear on the root element for all OpenTravel Messages.

Parameters:
OTAPayloadStdAttributes -