|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AdminModulesMgrIf
AdminModulesMgrIf
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
void init()
throws KKAdminException
KKAdminException
void fetchModules()
throws KKAdminException
KKAdminException
KKModule[] getModules(int moduleType)
throws com.konakart.app.KKException,
KKAdminException
moduleType - the module type
com.konakart.app.KKException
KKAdminExceptionPaymentModule[] 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 - ShippingModuleInterface getShippingModuleByCode(java.lang.String code)
code - the code for the Shipping Module
void refreshConfigs()
throws java.lang.Exception
java.lang.Exception
com.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 transaction
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||