com.intuit.qbmsconnector.request
Class CreditCardTxnRequest

java.lang.Object
  extended by com.intuit.qbmsconnector.request.AbstractRequest
      extended by com.intuit.qbmsconnector.request.TxnRequest
          extended by com.intuit.qbmsconnector.request.BatchedTxnRequest
              extended by com.intuit.qbmsconnector.request.CreditCardTxnRequest
Direct Known Subclasses:
CreditCardRefundRequest, CreditCardTxnWithVerificationRequest, CreditCardVoiceAuthorizeRequest

public abstract class CreditCardTxnRequest
extends BatchedTxnRequest

Contains common properties for credit card transactions.


Constructor Summary
CreditCardTxnRequest()
           
 
Method Summary
 Double getAmount()
          Gets the amount.
 String getCommercialCardCode()
          Gets the commercial card code.
 String getCreditCardNumber()
          Gets the credit card number.
 Integer getExpirationMonth()
          Gets the expiration month.
 Integer getExpirationYear()
          Gets the expiration year.
 Boolean getIsCardPresent()
          Gets the isCardPresent.
 Boolean getIsECommerce()
          Gets the isECommerce.
 LodgingInfo getLodging()
          Gets the lodging information.
 RestaurantInfo getRestaurant()
          Gets the restaurant information.
 Double getSalesTaxAmount()
          Gets the salesTaxAmount.
 String getTrack1Data()
          Gets the track1 data.
 String getTrack2Data()
          Gets the track2 data.
 void setAmount(Double amount)
          Sets the amount.
 void setCommercialCardCode(String commercialCardCode)
          Sets the commercial card code.
 void setCreditCardNumber(String creditCardNumber)
          Sets the credit card number.
 void setExpirationMonth(Integer expirationMonth)
          Sets the expiration month.
 void setExpirationYear(Integer expirationYear)
          Sets the expiration year.
 void setIsCardPresent(Boolean isCardPresent)
          Sets the isCardPresent.
 void setIsECommerce(Boolean isECommerce)
          Sets the isECommerce.
 void setLodging(LodgingInfo lodging)
          Sets the lodging information.
 void setRestaurant(RestaurantInfo restaurant)
          Sets the restaurant information.
 void setSalesTaxAmount(Double salesTaxAmount)
          Sets the salesTaxAmount.
 void setTrack1Data(String track1Data)
          Sets the track1 data.
 void setTrack2Data(String track2Data)
          Sets the track2 data.
 
Methods inherited from class com.intuit.qbmsconnector.request.BatchedTxnRequest
getBatchId, setBatchId
 
Methods inherited from class com.intuit.qbmsconnector.request.TxnRequest
getComment, getInvoiceId, getUserId, setComment, setInvoiceId, setUserId
 
Methods inherited from class com.intuit.qbmsconnector.request.AbstractRequest
getRequestId, getTransRequestId, setRequestId, setTransRequestId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreditCardTxnRequest

public CreditCardTxnRequest()
Method Detail

getCreditCardNumber

public String getCreditCardNumber()
Gets the credit card number.

Returns:
the creditCardNumber

setCreditCardNumber

public void setCreditCardNumber(String creditCardNumber)
Sets the credit card number.

Parameters:
creditCardNumber - the creditCardNumber to set

getExpirationMonth

public Integer getExpirationMonth()
Gets the expiration month.

Returns:
the expiration month

setExpirationMonth

public void setExpirationMonth(Integer expirationMonth)
Sets the expiration month.

Parameters:
expirationMonth - the expirationMonth to set

getExpirationYear

public Integer getExpirationYear()
Gets the expiration year.

Returns:
the expirationYear

setExpirationYear

public void setExpirationYear(Integer expirationYear)
Sets the expiration year.

Parameters:
expirationYear - the expirationYear to set

getTrack1Data

public String getTrack1Data()
Gets the track1 data.

Returns:
the track1Data

setTrack1Data

public void setTrack1Data(String track1Data)
Sets the track1 data.

Parameters:
track1Data - the track1Data to set

getTrack2Data

public String getTrack2Data()
Gets the track2 data.

Returns:
the track2Data

setTrack2Data

public void setTrack2Data(String track2Data)
Sets the track2 data.

Parameters:
track2Data - the track2Data to set

getCommercialCardCode

public String getCommercialCardCode()
Gets the commercial card code.

Returns:
the commercialCardCode

setCommercialCardCode

public void setCommercialCardCode(String commercialCardCode)
Sets the commercial card code.

Parameters:
commercialCardCode - the commercialCardCode to set

getAmount

public Double getAmount()
Gets the amount.

Returns:
The amount.

setAmount

public void setAmount(Double amount)
Sets the amount.

Parameters:
amount - The amount to set.

getSalesTaxAmount

public Double getSalesTaxAmount()
Gets the salesTaxAmount.

Returns:
The salesTaxAmount.

setSalesTaxAmount

public void setSalesTaxAmount(Double salesTaxAmount)
Sets the salesTaxAmount.

Parameters:
salesTaxAmount - The salesTaxAmount to set.

getIsCardPresent

public Boolean getIsCardPresent()
Gets the isCardPresent.

Returns:
true, if card is present.

setIsCardPresent

public void setIsCardPresent(Boolean isCardPresent)
Sets the isCardPresent.

Parameters:
isCardPresent - true, if card is present.

getIsECommerce

public Boolean getIsECommerce()
Gets the isECommerce.

Returns:
true, if isEcommerce

setIsECommerce

public void setIsECommerce(Boolean isECommerce)
Sets the isECommerce.

Parameters:
isECommerce - true, if isEcommerce

getLodging

public LodgingInfo getLodging()
Gets the lodging information.

Returns:
the lodging information.

setLodging

public void setLodging(LodgingInfo lodging)
Sets the lodging information.

Parameters:
lodging - the lodging information to set.

getRestaurant

public RestaurantInfo getRestaurant()
Gets the restaurant information.

Returns:
the restaurant information.

setRestaurant

public void setRestaurant(RestaurantInfo restaurant)
Sets the restaurant information.

Parameters:
restaurant - the restaurant information to set.


Copyright © 2006-2010 Intuit Inc. All Rights Reserved.