|
© 2005 BEA Systems, Inc. | |||||||||
| 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
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 Serializable getAttribute(String name)
getAttribute in interface PricingRequestname - the name of a request attribute to get the
value for.
Mappublic Money getBaseShipping()
getBaseShipping in interface PricingRequestMoneypublic CustomerPk getCustomerPK()
getCustomerPK in interface PricingRequestCustomerPkpublic Calendar getEffectiveDate()
getEffectiveDate in interface PricingRequestCalendarpublic Line[] getLines()
getLines in interface PricingRequestLine
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 setBaseShipping(Money baseShippingCost)
baseShippingCost - the base shipping cost for this
request.public void setCustomerPK(CustomerPk customerPk)
customerPk - customer for this pricing operationpublic void setEffectiveDate(Calendar effectiveDate)
effectiveDate - the effectiveDate for the pricing request.Calendarpublic void setLines(Line[] lines)
lines - an array of Line items for this pricing request.
|
© 2005 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||