com.softslate.commerce.businessobjects.shipping
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
public class BasicShippingProcessor
- extends BaseShippingProcessor
- implements 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:
ShippingProcessor
|
Field Summary |
(package private) static org.apache.commons.logging.Log |
log
|
| Methods inherited from class com.softslate.commerce.businessobjects.shipping.BaseShippingProcessor |
doEstimatedDeliveryDate, findPackageWeight, getAvailableOptions, getShippingOption, isPackageOkToCreate, loadShippingOptions, mergeRates, orderHasGiftCertificatesOnly, processShipping, retrieveDropShippersFromOrder, setAvailableOptions, setShippingOption, updateOrderWithOption, updateOrderWithOptionPrice, updateTotalsAndStatuses, updateTotalsAndStatusesInDatabase, verifyOption |
| Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor |
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getProductIDs, getSettings, getUser, initialize, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPPost, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, updateOrderTotals, updateOrderTotals, utils |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static org.apache.commons.logging.Log log
BasicShippingProcessor
public BasicShippingProcessor()
loadShippingOptions
public java.util.Collection loadShippingOptions()
throws java.lang.Exception
- Specified by:
loadShippingOptions in class BaseShippingProcessor
- Throws:
java.lang.Exception
processShipping
public int processShipping()
throws java.lang.Exception
- Specified by:
processShipping in class BaseShippingProcessor
- Throws:
java.lang.Exception
loadActiveMethodsAndRates
public java.util.Collection loadActiveMethodsAndRates()
throws java.lang.Exception
- Throws:
java.lang.Exception
loadActiveRatesByMethodCode
public java.util.Collection loadActiveRatesByMethodCode(java.lang.String code)
throws java.lang.Exception
- Throws:
java.lang.Exception
computeShippingOptions
public java.util.Collection computeShippingOptions(java.util.Collection methodsAndRates)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © SoftSlate, LLC 20032010