com.elasticpath.sfweb.formbean
Interface CheckoutCreditCardFormBean

All Superinterfaces:
EpFormBean, java.io.Serializable
All Known Implementing Classes:
CheckoutCreditCardFormBeanImpl

public interface CheckoutCreditCardFormBean
extends EpFormBean

Form bean for creating new credit cards during the checkout.


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 interface com.elasticpath.sfweb.formbean.EpFormBean
getElasticPath
 

Method Detail

getExistingCreditCards

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

Returns:
the list of credit cards

getNewCreditCard

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

Returns:
a new credit card object

setExistingCreditCards

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

Parameters:
existingCreditCards - the list of credit cards

setNewCreditCard

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

Parameters:
creditCard - the new credit cardCreditCard