public interface QuoteCopyCmd extends ControllerCommand
The interface to copy a quote. This command creates a new quote container and copies the contents of the quote specified in the request into the new quote. If you indicate that the sensitive information should be copied to the new quote, then the payment information is copied.
You may specify multiple orderIds for the quotes in the request. In this case, the quote-level and payment information from only the first quote are copied into the new quote. However, the items from all the quotes specified in the request are copied into the new quote.
Parameters
Response
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The default implementation class name.
|
static java.lang.String |
NAME
The name of this interface.
|
Modifier and Type | Method and Description |
---|---|
OrderAccessBean |
getToQuote()
Gets the quote access bean that was copied.
|
void |
setBlockInfoCopyFlag(java.lang.String blockInfoCopyFlag)
Sets the blockInfoCopy flag.
|
void |
setDescription(java.lang.String description)
Sets the description of the order to be generated from the quote.
|
void |
setQuote(OrderAccessBean abQuote)
Sets the quote to be copied.
|
void |
setSensitiveInfoCopyFlag(java.lang.String sensitiveInfoCopyFlag)
Sets the SensitiveInfoCopy flag.
|
void |
setUrl(java.lang.String url)
Sets the redirection URL after the command completes successfully.
|
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
void setUrl(java.lang.String url)
url
- void setQuote(OrderAccessBean abQuote)
abQuote
- Quote access beanvoid setSensitiveInfoCopyFlag(java.lang.String sensitiveInfoCopyFlag)
sensitiveInfoCopyFlag
- Sensitive Info copy flagvoid setBlockInfoCopyFlag(java.lang.String blockInfoCopyFlag)
blockInfoCopyFlag
- void setDescription(java.lang.String description)
description
- OrderAccessBean getToQuote()