Class BasicShippingProcessor
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.shipping.BaseShippingProcessor
com.softslate.commerce.businessobjects.shipping.BasicShippingProcessor
- All Implemented Interfaces:
BusinessObject
,BusinessProcessor
,ShippingProcessor
Loads shipping options and processes shipping charges in the store. This
implementation looks up the shipping methods and rates configured in the
sscShippingMethod
and sscShippingRates
tables,
which provide for number of table-based shipping methods.
BasicShippingProcessor
is the default implementation of the
ShippingProcessor
interface for the application.
- Author:
- David Tobey
- See Also:
-
Field Summary
Fields inherited from class com.softslate.commerce.businessobjects.shipping.BaseShippingProcessor
currentDropShipperID, dropShipperIDs, dropShippers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncomputeShippingOptions
(Collection methodsAndRates) boolean
loadRatesByMethodCode
(String code) int
Methods inherited from class com.softslate.commerce.businessobjects.shipping.BaseShippingProcessor
doEstimatedDeliveryDate, doEstimatedDeliveryDateWithShipDateToday, findPackageWeight, formatDeliveryDate, getAvailableOptions, getShippingOption, isBlackedOutHoliday, isPackageOkToCreate, loadShippingOptions, mergeRates, orderHasGiftCertificatesOnly, processShipping, pushPastWeekendsAndHolidays, retrieveDropShippersFromOrder, setAvailableOptions, setShippingOption, updateOrderDeliveryAddressIfPickUp, updateOrderWithOption, updateOrderWithOptionPrice, updateTotalsAndStatuses, updateTotalsAndStatusesInDatabase, verifyOption
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getEventBus, getInjector, getProductIDs, getSettings, getUser, initialize, isProcessorClassActive, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPGet, sendHTTPPost, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setEventBus, setInjector, setSettings, setUser, updateOrderTotals, updateOrderTotals, updateOrderTotals, utils
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
Methods inherited from interface com.softslate.commerce.businessobjects.shipping.ShippingProcessor
loadShippingOptions, processShipping
-
Field Details
-
log
static org.apache.commons.logging.Log log
-
-
Constructor Details
-
BasicShippingProcessor
public BasicShippingProcessor()
-
-
Method Details
-
loadShippingOptions
- Specified by:
loadShippingOptions
in classBaseShippingProcessor
- Throws:
Exception
-
processShipping
- Specified by:
processShipping
in classBaseShippingProcessor
- Throws:
Exception
-
loadActiveMethodsAndRates
- Throws:
Exception
-
loadActiveRatesByMethodCode
- Throws:
Exception
-
loadContingencyShippingOption
- Throws:
Exception
-
contingencyShippingMethodCodeDefined
public boolean contingencyShippingMethodCodeDefined() -
loadRatesByMethodCode
- Throws:
Exception
-
computeShippingOptions
- Throws:
Exception
-