org.ota.hotel
Class RequiredPayments

java.lang.Object
  extended by org.ota.hotel.RequiredPayments
Direct Known Subclasses:
HotelDescriptiveContent.Policies.Policy.GuaranteePaymentPolicy

public class RequiredPayments
extends java.lang.Object

A collection of required payments. 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="RequiredPaymentsType">
   <xs:sequence>
     <xs:element name="GuaranteePayment" maxOccurs="unbounded">
       <!-- Reference to inner class GuaranteePayment -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class RequiredPayments.GuaranteePayment
          Used to define the deposit policy, guarantees policy, and/or accepted forms of payment.
 
Constructor Summary
RequiredPayments()
           
 
Method Summary
 void addGuaranteePayment(RequiredPayments.GuaranteePayment item)
          Add a 'GuaranteePayment' element item.
 void clearGuaranteePayments()
          Remove all 'GuaranteePayment' element items.
 RequiredPayments.GuaranteePayment getGuaranteePayment(int index)
          Get 'GuaranteePayment' element item by position.
 java.util.List<RequiredPayments.GuaranteePayment> getGuaranteePayments()
          Get the list of 'GuaranteePayment' element items.
 void setGuaranteePayments(java.util.List<RequiredPayments.GuaranteePayment> list)
          Set the list of 'GuaranteePayment' element items.
 int sizeGuaranteePayments()
          Get the number of 'GuaranteePayment' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequiredPayments

public RequiredPayments()
Method Detail

getGuaranteePayments

public java.util.List<RequiredPayments.GuaranteePayment> getGuaranteePayments()
Get the list of 'GuaranteePayment' element items.

Returns:
list

setGuaranteePayments

public void setGuaranteePayments(java.util.List<RequiredPayments.GuaranteePayment> list)
Set the list of 'GuaranteePayment' element items.

Parameters:
list -

sizeGuaranteePayments

public int sizeGuaranteePayments()
Get the number of 'GuaranteePayment' element items.

Returns:
count

addGuaranteePayment

public void addGuaranteePayment(RequiredPayments.GuaranteePayment item)
Add a 'GuaranteePayment' element item.

Parameters:
item -

getGuaranteePayment

public RequiredPayments.GuaranteePayment getGuaranteePayment(int index)
Get 'GuaranteePayment' element item by position.

Parameters:
index -
Returns:
item

clearGuaranteePayments

public void clearGuaranteePayments()
Remove all 'GuaranteePayment' element items.