public class GetMarketingPromotionsRequest extends MarketingPromotionsRequest
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Element | promotionElement_
promotionElement_ contains the request document's Promotion element.
|
Constructor and Description |
---|
GetMarketingPromotionsRequest()
Default constructor to create a new request handler.
|
Modifier and Type | Method and Description |
---|---|
protected org.w3c.dom.Element | createDataAreaElement()
This method builds the DataArea element and adds it as a child of GetPromotions.
|
protected org.w3c.dom.Element | createPromotionElement()
This method builds the Promotions element and adds it as a child of DataArea.
|
protected org.w3c.dom.Element | createSenderElement()
This method builds the Sender element and adds it as a child of applicationAreaElement_.
|
protected org.w3c.dom.Document | getRequestBod()
This method constructs the request document.
|
protected java.lang.String | getXSDFileName()
This method returns the path of the XSD file to be used with marketing promotion request.
|
protected org.w3c.dom.Element promotionElement_
public GetMarketingPromotionsRequest()
protected java.lang.String getXSDFileName()
protected org.w3c.dom.Document getRequestBod()
<GetPromotions> <!-- created by the createWCRootElement method --> . . </GetPromotions>
protected org.w3c.dom.Element createPromotionElement()
The following outline shows the structure of the Promotions element and its construction:
<Promotions> <CommerceArea> <!-- created by the createCommerceAreaElement method --> . . </CommerceArea> </Promotions>
protected org.w3c.dom.Element createDataAreaElement()
The following outline shows the structure of the DataArea element and its construction:
<DataArea> <Get> <!-- created by the createGetElement method --> . . </Get> <Promotions> <!-- created by the createPromotionElement method --> . . </Promotions> </DataArea>
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>Marketing</oa:Component> <oa:Task>GetPromotions</oa:Task> <oa:ReferenceId>-1680589954192190044</oa:ReferenceId> <!-- value of getActionCtx --> <oa:Confirmation>2</oa:Confirmation> <oa:AuthorizationId>LOGON_TOKEN_ID_SCAFFOLDING</oa:AuthorizationId> <!-- value of ContextManager.getInstance().getSessionCtx() --> </oa:Sender>