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, setViewCommandContext
getRequestProperties, setRequestProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCommandContext, setCommandContext
getRequestProperties, setRequestProperties
public UsableBillingAddressListDataBean()
public Protectable getDelegate() throws java.lang.Exception
getDelegate
in interface Delegator
java.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 SmartDataBean
populate
in class SmartDataBeanImpl
java.lang.Exception
- When there is an exception, it will be thrown.public AddressDataBean[] getBillingAddresses()
getBillingAddresses
in interface UsableBillingAddressListSmartDataBean
public boolean isPersonalAddressAllowForBilling()
isPersonalAddressAllowForBilling
in interface UsableBillingAddressListSmartDataBean
public void setOrderId(java.lang.String aOrderId)
setOrderId
in interface UsableBillingAddressListInputDataBean
aOrderId
- the identifier of the customer order.public void setPaymentTCId(java.lang.String aPaymentTCId)
setPaymentTCId
in interface UsableBillingAddressListInputDataBean
aPaymentTCId
- the identifier of the Payment terms and conditions.