org.ota.air
Class Authorization.CreditCardAuthorization

java.lang.Object
  extended by org.ota.air.Authorization.CreditCardAuthorization
Enclosing class:
Authorization

public static class Authorization.CreditCardAuthorization
extends java.lang.Object

Specifies credit card information about the customer seeking authorization. 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="CreditCardAuthorization" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:PaymentCardType" name="CreditCard"/>
       <xs:element type="ns:UniqueID_Type" name="ID" minOccurs="0" maxOccurs="5"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
     <xs:attribute use="optional" name="SourceType">
       <xs:simpleType>
         <!-- Reference to inner class Source -->
       </xs:simpleType>
     </xs:attribute>
     <xs:attribute type="xs:boolean" use="optional" name="ExtendedPaymentInd"/>
     <xs:attribute type="xs:int" use="optional" name="ExtendedPaymentQuantity"/>
     <xs:attribute type="ns:TimeUnitType" use="optional" name="ExtendedPaymentFrequency"/>
     <xs:attribute type="xs:string" use="optional" name="AuthorizationCode"/>
     <xs:attribute type="xs:boolean" use="optional" name="ReversalIndicator"/>
     <xs:attribute type="xs:boolean" use="optional" name="CardPresentInd"/>
     <xs:attribute type="xs:string" use="optional" name="E_CommerceCode"/>
     <xs:attribute type="xs:string" use="optional" name="AuthTransactionID"/>
     <xs:attribute type="xs:string" use="optional" name="AuthVerificationValue"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class Authorization.CreditCardAuthorization.Source
          Schema fragment(s) for this class:
 
Constructor Summary
Authorization.CreditCardAuthorization()
           
 
Method Summary
 void addID(UniqueID item)
          Add a 'ID' element item.
 void clearIDs()
          Remove all 'ID' element items.
 java.lang.String getAuthorizationCode()
          Get the 'AuthorizationCode' attribute value.
 java.lang.String getAuthTransactionID()
          Get the 'AuthTransactionID' attribute value.
 java.lang.String getAuthVerificationValue()
          Get the 'AuthVerificationValue' attribute value.
 java.lang.Boolean getCardPresentInd()
          Get the 'CardPresentInd' attribute value.
 PaymentCard getCreditCard()
          Get the 'CreditCard' element value.
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 java.lang.String getECommerceCode()
          Get the 'E_CommerceCode' attribute value.
 TimeUnit getExtendedPaymentFrequency()
          Get the 'ExtendedPaymentFrequency' attribute value.
 java.lang.Boolean getExtendedPaymentInd()
          Get the 'ExtendedPaymentInd' attribute value.
 java.lang.Integer getExtendedPaymentQuantity()
          Get the 'ExtendedPaymentQuantity' attribute value.
 UniqueID getID(int index)
          Get 'ID' element item by position.
 java.util.List<UniqueID> getIDs()
          Get the list of 'ID' element items.
 java.lang.Boolean getReversalIndicator()
          Get the 'ReversalIndicator' attribute value.
 Authorization.CreditCardAuthorization.Source getSource()
          Get the 'SourceType' attribute value.
 void setAuthorizationCode(java.lang.String authorizationCode)
          Set the 'AuthorizationCode' attribute value.
 void setAuthTransactionID(java.lang.String authTransactionID)
          Set the 'AuthTransactionID' attribute value.
 void setAuthVerificationValue(java.lang.String authVerificationValue)
          Set the 'AuthVerificationValue' attribute value.
 void setCardPresentInd(java.lang.Boolean cardPresentInd)
          Set the 'CardPresentInd' attribute value.
 void setCreditCard(PaymentCard creditCard)
          Set the 'CreditCard' element value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setECommerceCode(java.lang.String ECommerceCode)
          Set the 'E_CommerceCode' attribute value.
 void setExtendedPaymentFrequency(TimeUnit extendedPaymentFrequency)
          Set the 'ExtendedPaymentFrequency' attribute value.
 void setExtendedPaymentInd(java.lang.Boolean extendedPaymentInd)
          Set the 'ExtendedPaymentInd' attribute value.
 void setExtendedPaymentQuantity(java.lang.Integer extendedPaymentQuantity)
          Set the 'ExtendedPaymentQuantity' attribute value.
 void setIDs(java.util.List<UniqueID> list)
          Set the list of 'ID' element items.
 void setReversalIndicator(java.lang.Boolean reversalIndicator)
          Set the 'ReversalIndicator' attribute value.
 void setSource(Authorization.CreditCardAuthorization.Source source)
          Set the 'SourceType' attribute value.
 int sizeIDs()
          Get the number of 'ID' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Authorization.CreditCardAuthorization

public Authorization.CreditCardAuthorization()
Method Detail

getCreditCard

public PaymentCard getCreditCard()
Get the 'CreditCard' element value. Specifies the credit card information for which authorization is required.

Returns:
value

setCreditCard

public void setCreditCard(PaymentCard creditCard)
Set the 'CreditCard' element value. Specifies the credit card information for which authorization is required.

Parameters:
creditCard -

getIDs

public java.util.List<UniqueID> getIDs()
Get the list of 'ID' element items. Identification of an authorization party (e.g., merchant, acquirer).

Returns:
list

setIDs

