com.elasticpath.sfweb.formbean.impl
Class CheckoutCreditCardFormBeanImpl

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

public class CheckoutCreditCardFormBeanImpl
extends EpFormBeanImpl
implements CheckoutCreditCardFormBean

Form bean for creating new addresses during the checkout.

See Also:
Serialized Form

Constructor Summary
CheckoutCreditCardFormBeanImpl()
           
 
Method Summary
 java.util.List getExistingCreditCards()
          Get the available credit cards that the customer may choose to pay with.
 CustomerCreditCard getNewCreditCard()
          Get a new CustomerCreditCard object to store a newly entered credit card.
 void setExistingCreditCards(java.util.List existingCreditCards)
          Set the available credit cards that the customer may choose to pay with.
 void setNewCreditCard(CustomerCreditCard creditCard)
          Set the credit card object to be used to record a new credit card.
 
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

CheckoutCreditCardFormBeanImpl

public CheckoutCreditCardFormBeanImpl()
Method Detail

getExistingCreditCards

public java.util.List getExistingCreditCards()
Get the available credit cards that the customer may choose to pay with.

Specified by:
getExistingCreditCards in interface CheckoutCreditCardFormBean
Returns:
the list of credit cards

getNewCreditCard

public CustomerCreditCard getNewCreditCard()
Get a new CustomerCreditCard object to store a newly entered credit card.

Specified by:
getNewCreditCard in interface CheckoutCreditCardFormBean
Returns:
a new credit card object

setExistingCreditCards

public void setExistingCreditCards(java.util.List existingCreditCards)
Set the available credit cards that the customer may choose to pay with.

Specified by:
setExistingCreditCards in interface CheckoutCreditCardFormBean
Parameters:
existingCreditCards - the list of credit cards

setNewCreditCard

public void setNewCreditCard(CustomerCreditCard creditCard)
Set the credit card object to be used to record a new credit card.

Specified by:
setNewCreditCard in interface CheckoutCreditCardFormBean
Parameters:
creditCard - the new credit card