Package com.softslate.commerce.businessobjects.shipping
Custom shipping processors can be written easily, by simply
implementing ShippingProcessor
. In many
cases, it will be useful to subclass BaseShippingProcessor
and
implement its processPayment()
method. This abstract
class provides a method to update the totals of the Order
and OrderDelivery
being processed.
To change or add to the list of shipping processors currently
active in the system, modify the "activeShippingProcessors" setting
in the appComponents.properties
file. Each of the classes in this setting will be
invoked in turn by calling their processShipping(Map parameters)
method.
-
ClassDescriptionAbstract class that provides methods useful for
ShippingProcessor
implementations.Processes business logic having to do with shipping methods.Loads shipping options and processes shipping charges in the store.Processes business logic having to do with shipping rates.Processes business logic having to do with shipping rules.Processes business logic having to do with shipping rule ranges.This class is used to store 3rd party shipping quotes returned from web services.Connects to the FedEx server for live online rates.Interface representing a shipping method within the system.Object representing a shipping method within the system.Interface for business logic methods having to do with shipping methods.Comparator class used to sort shipping options based on their price, from lowest to highest.Java bean to encapsulate returned HashMap of shipping options and their rates.Interface for objects that are able to process shipping charges in the store.Interface representing a shipping rate within the system.Object representing a shipping rate within the system.Interface for business logic methods having to do with shipping rates.Interface representing a shipping rule within the system.Object representing a discount within the system.Interface for business logic methods having to do with shipping rules.Interface representing a shipping rule range within the system.Object representing a discount range within the system.Interface for business logic methods having to do with shipping rule ranges.Interface representing a sku shipping rule in the system.Object representing a sku shipping rule in the system.Connects to the UPS online server for live shipping rates.Connects to the USPS server for live online rates.