Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2008 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.commerce.ebusiness.price.service
Interface PricingRequest

All Superinterfaces
  Serializable

All Known Implementing Classes:
  PricingRequestImpl

Deprecated See BEA Commerce product offering

    @Deprecated
    public interface PricingRequest

extends 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.

See Also
  `PriceService`, `PricingRequestImpl`, `PricingReply`, `CustomerPk`, `Line`, `Money`

Method Summary
`Serializable` | `getAttribute(String name)` Deprecated See BEA Commerce product offering
`Money` | `getBaseShipping()` Deprecated See BEA Commerce product offering
`CustomerPk` | `getCustomerPK()` Deprecated See BEA Commerce product offering
`Calendar` | `getEffectiveDate()` Deprecated See BEA Commerce product offering
`Line[]` | `getLines()` Deprecated See BEA Commerce product offering

Method Detail

### getCustomerPK

    CustomerPk getCustomerPK()

  Deprecated See BEA Commerce product offering

  Retrieves the CustomerPk associated with this request. A null value indicates an anonymous customer.

  Returns
    a CustomerPk object.
  See Also
    `CustomerPk`

### getLines

    Line[] getLines()

  Deprecated See BEA Commerce product offering

  Retrieves the Line items for this pricing operation.

  Returns
    an array of Line items.
  See Also
    `Line`

### getBaseShipping

    Money getBaseShipping()

  Deprecated See BEA Commerce product offering

  Retreives the base shipping cost for the request.

  Returns
    com.beasys.commerce.axiom.units.Money corresponding to the base shipping cost.
  See Also
    `Money`

### getAttribute

    Serializable getAttribute(String name)

  Deprecated See BEA Commerce product offering

  Retrieves 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.

  Parameters
    `name` - the name of a request attribute to get the value for.
  Returns
    the value for the named request attribute.
  See Also
    `Map`

### getEffectiveDate

    Calendar getEffectiveDate()

  Deprecated See BEA Commerce product offering

  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.

  Returns
    the Calendar object representing the effective date for the pricing operation.
  See Also
    `Calendar`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 BEA Systems, Inc. All Rights Reserved