public class CouponListByOrderDataBean extends SmartDataBeanImpl implements Delegator
This databean lists all the coupons used in the Order.
Before invoking the populate method on this bean, you must invoke the setOrderId method.
Constructor and Description |
---|
CouponListByOrderDataBean()
Constructor
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.marketing.promotion.coupon.Coupon[] | getCoupons()
Returns a list of coupons.
|
Protectable | getDelegate()
Returns the order data bean with the order id set.
|
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 anOrderId)
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 anOrderId)
public void populate() throws java.lang.Exception
public com.ibm.commerce.marketing.promotion.coupon.Coupon[] getCoupons()
public Protectable getDelegate() throws java.lang.Exception