com.konakart.blif
Interface AdminEngineMgrIf


public interface AdminEngineMgrIf

An interface for defining access to Admin Engine functionality


Method Summary
 NameValueIf[] callPaymentModule(EngineConfigIf engConf, java.lang.String moduleClassName, PaymentOptionsIf options)
          This method is used to call a payment module from the Admin App.
 ExportOrderResponseIf exportOrder(EngineConfigIf engConf, ExportOrderOptionsIf options)
          Exports the Order
 PdfResult getPdf(EngineConfigIf engConf, PdfOptions options)
          Create a PDF document
 

Method Detail

getPdf

PdfResult getPdf(EngineConfigIf engConf,
                 PdfOptions options)
                 throws KKException
Create a PDF document

Parameters:
engConf - The Engine Configuration used for creating new engines if required
options - The PdfOptions object that defines the PDF document to create
Returns:
Returns a PdfResult object
Throws:
KKException

exportOrder

ExportOrderResponseIf exportOrder(EngineConfigIf engConf,
                                  ExportOrderOptionsIf options)
                                  throws KKException
Exports the Order

Parameters:
engConf - The Engine Configuration used for creating new engines if required
options - Defines the options to use for the export of the Order
Returns:
an ExportOrderResponse object
Throws:
KKException

callPaymentModule

NameValueIf[] callPaymentModule(EngineConfigIf engConf,
                                java.lang.String moduleClassName,
                                PaymentOptionsIf options)
                                throws KKException
This method is used to call a payment module from the Admin App. The payment module which must implement the com.konakartadmin.modules.AdminPaymentIf interface, is instantiated and the execute method is called.

Parameters:
engConf - The Engine Configuration used for creating new engines if required
moduleClassName - The full class name such as com.konakartadmin.modules.payment.authorizenet.AdminPayment
options - An object containing all of the parameters required for the transaction
Returns:
Returns an array of name value pairs
Throws:
KKException


Copyright © 2011 DS Data Systems UK Ltd.