org.ota.vehicle
Class RateRuleRS.RateRules.PaymentRules.AcceptablePayments

java.lang.Object
  extended by org.ota.vehicle.RateRuleRS.RateRules.PaymentRules.AcceptablePayments
Enclosing class:
RateRuleRS.RateRules.PaymentRules

public static class RateRuleRS.RateRules.PaymentRules.AcceptablePayments
extends java.lang.Object

A collection of acceptable methods of payment. 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="AcceptablePayments" minOccurs="0" maxOccurs="2">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="AcceptablePayment" maxOccurs="20">
         <!-- Reference to inner class AcceptablePayment -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="PaymentTypeCode"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RateRuleRS.RateRules.PaymentRules.AcceptablePayments.AcceptablePayment
          Specifies an acceptable method of payment.
 
Constructor Summary
RateRuleRS.RateRules.PaymentRules.AcceptablePayments()
           
 
Method Summary
 void addAcceptablePayment(RateRuleRS.RateRules.PaymentRules.AcceptablePayments.AcceptablePayment item)
          Add a 'AcceptablePayment' element item.
 void clearAcceptablePayments()
          Remove all 'AcceptablePayment' element items.
 RateRuleRS.RateRules.PaymentRules.AcceptablePayments.AcceptablePayment getAcceptablePayment(int index)
          Get 'AcceptablePayment' element item by position.
 java.util.List<RateRuleRS.RateRules.PaymentRules.AcceptablePayments.AcceptablePayment> getAcceptablePayments()
          Get the list of 'AcceptablePayment' element items.
 java.lang.String getPaymentTypeCode()
          Get the 'PaymentTypeCode' attribute value.
 void setAcceptablePayments(java.util.List<RateRuleRS.RateRules.PaymentRules.AcceptablePayments.AcceptablePayment> list)
          Set the list of 'AcceptablePayment' element items.
 void setPaymentTypeCode(java.lang.String paymentTypeCode)
          Set the 'PaymentTypeCode' attribute value.
 int sizeAcceptablePayments()
          Get the number of 'AcceptablePayment' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RateRuleRS.RateRules.PaymentRules.AcceptablePayments

public RateRuleRS.RateRules.PaymentRules.AcceptablePayments()
Method Detail

getAcceptablePayments

public java.util.List<RateRuleRS.RateRules.PaymentRules.AcceptablePayments.AcceptablePayment> getAcceptablePayments()
Get the list of 'AcceptablePayment' element items.

Returns:
list

setAcceptablePayments

public void setAcceptablePayments(java.util.List<RateRuleRS.RateRules.PaymentRules.AcceptablePayments.AcceptablePayment> list)
Set the list of 'AcceptablePayment' element items.

Parameters:
list -

sizeAcceptablePayments

public int sizeAcceptablePayments()
Get the number of 'AcceptablePayment' element items.

Returns:
count

addAcceptablePayment

public void addAcceptablePayment(RateRuleRS.RateRules.PaymentRules.AcceptablePayments.AcceptablePayment item)
Add a 'AcceptablePayment' element item.

Parameters:
item -

getAcceptablePayment

public RateRuleRS.RateRules.PaymentRules.AcceptablePayments.AcceptablePayment getAcceptablePayment(int index)
Get 'AcceptablePayment' element item by position.

Parameters:
index -
Returns:
item

clearAcceptablePayments

public void clearAcceptablePayments()
Remove all 'AcceptablePayment' element items.


getPaymentTypeCode

public java.lang.String getPaymentTypeCode()
Get the 'PaymentTypeCode' attribute value. Specifies the type of payemt (i.e., guarantee, deposit). Refer to OpenTravel Code List Payment Type (PMT).

Returns:
value

setPaymentTypeCode

public void setPaymentTypeCode(java.lang.String paymentTypeCode)
Set the 'PaymentTypeCode' attribute value. Specifies the type of payemt (i.e., guarantee, deposit). Refer to OpenTravel Code List Payment Type (PMT).

Parameters:
paymentTypeCode -