@RestResource(id="atg.commerce.order.restresources.ShippingMethodRestSubresource") public class ShippingMethodRestSubresource extends AbstractShippingMethodRestResource
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string 
 | 
static java.lang.String | 
RESOURCE_NAME  | 
static java.util.ResourceBundle | 
sResourceBundle
Resource bundle 
 | 
static java.lang.String | 
SUBRESOURCE_CONTEXT_MISSING  | 
FAILED_SHIPPING_METHODS, METHOD_ID_KEY, 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 | 
|---|
ShippingMethodRestSubresource()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected ShippingGroup | 
getShippingGroup()
Returns the shipping group that was located by a parent resource and passed to us
 in RestRequestData. 
 | 
RepresentationModel | 
getShippingGroupShippingMethod(java.lang.String pShippingGroupId,
                              java.lang.String pShippingMethodId)
Returns a representation model of a single shipping method. 
 | 
RepresentationModel | 
listShippingGroupShippingMethods(java.lang.String pShippingGroupId)
Returns a list of shipping methods that are available for a given 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
public static final java.lang.String SUBRESOURCE_CONTEXT_MISSING
public static final java.lang.String RESOURCE_NAME
public static java.util.ResourceBundle sResourceBundle
@Endpoint(id="/shippingGroup/shippingMethods/#GET", filterId="shippingMethods-Default") public RepresentationModel listShippingGroupShippingMethods(java.lang.String pShippingGroupId) throws RestException
pShippingGroupId - id of the shipping group to use for possible shipping methodsRestException - if parent shipping group context is unavailable@Endpoint(id="/shippingGroup/shippingMethods/{shippingMethodId}#GET", isSingular=true, filterId="shippingMethods.id-Default") public RepresentationModel getShippingGroupShippingMethod(java.lang.String pShippingGroupId, java.lang.String pShippingMethodId) throws RestException
pShippingGroupId - id of the shipping grouppShippingMethodId - id of the shipping methodRestException - if input ID is invalid or an internal error occursprotected ShippingGroup getShippingGroup() throws RestException
RestException - if parent shipping group context is unavailable