public interface AdminModulesMgrIf
| Modifier and Type | Method and Description |
|---|---|
com.konakart.app.NameValue[] |
callPaymentModule(java.lang.String moduleClassName,
com.konakart.app.PaymentOptions options)
This method is used to call a payment module from the Admin App.
|
void |
fetchModules()
Initialise the modules - regardless of the setting of initDone
|
KKModule[] |
getModules(int moduleType)
Returns an array of Module objects for the module type specified
|
int |
getNumOrderTotalModules()
Returns the number of Order Total modules that can be set up
|
int |
getNumOtherModules()
Returns the number of Other modules that can be set up
|
int |
getNumPaymentModules()
Returns the number of payment modules that can be set up
|
int |
getNumShippingModules()
Returns the number of shipping modules that can be set up
|
OrderTotalModule[] |
getOrderTotalModules()
Returns an array of Order Total Modules
|
OtherModule[] |
getOtherModules()
Returns an array of Other Modules
|
PaymentModule[] |
getPaymentModules()
Returns an array of payment modules
|
ShippingModuleInterface |
getShippingModuleByCode(java.lang.String code)
Get a ShippingModuleInterface with the specified code
|
ShippingModule[] |
getShippingModules()
Returns an array of Shipping Modules
|
void |
init()
Initialise the modules - if not already initialised
|
void |
refreshConfigs()
Refresh the configuration of the Admin Currency Manager
|
void |
setNumOrderTotalModules(int numOrderTotalModules)
Set the number of modules that can be set up
|
void |
setNumOtherModules(int numOtherModules)
Set the number of Other modules that can be set up
|
void |
setNumPaymentModules(int numberPaymentModules)
Set the number of modules that can be set up
|
void |
setNumShippingModules(int numShippingModules)
Set the number of modules that can be set up
|
void |
setOrderTotalModules(OrderTotalModule[] orderTotalModules)
*Sets an array of Order Total modules
|
void |
setOtherModules(OtherModule[] otherModules)
Sets an array of Other modules
|
void |
setPaymentModules(PaymentModule[] paymentModules)
Sets an array of payment modules
|
void |
setShippingModules(ShippingModule[] shippingModules)
Sets an array of Shipping modules
|
void init() throws KKAdminException
KKAdminException - an unexpected exception in the KonaKart Admin enginevoid fetchModules()
throws KKAdminException
KKAdminException - an unexpected exception in the KonaKart Admin engineKKModule[] getModules(int moduleType) throws com.konakart.app.KKException, KKAdminException
moduleType - the module typecom.konakart.app.KKException - an unexpected KKException exceptionKKAdminException - an unexpected exception in the KonaKart Admin enginePaymentModule[] getPaymentModules()
void setPaymentModules(PaymentModule[] paymentModules)
paymentModules - the paymentModules to setOrderTotalModule[] getOrderTotalModules()
void setOrderTotalModules(OrderTotalModule[] orderTotalModules)
orderTotalModules - the orderTotalModules to setShippingModule[] getShippingModules()
void setShippingModules(ShippingModule[] shippingModules)
shippingModules - the shippingModules to setOtherModule[] getOtherModules()
void setOtherModules(OtherModule[] otherModules)
otherModules - the otherModules to setint getNumPaymentModules()
void setNumPaymentModules(int numberPaymentModules)
numberPaymentModules - set the number of modules that can be set upint getNumOrderTotalModules()
void setNumOrderTotalModules(int numOrderTotalModules)
numOrderTotalModules - the numOrderTotalModules to setint getNumShippingModules()
void setNumShippingModules(int numShippingModules)
numShippingModules - the numShippingModules to setint getNumOtherModules()
void setNumOtherModules(int numOtherModules)
numOtherModules - the numOtherModulesShippingModuleInterface getShippingModuleByCode(java.lang.String code)
code - the code for the Shipping Modulevoid refreshConfigs()
throws java.lang.Exception
java.lang.Exception - an unexpected exceptioncom.konakart.app.NameValue[] callPaymentModule(java.lang.String moduleClassName,
com.konakart.app.PaymentOptions options)
throws java.lang.Exception
com.konakartadmin.modules.AdminPaymentIf interface, is
instantiated and the execute method is called.moduleClassName - The full class name such as
com.konakartadmin.modules.payment.authorizenet.AdminPaymentoptions - An object containing all of the parameters required for the transactionjava.lang.Exception - an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.