public abstract class ReturnReceipt extends TelesalesResponseBuilderImpl implements ITelesalesResponseBuilder
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
Class Name
|
static java.lang.String | COPYRIGHT
IBM Copyright notice field
|
Constructor and Description |
---|
ReturnReceipt() |
Modifier and Type | Method and Description |
---|---|
protected void | createHeaderElement(org.w3c.dom.Element returnElement)
This method creates a Header element using the input values.
|
protected void | createLineElement(org.w3c.dom.Element rrElement, ReturnedProductsDataBean rtnReceipt)
This method creates a Line element using the input values.
|
protected org.w3c.dom.Element | createReturnReceiptElement(org.w3c.dom.Element parentElement, ReturnedProductsDataBean rtnReceipt)
This method creates a ReturnReceipt element using the input values.
|
protected org.w3c.dom.Element | createUserdataInReturnReceiptElement(ReturnedProductsDataBean rtnReceipt, org.w3c.dom.Element returnReceiptElement)
This is an empty method to create the UserData element for ReturnReceipt.
|
protected java.lang.String | getRmaId()
This method gets the rma id.
|
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
protected org.w3c.dom.Element createReturnReceiptElement(org.w3c.dom.Element parentElement, ReturnedProductsDataBean rtnReceipt) throws ECException
protected org.w3c.dom.Element createUserdataInReturnReceiptElement(ReturnedProductsDataBean rtnReceipt, org.w3c.dom.Element returnReceiptElement) throws ECException
... Element userDataElement = createWCDocumentElement(returnReceiptElement, BodConstants.TAG_WC_USER_DATA); createUserDataFieldElement(userDataElement, fieldName, fieldValue); ... return userDataElement;
protected void createLineElement(org.w3c.dom.Element rrElement, ReturnedProductsDataBean rtnReceipt) throws ECException
The following sample indicates the structure of the Line element and how it is constructed.
<wc:Line> <wc:RMA_receipt_Id>100</wc:RMA_receipt_Id> <!--rtnReceipt.getDataBeanKeyReceiptId() --> <wc:ProductSKU>A00001006</wc:ProductSKU> <!-- rtnReceipt.getDataBeanKeyPartNumber() --> <wc:ProductName>Import Starter</wc:ProductName> <!-- rtnReceipt.getDataBeanKeyShortDescription() --> <wc:QuantityReturned>1</wc:QuantityReturned> <!-- rtnReceipt.getDataBeanKeyTotalQuantity()--> <wc:QuantityDisposed>1</wc:QuantityDisposed> <!-- rtnReceipt..getDataBeanKeyNonDispositionQuantity()--> <wc:DateReceived>2004-10-20 13:04:46.108</wc:DateReceived> <!-- rtnReceipt.getDataBeanKeyNonDispositionQuantity() --> </wc:Line>
protected void createHeaderElement(org.w3c.dom.Element returnElement) throws ECException
The following sample indicates the structure of the Header element and how it is constructed.
<wc:Header> <wc:RMA_Id>100</wc:RMA_Id> <!-- getRmaId() --> </wc:Header>
protected java.lang.String getRmaId()