public void setIDs(java.util.List<UniqueID> list)
Set the list of 'ID' element items. Identification of an authorization party (e.g., merchant, acquirer).

Parameters:
list -

sizeIDs

public int sizeIDs()
Get the number of 'ID' element items.

Returns:
count

addID

public void addID(UniqueID item)
Add a 'ID' element item.

Parameters:
item -

getID

public UniqueID getID(int index)
Get 'ID' element item by position.

Parameters:
index -
Returns:
item

clearIDs

public void clearIDs()
Remove all 'ID' element items.


getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. Specifies the amount of money for which the the requester is seeking authorization.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. Specifies the amount of money for which the the requester is seeking authorization.

Parameters:
currencyAmountGroup -

getSource

public Authorization.CreditCardAuthorization.Source getSource()
Get the 'SourceType' attribute value. Information describing the point of sale.

Returns:
value

setSource

public void setSource(Authorization.CreditCardAuthorization.Source source)
Set the 'SourceType' attribute value. Information describing the point of sale.

Parameters:
source -

getExtendedPaymentInd

public java.lang.Boolean getExtendedPaymentInd()
Get the 'ExtendedPaymentInd' attribute value. If true, the requester would like to apply extended payment conditions to this authorization.

Returns:
value

setExtendedPaymentInd

public void setExtendedPaymentInd(java.lang.Boolean extendedPaymentInd)
Set the 'ExtendedPaymentInd' attribute value. If true, the requester would like to apply extended payment conditions to this authorization.

Parameters:
extendedPaymentInd -

getExtendedPaymentQuantity

public java.lang.Integer getExtendedPaymentQuantity()
Get the 'ExtendedPaymentQuantity' attribute value. The number of equal amount, partial payments for the extended payment.

Returns:
value

setExtendedPaymentQuantity

public void setExtendedPaymentQuantity(java.lang.Integer extendedPaymentQuantity)
Set the 'ExtendedPaymentQuantity' attribute value. The number of equal amount, partial payments for the extended payment.

Parameters:
extendedPaymentQuantity -

getExtendedPaymentFrequency

public TimeUnit getExtendedPaymentFrequency()
Get the 'ExtendedPaymentFrequency' attribute value. The frequency of extended payment installments.

Returns:
value

setExtendedPaymentFrequency

public void setExtendedPaymentFrequency(TimeUnit extendedPaymentFrequency)
Set the 'ExtendedPaymentFrequency' attribute value. The frequency of extended payment installments.

Parameters:
extendedPaymentFrequency -

getAuthorizationCode

public java.lang.String getAuthorizationCode()
Get the 'AuthorizationCode' attribute value. This is the approval code received on the original authorization request. Only used in the case where the requested transaction is to reverse the authorization.

Returns:
value

setAuthorizationCode

public void setAuthorizationCode(java.lang.String authorizationCode)
Set the 'AuthorizationCode' attribute value. This is the approval code received on the original authorization request. Only used in the case where the requested transaction is to reverse the authorization.

Parameters:
authorizationCode -

getReversalIndicator

public java.lang.Boolean getReversalIndicator()
Get the 'ReversalIndicator' attribute value. If true, indicates a request to reverse a credit authorization.

Returns:
value

setReversalIndicator

public void setReversalIndicator(java.lang.Boolean reversalIndicator)
Set the 'ReversalIndicator' attribute value. If true, indicates a request to reverse a credit authorization.

Parameters:
reversalIndicator -

getCardPresentInd

public java.lang.Boolean getCardPresentInd()
Get the 'CardPresentInd' attribute value. When true, the customer has actually presented the credit card.

Returns:
value

setCardPresentInd

public void setCardPresentInd(java.lang.Boolean cardPresentInd)
Set the 'CardPresentInd' attribute value. When true, the customer has actually presented the credit card.

Parameters:
cardPresentInd -

getECommerceCode

public java.lang.String getECommerceCode()
Get the 'E_CommerceCode' attribute value. The electronic commerce indicator required for some credit card authorizations, such as the Verified by Visa Process.

Returns:
value

setECommerceCode

public void setECommerceCode(java.lang.String ECommerceCode)
Set the 'E_CommerceCode' attribute value. The electronic commerce indicator required for some credit card authorizations, such as the Verified by Visa Process.

Parameters:
ECommerceCode -

getAuthTransactionID

public java.lang.String getAuthTransactionID()
Get the 'AuthTransactionID' attribute value. The authentication transaction identifier required for some credit card authorizations, such as the Verified by Visa Process.

Returns:
value

setAuthTransactionID

public void setAuthTransactionID(java.lang.String authTransactionID)
Set the 'AuthTransactionID' attribute value. The authentication transaction identifier required for some credit card authorizations, such as the Verified by Visa Process.

Parameters:
authTransactionID -

getAuthVerificationValue

public java.lang.String getAuthVerificationValue()
Get the 'AuthVerificationValue' attribute value. The cardholder authentication verfication value required for some credit card authorization, such as the Verified by Visa Process.

Returns:
value

setAuthVerificationValue

public void setAuthVerificationValue(java.lang.String authVerificationValue)
Set the 'AuthVerificationValue' attribute value. The cardholder authentication verfication value required for some credit card authorization, such as the Verified by Visa Process.

Parameters:
authVerificationValue -