Object
PricingRequest
The PricingRequestImpl is used as input to the Price Service during a pricing operation. This class is not designed for concurrent use and may produce unpredicatable results if used concurrently.
Related Topics
PriceService
PricingReply
PricingRequest
Object
PricingRequestImpl
PricingRequest
, Serializable
Constructor Summary |
Method Summary |
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public void |
|
public void |
|
public void |
|
public void |
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface com.bea.commerce.ebusiness.price.service. |
|
Constructor Detail |
public PricingRequestImpl()
Method Detail |
publicRetrieves the value of a request attribute by name. The semantics of this method are the same as the get() method in the java.util.Map interface. Attributes allow for customization of the PricingRequest without modifying the interface.Serializable
getAttribute(String
name)
Related Topics
public Money
getBaseShipping()
Retreives the base shipping cost for the request.
Related Topics
public CustomerPk
getCustomerPK()
Retrieves the CustomerPk associated with this request.
A null value indicates an anonymous customer.
Related Topics
public Calendar
getEffectiveDate()
The effective date is the date which the Price Service will
use to determine whether a given discount is in effect.
more precisely if effective date is >= the discount start date
and <= the discount end date the discount will be considered
for application during the pricing operation.
If this value is not set the Price Service will use the current
date as obtained through the JVM.
Related Topics
public Line
[] getLines()
Retrieves the Line items for this pricing operation.
Related Topics
publicSets the value of a request attribute by name. The semantics of this method are the same as the put() method in the java.util.Map interface. Attributes allow for customization of the PricingRequest without modifying the implementation.Object
setAttribute(String
name,Serializable
value)
Related Topics
public void setBaseShipping(Money
baseShippingCost)
Sets the base shipping cost for this request.
public void setCustomerPK(CustomerPk
customerPk)
Sets the customer associated with this request.
A null value indicates an anonymous customer.
public void setEffectiveDate(Calendar
effectiveDate)
Sets the effective date for this pricig request.
The effective date is the date which the Price Service will
use to determine whether a given discount is in effect.
more precisely if effective date is >= the discount start date
and <= the discount end date the discount will be considered
for application during the pricing operation.
If this value is not set the Price Service will use the current
date as obtained through the JVM.
Related Topics
public void setLines(Line
[] lines)
Sets the Line array for this request.