|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShippingPricingEngine
This extension of the PricingEngine interface describes an object whose job it is to determine prices for ShippingGroup objects. Essentially, implementers of this interface are tasked with calculating the cost of shipping whatever this shipping group represents. The priceShippingGroup method is the API for calling code to ask this object to determine a price for the input shipping group. The getAvailableMethods call returns the methods available for shipping the input shipping group.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Method Summary | |
---|---|
java.util.List |
getAvailableMethods(ShippingGroup pShipment,
java.util.Collection pPricingModels,
java.util.Locale pLocale,
RepositoryItem pProfile,
java.util.Map pExtraParameters)
Get shipping methods available to deliver the shipping group |
ShippingPriceInfo |
priceShippingGroup(Order pOrder,
ShippingGroup pShipment,
java.util.Collection pPricingModels,
java.util.Locale pLocale,
RepositoryItem pProfile,
java.util.Map pExtraParameters)
Price a shipment within a context |
Methods inherited from interface atg.commerce.pricing.PricingEngine |
---|
getPricingModels |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
ShippingPriceInfo priceShippingGroup(Order pOrder, ShippingGroup pShipment, java.util.Collection pPricingModels, java.util.Locale pLocale, RepositoryItem pProfile, java.util.Map pExtraParameters) throws PricingException
pOrder
- the Order in the context of which pShipment is being priced.pShipment
- The shipment to pricepPricingModels
- A Collection of RepositoryItems representing PricingModelspLocale
- The Locale to use for pricingpProfile
- The user's profilepExtraParameters
- A Map of extra parameters to be used in the pricing, may be null
PricingException
java.util.List getAvailableMethods(ShippingGroup pShipment, java.util.Collection pPricingModels, java.util.Locale pLocale, RepositoryItem pProfile, java.util.Map pExtraParameters) throws PricingException
pShipment
- The shipping group to deliverpPricingModels
- A Collection of RepositoryItems representing PricingModelspLocale
- The Locale to use for determining available shipping methodspProfile
- The user's profilepExtraParameters
- A Map of extra parameters to be used in the pricing, may be null
PricingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |