public class UsableBillingAddressListDataBean extends SmartDataBeanImpl implements UsableBillingAddressListInputDataBean, UsableBillingAddressListSmartDataBean, Delegator
emptyString| Constructor and Description |
|---|
UsableBillingAddressListDataBean()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AddressDataBean[] |
getBillingAddresses()
This method returns an array of usable billing addresses in the checkout flow.
|
Protectable |
getDelegate()
This method returns the delegated OrderDataBean.
|
OrderDataBean |
getOrderDataBean()
This method returns the OrderDataBean to use a billing address.
|
boolean |
isPersonalAddressAllowForBilling()
This method returns if the personal address could be used as a billing address.
|
void |
populate()
This method is used to populate the UsableBillingAddressListDataBean.
|
void |
setOrderId(java.lang.String aOrderId)
This method sets the orderId property of the Bean.
|
void |
setPaymentTCId(java.lang.String aPaymentTCId)
This method sets the paymentTCId property of the Bean.
|
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContextgetRequestProperties, setRequestPropertiesequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCommandContext, setCommandContextgetRequestProperties, setRequestPropertiespublic UsableBillingAddressListDataBean()
public Protectable getDelegate() throws java.lang.Exception
getDelegate in interface Delegatorjava.lang.Exception - thrown when there is an error to populate the OrderDataBeanpublic OrderDataBean getOrderDataBean() throws ECException
ECException - thrown when there is an error to populate the OrderDataBeanpublic void populate()
throws java.lang.Exception
populate in interface SmartDataBeanpopulate in class SmartDataBeanImpljava.lang.Exception - When there is an exception, it will be thrown.public AddressDataBean[] getBillingAddresses()
getBillingAddresses in interface UsableBillingAddressListSmartDataBeanpublic boolean isPersonalAddressAllowForBilling()
isPersonalAddressAllowForBilling in interface UsableBillingAddressListSmartDataBeanpublic void setOrderId(java.lang.String aOrderId)
setOrderId in interface UsableBillingAddressListInputDataBeanaOrderId - the identifier of the customer order.public void setPaymentTCId(java.lang.String aPaymentTCId)
setPaymentTCId in interface UsableBillingAddressListInputDataBeanaPaymentTCId - the identifier of the Payment terms and conditions.