org.ota.cruise
Class CruiseBookingInfo

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

public class CruiseBookingInfo
extends java.lang.Object

Contains pricing and payment information for the booking. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CruiseBookingInfoType">
   <xs:sequence>
     <xs:element name="BookingPrices" minOccurs="0">
       <!-- Reference to inner class BookingPrices -->
     </xs:element>
     <xs:element name="PaymentSchedule" minOccurs="0">
       <!-- Reference to inner class PaymentSchedule -->
     </xs:element>
     <xs:element name="GuestPrices" minOccurs="0">
       <!-- Reference to inner class GuestPrices -->
     </xs:element>
     <xs:element type="ns:ParagraphType" name="PolicyInfo" minOccurs="0" maxOccurs="5"/>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class CruiseBookingInfo.BookingPrices
          Specifies the booking prices for the booking.
static class CruiseBookingInfo.GuestPrices
          Specifies the guest level price information.
static class CruiseBookingInfo.PaymentSchedule
          Specifies the payment schedule information.
 
Constructor Summary
CruiseBookingInfo()
           
 
Method Summary
 void addPolicyInfo(Paragraph item)
          Add a 'PolicyInfo' element item.
 void clearPolicyInfos()
          Remove all 'PolicyInfo' element items.
 CruiseBookingInfo.BookingPrices getBookingPrices()
          Get the 'BookingPrices' element value.
 CruiseBookingInfo.GuestPrices getGuestPrices()
          Get the 'GuestPrices' element value.
 CruiseBookingInfo.PaymentSchedule getPaymentSchedule()
          Get the 'PaymentSchedule' element value.
 Paragraph getPolicyInfo(int index)
          Get 'PolicyInfo' element item by position.
 java.util.List<Paragraph> getPolicyInfos()
          Get the list of 'PolicyInfo' element items.
 void setBookingPrices(CruiseBookingInfo.BookingPrices bookingPrices)
          Set the 'BookingPrices' element value.
 void setGuestPrices(CruiseBookingInfo.GuestPrices guestPrices)
          Set the 'GuestPrices' element value.
 void setPaymentSchedule(CruiseBookingInfo.PaymentSchedule paymentSchedule)
          Set the 'PaymentSchedule' element value.
 void setPolicyInfos(java.util.List<Paragraph> list)
          Set the list of 'PolicyInfo' element items.
 int sizePolicyInfos()
          Get the number of 'PolicyInfo' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CruiseBookingInfo

public CruiseBookingInfo()
Method Detail

getBookingPrices

public CruiseBookingInfo.BookingPrices getBookingPrices()
Get the 'BookingPrices' element value.

Returns:
value

setBookingPrices

public void setBookingPrices(CruiseBookingInfo.BookingPrices bookingPrices)
Set the 'BookingPrices' element value.

Parameters:
bookingPrices -

getPaymentSchedule

public CruiseBookingInfo.PaymentSchedule getPaymentSchedule()
Get the 'PaymentSchedule' element value.

Returns:
value

setPaymentSchedule

public void setPaymentSchedule(CruiseBookingInfo.PaymentSchedule paymentSchedule)
Set the 'PaymentSchedule' element value.

Parameters:
paymentSchedule -

getGuestPrices

public CruiseBookingInfo.GuestPrices getGuestPrices()
Get the 'GuestPrices' element value.

Returns:
value

setGuestPrices

public void setGuestPrices(CruiseBookingInfo.GuestPrices guestPrices)
Set the 'GuestPrices' element value.

Parameters:
guestPrices -

getPolicyInfos

public java.util.List<Paragraph> getPolicyInfos()
Get the list of 'PolicyInfo' element items. May be used to provide price policy information.

Returns:
list

setPolicyInfos

public void setPolicyInfos(java.util.List<Paragraph> list)
Set the list of 'PolicyInfo' element items. May be used to provide price policy information.

Parameters:
list -

sizePolicyInfos

public int sizePolicyInfos()
Get the number of 'PolicyInfo' element items.

Returns:
count

addPolicyInfo

public void addPolicyInfo(Paragraph item)
Add a 'PolicyInfo' element item.

Parameters:
item -

getPolicyInfo

public Paragraph getPolicyInfo(int index)
Get 'PolicyInfo' element item by position.

Parameters:
index -
Returns:
item

clearPolicyInfos

public void clearPolicyInfos()
Remove all 'PolicyInfo' element items.