public class SyncQuoteRequest extends SyncSalesContainerRequest
Constructor and Description |
---|
SyncQuoteRequest()
Default constructor to create a new request handler.
|
Modifier and Type | Method and Description |
---|---|
protected org.w3c.dom.Element | createSenderElement()
This method builds the Sender element and adds it as a child of applicationAreaElement_.
|
protected java.lang.String | getNounTag()
This method returns the noun tag for the response.
|
protected org.w3c.dom.Document | getRequestBod()
This method constructs the request document.
|
protected java.lang.String[] | getRequestNodePathsToMask()
The SyncQuoteRequest implementation returns the array of SyncQuote/DataArea/Quote/Header/Parties/BillToParty/PaymentInstructions/UserDataField node paths which needs to be masked because of sensitive information.
|
protected Session | getResponseData()
This method returns the unmarshalled response data in the form of a com.ibm.commerce.telesales.model.Quote object.
|
protected java.lang.String[] | getResponseNodePathsToMask()
The SyncQuoteRequest implementation returns the array of ConfirmQuote/DataArea/BOD/NounOutcome/Quote/Header/Parties/BillToParty/PaymentInstruction/UserDataField node paths which needs to be masked because of sensitive information.
|
protected java.lang.String | getXSDFileName()
This method returns the name of the schema file for the request BOD (business object document).
|
protected void | unmarshallResponseBod(org.w3c.dom.Document responseBOD)
This method unmarshalls the response BOD.
|
public SyncQuoteRequest()
protected Session getResponseData()
protected java.lang.String getXSDFileName()
protected org.w3c.dom.Element createSenderElement()
The following sample Sender element shows how the element is constructed:
<oa:Sender> <oa:LogicalId>TSCLIENT</oa:LogicalId> <oa:Component>Quote</oa:Component> <oa:Task>UpdateQuote</oa:Task> <oa:ReferenceId>-1680589954192190044</oa:ReferenceId> <!-- value of getServiceRequestContext --> <oa:Confirmation>2</oa:Confirmation> <oa:AuthorizationId>LOGON_TOKEN_ID_SCAFFOLDING</oa:AuthorizationId> <!-- value of ContextManager.getInstance().getSessionCtx() --> </oa:Sender>
protected org.w3c.dom.Document getRequestBod()
<SyncQuote> <!-- created by the createRootElement method --> . . </SyncQuote>
protected java.lang.String getNounTag()
protected void unmarshallResponseBod(org.w3c.dom.Document responseBOD)
protected java.lang.String[] getRequestNodePathsToMask()
protected java.lang.String[] getResponseNodePathsToMask()