public class PromoCodeListDataBean extends SmartDataBeanImpl implements Delegator
This method lists all the promotion codes applied for this Order.
Before invoking the populate method, you must invoke the setOrderId method.
Constructor and Description |
---|
PromoCodeListDataBean()
Constructor
|
Modifier and Type | Method and Description |
---|---|
PromotionCodeData[] | getCodes()
Returns the promotion code constructs.
|
Protectable | getDelegate()
Returns the order data bean with the order id set.
|
java.lang.String[] | getPromoCodes()
Deprecated.
please use getCodes instead
|
void | populate()
Loads data into the databean when the DataBeanmanager.activate() runs.
|
void | setCommandContext(CommandContext cc)
Sets the command context associated with the data bean.
|
void | setOrderId(java.lang.Long aOrderId)
Sets the order ID.
|
void | setRequestProperties(TypedProperty param)
Sets the request properties associated with the data bean.
|
public void setCommandContext(CommandContext cc)
public void setRequestProperties(TypedProperty param)
public void setOrderId(java.lang.Long aOrderId)
public java.lang.String[] getPromoCodes()
public void populate() throws java.lang.Exception
public Protectable getDelegate() throws java.lang.Exception
public PromotionCodeData[] getCodes()