Serializable
This class is used as input to the computeSubtotal() and computeTotal() operations of the PriceService. PricingRequest attributes allow the request to be customized without changing the interface. This interface is not intended for concurrent use and may produce unpredicatable results if used concurrently.
Related Topics
PriceService
PricingRequestImpl
PricingReply
CustomerPk
Line
Money
PricingRequestImpl
Serializable
Method Summary |
public |
|
public |
|
public |
|
public |
|
public |
|
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