com.konakartadmin.modules.shipping.flat
Class Flat
java.lang.Object
com.konakartadmin.modules.Module
com.konakartadmin.modules.ShippingModule
com.konakartadmin.modules.shipping.flat.Flat
- All Implemented Interfaces:
- ModuleInterface, ShippingModuleInterface
public class Flat
- extends ShippingModule
Flat Rate shipping module
Field Summary |
private static java.lang.String |
MODULE_CODE
|
Constructor Summary |
Flat()
|
Methods inherited from class com.konakartadmin.modules.Module |
getKeys, getModuleSubType, getMsgs, init, install, installed, remove, setConfigKeyStub, setConfigs, setImplementationFileName, setKeys, setMsgs |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MODULE_CODE
private static java.lang.String MODULE_CODE
Flat
public Flat()
getConfigKeyStub
public java.lang.String getConfigKeyStub()
- Specified by:
getConfigKeyStub
in interface ModuleInterface
- Overrides:
getConfigKeyStub
in class ShippingModule
- Returns:
- the config key stub
getModuleTitle
public java.lang.String getModuleTitle()
- Specified by:
getModuleTitle
in interface ModuleInterface
- Overrides:
getModuleTitle
in class Module
- Returns:
- the module's title - the friendly name for the user
getImplementationFileName
public java.lang.String getImplementationFileName()
- Specified by:
getImplementationFileName
in interface ModuleInterface
- Overrides:
getImplementationFileName
in class Module
- Returns:
- the implementation filename - for compatibility with osCommerce we use the php name
getModuleCode
public java.lang.String getModuleCode()
- Specified by:
getModuleCode
in interface ModuleInterface
- Overrides:
getModuleCode
in class Module
- Returns:
- the module code
getConfigs
public KKConfiguration[] getConfigs()
- Specified by:
getConfigs
in interface ModuleInterface
- Overrides:
getConfigs
in class Module
- Returns:
- an array of configuration values for this payment module
exportOrderForShipping
public com.konakart.app.ExportOrderResponse exportOrderForShipping(AdminOrder order,
com.konakart.app.ExportOrderOptions options,
KKAdminIf adminEng)
throws KKAdminException
- Description copied from interface:
ShippingModuleInterface
- Export the order for shipping. This is typically used to create a file that is imported into
a 3rd Party shipping application. The format of the file to import will (could?) be different
for each shipping system so there is an implementation for each shipping module.
- Specified by:
exportOrderForShipping
in interface ShippingModuleInterface
- Overrides:
exportOrderForShipping
in class ShippingModule
- Parameters:
order
- AdminOrder object to export for shippingoptions
- Defines the options to use for the export of the OrderadminEng
- A KKAdmin engine which may be useful for accessing configuration variables etc.
- Returns:
- an ExportOrderResponse object to indicate the result
- Throws:
KKAdminException
Copyright © 2011 DS Data Systems UK Ltd.