com.elasticpath.sfweb.formbean
Interface CheckoutAddressFormBean

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

public interface CheckoutAddressFormBean
extends EpFormBean

Form bean for creating new addresses during the checkout.


Method Summary
 java.util.List getExistingAddresses()
          Get the available addresses that the customer may choose to ship to.
 CustomerAddress getNewAddress()
          Get a new Address object to store a newly entered address.
 boolean isShippingAddress()
          Returns true if the shipping address is being set.
 void setExistingAddresses(java.util.List existingAddresses)
          Set the available addresses that the customer may choose to ship to.
 void setNewAddress(CustomerAddress address)
          Set the address object to be used to record a new address.
 void setShippingAddress(boolean shippingAddress)
          Set whether the shipping address or billing address is being specified.
 
Methods inherited from interface com.elasticpath.sfweb.formbean.EpFormBean
getElasticPath
 

Method Detail

getExistingAddresses

java.util.List getExistingAddresses()
Get the available addresses that the customer may choose to ship to.

Returns:
the set of addresses

getNewAddress

CustomerAddress getNewAddress()
Get a new Address object to store a newly entered address.

Returns:
a new address object

isShippingAddress

boolean isShippingAddress()
Returns true if the shipping address is being set. If false, then the billing address is being set.

Returns:
true for shipping, false for billing

setExistingAddresses

void setExistingAddresses(java.util.List existingAddresses)
Set the available addresses that the customer may choose to ship to.

Parameters:
existingAddresses - the set of addresses

setNewAddress

void setNewAddress(CustomerAddress address)
Set the address object to be used to record a new address.

Parameters:
address - the new address

setShippingAddress

void setShippingAddress(boolean shippingAddress)
Set whether the shipping address or billing address is being specified.

Parameters:
shippingAddress - true for shipping, false for billing