BEA Systems, Inc.

theory.smart.ebusiness.item
Interface ItemPriceCalculationPolicy

All Known Subinterfaces:
BeanieBabyPricePolicy, CoffeeBeanPricePolicy, DefaultItemPriceCalculationPolicy, HalfPricePolicy, JellyBeanPricePolicy
All Known Implementing Classes:
AprilFoolsDiscountPolicy, SeniorCitizenDiscountPolicy

public interface ItemPriceCalculationPolicy
extends BusinessPolicy

This business policy interface allows you to plug custom methods to implement a price calculation policy

See Also:
theory.smart.ebusiness.item.ItemPriceCalculationPolicyHome, theory.smart.ebusiness.item.ItemPriceCalculationPolicyImpl

Method Summary
 Price calculatePrice(Item item, Quantity qty, Customer customer)
          Calculate a price for the item using the Item and the Quantity requested.
 

Method Detail

calculatePrice

public Price calculatePrice(Item item,
                            Quantity qty,
                            Customer customer)
                     throws java.rmi.RemoteException
Calculate a price for the item using the Item and the Quantity requested.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved