org.ota.itin
Class TravelSegment.Reservation.DepositPayment

java.lang.Object
  extended by org.ota.itin.TravelSegment.Reservation.DepositPayment
Enclosing class:
TravelSegment.Reservation

public static class TravelSegment.Reservation.DepositPayment
extends java.lang.Object

A collection of deposit and/or payments for the Room Stay. A maximum of 5 occurances are available for use depending on the context. 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" type="ns:RequiredPaymentLiteType" name="DepositPayment" minOccurs="0" maxOccurs="5"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RequiredPaymentLiteType">
   <xs:sequence>
     <xs:element type="ns:AcceptedPaymentsType" name="AcceptedPayments" minOccurs="0"/>
     <xs:element type="ns:AmountPercentType" name="AmountPercent" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute name="RetributionType">
     <xs:simpleType>
       <!-- Reference to inner class Retribution -->
     </xs:simpleType>
   </xs:attribute>
 </xs:complexType>
 


Nested Class Summary
static class TravelSegment.Reservation.DepositPayment.Retribution
          Schema fragment(s) for this class:
 
Constructor Summary
TravelSegment.Reservation.DepositPayment()
           
 
Method Summary
 AcceptedPayments getAcceptedPayments()
          Get the 'AcceptedPayments' element value.
 AmountPercent getAmountPercent()
          Get the 'AmountPercent' element value.
 TravelSegment.Reservation.DepositPayment.Retribution getRetribution()
          Get the 'RetributionType' attribute value.
 void setAcceptedPayments(AcceptedPayments acceptedPayments)
          Set the 'AcceptedPayments' element value.
 void setAmountPercent(AmountPercent amountPercent)
          Set the 'AmountPercent' element value.
 void setRetribution(TravelSegment.Reservation.DepositPayment.Retribution retribution)
          Set the 'RetributionType' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TravelSegment.Reservation.DepositPayment

public TravelSegment.Reservation.DepositPayment()
Method Detail

getAcceptedPayments

public AcceptedPayments getAcceptedPayments()
Get the 'AcceptedPayments' element value. Collection of forms of payment accepted for payment.

Returns:
value

setAcceptedPayments

public void setAcceptedPayments(AcceptedPayments acceptedPayments)
Set the 'AcceptedPayments' element value. Collection of forms of payment accepted for payment.

Parameters:
acceptedPayments -

getAmountPercent

public AmountPercent getAmountPercent()
Get the 'AmountPercent' element value. Payment expressed as a fixed amount, or a percentage of/or room nights.

Returns:
value

setAmountPercent

public void setAmountPercent(AmountPercent amountPercent)
Set the 'AmountPercent' element value. Payment expressed as a fixed amount, or a percentage of/or room nights.

Parameters:
amountPercent -

getRetribution

public TravelSegment.Reservation.DepositPayment.Retribution getRetribution()
Get the 'RetributionType' attribute value. An enumerated type defining the type of action taken when the deadline has been exceeded. Valid values: Res Automatically Cancelled, Res No Longer Guaranteed.

Returns:
value

setRetribution

public void setRetribution(TravelSegment.Reservation.DepositPayment.Retribution retribution)
Set the 'RetributionType' attribute value. An enumerated type defining the type of action taken when the deadline has been exceeded. Valid values: Res Automatically Cancelled, Res No Longer Guaranteed.

Parameters:
retribution -