org.ota.shared
Class AcceptablePaymentCardsInfo.AcceptablePaymentCards.AcceptablePaymentCard

java.lang.Object
  extended by org.ota.shared.AcceptablePaymentCardsInfo.AcceptablePaymentCards.AcceptablePaymentCard
Enclosing class:
AcceptablePaymentCardsInfo.AcceptablePaymentCards

public static class AcceptablePaymentCardsInfo.AcceptablePaymentCards.AcceptablePaymentCard
extends java.lang.Object

Specific information of one payment card that is acceptable as a form 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="AcceptablePaymentCard" maxOccurs="99">
   <xs:complexType>
     <xs:attributeGroup ref="ns:AcceptablePaymentCardGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AcceptablePaymentCardGroup">
   <xs:attribute type="xs:string" use="optional" name="CardType"/>
   <xs:attribute type="xs:string" use="optional" name="CardName"/>
   <xs:attribute type="xs:float" use="optional" name="UsagePercentage"/>
   <xs:attribute type="xs:float" use="optional" name="UsageAmount"/>
   <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
 </xs:attributeGroup>
 


Constructor Summary
AcceptablePaymentCardsInfo.AcceptablePaymentCards.AcceptablePaymentCard()
           
 
Method Summary
 java.lang.String getCard()
          Get the 'CardType' attribute value.
 java.lang.String getCardName()
          Get the 'CardName' attribute value.
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 java.lang.Float getUsageAmount()
          Get the 'UsageAmount' attribute value.
 java.lang.Float getUsagePercentage()
          Get the 'UsagePercentage' attribute value.
 void setCard(java.lang.String card)
          Set the 'CardType' attribute value.
 void setCardName(java.lang.String cardName)
          Set the 'CardName' attribute value.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setUsageAmount(java.lang.Float usageAmount)
          Set the 'UsageAmount' attribute value.
 void setUsagePercentage(java.lang.Float usagePercentage)
          Set the 'UsagePercentage' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcceptablePaymentCardsInfo.AcceptablePaymentCards.AcceptablePaymentCard

public AcceptablePaymentCardsInfo.AcceptablePaymentCards.AcceptablePaymentCard()
Method Detail

getCard

public java.lang.String getCard()
Get the 'CardType' attribute value. A code used to identify this payment card. Refer to OpenTravel Code List Card Type (CDT).

Returns:
value

setCard

public void setCard(java.lang.String card)
Set the 'CardType' attribute value. A code used to identify this payment card. Refer to OpenTravel Code List Card Type (CDT).

Parameters:
card -

getCardName

public java.lang.String getCardName()
Get the 'CardName' attribute value. The name used to describe this type of payment card, for example, American Express

Returns:
value

setCardName

public void setCardName(java.lang.String cardName)
Set the 'CardName' attribute value. The name used to describe this type of payment card, for example, American Express

Parameters:
cardName -

getUsagePercentage

public java.lang.Float getUsagePercentage()
Get the 'UsagePercentage' attribute value. If applicable, defines the percentage of the total amount that is incurred as a usage fee.

Returns:
value

setUsagePercentage

public void setUsagePercentage(java.lang.Float usagePercentage)
Set the 'UsagePercentage' attribute value. If applicable, defines the percentage of the total amount that is incurred as a usage fee.

Parameters:
usagePercentage -

getUsageAmount

public java.lang.Float getUsageAmount()
Get the 'UsageAmount' attribute value. If applicable, defines the additonal amount that is incurred as a usage fee.

Returns:
value

setUsageAmount

public void setUsageAmount(java.lang.Float usageAmount)
Set the 'UsageAmount' attribute value. If applicable, defines the additonal amount that is incurred as a usage fee.

Parameters:
usageAmount -

getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value. Identifies the currency of the amount.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value. Identifies the currency of the amount.

Parameters:
currencyCodeGroup -