public class Ups extends ShippingModule
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
MODULE_CODE |
private static java.lang.String |
MODULE_SHIPPING_UPS_USERID |
private static java.util.HashMap<java.lang.String,java.lang.String> |
serviceTypeMap |
private static java.lang.String |
SHIP_FROM_CITY |
private static java.lang.String |
SHIP_FROM_STREET_ADDRESS |
private static java.lang.String |
SHIPPING_ORIGIN_COUNTRY |
private static java.lang.String |
SHIPPING_ORIGIN_ZIP |
configKeyStub, configs, implementationFileName, installed, keys, log
MODULE_SUB_TYPE_PROMOTION, MODULE_TYPE_ORDER_TOTAL, MODULE_TYPE_OTHER, MODULE_TYPE_PAYMENT, MODULE_TYPE_SHIPPING
Constructor and Description |
---|
Ups() |
Modifier and Type | Method and Description |
---|---|
com.konakart.app.ExportOrderResponse |
exportOrderForShipping(AdminOrder order,
com.konakart.app.ExportOrderOptions options,
KKAdminIf adminEng)
Export the order for shipping.
|
java.lang.String |
getConfigKeyStub() |
KKConfiguration[] |
getConfigs() |
java.lang.String |
getImplementationFileName() |
java.lang.String |
getModuleCode() |
java.lang.String |
getModuleTitle() |
private void |
setServiceTypeMap()
Defines mappings between UPS service codes and service types.
|
getAdminOrderMgr, getClassPrefix, getConfigVariable, getModuleType, getOrderExportBase, getWeightOfOrder, toString
getKeys, getKonakartTimeStampDate, getModuleSubType, getMsgs, init, install, installed, remove, setConfigKeyStub, setConfigs, setImplementationFileName, setInstalled, setKeys, setMsgs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getKeys, getModuleSubType, init, install, installed, remove, setConfigKeyStub, setInstalled
private static java.lang.String MODULE_CODE
private static final java.lang.String MODULE_SHIPPING_UPS_USERID
private static final java.lang.String SHIPPING_ORIGIN_COUNTRY
private static final java.lang.String SHIPPING_ORIGIN_ZIP
private static final java.lang.String SHIP_FROM_CITY
private static final java.lang.String SHIP_FROM_STREET_ADDRESS
private static java.util.HashMap<java.lang.String,java.lang.String> serviceTypeMap
public java.lang.String getConfigKeyStub()
getConfigKeyStub
in interface ModuleInterface
getConfigKeyStub
in class ShippingModule
public java.lang.String getModuleTitle()
getModuleTitle
in interface ModuleInterface
getModuleTitle
in class Module
public java.lang.String getImplementationFileName()
getImplementationFileName
in interface ModuleInterface
getImplementationFileName
in class Module
public java.lang.String getModuleCode()
getModuleCode
in interface ModuleInterface
getModuleCode
in class Module
public KKConfiguration[] getConfigs()
getConfigs
in interface ModuleInterface
getConfigs
in class Module
public com.konakart.app.ExportOrderResponse exportOrderForShipping(AdminOrder order, com.konakart.app.ExportOrderOptions options, KKAdminIf adminEng) throws KKAdminException
ShippingModuleInterface
exportOrderForShipping
in interface ShippingModuleInterface
exportOrderForShipping
in class ShippingModule
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.KKAdminException
- an unexpected exception in the KonaKart Admin engineprivate void setServiceTypeMap()
Copyright © 2018 DS Data Systems UK Ltd.