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
FieldsFields inherited from class com.softslate.commerce.businessobjects.shipping.BaseShippingProcessor
currentDropShipperID, dropShipperIDs, dropShippers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeShippingOptions(Collection methodsAndRates) booleanloadRatesByMethodCode(String code) intMethods 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, verifyOptionMethods 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, utilsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initializeMethods 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:
loadShippingOptionsin classBaseShippingProcessor- Throws:
Exception
-
processShipping
- Specified by:
processShippingin classBaseShippingProcessor- Throws:
Exception
-
loadActiveMethodsAndRates
- Throws:
Exception
-
loadActiveRatesByMethodCode
- Throws:
Exception
-
loadContingencyShippingOption
- Throws:
Exception
-
contingencyShippingMethodCodeDefined
public boolean contingencyShippingMethodCodeDefined() -
loadRatesByMethodCode
- Throws:
Exception
-
computeShippingOptions
- Throws:
Exception
-