public class PriceHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ACCESS_PROFILE
The default access profile, used when an access profile is not specified
using the
accessProfile query parameter. |
static java.lang.String |
DISPLAY_PRICE_XPATH_START
The start of the XPath for all display price web service calls.
|
static java.lang.String |
XPATH_START
The start of the XPath for all entitled price web service calls.
|
Constructor and Description |
---|
PriceHelper() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessProfile()
This method returns the access profile for the OAGIS service call.
|
commonj.sdo.DataObject |
getPrice(BusinessContextType businessContext,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.lang.String expression,
java.lang.String accessProfile)
This method retrieves the price details for the specified expression.
|
public static final java.lang.String DEFAULT_ACCESS_PROFILE
accessProfile
query parameter.public static final java.lang.String XPATH_START
public static final java.lang.String DISPLAY_PRICE_XPATH_START
public commonj.sdo.DataObject getPrice(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler, java.lang.String expression, java.lang.String accessProfile) throws com.ibm.commerce.price.facade.client.EntitledPriceException
businessContext
- the business context.callbackHandler
- the callback handler.expression
- the XPath expression.accessProfile
- the specified access profile.com.ibm.commerce.price.facade.client.EntitledPriceException
- the price exceptionpublic java.lang.String getAccessProfile()