pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.shop.checkout
Class WirecardCCPaymentData

java.lang.Object
  extended by org.torweg.pulse.util.entity.AbstractBasicEntity
      extended by org.torweg.pulse.component.shop.checkout.PaymentData
          extended by org.torweg.pulse.component.shop.checkout.WirecardCCPaymentData
All Implemented Interfaces:
java.io.Serializable

public class WirecardCCPaymentData
extends PaymentData

The WirecardCCPaymentData.

Version:
$Revision$
Author:
Christian Schatt
See Also:
Serialized Form

Nested Class Summary
static class WirecardCCPaymentData.ThreeDSecureData
          The ThreeDSecureData.
static class WirecardCCPaymentData.ThreeDSecureStatus
          The ThreeDSecureStatus.
 
Nested classes/interfaces inherited from class org.torweg.pulse.component.shop.checkout.PaymentData
PaymentData.PaymentStatus
 
Constructor Summary
WirecardCCPaymentData()
          The no-argument constructor.
 
Method Summary
 java.lang.String getCardHolderName()
          Returns the card holder name.
 java.lang.String getCardIssueNumber()
          Returns the card issue number.
 java.lang.String getCardStartMonth()
          Returns the card start month.
 java.lang.String getCardStartYear()
          Returns the card start year.
 java.lang.String getCreditCardNumber()
          Returns the credit card number.
 java.lang.String getExpirationMonth()
          Returns the expiration month.
 java.lang.String getExpirationYear()
          Returns the expiration year.
 java.lang.String getIPAddress()
          Returns the IP address.
 java.lang.String getSecurityCode()
          Returns the cvc2 (also called cvv2 or cid) security code.
 WirecardCCPaymentData.ThreeDSecureData getThreeDSecureData()
          Returns the ThreeDSecureData.
 void reinitialize()
          Reinitializes the WirecardCCPaymentData.
 void setCardHolderName(java.lang.String chn)
          Sets the card holder name.
 void setCardIssueNumber(java.lang.String cin)
          Sets the card issue number.
 void setCardStartMonth(java.lang.String csm)
          Sets the card start month.
 void setCardStartYear(java.lang.String csy)
          Sets the card start year.
 void setCreditCardNumber(java.lang.String ccn)
          Sets the credit card number.
 void setExpirationMonth(java.lang.String em)
          Sets the expiration month.
 void setExpirationYear(java.lang.String ey)
          Sets the expiration year.
 void setIPAddress(java.lang.String ipa)
          Sets the IP address.
 void setSecurityCode(java.lang.String sc)
          Sets the cvc2 (also called cvv2 or cid) security code.
 void setThreeDSecureData(WirecardCCPaymentData.ThreeDSecureData tdsd)
          Sets the ThreeDSecureData.
 
Methods inherited from class org.torweg.pulse.component.shop.checkout.PaymentData
getAmount, getAuthorizationCanceledAction, getAuthorizationFailedAction, getAuthorizationFinishedAction, getCaptureCanceledAction, getCaptureFailedAction, getCaptureFinishedAction, getCurrency, getPaymentDate, getPaymentMethod, getProviderTransactionId, getStatus, getTransactionId, newInstance, setAmount, setCurrency, setPaymentDate, setProviderTransactionId, setStatus, setTransactionId
 
Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WirecardCCPaymentData

public WirecardCCPaymentData()
The no-argument constructor.

Method Detail

getThreeDSecureData

public final WirecardCCPaymentData.ThreeDSecureData getThreeDSecureData()
Returns the ThreeDSecureData.

Returns:
the ThreeDSecureData.

setThreeDSecureData

public final void setThreeDSecureData(WirecardCCPaymentData.ThreeDSecureData tdsd)
Sets the ThreeDSecureData.

Parameters:
tdsd - the ThreeDSecureData to set.

getCreditCardNumber

public final java.lang.String getCreditCardNumber()
Returns the credit card number.

Returns:
the credit card number.

setCreditCardNumber

public final void setCreditCardNumber(java.lang.String ccn)
Sets the credit card number.

Parameters:
ccn - the credit card number to set.

getSecurityCode

public final java.lang.String getSecurityCode()
Returns the cvc2 (also called cvv2 or cid) security code.

Returns:
the security code.

setSecurityCode

public final void setSecurityCode(java.lang.String sc)
Sets the cvc2 (also called cvv2 or cid) security code.

Parameters:
sc - the security code to set.

getExpirationYear

public final java.lang.String getExpirationYear()
Returns the expiration year.

Returns:
the expiration year.

setExpirationYear

public final void setExpirationYear(java.lang.String ey)
Sets the expiration year.

Parameters:
ey - the expiration year to set.

getExpirationMonth

public final java.lang.String getExpirationMonth()
Returns the expiration month.

Returns:
the expiration month.

setExpirationMonth

public final void setExpirationMonth(java.lang.String em)
Sets the expiration month.

Parameters:
em - the expiration month to set.

getCardHolderName

public final java.lang.String getCardHolderName()
Returns the card holder name.

Returns:
the card holder name.

setCardHolderName

public final void setCardHolderName(java.lang.String chn)
Sets the card holder name.

Parameters:
chn - the card holder name to set.

getCardStartYear

public final java.lang.String getCardStartYear()
Returns the card start year.

Returns:
the card start year.

setCardStartYear

public final void setCardStartYear(java.lang.String csy)
Sets the card start year.

Parameters:
csy - the card start year to set.

getCardStartMonth

public final java.lang.String getCardStartMonth()
Returns the card start month.

Returns:
the card start month.

setCardStartMonth

public final void setCardStartMonth(java.lang.String csm)
Sets the card start month.

Parameters:
csm - the card start month to set.

getCardIssueNumber

public final java.lang.String getCardIssueNumber()
Returns the card issue number.

Returns:
the card issue number.

setCardIssueNumber

public final void setCardIssueNumber(java.lang.String cin)
Sets the card issue number.

Parameters:
cin - the card issue number to set.

getIPAddress

public final java.lang.String getIPAddress()
Returns the IP address.

Returns:
the IP address.

setIPAddress

public final void setIPAddress(java.lang.String ipa)
Sets the IP address.

Parameters:
ipa - the IP address to set.

reinitialize

public void reinitialize()
Reinitializes the WirecardCCPaymentData.

Overrides:
reinitialize in class PaymentData
Throws:
java.lang.IllegalStateException - if the PaymentStatus of the WirecardCCPaymentData is CAPTURED, PENDING or BOOKED_BACK.