@RestResource(id="atg.commerce.order.restresources.ShippingMethodRestResource") public class ShippingMethodRestResource extends AbstractShippingMethodRestResource
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
FAILED_SHIPPING_METHODS, METHOD_ID_KEY, RESOURCE_NAME, sResourceBundle, UNKNOWN_SHIPPING_METHODSERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
ShippingMethodRestResource() |
| Modifier and Type | Method and Description |
|---|---|
protected ShippingGroup |
getShippingGroup()
Returns a shipping group that can be used for ShippingEngine calls.
|
RepresentationModel |
getShippingMethod(java.lang.String pShippingMethodId)
Returns a representation model of a single shipping method.
|
RepresentationModel |
listShippingMethods()
Returns a list of shipping methods that are available for any shipping group.
|
buildMemberUris, getAllShippingMethods, getRepresentationModelBuilder, getRepresentationModelBuilder, getShippingMethod, getShippingPricingEngine, listShippingMethods, setShippingPricingEngineaddLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService, toStringvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static final java.lang.String CLASS_VERSION
@Endpoint(id="/shippingMethods/#GET", filterId="shippingMethods-Default") public RepresentationModel listShippingMethods() throws RestException
RestException - if input ID is invalid or an internal error occurs@Endpoint(id="/shippingMethods/{shippingMethodId}#GET", isSingular=true, filterId="shippingMethods.id-Default") public RepresentationModel getShippingMethod(java.lang.String pShippingMethodId) throws RestException
pShippingMethodId - name of the shipping methodRestException - if input ID is invalid or an internal error occursprotected ShippingGroup getShippingGroup()