com.elasticpath.sfweb.formbean.impl
Class CreditCardFormBeanImpl

java.lang.Object
  extended by com.elasticpath.sfweb.formbean.impl.EpFormBeanImpl
      extended by com.elasticpath.sfweb.formbean.impl.CreditCardFormBeanImpl
All Implemented Interfaces:
CreditCardFormBean, EpFormBean, java.io.Serializable

public class CreditCardFormBeanImpl
extends EpFormBeanImpl
implements CreditCardFormBean

Form bean for creating and editing customer credit cards.

See Also:
Serialized Form

Constructor Summary
CreditCardFormBeanImpl()
           
 
Method Summary
 java.lang.String getCardHolderName()
           
 java.lang.String getCardNumber()
           
 java.lang.String getCardType()
           
 java.lang.String getExpiryMonth()
           
 java.lang.String getExpiryYear()
           
 int getIssueNumber()
           
 java.lang.String getMaskedCardNumber()
           
 java.lang.String getSecurityCode()
           
 java.lang.String getStartMonth()
           
 java.lang.String getStartYear()
           
 long getUidPk()
          Gets the unique identifier of the credit card represented by this form bean.
 boolean isDefaultCard()
           
 boolean isRequestFromCheckout()
          Returns true if the credit card update request is from the checkout page.
 void setCardHolderName(java.lang.String cardHolderName)
           
 void setCardNumber(java.lang.String cardNumber)
           
 void setCardType(java.lang.String cardType)
           
 void setDefaultCard(boolean defaultCard)
           
 void setExpiryMonth(java.lang.String expiryMonth)
           
 void setExpiryYear(java.lang.String expiryYear)
           
 void setIssueNumber(int issueNumber)
           
 void setMaskedCardNumber(java.lang.String maskedCardNumber)
           
 void setRequestFromCheckout(boolean requestFromCheckout)
          Set whether or not the credit card update request is from the checkout page.
 void setSecurityCode(java.lang.String securityCode)
           
 void setStartMonth(java.lang.String startMonth)
           
 void setStartYear(java.lang.String startYear)
           
 void setUidPk(long uidPk)
          Sets the unique identifier of the credit card represented by this form bean.
 
Methods inherited from class com.elasticpath.sfweb.formbean.impl.EpFormBeanImpl
getElasticPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.elasticpath.sfweb.formbean.EpFormBean
getElasticPath
 

Constructor Detail

CreditCardFormBeanImpl

public CreditCardFormBeanImpl()
Method Detail

getCardHolderName

public java.lang.String getCardHolderName()
Specified by:
getCardHolderName in interface CreditCardFormBean
Returns:
the cardHolderName

getCardNumber

public java.lang.String getCardNumber()
Specified by:
getCardNumber in interface CreditCardFormBean
Returns:
the cardNumber

getCardType

public java.lang.String getCardType()
Specified by:
getCardType in interface CreditCardFormBean
Returns:
the cardType

getExpiryMonth

public java.lang.String getExpiryMonth()
Specified by:
getExpiryMonth in interface CreditCardFormBean
Returns:
the expiryMonth

getExpiryYear

public java.lang.String getExpiryYear()
Specified by:
getExpiryYear in interface CreditCardFormBean
Returns:
the expiryYear

getIssueNumber

public int getIssueNumber()
Specified by:
getIssueNumber in interface CreditCardFormBean
Returns:
the issueNumber

getMaskedCardNumber

public java.lang.String getMaskedCardNumber()
Specified by:
getMaskedCardNumber in interface CreditCardFormBean
Returns:
the masked cardNumber

getSecurityCode

public java.lang.String getSecurityCode()
Specified by:
getSecurityCode in interface CreditCardFormBean
Returns:
the securityCode

getStartMonth

public java.lang.String getStartMonth()
Specified by:
getStartMonth in interface CreditCardFormBean
Returns:
the startMonth

getStartYear

public java.lang.String getStartYear()
Specified by:
getStartYear in interface CreditCardFormBean
Returns:
the startYear

getUidPk

public long getUidPk()
Gets the unique identifier of the credit card represented by this form bean.

Specified by:
getUidPk in interface CreditCardFormBean
Returns:
the unique identifier.

isDefaultCard

public boolean isDefaultCard()
Specified by:
isDefaultCard in interface CreditCardFormBean
Returns:
the defaultCard

isRequestFromCheckout

public boolean isRequestFromCheckout()
Returns true if the credit card update request is from the checkout page.

Specified by:
isRequestFromCheckout in interface CreditCardFormBean
Returns:
true if the credit card update request is from the checkout page.

setCardHolderName

public void setCardHolderName(java.lang.String cardHolderName)
Specified by:
setCardHolderName in interface CreditCardFormBean
Parameters:
cardHolderName - the cardHolderName to set

setCardNumber

public void setCardNumber(java.lang.String cardNumber)
Specified by:
setCardNumber in interface CreditCardFormBean
Parameters:
cardNumber - the cardNumber to set

setCardType

public void setCardType(java.lang.String cardType)
Specified by:
setCardType in interface CreditCardFormBean
Parameters:
cardType - the cardType to set

setDefaultCard

public void setDefaultCard(boolean defaultCard)
Specified by:
setDefaultCard in interface CreditCardFormBean
Parameters:
defaultCard - the defaultCard to set

setExpiryMonth

public void setExpiryMonth(java.lang.String expiryMonth)
Specified by:
setExpiryMonth in interface CreditCardFormBean
Parameters:
expiryMonth - the expiryMonth to set

setExpiryYear

public void setExpiryYear(java.lang.String expiryYear)
Specified by:
setExpiryYear in interface CreditCardFormBean
Parameters:
expiryYear - the expiryYear to set

setIssueNumber

public void setIssueNumber(int issueNumber)
Specified by:
setIssueNumber in interface CreditCardFormBean
Parameters:
issueNumber - the issueNumber to set

setMaskedCardNumber

public void setMaskedCardNumber(java.lang.String maskedCardNumber)
Specified by:
setMaskedCardNumber in interface CreditCardFormBean
Parameters:
maskedCardNumber - the masked cardNumber to set

setRequestFromCheckout

public void setRequestFromCheckout(boolean requestFromCheckout)
Set whether or not the credit card update request is from the checkout page.

Specified by:
setRequestFromCheckout in interface CreditCardFormBean
Parameters:
requestFromCheckout - set to true to indicate that the request is from the checkout page

setSecurityCode

public void setSecurityCode(java.lang.String securityCode)
Specified by:
setSecurityCode in interface CreditCardFormBean
Parameters:
securityCode - the securityCode to set

setStartMonth

public void setStartMonth(java.lang.String startMonth)
Specified by:
setStartMonth in interface CreditCardFormBean
Parameters:
startMonth - the startMonth to set

setStartYear

public void setStartYear(java.lang.String startYear)
Specified by:
setStartYear in interface CreditCardFormBean
Parameters:
startYear - the startYear to set

setUidPk

public void setUidPk(long uidPk)
Sets the unique identifier of the credit card represented by this form bean.

Specified by:
setUidPk in interface CreditCardFormBean
Parameters:
uidPk - the new unique identifier.