|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.sfweb.formbean.impl.EpFormBeanImpl com.elasticpath.sfweb.formbean.impl.CheckoutAddressFormBeanImpl
public class CheckoutAddressFormBeanImpl
Form bean for creating new addresses during the checkout.
Constructor Summary | |
---|---|
CheckoutAddressFormBeanImpl()
|
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 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 |
---|
public CheckoutAddressFormBeanImpl()
Method Detail |
---|
public java.util.List getExistingAddresses()
getExistingAddresses
in interface CheckoutAddressFormBean
public CustomerAddress getNewAddress()
Address
object to store
a newly entered address.
getNewAddress
in interface CheckoutAddressFormBean
public boolean isShippingAddress()
isShippingAddress
in interface CheckoutAddressFormBean
public void setExistingAddresses(java.util.List existingAddresses)
setExistingAddresses
in interface CheckoutAddressFormBean
existingAddresses
- the list of addressespublic void setNewAddress(CustomerAddress address)
setNewAddress
in interface CheckoutAddressFormBean
address
- the new addresspublic void setShippingAddress(boolean shippingAddress)
setShippingAddress
in interface CheckoutAddressFormBean
shippingAddress
- true for shipping, false for billing
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |