public interface AdminImportMgrIf
Modifier and Type | Method and Description |
---|---|
boolean |
exportInvoice(java.lang.StringBuffer logSB,
com.konakart.erp.jaxb.IOInvoiceInMsg invoiceMsg)
Allows the ERP system to associate an invoice file (typically in PDF format) with a KonaKart
order with the option of having the invoice sent out to a customer in an email by KonaKart.
|
AdminCustomer |
getCustomerForEmail(java.lang.String emailAddr)
Get customer for email
|
java.lang.String |
getRandomPassword()
Creates a random password
|
void |
log(java.lang.StringBuffer logSB,
com.konakart.erp.jaxb.IOMsgBase msgBase,
java.lang.String msg)
Common code for writing to the log file
|
boolean |
matchCustomer(java.lang.StringBuffer logSB,
com.konakart.erp.jaxb.IOMatchCustomerInMsg matchInMsg)
Method to match a customer that has been registered on the ERP
|
boolean |
paymentCapture(java.lang.StringBuffer logSB,
com.konakart.erp.jaxb.IOPaymentCaptureInMsg captureMsg)
In many cases when the customer confirms an order using his credit card, the funds are
reserved and not captured until the products are actually shipped.
|
boolean |
registerCustomer(java.lang.StringBuffer logSB,
com.konakart.erp.jaxb.IOCustomerInMsg custInMsg,
AdminServletMgrIf servletMgr)
Method to register a customer
|
boolean |
updateOrder(java.lang.StringBuffer logSB,
com.konakart.erp.jaxb.IOOrderUpdateInMsg updateMsg)
Update the order based on information contained in an IOOrderUpdate object.
|
boolean |
updateProduct(java.lang.StringBuffer logSB,
com.konakart.erp.jaxb.IOProductUpdateInMsg updateMsg)
Method to update a product quantity and / or prices.
|
boolean |
updateProductPrices(java.lang.StringBuffer logSB,
com.konakart.erp.jaxb.IOProductPriceUpdateInMsg updateMsg)
Method to update the prices of a product.
|
boolean updateOrder(java.lang.StringBuffer logSB, com.konakart.erp.jaxb.IOOrderUpdateInMsg updateMsg) throws java.lang.Exception
logSB
- the logSBupdateMsg
- the updateMsgjava.lang.Exception
- an unexpected exceptionboolean updateProduct(java.lang.StringBuffer logSB, com.konakart.erp.jaxb.IOProductUpdateInMsg updateMsg) throws java.lang.Exception
logSB
- the logSBupdateMsg
- the updateMsgjava.lang.Exception
- an unexpected exceptionboolean updateProductPrices(java.lang.StringBuffer logSB, com.konakart.erp.jaxb.IOProductPriceUpdateInMsg updateMsg) throws java.lang.Exception
logSB
- the logSBupdateMsg
- the updateMsgjava.lang.Exception
- an unexpected exceptionboolean registerCustomer(java.lang.StringBuffer logSB, com.konakart.erp.jaxb.IOCustomerInMsg custInMsg, AdminServletMgrIf servletMgr) throws java.lang.Exception
logSB
- the logSBcustInMsg
- the custInMsgservletMgr
- the servletMgrjava.lang.Exception
- an unexpected exceptionboolean matchCustomer(java.lang.StringBuffer logSB, com.konakart.erp.jaxb.IOMatchCustomerInMsg matchInMsg) throws java.lang.Exception
logSB
- the logSBmatchInMsg
- the matchInMsgjava.lang.Exception
- an unexpected exceptionjava.lang.String getRandomPassword() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionboolean exportInvoice(java.lang.StringBuffer logSB, com.konakart.erp.jaxb.IOInvoiceInMsg invoiceMsg) throws java.lang.Exception
logSB
- the logSBinvoiceMsg
- the invoiceMsgjava.lang.Exception
- an unexpected exceptionboolean paymentCapture(java.lang.StringBuffer logSB, com.konakart.erp.jaxb.IOPaymentCaptureInMsg captureMsg) throws java.lang.Exception
logSB
- the logSBcaptureMsg
- the captureMsgjava.lang.Exception
- an unexpected exceptionvoid log(java.lang.StringBuffer logSB, com.konakart.erp.jaxb.IOMsgBase msgBase, java.lang.String msg) throws java.io.IOException, com.konakart.app.KKException
logSB
- the logSBmsgBase
- the msgBasemsg
- the msgjava.io.IOException
- an unexpected IOException exceptioncom.konakart.app.KKException
- an unexpected KKException exceptionAdminCustomer getCustomerForEmail(java.lang.String emailAddr) throws java.lang.Exception
emailAddr
- the emailAddrjava.lang.Exception
- an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.