|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.commerce.ebusiness.price.service.PricingRequestImpl
public class PricingRequestImpl
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.
PriceService,
PricingReply,
PricingRequest,
Serialized Form| Constructor Summary | |
|---|---|
PricingRequestImpl()
|
|
| Method Summary | |
|---|---|
Serializable |
getAttribute(String name)
Retrieves the value of a request attribute by name. |
Money |
getBaseShipping()
Retreives the base shipping cost for the request. |
CustomerPk |
getCustomerPK()
Retrieves the CustomerPk associated with this request. |
Calendar |
getEffectiveDate()
The effective date is the date which the Price Service will use to determine whether a given discount is in effect. |
Line[] |
getLines()
Retrieves the Line items for this pricing operation. |
Object |
setAttribute(String name,
Serializable value)
Sets the value of a request attribute by name. |
void |
setBaseShipping(Money baseShippingCost)
Sets the base shipping cost for this request. |
void |
setCustomerPK(CustomerPk customerPk)
Sets the customer associated with this request. |
void |
setEffectiveDate(Calendar effectiveDate)
Sets the effective date for this pricig request. |
void |
setLines(Line[] lines)
Sets the Line array for this request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PricingRequestImpl()
| Method Detail |
|---|
public CustomerPk getCustomerPK()
getCustomerPK in interface PricingRequestCustomerPkpublic void setCustomerPK(CustomerPk customerPk)
customerPk - customer for this pricing operationpublic Line[] getLines()
getLines in interface PricingRequestLinepublic void setLines(Line[] lines)
lines - an array of Line items for this pricing request.public Money getBaseShipping()
getBaseShipping in interface PricingRequestMoneypublic void setBaseShipping(Money baseShippingCost)
baseShippingCost - the base shipping cost for this
request.public Serializable getAttribute(String name)
getAttribute in interface PricingRequestname - the name of a request attribute to get the
value for.
Map
public Object setAttribute(String name,
Serializable value)
name - the name of a request attribute to set the
value for.value - the value for the specified attribute name.
Mappublic void setEffectiveDate(Calendar effectiveDate)
effectiveDate - the effectiveDate for the pricing request.Calendarpublic Calendar getEffectiveDate()
getEffectiveDate in interface PricingRequestCalendar
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||