org.ota.air
Class DemandTicketRQ.PaymentInfo.CreditCardInfo

java.lang.Object
  extended by org.ota.shared.PaymentCard
      extended by org.ota.air.DemandTicketRQ.PaymentInfo.CreditCardInfo
Enclosing class:
DemandTicketRQ.PaymentInfo

public static class DemandTicketRQ.PaymentInfo.CreditCardInfo
extends PaymentCard

The details for the card when form of payment is a credit card. 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="CreditCardInfo" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:PaymentCardType">
         <xs:attribute type="xs:string" use="optional" name="ApprovalCode"/>
         <xs:attribute type="xs:boolean" use="optional" name="CardPresentInd"/>
         <xs:attribute type="xs:string" use="optional" name="ExtendedPaymentCode"/>
         <xs:attribute type="xs:float" use="optional" name="Amount"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.shared.PaymentCard
PaymentCard.CardIssuerName, PaymentCard.MagneticStripe, PaymentCard.SignatureOnFile
 
Constructor Summary
DemandTicketRQ.PaymentInfo.CreditCardInfo()
           
 
Method Summary
 java.lang.Float getAmount()
          Get the 'Amount' attribute value.
 java.lang.String getApprovalCode()
          Get the 'ApprovalCode' attribute value.
 java.lang.Boolean getCardPresentInd()
          Get the 'CardPresentInd' attribute value.
 java.lang.String getExtendedPaymentCode()
          Get the 'ExtendedPaymentCode' attribute value.
 void setAmount(java.lang.Float amount)
          Set the 'Amount' attribute value.
 void setApprovalCode(java.lang.String approvalCode)
          Set the 'ApprovalCode' attribute value.
 void setCardPresentInd(java.lang.Boolean cardPresentInd)
          Set the 'CardPresentInd' attribute value.
 void setExtendedPaymentCode(java.lang.String extendedPaymentCode)
          Set the 'ExtendedPaymentCode' attribute value.
 
Methods inherited from class org.ota.shared.PaymentCard
addCustLoyalty, addEmail, addTelephone, clearCustLoyalties, clearEmails, clearTelephones, getAddress, getCard, getCardCode, getCardHolderName, getCardHolderRPH, getCardIssuerName, getCardNumber, getCompanyCardReference, getCountryOfIssue, getCustLoyalties, getCustLoyalty, getEffectiveDate, getEmail, getEmails, getEncryptionKey, getExpireDate, getExtendedPaymentQuantity, getExtendPaymentIndicator, getMagneticStripe, getMaskedCardNumber, getPrivacyGroup, getRemark, getSeriesCode, getSignatureOnFile, getSignatureOnFileIndicator, getTelephone, getTelephones, setAddress, setCard, setCardCode, setCardHolderName, setCardHolderRPH, setCardIssuerName, setCardNumber, setCompanyCardReference, setCountryOfIssue, setCustLoyalties, setEffectiveDate, setEmails, setEncryptionKey, setExpireDate, setExtendedPaymentQuantity, setExtendPaymentIndicator, setMagneticStripe, setMaskedCardNumber, setPrivacyGroup, setRemark, setSeriesCode, setSignatureOnFile, setSignatureOnFileIndicator, setTelephones, sizeCustLoyalties, sizeEmails, sizeTelephones
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemandTicketRQ.PaymentInfo.CreditCardInfo

public DemandTicketRQ.PaymentInfo.CreditCardInfo()
Method Detail

getApprovalCode

public java.lang.String getApprovalCode()
Get the 'ApprovalCode' attribute value. The credit card approval code.

Returns:
value

setApprovalCode

public void setApprovalCode(java.lang.String approvalCode)
Set the 'ApprovalCode' attribute value. The credit card approval code.

Parameters:
approvalCode -

getCardPresentInd

public java.lang.Boolean getCardPresentInd()
Get the 'CardPresentInd' attribute value. When true, the credit card was present at the transaction.

Returns:
value

setCardPresentInd

public void setCardPresentInd(java.lang.Boolean cardPresentInd)
Set the 'CardPresentInd' attribute value. When true, the credit card was present at the transaction.

Parameters:
cardPresentInd -

getExtendedPaymentCode

public java.lang.String getExtendedPaymentCode()
Get the 'ExtendedPaymentCode' attribute value. Specifies the number of months that extended payment is allowed or an 'E' to indicate there is extended payment but no set number of months.

Returns:
value

setExtendedPaymentCode

public void setExtendedPaymentCode(java.lang.String extendedPaymentCode)
Set the 'ExtendedPaymentCode' attribute value. Specifies the number of months that extended payment is allowed or an 'E' to indicate there is extended payment but no set number of months.

Parameters:
extendedPaymentCode -

getAmount

public java.lang.Float getAmount()
Get the 'Amount' attribute value. Specifies the amount for this form of payment.

Returns:
value

setAmount

public void setAmount(java.lang.Float amount)
Set the 'Amount' attribute value. Specifies the amount for this form of payment.

Parameters:
amount -